Wrap examples: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
Created page with "===Examples for controlling options under the Rotate tab=== Commands : WRAP WRAP_START_ANGLE WRAP_NUM_COPIES WRAP_COPY_ANGLE ===Set to use Position and no duplication== <pre> set_proc_data 1, wrap, 0 set_proc_data 1, wrap_num_copies, 0 set_proc_data 1, wrap_copy_angle, 0 </pre> ===Set to use Position and 7 duplicates with 45deg spacing== <pre> set_proc_data 1, wrap, 0 set_proc_data 1, wrap_num_copies, 7 set_proc_data 1, wrap_copy_angle, 45 </pre> ===Set to use P..." |
No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Process_Integer|Back to Process Integer]] | |||
[[Process_Floating|Back to Process Floating]] | |||
[[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)'' | |||
WRAP ''(set to 0 or 1, 0=Position 1=Polar and Cylindrical)'' | |||
WRAP_START_ANGLE ''(set any start C Angle)'' | |||
===Set to use Position and no duplication== | 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== | |||
<pre> | <pre> | ||
set_proc_data 1, wrap, 0 | 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_num_copies, 0 | ||
set_proc_data 1, wrap_copy_angle, 0 | set_proc_data 1, wrap_copy_angle, 0 | ||
</pre> | </pre> | ||
==Set to use Position, start at angle C45 and no duplication== | |||
<pre> | <pre> | ||
set_proc_data 1, wrap, 0 | 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 | |||
</pre> | |||
==Set to use Position, start at angle C0 and 7 duplicates with 45deg spacing== | |||
<pre> | |||
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_num_copies, 7 | ||
set_proc_data 1, wrap_copy_angle, 45 | set_proc_data 1, wrap_copy_angle, 45 | ||
</pre> | </pre> | ||
==Set to use Polar and Cylindrical and 3 duplicates with 90deg spacing== | |||
<pre> | <pre> | ||
set_proc_data 1, wrap, 1 | set_proc_data 1, wrap, 1 | ||
set_proc_data 1, wrap_num_copies, | set_proc_data 1, wrap_num_copies, 3 | ||
set_proc_data 1, wrap_copy_angle, 45 | set_proc_data 1, wrap_copy_angle, 90 | ||
</pre> | |||
=Examples set operation data for controlling options under the Rotate tab= | |||
==Set to use Position, start at angle C0 and no duplication== | |||
<pre> | |||
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 | |||
</pre> | |||
==Set to use Position, start at angle C45 and no duplication== | |||
<pre> | |||
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 | |||
</pre> | |||
==Set to use Position, start at angle C0 and 7 duplicates with 45deg spacing== | |||
<pre> | |||
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 | |||
</pre> | |||
==Set to use Polar and Cylindrical and 3 duplicates with 90deg spacing== | |||
<pre> | |||
set_op_data 1, wrap, 1 | |||
set_op_data 1, wrap_dups, 3 | |||
set_op_data 1, wrap_dup_angle, 90 | |||
</pre> | </pre> | ||
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