Python package
ra.tapered_baguettes
Tapered baguettes between two curves.
import rhinoartisan as ra
Wraps ArtisanPlugin.Scripting.TaperedBaguettesApi.
Functions
| Function | |
|---|---|
create() | Places tapered baguettes spanning between two rail curves — the ArtisanTaperedBaguettesOnCurves tool, headless. |
ra.tapered_baguettes.create()
ra.tapered_baguettes.create(curve_a_id: IdLike, curve_b_id: IdLike, points=None, count=None, top_width=None, bottom_width=None, depth_percentage=None, gem_material=None) -> List[str]
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; omitting keeps the tool default: top_width 1.75, bottom_width 1.25, depth_percentage 64. gem_material 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 | |
|---|---|---|
curve_a_id | IdLike | required |
curve_b_id | IdLike | required |
points | Sequence[PointLike] | optional — None = the tool default |
count | int | optional — None = the tool default |
top_width | float | optional — None = the tool default |
bottom_width | float | optional — None = the tool default |
depth_percentage | int | optional — None = the tool default |
gem_material | str | optional — None = the tool default |