Skip to content

Python package

ra.ring_curve

Ring rail curves at the document finger size (closed, open, bypass, shaped).

import rhinoartisan as ra

Wraps ArtisanPlugin.Scripting.RingCurveApi.

Functions

Function
create_bypass()element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.
create_closed()element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.
create_open()element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.
create_shape()shape_type is “ROUND” (uses diameter) or “ELLIPSE” (uses width x height).

ra.ring_curve.create_bypass()

ra.ring_curve.create_bypass(opening_length=None, angle=None, offset_x=None, offset_y=None, tangent=None, finger_diameter=None, plane=None, profile=None, element=None) -> str

element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.

ParameterType
opening_lengthfloatoptional — None = the tool default
anglefloatoptional — None = the tool default
offset_xfloatoptional — None = the tool default
offset_yfloatoptional — None = the tool default
tangentfloatoptional — None = the tool default
finger_diameterfloatoptional — None = the tool default
planeOptional[PlaneLike]optional — None = the tool default
profilestroptional — None = the tool default
elementstroptional — None = the tool default

ra.ring_curve.create_closed()

ra.ring_curve.create_closed(finger_diameter=None, plane=None, profile=None, element=None) -> str

element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.

ParameterType
finger_diameterfloatoptional — None = the tool default
planeOptional[PlaneLike]optional — None = the tool default
profilestroptional — None = the tool default
elementstroptional — None = the tool default

ra.ring_curve.create_open()

ra.ring_curve.create_open(opening_length=None, finger_diameter=None, plane=None, profile=None, element=None) -> str

element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.

ParameterType
opening_lengthfloatoptional — None = the tool default
finger_diameterfloatoptional — None = the tool default
planeOptional[PlaneLike]optional — None = the tool default
profilestroptional — None = the tool default
elementstroptional — None = the tool default

ra.ring_curve.create_shape()

ra.ring_curve.create_shape(shape_type=None, diameter=None, width=None, height=None, offset=None, move_in_z=None, opening_length=None, finger_diameter=None, plane=None, profile=None, element=None) -> str

shape_type is “ROUND” (uses diameter) or “ELLIPSE” (uses width x height). element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.

ParameterType
shape_typestroptional — None = the tool default
diameterfloatoptional — None = the tool default
widthfloatoptional — None = the tool default
heightfloatoptional — None = the tool default
offsetfloatoptional — None = the tool default
move_in_zfloatoptional — None = the tool default
opening_lengthfloatoptional — None = the tool default
finger_diameterfloatoptional — None = the tool default
planeOptional[PlaneLike]optional — None = the tool default
profilestroptional — None = the tool default
elementstroptional — None = the tool default