.NET API
TaperedBaguettesApi
Tapered baguettes between two curves.
from ArtisanPlugin.Scripting import TaperedBaguettesApi
See also the Python package, ra.tapered_baguettes.
Methods
| Method | |
|---|---|
Create | Places tapered baguettes spanning between two rail curves — the ArtisanTaperedBaguettesOnCurves tool, headless. |
Create
IReadOnlyList<Guid> TaperedBaguettesApi.Create(
Guid curveAId,
Guid curveBId,
IEnumerable<Point3d> points = null,
int count = 0,
double topWidth = 0,
double bottomWidth = 0,
int depthPercentage = 0,
string gemMaterial = null)
Places tapered baguettes spanning between two rail curves — the ArtisanTaperedBaguettesOnCurves tool, headless. Each entry of points replaces one click: the rail closest to the point carries the wide (top) edge, the gem runs straight to the closest point on the other rail and its length follows that span. Without points, count > 0 spreads that many baguettes evenly along the first curve (top edge on it). Millimetres; 0 keeps the tool default: topWidth 1.75, bottomWidth 1.25, depthPercentage 64. gemMaterial accepts the GemApi vocabulary (default Diamond). The gems are baked loose (no group) on the primary gems layer, like the command. Returns their ids.
| Parameter | Type | Default |
|---|---|---|
curveAId | Guid | required |
curveBId | Guid | required |
points | IEnumerable<Point3d> | null |
count | int | 0 |
topWidth | double | 0 |
bottomWidth | double | 0 |
depthPercentage | int | 0 |
gemMaterial | string | null |
Returns IReadOnlyList<Guid>.