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
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Examples for controlling options under the Rotate tab=
[[Process_Integer|Back to Process Integer]]


Commands applies for milling and drilling processes where a rotary axis is available :
[[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 ''(set to 0 or 1, 0=Position 1=Polar and Cylindrical)''
Line 10: Line 17:


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 ''(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 to use Position, start at angle C0 and no duplication==
Line 36: Line 55:
</pre>
</pre>


==Set to use Polar and Cylindrical and 7 duplicates with 45deg spacing==
==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, 7
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

Back to Process Integer

Back to Process Floating

Back to Operation Integer

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)

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