Let the Surface workbench appear and try to create a Bezier surface

Modifications for:
 - let the surface workbench appear
 - use only one Surface menu and toolbar instead of two separate ones
 - create a Bezier surface using 2..4 Bezier curves (does not work yet)
 - use enums for fill type

Signed-off-by: balazs-bamer <kolaloka@freemail.hu>
This commit is contained in:
balazs-bamer
2014-11-20 18:01:59 +01:00
committed by wmayer
parent 6f4e3acce4
commit 4f96fa2300
8 changed files with 145 additions and 29 deletions

View File

@@ -1,5 +1,6 @@
/***************************************************************************
* Copyright (c) 2014 Nathan Miller <Nathan.A.Mill[at]gmail.com> *
* Copyright (c) 2014 Nathan Miller <Nathan.A.Mill[at]gmail.com>,*
* Balázs Bámer *
* *
* This file is part of the FreeCAD CAx development system. *
* *
@@ -53,9 +54,10 @@ void PartGuiExport initSurfaceGui()
return;
}
SurfaceGui::Workbench::init();
// instanciating the commands
CreateSurfaceCommands();
SurfaceGui::Workbench::init();
// SurfaceGui::ViewProviderCut::init();