Fixes before merging Ship
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#***************************************************************************
|
||||
|
||||
import FreeCAD,FreeCADGui,Draft,math
|
||||
|
||||
from draftlibs import fcvec
|
||||
from FreeCAD import Vector
|
||||
from PyQt4 import QtCore, QtGui
|
||||
|
||||
@@ -138,6 +138,7 @@ def splitMesh(obj,mark=True):
|
||||
def meshToShape(obj,mark=True):
|
||||
'''meshToShape(object,[mark]): turns a mesh into a shape, joining coplanar facets. If
|
||||
mark is True (default), non-solid objects will be marked in red'''
|
||||
|
||||
name = obj.Name
|
||||
import Part,MeshPart
|
||||
from draftlibs import fcgeo
|
||||
|
||||
Reference in New Issue
Block a user