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
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
[[Operation_Floating_Point|Back to Operation Floating]]
[[Operation_Floating_Point|Back to Operation Floating]]


=Process parameters :=
=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 18: 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)''

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