ADD OP FEED MARKER

From Macros Wiki
Revision as of 16:09, 14 January 2011 by Mikeo (talk | contribs)
Jump to navigationJump to search

Up

Command

ADD_OP_FEED_MARKER <op number>, <feature num>, <distance>, <value>, <type>, <marker num>


Add a feed marker to an operation.

Parameters

<op number>
Operation number.
<marker num>
Feature number.
<marker num>
Distance along the feature (0.0 = start, 1.0 = end).
<distance>
Feedrate value
<value>
The name of a numeric variable to be set to the offset number.
<type>
The name of a numeric variable to be set to the offset type (1 = user, 2 = use tool offset).

Example

GET_OP_OFFSET_MARKER 1, 4, FeatNum, FeatDist, OffsetNum, OffsetType

|param1=<op number>|param1_desc=Operation number. |param2=<feature num>|param2_desc=The index to the feature. This will be 1 for the first feature, 2 for the second etc.

If you have selected a shape, then 1 will be the first line/arc in the shape, 2 will be the second.
If you have selected a number of points, lines and circles, then index 1 will give you the first
feature that you selected, 2 will be the second (in the order that you selected them).

|param3=<param>|param3_desc=Marker parameter. |param4=<value>|param4_desc= Name of variable to be set by this command |param5=<type>|param5_desc=.edit. |param6=<marker num>|param6_desc=Marker number. }}

Example

ADD_OP_FEED_MARKER