Skip to content

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.

ParameterType
curve_idsSequence[IdLike]optional — None = the tool default
gem_sizefloatoptional — None = the tool default
min_distancefloatoptional — None = the tool default
move_in_zfloatoptional — None = the tool default
fit_to_endOptional[bool]optional — None = the tool default