Skip to content

.NET API

VoronoiApi

Voronoi pattern inside a closed curve (the ArtisanVoronoi tool).

from ArtisanPlugin.Scripting import VoronoiApi

See also the guide, Accessories › Voronoi, and the Python package, ra.voronoi.

Methods

Method
CreateDefaults: 100 points, flat (thickness/height 0 keep the saved or tool defaults).

Create

IReadOnlyList<Guid> VoronoiApi.Create(
    Guid curveId,
    int points = 0,
    double thickness = 0,
    double height = 0,
    bool bothSides = false)

Defaults: 100 points, flat (thickness/height 0 keep the saved or tool defaults). Returns the created object ids.

ParameterTypeDefault
curveIdGuidrequired
pointsint0
thicknessdouble0
heightdouble0
bothSidesboolfalse

Returns IReadOnlyList<Guid>.