Skip to content

Scripting API

IBasket

Returned by BasketApi — a prong basket under one mother gem. Adds to IGemSetting:

MemberMeaning
ProngCountNumber of prongs
ProngHeightProng height, mm
ProngDiameterTopProng diameter at the top, mm
ProngDiameterGirdleProng diameter at the girdle, mm
ProngDiameterBottomProng 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 / BaseRailThe 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.