Python package
ra.hinge
Hinges.
import rhinoartisan as ra
Wraps ArtisanPlugin.Scripting.HingeApi.
Functions
| Function | |
|---|---|
create() | point marks where the hinge goes ON the brep (the tool’s pick-point-on-solid). |
ra.hinge.create()
ra.hinge.create(brep_id: IdLike, point: PointLike, diameter=None, cut_diameter=None, thickness=None, number_of_males=None, opening_angle=None) -> List[str]
point marks where the hinge goes ON the brep (the tool’s pick-point-on-solid). Defaults: pin diameter 0.7, cut diameter 4, thickness 1, 1 male, opening angle 10. Returns the ids of the resulting breps.
| Parameter | Type | |
|---|---|---|
brep_id | IdLike | required |
point | PointLike | required |
diameter | float | optional — None = the tool default |
cut_diameter | float | optional — None = the tool default |
thickness | float | optional — None = the tool default |
number_of_males | int | optional — None = the tool default |
opening_angle | float | optional — None = the tool default |