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:
| Member | Meaning |
|---|---|
SizeTop | Size at the top |
SizeBottom | Size at the bottom |
SizeDrill | Size of the drill |
HeightTop | Height of the top section |
HeightCrown | Height of the crown section |
HeightGirdle | Height of the girdle band |
HeightPavilion | Height of the pavilion section |
HeightDrill | Height of the drill section |
GemInside | How deep the gem sits inside |
DrillType | Drill type selector (integer) |
| Method | Does |
|---|---|
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 |