parameters: (self, obj, job)
docstring: opSetDefaultValues(obj) ... set depths for vcarving
docstring_summary: opSetDefaultValues(obj) ... set depths for vcarving
docstring_tokens: opSetDefaultValues ( obj ) ... set depths for vcarving
function: def opSetDefaultValues(self, obj, job):
          """opSetDefaultValues(obj) ... set depths for vcarving"""
          if PathOp.FeatureDepths & self.opFeatures(obj):
              if job and len(job.Model.Group) > 0:
                  bb = job.Proxy.modelBoundBox(job)
                  obj.OpStartDepth = bb.ZMax
                  obj.OpFinalDepth = job.Stock.Shape.BoundBox.ZMin
              else:
                  obj.OpFinalDepth = -0.1
function_tokens: def opSetDefaultValues ( self , obj , job ) : if PathOp . FeatureDepths & self . opFeatures ( obj ) : if job and len ( job . Model . Group ) > 0 : bb = job . Proxy . modelBoundBox ( job ) obj . OpStartDepth = bb . ZMax obj . OpFinalDepth = job . Stock . Shape . BoundBox . ZMin else : obj . OpFinalDepth = - 0.1