Skip to content

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.

ParameterType
curve_a_idIdLikerequired
curve_b_idIdLikerequired
pointsSequence[PointLike]optional — None = the tool default
countintoptional — None = the tool default
top_widthfloatoptional — None = the tool default
bottom_widthfloatoptional — None = the tool default
depth_percentageintoptional — None = the tool default
gem_materialstroptional — None = the tool default