मुख्य सामग्री पर जाएँ

raygeo.ops.assembly.helix

HelixSpec​

Parameters for the helix assembler.

angular_step​

angular_step: float

center​

center: tuple[float, float]

direction​

direction: str

"CW" or "CCW".

pitch​

pitch: float

start_radius​

start_radius: float

z_end​

z_end: float

z_start​

z_start: float

Functions​

generate_helix()​

generate_helix(
part: ops.part.Part,
center: tuple[float, float],
start_radius: float,
z_start: float,
z_end: float,
pitch: float,
direction: str = 'CW',
angular_step: float = 0.1,
state: ops.state.State | None = None,
) -> ops.assembly.AssemblyResult

Generate a helical entry path.

Produces a helical toolpath from z_start to z_end at the given center and start_radius.

ParameterTypeDescription
partops.part.Part
centertuple[float, float](x, y) center of the helix.
start_radiusfloatRadius of the helix in mm.
z_startfloatStarting Z height.
z_endfloatEnding (target) Z depth.
pitchfloatVertical descent per full revolution.
directionstr = 'CW'"CW" or "CCW" (default "CW").
angular_stepfloat = 0.1Angular step in radians (default 0.1).
stateops.state.State | None = NoneOptional machine state to apply before the path.
Returnsops.assembly.AssemblyResultAn AssemblyResult with the helical path.

Helical entry path from safe Z to target depth

Helical entry path from safe Z to target depth