PathScripts.PathSlot.ObjectSlot Class Reference

Public Member Functions

def getActiveEnumerations (self, obj)
 
def initOperation (self, obj)
 
def initOpProperties (self, obj, warn=False)
 
def onChanged (self, obj, prop)
 
def opApplyPropertyDefaults (self, obj, job, propList)
 
def opApplyPropertyLimits (self, obj)
 
def opExecute (self, obj)
 
def opFeatures (self, obj)
 
def opOnDocumentRestored (self, obj)
 
def opPropertyDefaults (self, obj, job)
 
def opPropertyDefinitions (self)
 
def opSetDefaultValues (self, obj, job)
 
def opSetEditorModes (self, obj)
 
def opUpdateDepths (self, obj)
 
def propertyEnumerations (self, dataType="data")
 
def updateEnumerations (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 initOperation (self, obj)
 
def isToolSupported (self, obj, tool)
 
def onChanged (self, obj, prop)
 
def onDocumentRestored (self, obj)
 
def opExecute (self, obj)
 
def opFeatures (self, obj)
 
def opOnChanged (self, obj, prop)
 
def opOnDocumentRestored (self, obj)
 
def opPropertyEnumerations (self, dataType="data")
 
def opRejectAddBase (self, obj, base, sub)
 
def opSetDefaultValues (self, obj, job)
 
def opUpdateDepths (self, obj)
 
def sanitizeBase (self, obj)
 
def setDefaultValues (self, obj)
 
def setEditorModes (self, obj, features)
 
def updateDepths (self, obj, ignoreErrors=False)
 

Public Attributes

 addNewProps
 
 arcCenter
 
 arcMidPnt
 
 arcRadius
 
 base
 
 bottomEdges
 
 depthParams
 
 dYdX1
 
 dYdX2
 
 featureDetails
 
 isArc
 
 isDebug
 
 module
 
 newRadius
 
 propertiesReady
 
 shape1
 
 shape2
 
 shapeLength1
 
 shapeLength2
 
 shapeType1
 
 shapeType2
 
 showDebugObjects
 
 stockZMin
 
 tmpGrp
 
- Public Attributes inherited from PathScripts.PathOp.ObjectOp
 addNewProps
 
 commandlist
 
 horizFeed
 
 horizRapid
 
 job
 
 model
 
 radius
 
 stock
 
 tool
 
 vertFeed
 
 vertRapid
 

Detailed Description

Proxy object for Slot operation.

Member Function Documentation

◆ getActiveEnumerations()

def PathScripts.PathSlot.ObjectSlot.getActiveEnumerations (   self,
  obj 
)
getActiveEnumerations(obj) ...
Method returns dictionary of property enumerations based on
active conditions in the operation.

References PathScripts.PathSlot.ObjectSlot._makeReference1Enumerations(), and PathScripts.PathSlot.ObjectSlot._makeReference2Enumerations().

Referenced by PathScripts.PathSlot.ObjectSlot.updateEnumerations().

◆ initOperation()

def PathScripts.PathSlot.ObjectSlot.initOperation (   self,
  obj 
)
initOperation(obj) ... Initialize the operation by
managing property creation and property editor status.

Reimplemented from PathScripts.PathOp.ObjectOp.

◆ initOpProperties()

def PathScripts.PathSlot.ObjectSlot.initOpProperties (   self,
  obj,
  warn = False 
)

◆ onChanged()

◆ opApplyPropertyDefaults()

◆ opApplyPropertyLimits()

def PathScripts.PathSlot.ObjectSlot.opApplyPropertyLimits (   self,
  obj 
)
opApplyPropertyLimits(obj) ... Apply necessary limits to user input property values before performing main operation.

◆ opExecute()

def PathScripts.PathSlot.ObjectSlot.opExecute (   self,
  obj 
)
opExecute(obj) ... process surface operation

Reimplemented from PathScripts.PathOp.ObjectOp.

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

◆ opFeatures()

◆ opOnDocumentRestored()

◆ opPropertyDefaults()

def PathScripts.PathSlot.ObjectSlot.opPropertyDefaults (   self,
  obj,
  job 
)
opPropertyDefaults(obj, job) ... returns a dictionary of default values
for the operation's properties.

Referenced by PathScripts.PathSlot.ObjectSlot.opApplyPropertyDefaults(), PathScripts.PathSurface.ObjectSurface.opApplyPropertyDefaults(), and PathScripts.PathWaterline.ObjectWaterline.opApplyPropertyDefaults().

◆ opPropertyDefinitions()

def PathScripts.PathSlot.ObjectSlot.opPropertyDefinitions (   self)
opPropertyDefinitions(obj) ... Store operation specific properties

◆ opSetDefaultValues()

◆ opSetEditorModes()

def PathScripts.PathSlot.ObjectSlot.opSetEditorModes (   self,
  obj 
)

◆ opUpdateDepths()

def PathScripts.PathSlot.ObjectSlot.opUpdateDepths (   self,
  obj 
)
opUpdateDepths(obj) ... overwrite to implement special depths calculation.
Can safely be overwritten by subclass.

Reimplemented from PathScripts.PathOp.ObjectOp.

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

◆ propertyEnumerations()

def PathScripts.PathSlot.ObjectSlot.propertyEnumerations (   self,
  dataType = "data" 
)
propertyEnumerations(dataType="data")... return property enumeration lists of specified dataType.
Args:
    dataType = 'data', 'raw', 'translated'
Notes:
'data' is list of internal string literals used in code
'raw' is list of (translated_text, data_string) tuples
'translated' is list of translated string literals

Referenced by PathScripts.PathDrilling.ObjectDrilling.initCircularHoleOperation(), PathScripts.PathThreadMilling.ObjectThreadMilling.initCircularHoleOperation(), PathScripts.PathAdaptive.PathAdaptive.initOperation(), PathScripts.PathDeburr.ObjectDeburr.initOperation(), PathScripts.PathMillFace.ObjectFace.initPocketOp(), PathScripts.PathPocket.ObjectPocket.initPocketOp(), PathScripts.PathJob.ObjectJob.onDocumentRestored(), and PathScripts.PathWaterline.ObjectWaterline.opOnDocumentRestored().

◆ updateEnumerations()

def PathScripts.PathSlot.ObjectSlot.updateEnumerations (   self,
  obj 
)
updateEnumerations(obj) ...
Method updates property enumerations based on active conditions
in the operation.  Returns the updated enumerations dictionary.
Existing property values must be stored, and then restored after
the assignment of updated enumerations.

References PathScripts.PathSlot.ObjectSlot.getActiveEnumerations().

Referenced by PathScripts.PathSlot.ObjectSlot.onChanged(), and PathScripts.PathSlot.ObjectSlot.opOnDocumentRestored().

Member Data Documentation

◆ addNewProps

◆ arcCenter

PathScripts.PathSlot.ObjectSlot.arcCenter

◆ arcMidPnt

PathScripts.PathSlot.ObjectSlot.arcMidPnt

◆ arcRadius

PathScripts.PathSlot.ObjectSlot.arcRadius

◆ base

◆ bottomEdges

◆ depthParams

PathScripts.PathSlot.ObjectSlot.depthParams

◆ dYdX1

PathScripts.PathSlot.ObjectSlot.dYdX1

◆ dYdX2

PathScripts.PathSlot.ObjectSlot.dYdX2

◆ featureDetails

PathScripts.PathSlot.ObjectSlot.featureDetails

◆ isArc

PathScripts.PathSlot.ObjectSlot.isArc

◆ isDebug

PathScripts.PathSlot.ObjectSlot.isDebug

◆ module

◆ newRadius

PathScripts.PathSlot.ObjectSlot.newRadius

◆ propertiesReady

◆ shape1

PathScripts.PathSlot.ObjectSlot.shape1

◆ shape2

PathScripts.PathSlot.ObjectSlot.shape2

◆ shapeLength1

PathScripts.PathSlot.ObjectSlot.shapeLength1

◆ shapeLength2

PathScripts.PathSlot.ObjectSlot.shapeLength2

◆ shapeType1

PathScripts.PathSlot.ObjectSlot.shapeType1

◆ shapeType2

PathScripts.PathSlot.ObjectSlot.shapeType2

◆ showDebugObjects

◆ stockZMin

PathScripts.PathSlot.ObjectSlot.stockZMin

◆ tmpGrp

PathScripts.PathSlot.ObjectSlot.tmpGrp

The documentation for this class was generated from the following file: