Skip to content

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):

MemberMeaning
DiameterPearl sphere diameter, mm
HasCalotteA calotte child was baked with this pearl
HasWireA wire child was baked with this pearl
CalotteIdGuid of the calotte child, Guid.Empty when there is none
WireIdGuid of the wire child, Guid.Empty when there is none