Skip to content

.NET API

PaveAlongSurfaceApi

Pave rows following a surface direction.

from ArtisanPlugin.Scripting import PaveAlongSurfaceApi

See also the Python package, ra.pave_along_surface.

Methods

Method
CreateRows of round diamonds along the isocurves of a surface — the ArtisanPaveAlongSurface (Pave UV) tool, headless.

Create

IReadOnlyList<Guid> PaveAlongSurfaceApi.Create(
    Guid surfaceId,
    IEnumerable<Point3d> points,
    double gemSize = 0,
    double distance = 0,
    double borderDistance = 0,
    string direction = null,
    bool? justify = null,
    string verticalAlignment = null)

Rows of round diamonds along the isocurves of a surface — the ArtisanPaveAlongSurface (Pave UV) tool, headless. surfaceId is a surface or single-face polysurface; each entry of points replaces one click on it and yields one row along the isocurve through that point, in direction U (default) or V. Millimetres; 0 keeps the tool default (or the user’s saved defaults): gemSize 1.5, distance 0.1 between gems, borderDistance 0.2. justify true squeezes the row to fill the isocurve; verticalAlignment CENTER (default) / TOP / BOTTOM shifts the row sideways by half a gem. Positions shared by two rows are baked once. Returns the ids of the created gems.

ParameterTypeDefault
surfaceIdGuidrequired
pointsIEnumerable<Point3d>required
gemSizedouble0
distancedouble0
borderDistancedouble0
directionstringnull
justifybool?null
verticalAlignmentstringnull

Returns IReadOnlyList<Guid>.