GET PATH FEAT ANGLES: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{Command|syntax=GET_PATH_FEAT_ANGLES <path number> <feature number> <start angle> <end angle> <included angle> | {{Command|syntax=GET_PATH_FEAT_ANGLES <path number> <feature number> <start angle> <end angle> <included angle> | ||
|description=: | |description=:Get the angles of a feature in a numbered {{macro path}}. | ||
|param1=<path number>|param1_desc={{path number}} | |param1=<path number>|param1_desc={{path number}} | ||
|param2=<feature number>|param2_desc={{feature number}} | |param2=<feature number>|param2_desc={{feature number}} | ||
|param3=<start angle>|param3_desc={{start angle | |param3=<start angle>|param3_desc={{parameter_variable_any_name}} the start angle. | ||
|param4=<end angle>|param4_desc={{end angle | |param4=<end angle>|param4_desc={{parameter_variable_any_name}} the end angle | ||
|param5=<included angle>|param5_desc={{included angle | |param5=<included angle>|param5_desc={{parameter_variable_any_name}} the included angle (zero if not an arc). | ||
}} | }} | ||
===Example=== | ===Example=== | ||
: | :GET_PATH_FEAT_ANGLES 3, 10, StartAng, EndAng, IncAng | ||
:<br> | |||
:Get the angles of the 10th feature in the path number 3. | |||
[[Category:Operations]] | [[Category:Operations]] | ||
Revision as of 16:58, 14 January 2011
Command
- GET_PATH_FEAT_ANGLES <path number> <feature number> <start angle> <end angle> <included angle>
- Get the angles of a feature in a numbered A macro path is a list of features used to represent toolpath. This is commonly used for the toolpath that is associated with an operation. The path may contain movement features (line, circle, curve etc) and CTool markers. The GET_OP_PATH command is used to read the toolpath from an operation into memory. You can also define a list of number paths (maximum 100) to assist with modifying toolpath by copying, translating and rotating the toolpath..
Parameters
- <path number>
- Path number (1 to 100).
- <feature number>
- Template:Feature number
- <start angle>
- Name of variable to be set to the start angle.
- <end angle>
- Name of variable to be set to the end angle
- <included angle>
- Name of variable to be set to the included angle (zero if not an arc).
Example
- GET_PATH_FEAT_ANGLES 3, 10, StartAng, EndAng, IncAng
- Get the angles of the 10th feature in the path number 3.