Scripting API
IBasket
Returned by BasketApi — a prong basket under one mother gem. Adds to IGemSetting:
| Member | Meaning |
|---|---|
ProngCount | Number of prongs |
ProngHeight | Prong height, mm |
ProngDiameterTop | Prong diameter at the top, mm |
ProngDiameterGirdle | Prong diameter at the girdle, mm |
ProngDiameterBottom | Prong diameter at the bottom, mm |
SetProngCount(prongs) | Rebuild with this many prongs — negative counts follow the tool’s rotated-variant convention |
SetProngDiameter(diameter) | Prong diameter, mm |
SetProngHeight(height) | Prong height, mm |
UpperRail / BaseRail | The rails (IBasketRail): Enabled, Width, Height, Rotation, GemSizePercentage, ProfileName, Mode, with their Set… setters. Rails explains the modes |
SetElement(name) | Applies a saved Basket element. The basket keeps its gem |
Each setter regenerates the basket: the group keeps its id, so the handle stays valid; the member objects are rebuilt.