Skip to content

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.

ParameterType
brep_idIdLikerequired
pointPointLikerequired
diameterfloatoptional — None = the tool default
cut_diameterfloatoptional — None = the tool default
thicknessfloatoptional — None = the tool default
number_of_malesintoptional — None = the tool default
opening_anglefloatoptional — None = the tool default