Python package
ra.gems_by_network
Stones over a network of intersecting curves, sized to meet at the nodes.
import rhinoartisan as ra
Wraps ArtisanPlugin.Scripting.GemsByNetworkApi.
Functions
| Function | |
|---|---|
create() | Fills curve_ids with stones and bakes them as loose gems. |
ra.gems_by_network.create()
ra.gems_by_network.create(curve_ids=None, gem_size=None, min_distance=None, move_in_z=None, fit_to_end=None) -> List[str]
Fills curve_ids with stones and bakes them as loose gems. Millimetres; omitting keeps the tool default: gem_size 1.0, min_distance 0.1, moveInZ 0 (the stones sit on the curves). curve_ids None/empty uses the current selection. Returns the ids of the baked gems.
| Parameter | Type | |
|---|---|---|
curve_ids | Sequence[IdLike] | optional — None = the tool default |
gem_size | float | optional — None = the tool default |
min_distance | float | optional — None = the tool default |
move_in_z | float | optional — None = the tool default |
fit_to_end | Optional[bool] | optional — None = the tool default |