Python package
ra.named_pendant
Name pendants from text.
import rhinoartisan as ra
Wraps ArtisanPlugin.Scripting.NamedPendantApi.
Functions
| Function | |
|---|---|
create() | Defaults: font Arial bold, height 5, thickness 0.4, spacing 0.5. |
ra.named_pendant.create()
ra.named_pendant.create(text: str, plane=None, height=None, thickness=None, font=None, element=None) -> List[str]
Defaults: font Arial bold, height 5, thickness 0.4, spacing 0.5. Returns the ids of the created breps (letters + plate/rail). element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.
| Parameter | Type | |
|---|---|---|
text | str | required |
plane | Optional[PlaneLike] | optional — None = the tool default |
height | float | optional — None = the tool default |
thickness | float | optional — None = the tool default |
font | str | optional — None = the tool default |
element | str | optional — None = the tool default |