Removed PathPreferences class and moved functionality into the module interface.

This commit is contained in:
Markus Lampert
2018-06-19 21:53:41 -07:00
parent b24e95b7c1
commit fb0fc49a30
15 changed files with 127 additions and 150 deletions

View File

@@ -107,7 +107,7 @@ class ObjectSurface(PathOp.ObjectOp):
try:
deflection = parentJob.GeometryTolerance
except AttributeError:
from PathScripts.PathPreferences import PathPreferences
import PathScripts.PathPreferences as PathPreferences
deflection = PathPreferences.defaultGeometryTolerance()
self.baseobject.Shape.tessellate(0.5)
mesh = MeshPart.meshFromShape(self.baseobject.Shape, Deflection=deflection)