Wrap examples: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
combined page for WRAP parametes |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
[[Process_Floating|Back to Process Floating]] | [[Process_Floating|Back to Process Floating]] | ||
=Process parameters | [[Operation_Integer|Back to Operation Integer]] | ||
[[Operation_Floating_Point|Back to Operation Floating]] | |||
=Process parameters = | |||
''(applies for milling and drilling processes where a rotary axis is available)'' | ''(applies for milling and drilling processes where a rotary axis is available)'' | ||
| Line 14: | Line 18: | ||
WRAP_COPY_ANGLE ''(set any C Angle between duplications)'' | WRAP_COPY_ANGLE ''(set any C Angle between duplications)'' | ||
=Operation parameters | =Operation parameters = | ||
''(applies for milling and drilling operations where a rotary axis is available)'' | ''(applies for milling and drilling operations where a rotary axis is available)'' | ||
WRAP ''(set to 0 or 1, 0=Position 1=Polar and Cylindrical)'' | |||
WRAP_START_ANGLE ''(set any start C Angle)'' | WRAP_START_ANGLE ''(set any start C Angle)'' | ||
| Line 69: | Line 75: | ||
<pre> | <pre> | ||
set_op_data 1, wrap, 0 | set_op_data 1, wrap, 0 | ||
set_op_data | set_op_data 1, wrap_start_angle, 45 | ||
set_op_data 1, wrap_dups, 0 | set_op_data 1, wrap_dups, 0 | ||
set_op_data 1, wrap_dup_angle, 0 | set_op_data 1, wrap_dup_angle, 0 | ||
Latest revision as of 13:35, 14 March 2025
Process parameters
(applies for milling and drilling processes where a rotary axis is available)
WRAP (set to 0 or 1, 0=Position 1=Polar and Cylindrical)
WRAP_START_ANGLE (set any start C Angle)
WRAP_NUM_COPIES (set any number of duplications)
WRAP_COPY_ANGLE (set any C Angle between duplications)
Operation parameters
(applies for milling and drilling operations where a rotary axis is available)
WRAP (set to 0 or 1, 0=Position 1=Polar and Cylindrical)
WRAP_START_ANGLE (set any start C Angle)
WRAP_DUPS (set any number of duplications)
WRAP_DUP_ANGLE (set any C Angle between duplications)
Examples set process data for controlling options under the Rotate tab
Set to use Position, start at angle C0 and no duplication
set_proc_data 1, wrap, 0 set_proc_data 1, wrap_start_angle, 0 set_proc_data 1, wrap_num_copies, 0 set_proc_data 1, wrap_copy_angle, 0
Set to use Position, start at angle C45 and no duplication
set_proc_data 1, wrap, 0 set_proc_data 1, wrap_start_angle, 45 set_proc_data 1, wrap_num_copies, 0 set_proc_data 1, wrap_copy_angle, 0
Set to use Position, start at angle C0 and 7 duplicates with 45deg spacing
set_proc_data 1, wrap, 0 set_proc_data 1, wrap_start_angle, 0 set_proc_data 1, wrap_num_copies, 7 set_proc_data 1, wrap_copy_angle, 45
Set to use Polar and Cylindrical and 3 duplicates with 90deg spacing
set_proc_data 1, wrap, 1 set_proc_data 1, wrap_num_copies, 3 set_proc_data 1, wrap_copy_angle, 90
Examples set operation data for controlling options under the Rotate tab
Set to use Position, start at angle C0 and no duplication
set_op_data 1, wrap, 0 set_op_data 1, wrap_start_angle, 0 set_op_data 1, wrap_dups, 0 set_op_data 1, wrap_dup_angle, 0
Set to use Position, start at angle C45 and no duplication
set_op_data 1, wrap, 0 set_op_data 1, wrap_start_angle, 45 set_op_data 1, wrap_dups, 0 set_op_data 1, wrap_dup_angle, 0
Set to use Position, start at angle C0 and 7 duplicates with 45deg spacing
set_op_data 1, wrap, 0 set_op_data 1, wrap_start_angle, 0 set_op_data 1, wrap_dups, 7 set_op_data 1, wrap_dup_angle, 45
Set to use Polar and Cylindrical and 3 duplicates with 90deg spacing
set_op_data 1, wrap, 1 set_op_data 1, wrap_dups, 3 set_op_data 1, wrap_dup_angle, 90