GeometryRadius: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
New page: '''GeometryRadius#''' :This command will return the radius value of the start point of the current feature. ::{| style="background-color:#dddddd;" cellpadding="10" cellspacing="0" borde...
 
Chrish (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''GeometryRadius#'''
{{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 value is often required for cylindrical interpolation modes.


:This command will return the radius value of the start point of the current feature.
For example:
::{| style="background-color:#dddddd;" cellpadding="10" cellspacing="0" border="1"
|'''ID''' || 277
|-
| '''Date added''' || 4/30/2002
|-
|'''Type''' || Number
|-
| '''Class/Scope''' || All / Feature
|-
|'''Min Version''' || 6.0
|-
| '''Notes''' || This is useful for cylindrical interpolation.
|}


[[Category:MTM]] [[Category:Number]] [[Category:All Machines]] [[Category:Feature Loop]]
  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}}
[[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