Scripting API
IPearl
Returned by PearlApi — a pearl is its own stone (a sphere on a plane) with two optional metal children baked alongside it: a calotte (cup) and a wire (post). Not built around a mother gem, so it extends IParametricObject directly and MotherGemId is always Guid.Empty. Read-only — no in-place setters (recreate + Delete() to change one):
| Member | Meaning |
|---|---|
Diameter | Pearl sphere diameter, mm |
HasCalotte | A calotte child was baked with this pearl |
HasWire | A wire child was baked with this pearl |
CalotteId | Guid of the calotte child, Guid.Empty when there is none |
WireId | Guid of the wire child, Guid.Empty when there is none |