Wrap examples: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
CatoH (talk | contribs)
No edit summary
CatoH (talk | contribs)
No edit summary
Line 1: Line 1:
===Examples for controlling options under the Rotate tab===
=Examples for controlling options under the Rotate tab=


Commands :
Commands applies for milling and drilling processes where a rotary axis is available :


WRAP
WRAP ''(set to 0 or 1, 0=Position 1=Polar and Cylindrical)''


WRAP_START_ANGLE
WRAP_START_ANGLE ''(set any start C Angle)''


WRAP_NUM_COPIES
WRAP_NUM_COPIES ''(set any number of duplications)''
 
WRAP_COPY_ANGLE


WRAP_COPY_ANGLE ''(set any C Angle between duplications)''
----


==Set to use Position, start at angle C0 and no duplication==
==Set to use Position, start at angle C0 and no duplication==
Line 27: Line 27:
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 C0 and 7 duplicates with 45deg spacing==
==Set to use Position, start at angle C0 and 7 duplicates with 45deg spacing==

Revision as of 00:31, 14 March 2025

Examples for controlling options under the Rotate tab

Commands 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)


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 7 duplicates with 45deg spacing

set_proc_data 1, wrap, 1
set_proc_data 1, wrap_num_copies, 7
set_proc_data 1, wrap_copy_angle, 45