GeometryRadius

From Compost Wiki
Jump to navigation Jump to search

Description

This command will return the radius value that was used to wrap the toolpath. Often, this value is extracted from geometry which means the command will return the radius of the geometry feature. Some toolpaths can be created without geometry; in these cases, the command will output the radius of the toolpath start.


Notes

This value is often required for cylindrical interpolation modes.

For example:

 IF RadialOp?
   SetCylindricalInterp
   IF Flag?('CylindricalAsFlatGeom')
     SeqLabC 'G07.1' 'R' GeometryRadius# EOL	{ Cylindrical Interp On }
   ELSE {implies Wrapped}
     SeqLabC 'G07.1' 'C' GeometryRadius# EOL	{ Cylindrical Interp On }
   END
 ...


Stats

ID 277
Type Number
Class All Machines
Scope Feature
Min Version 6.0