PathScripts.PathDeburr.ObjectDeburr Class Reference

Public Member Functions

def initOperation (self, obj)
 
def opExecute (self, obj)
 
def opFeatures (self, obj)
 
def opOnDocumentRestored (self, obj)
 
def opRejectAddBase (self, obj, base, sub)
 
def opSetDefaultValues (self, obj, job)
 
- Public Member Functions inherited from PathScripts.PathEngraveBase.ObjectOp
def appendCommand (self, cmd, z, relZ, feed)
 
def buildpathocc (self, obj, wires, zValues, relZ=False, forward=True, start_idx=0)
 
def getZValues (self, obj)
 
- Public Member Functions inherited from PathScripts.PathOp.ObjectOp
def addBase (self, obj, base, sub)
 
def addBaseProperty (self, obj)
 
def addOpValues (self, obj, values)
 
def applyExpression (self, obj, prop, expr)
 
def execute (self, obj)
 
def getCycleTimeEstimate (self, obj)
 
def getJob (self, obj)
 
def onChanged (self, obj, prop)
 
def onDocumentRestored (self, obj)
 
def opOnChanged (self, obj, prop)
 
def opUpdateDepths (self, obj)
 
def setDefaultValues (self, obj)
 
def setEditorModes (self, obj, features)
 
def updateDepths (self, obj, ignoreErrors=False)
 

Public Attributes

 adjusted_basewires
 
 basewires
 
 edges
 
 wires
 
- Public Attributes inherited from PathScripts.PathOp.ObjectOp
 addNewProps
 
 commandlist
 
 horizFeed
 
 horizRapid
 
 job
 
 model
 
 radius
 
 stock
 
 tool
 
 vertFeed
 
 vertRapid
 

Detailed Description

Proxy class for Deburr operation.

Member Function Documentation

◆ initOperation()

def PathScripts.PathDeburr.ObjectDeburr.initOperation (   self,
  obj 
)
initOperation(obj) ... implement to create additional properties.
Should be overwritten by subclasses.

Reimplemented from PathScripts.PathOp.ObjectOp.

◆ opExecute()

def PathScripts.PathDeburr.ObjectDeburr.opExecute (   self,
  obj 
)
opExecute(obj) ... called whenever the receiver needs to be recalculated.
See documentation of execute() for a list of base functionality provided.
Should be overwritten by subclasses.

Reimplemented from PathScripts.PathOp.ObjectOp.

References PathScripts.PathOp.ObjectOp.tool, and PathScripts.PathDeburr.toolDepthAndOffset().

Referenced by PathScripts.PathOp.ObjectOp.execute().

◆ opFeatures()

def PathScripts.PathDeburr.ObjectDeburr.opFeatures (   self,
  obj 
)
opFeatures(obj) ... returns the OR'ed list of features used and supported by the operation.
The default implementation returns "FeatureTool | FeatureDeptsh | FeatureHeights | FeatureStartPoint"
Should be overwritten by subclasses.

Reimplemented from PathScripts.PathOp.ObjectOp.

Referenced by PathScripts.PathOp.ObjectOp.addOpValues(), PathScripts.PathOp.ObjectOp.execute(), PathScripts.PathOp.ObjectOp.onDocumentRestored(), PathScripts.PathEngraveBase.ObjectOp.opSetDefaultValues(), PathScripts.PathOp.ObjectOp.setDefaultValues(), and PathScripts.PathOp.ObjectOp.updateDepths().

◆ opOnDocumentRestored()

def PathScripts.PathDeburr.ObjectDeburr.opOnDocumentRestored (   self,
  obj 
)
opOnDocumentRestored(obj) ... implement if an op needs special handling like migrating the data model.
Should be overwritten by subclasses.

Reimplemented from PathScripts.PathOp.ObjectOp.

Referenced by PathScripts.PathOp.ObjectOp.onDocumentRestored().

◆ opRejectAddBase()

def PathScripts.PathDeburr.ObjectDeburr.opRejectAddBase (   self,
  obj,
  base,
  sub 
)
The chamfer op can only deal with features of the base model, all others are rejected.

Reimplemented from PathScripts.PathOp.ObjectOp.

References PathScripts.PathJobDlg.JobCreate.model, PartGui::TaskCheckGeometryResults.model, PathScripts.PathOp.ObjectOp.model, and ArchMaterial._ArchMultiMaterialTaskPanel.model.

Referenced by PathScripts.PathOp.ObjectOp.addBase().

◆ opSetDefaultValues()

def PathScripts.PathDeburr.ObjectDeburr.opSetDefaultValues (   self,
  obj,
  job 
)
opSetDefaultValues(obj) ... set depths for engraving

Reimplemented from PathScripts.PathEngraveBase.ObjectOp.

Referenced by PathScripts.PathEngrave.ObjectEngrave.opUpdateDepths(), and PathScripts.PathOp.ObjectOp.setDefaultValues().

Member Data Documentation

◆ adjusted_basewires

PathScripts.PathDeburr.ObjectDeburr.adjusted_basewires

◆ basewires

PathScripts.PathDeburr.ObjectDeburr.basewires

◆ edges

◆ wires

PathScripts.PathDeburr.ObjectDeburr.wires

The documentation for this class was generated from the following file:
  • src/Mod/Path/PathScripts/PathDeburr.py