Translations:Arch 3Views/19/en

mesh_obj = FreeCAD.ActiveDocument.addObject("Mesh::Feature", "Mesh") mesh_obj.Mesh = MeshPart.meshFromShape(Shape=Shape, MaxLength=520) mesh_obj.ViewObject.DisplayMode = "Flat Lines" FreeCAD.ActiveDocument.recompute