.NET API
HingeApi
Hinge (the ArtisanHinge tool). DESTRUCTIVE on the input: the solid is REPLACED by the hinged parts, like the tool’s Accept.
from ArtisanPlugin.Scripting import HingeApi
See also the guide, Accessories › Hinge, and the Python package, ra.hinge.
Methods
| Method | |
|---|---|
Create | point marks where the hinge goes ON the brep (the tool’s pick-point-on-solid). |
Create
IReadOnlyList<Guid> HingeApi.Create(
Guid brepId,
Point3d point,
double diameter = 0,
double cutDiameter = 0,
double thickness = 0,
int numberOfMales = 0,
double openingAngle = -1)
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 | Default |
|---|---|---|
brepId | Guid | required |
point | Point3d | required |
diameter | double | 0 |
cutDiameter | double | 0 |
thickness | double | 0 |
numberOfMales | int | 0 |
openingAngle | double | -1 |
Returns IReadOnlyList<Guid>.