MeshFlattening: add function to unwrap face

This commit is contained in:
looooo
2017-10-11 23:38:12 +02:00
committed by wmayer
parent 22fbe35ceb
commit e2eb12d6c6
12 changed files with 279 additions and 63 deletions

View File

@@ -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;
}

View File

@@ -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"