4th-axis fixes and improvements
Fix rotational orientation of pockets. Need to apply same fix to ProfileFaces. Fix final depth issue based upon error in rotational orientation fixed here. Add property, `LimitDepthToFace` to facilitate easier pockets and face profiling on rotational-enabled operations. Hide rotational support properties when operations do not use rotation. Remove unnecessary property, `B_AxisErrorOverride`, and delete dead code that used it.
This commit is contained in:
@@ -34,12 +34,14 @@ __url__ = "http://www.freecadweb.org"
|
||||
__doc__ = "Base class and implementation for Path pocket operations."
|
||||
|
||||
PathLog.setLevel(PathLog.Level.INFO, PathLog.thisModule())
|
||||
#PathLog.trackModule(PathLog.thisModule())
|
||||
# PathLog.trackModule(PathLog.thisModule())
|
||||
|
||||
|
||||
# Qt translation handling
|
||||
def translate(context, text, disambig=None):
|
||||
return QtCore.QCoreApplication.translate(context, text, disambig)
|
||||
|
||||
|
||||
class ObjectPocket(PathAreaOp.ObjectOp):
|
||||
'''Base class for proxy objects of all pocket operations.'''
|
||||
|
||||
@@ -130,6 +132,7 @@ class ObjectPocket(PathAreaOp.ObjectOp):
|
||||
params['threshold'] = self.radius * 2
|
||||
return params
|
||||
|
||||
|
||||
def SetupProperties():
|
||||
setup = []
|
||||
setup.append('CutMode')
|
||||
|
||||
Reference in New Issue
Block a user