MeshFlattening: add function to unwrap face
This commit is contained in:
@@ -193,7 +193,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
<< "Mesh_Merge" << "Mesh_PolySelect" << "Mesh_PolyCut"
|
||||
<< "Mesh_PolySplit" << "Mesh_PolySegm" << "Mesh_PolyTrim" << "Separator"
|
||||
<< "Mesh_TrimByPlane" << "Mesh_SectionByPlane" << "Mesh_Segmentation"
|
||||
<< "Mesh_VertexCurvature" << "CreateFlatMesh";
|
||||
<< "Mesh_VertexCurvature" << "CreateFlatMesh" << "CreateFlatFace";
|
||||
return root;
|
||||
}
|
||||
|
||||
|
||||
@@ -39,8 +39,12 @@ class MeshWorkbench (Workbench):
|
||||
def Initialize(self):
|
||||
import Mesh
|
||||
import MeshGui
|
||||
import MeshFlatteningCommand
|
||||
|
||||
try:
|
||||
import flatmesh
|
||||
import MeshFlatteningCommand
|
||||
except ImportError as e:
|
||||
import FreeCAD
|
||||
FreeCAD.Console.PrintLog((str(e)))
|
||||
def GetClassName(self):
|
||||
return "MeshGui::Workbench"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user