Wrap examples: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
CatoH (talk | contribs)
No edit summary
CatoH (talk | contribs)
combined page for WRAP parametes
Line 3: Line 3:
[[Process_Floating|Back to Process Floating]]
[[Process_Floating|Back to Process Floating]]
__NOTOC__
__NOTOC__
Parameters applies for milling and drilling processes where a rotary axis is available :
=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 ''(set to 0 or 1, 0=Position 1=Polar and Cylindrical)''
Line 12: Line 13:


WRAP_COPY_ANGLE ''(set any C Angle between 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_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=
=Examples set process data for controlling options under the Rotate tab=


Line 44: Line 54:
set_proc_data 1, wrap_num_copies, 3
set_proc_data 1, wrap_num_copies, 3
set_proc_data 1, wrap_copy_angle, 90
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>

Revision as of 13:30, 14 March 2025

Back to Process Integer

Back to Process 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)

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_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