Skip to content

.NET API

RingExtrudeApi

Rings extruded from a frontal profile.

from ArtisanPlugin.Scripting import RingExtrudeApi

See also the Python package, ra.ring_extrude.

Methods

Method
AllIds of every RingExtrude body in the active document.
CreateBuilds 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.

All

IReadOnlyList<Guid> RingExtrudeApi.All()

Ids of every RingExtrude body in the active document.

Returns IReadOnlyList<Guid>.

Create

Guid RingExtrudeApi.Create(
    double topLength = 0,
    double sideLength = 0,
    double bottomLength = 0,
    double topThickness = 0,
    double bottomThickness = 0,
    bool? hollow = null,
    double linearThickness = 0,
    double angle = double.NaN,
    string symmetry = null,
    double advancedTopThickness = 0,
    double advancedLateralThickness = 0,
    string frontalProfile = null,
    string lateralProfile = null,
    double fingerDiameter = 0,
    Plane? plane = null)

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; 0 keeps the tool default (or the user’s saved defaults): topLength 2, sideLength 2, bottomLength 2 (metal over the finger at top / sides / bottom), topThickness 2, bottomThickness 2 (band width, frontal view). hollow true carves the inside with linearThickness (2), angle (degrees, NaN = 0), symmetry SYMMETRIC (default) | ASYMMETRIC with advancedTopThickness / advancedLateralThickness (2). frontalProfile / lateralProfile pick assets by name (see AssetsApi). fingerDiameter 0 = document ring size. plane omitted = world XY. Returns the Guid of the new ring body (a RingExtrude custom object).

ParameterTypeDefault
topLengthdouble0
sideLengthdouble0
bottomLengthdouble0
topThicknessdouble0
bottomThicknessdouble0
hollowbool?null
linearThicknessdouble0
angledoubledouble.NaN
symmetrystringnull
advancedTopThicknessdouble0
advancedLateralThicknessdouble0
frontalProfilestringnull
lateralProfilestringnull
fingerDiameterdouble0
planePlane?null

Returns Guid.