Skip to content

Python package

ra.ring_extrude

Rings extruded from a frontal profile.

import rhinoartisan as ra

Wraps ArtisanPlugin.Scripting.RingExtrudeApi.

Functions

Function
all()Ids of every RingExtrude body in the active document.
create()Builds a ring body by extruding silhouettes (the ArtisanRingExtrude tool, headless): a frontal silhouette (an EXTERNAL_RING_PROFILE asset) and a lateral silhouette (a RING_SIDE_CURVE asset) are grown around the finger circle by the lengths below and intersected — the quick way to get a wide, sculpted band.

ra.ring_extrude.all()

ra.ring_extrude.all() -> List[str]

Ids of every RingExtrude body in the active document.

ra.ring_extrude.create()

ra.ring_extrude.create(top_length=None, side_length=None, bottom_length=None, top_thickness=None, bottom_thickness=None, hollow=None, linear_thickness=None, angle=None, symmetry=None, advanced_top_thickness=None, advanced_lateral_thickness=None, frontal_profile=None, lateral_profile=None, finger_diameter=None, plane=None) -> str

Builds a ring body by extruding silhouettes (the ArtisanRingExtrude tool, headless): a frontal silhouette (an EXTERNAL_RING_PROFILE asset) and a lateral silhouette (a RING_SIDE_CURVE asset) are grown around the finger circle by the lengths below and intersected — the quick way to get a wide, sculpted band. Millimetres; omitting keeps the tool default (or the user’s saved defaults): top_length 2, side_length 2, bottom_length 2 (metal over the finger at top / sides / bottom), top_thickness 2, bottom_thickness 2 (band width, frontal view). hollow True carves the inside with linear_thickness (2), angle (degrees, NaN = 0), symmetry SYMMETRIC (default) | ASYMMETRIC with advanced_top_thickness / advanced_lateral_thickness (2). frontal_profile / lateral_profile pick assets by name (see AssetsApi). finger_diameter 0 = document ring size. plane omitted = world XY. Returns the Guid of the new ring body (a RingExtrude custom object).

ParameterType
top_lengthfloatoptional — None = the tool default
side_lengthfloatoptional — None = the tool default
bottom_lengthfloatoptional — None = the tool default
top_thicknessfloatoptional — None = the tool default
bottom_thicknessfloatoptional — None = the tool default
hollowOptional[bool]optional — None = the tool default
linear_thicknessfloatoptional — None = the tool default
anglefloatoptional — None = the tool default
symmetrystroptional — None = the tool default
advanced_top_thicknessfloatoptional — None = the tool default
advanced_lateral_thicknessfloatoptional — None = the tool default
frontal_profilestroptional — None = the tool default
lateral_profilestroptional — None = the tool default
finger_diameterfloatoptional — None = the tool default
planeOptional[PlaneLike]optional — None = the tool default