Skip to content

Scripting API

IPeghead

Returned by PegheadApi — a peghead setting on one mother gem. Adds only setters to IGemSetting; each regenerates the peghead in place (same Guid), millimetres:

MemberMeaning
SetProngs(prongs)Prong count — negative counts select the rotated variant (-4 = 4 prongs at 45 degrees)
SetHeight(height)Height, mm
SetThickness(thickness)Prong thickness, mm
SetGirdleWidth(girdleWidth)Girdle width, mm
SetOverGirdleHeight(overGirdleHeight)Height over the girdle, mm
SetGemInside(gemInside)How deep the gem sits inside, mm