Skip to content

Scripting API

ICutter

Returned by CutterApi — the cutter (the negative volume that seats one gem in the metal). Every setter regenerates the cutter in place (same id) and takes literal values: sizes and heights in % of the gem, GemInside in mm. Adds to IGemSetting:

MemberMeaning
SizeTopSize at the top
SizeBottomSize at the bottom
SizeDrillSize of the drill
HeightTopHeight of the top section
HeightCrownHeight of the crown section
HeightGirdleHeight of the girdle band
HeightPavilionHeight of the pavilion section
HeightDrillHeight of the drill section
GemInsideHow deep the gem sits inside
DrillTypeDrill type selector (integer)
MethodDoes
SetSizeTop(v) / SetSizeBottom(v) / SetSizeDrill(v)Set the widths, %
SetHeightTop(v) / SetHeightCrown(v) / SetHeightGirdle(v) / SetHeightPavilion(v)Set the section heights, %
SetHeightDrill(v)Drill body height, %. 0 = no drill body
SetGemInside(mm)Signed margin around the gem outline
SetDrillType(n)0 gem shape, 1 round, 2 square, 3 hexagon
FitToGem(clearance = None)Sets GemInside, HeightGirdle and HeightPavilion so the cutter encloses the gem’s real girdle and pavilion, with a default clearance of 0.05 mm. See Fit to gem