Skip to content

.NET API

BangleApi

Rigid bracelet body (the ArtisanBangle tool).

from ArtisanPlugin.Scripting import BangleApi

See also the guide, Accessories › Bangle, and the Python package, ra.bangle.

Methods

Method
Createclosed true makes a full bangle (type CLOSED); default is the open type with aperture mm of opening.

Create

Guid BangleApi.Create(
    Plane? plane = null,
    double width = 0,
    double height = 0,
    double aperture = 0,
    bool closed = false,
    string profile = null,
    string element = null)

closed true makes a full bangle (type CLOSED); default is the open type with aperture mm of opening. Defaults: width 50, height 30, aperture 10. element = name of a saved Bangle element (ElementsApi.List(“Bangle”)) to start from; explicit arguments override it (profile replaces its three profiles).

ParameterTypeDefault
planePlane?null
widthdouble0
heightdouble0
aperturedouble0
closedboolfalse
profilestringnull
elementstringnull

Returns Guid.