parameters: (self, obj, job)
return_statement: return defaults
docstring: opPropertyDefaults(obj, job) ... returns a dictionary of default values
          for the operation's properties.
docstring_summary: opPropertyDefaults(obj, job) ... returns a dictionary of default values
          for the operation's properties.
docstring_tokens: opPropertyDefaults ( obj job ) ... returns a dictionary of default values for the operation s properties .
function: def opPropertyDefaults(self, obj, job):
          """opPropertyDefaults(obj, job) ... returns a dictionary of default values
          for the operation's properties."""
          defaults = {
              "OptimizeLinearPaths": True,
              "InternalFeaturesCut": True,
              "OptimizeStepOverTransitions": False,
              "CircularUseG2G3": False,
              "BoundaryEnforcement": True,
              "UseStartPoint": False,
              "AvoidLastX_InternalFeatures": True,
              "CutPatternReversed": False,
              "StartPoint": FreeCAD.Vector(0.0, 0.0, obj.ClearanceHeight.Value),
              "ProfileEdges": "None",
              "LayerMode": "Single-pass",
              "ScanType": "Planar",
              "RotationAxis": "X",
              "CutMode": "Conventional",
              "CutPattern": "Line",
              "HandleMultipleFeatures": "Collectively",
              "PatternCenterAt": "CenterOfMass",
              "GapSizes": "No gaps identified.",
              "StepOver": 100.0,
              "CutPatternAngle": 0.0,
              "CutterTilt": 0.0,
              "StartIndex": 0.0,
              "StopIndex": 360.0,
              "SampleInterval": 1.0,
              "BoundaryAdjustment": 0.0,
              "InternalFeaturesAdjustment": 0.0,
              "AvoidLastX_Faces": 0,
              "PatternCenterCustom": FreeCAD.Vector(0.0, 0.0, 0.0),
              "GapThreshold": 0.005,
              "AngularDeflection": 0.25,  # AngularDeflection is unused
              # Reasonable compromise between speed & precision
              "LinearDeflection": 0.001,
              # For debugging
              "ShowTempObjects": False,
          }
  
          warn = True
          if hasattr(job, "GeometryTolerance"):
              if job.GeometryTolerance.Value != 0.0:
                  warn = False
                  # Tessellation precision dictates the offsets we need to add to
                  # avoid false collisions with the model mesh, so make sure we
                  # default to tessellating with greater precision than the target
                  # GeometryTolerance.
                  defaults["LinearDeflection"] = job.GeometryTolerance.Value / 4
          if warn:
              msg = translate("PathSurface", "The GeometryTolerance for this Job is 0.0.")
              msg += translate(
                  "PathSurface", "Initializing LinearDeflection to 0.001 mm."
              )
              FreeCAD.Console.PrintWarning(msg + "\n")
  
          return defaults
function_tokens: def opPropertyDefaults ( self , obj , job ) : defaults = { "OptimizeLinearPaths" : True , "InternalFeaturesCut" : True , "OptimizeStepOverTransitions" : False , "CircularUseG2G3" : False , "BoundaryEnforcement" : True , "UseStartPoint" : False , "AvoidLastX_InternalFeatures" : True , "CutPatternReversed" : False , "StartPoint" : FreeCAD . Vector ( 0.0 , 0.0 , obj . ClearanceHeight . Value ) , "ProfileEdges" : "None" , "LayerMode" : "Single-pass" , "ScanType" : "Planar" , "RotationAxis" : "X" , "CutMode" : "Conventional" , "CutPattern" : "Line" , "HandleMultipleFeatures" : "Collectively" , "PatternCenterAt" : "CenterOfMass" , "GapSizes" : "No gaps identified." , "StepOver" : 100.0 , "CutPatternAngle" : 0.0 , "CutterTilt" : 0.0 , "StartIndex" : 0.0 , "StopIndex" : 360.0 , "SampleInterval" : 1.0 , "BoundaryAdjustment" : 0.0 , "InternalFeaturesAdjustment" : 0.0 , "AvoidLastX_Faces" : 0 , "PatternCenterCustom" : FreeCAD . Vector ( 0.0 , 0.0 , 0.0 ) , "GapThreshold" : 0.005 , "AngularDeflection" : 0.25 , # AngularDeflection is unused # Reasonable compromise between speed & precision "LinearDeflection" : 0.001 , # For debugging "ShowTempObjects" : False , } warn = True if hasattr ( job , "GeometryTolerance" ) : if job . GeometryTolerance . Value != 0.0 : warn = False # Tessellation precision dictates the offsets we need to add to # avoid false collisions with the model mesh, so make sure we # default to tessellating with greater precision than the target # GeometryTolerance. defaults [ "LinearDeflection" ] = job . GeometryTolerance . Value / 4 if warn : msg = translate ( "PathSurface" , "The GeometryTolerance for this Job is 0.0." ) msg += translate ( "PathSurface" , "Initializing LinearDeflection to 0.001 mm." ) FreeCAD . Console . PrintWarning ( msg + "\n" ) return defaults