GeometryRadius: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
Chrish (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Description|description=This command will return the radius value of the start point of the current feature.}}
{{Description|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|notes=This is useful for cylindrical interpolation.}}
{{Notes|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|version=6.0}}
{{Stats|id=277|type=Number|class=All Machines|scope= Feature|version=6.0}}
[[Category:MTM]]
[[Category:MTM]]

Latest revision as of 18:22, 4 April 2014

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