Skip to content

.NET API

AzureApi

Azure cutters under a pave: the openwork underneath.

from ArtisanPlugin.Scripting import AzureApi

See also the Python package, ra.azure.

Methods

Method
CreateThe Azure panel (AzureCommand / SmartAzure ribbon button), headless: open-work under stones.

Create

AzureResult AzureApi.Create(
    Guid solidId,
    IEnumerable<Guid> gemIds = null,
    double thickness = 0,
    double height = 0,
    double depth = 0,
    double angle = double.NaN,
    double rotation = double.NaN,
    bool boolean = true,
    bool deleteOriginal = false)

The Azure panel (AzureCommand / SmartAzure ribbon button), headless: open-work under stones. One hexagonal hole per gem in gemIds (null = the selected gems), centred under the gem girdle and projected onto solidId (a closed polysurface or extrusion), then subtracted from it. Millimetres; 0 keeps the tool default (or the user’s saved defaults): thickness 0.6 (wall between holes), height 0.5 (rise above the surface), depth 4 (cut depth). angle is the wall taper in degrees and rotation spins the hexagon (both default 0; NaN = default). boolean true (default) replaces the solid by the carved result (deleteOriginal removes the original; default false keeps both, like the panel); false adds the cutters to the document and leaves the solid intact.

ParameterTypeDefault
solidIdGuidrequired
gemIdsIEnumerable<Guid>null
thicknessdouble0
heightdouble0
depthdouble0
angledoubledouble.NaN
rotationdoubledouble.NaN
booleanbooltrue
deleteOriginalboolfalse

Returns AzureResult.