Scripting API
IAdvancedCathedral
Returned by AdvancedCathedralApi — like the classic cathedral, but the band’s cross-section is defined by editable stations along the arm instead of one fixed profile. Multiple gems, so no single mother gem. Adds to IParametricObject:
| Member | Meaning |
|---|---|
RingSizeLabel / RingSizeRegion | Ring size as label + region |
RingDiameterMm | Inner diameter, mm |
Shank | Stations, arm and bridge — IAdvancedCathedralShank |
Gems | The pavé row — ICathedralGems, the same section as the classic cathedral |
GemGradient | Stone-size and prong gradient — IAdvancedCathedralGemGradient |
All three sections are live views over the shank’s stored parameters: their getters read the current values and every setter regenerates the shank in place (same Guid), gems, prongs and cutters included.
Band and arms (IAdvancedCathedralShank)
| Member | Meaning |
|---|---|
SharedProfile | Every station uses the same profile asset |
Stations | The per-station sections — IAdvancedCathedralStation each |
ArmHeight / ArmOpening | mm |
TipInclination | Inclination of the arm tip |
TangentPoint | 1 = 90 degrees, 0 = 140, -1 = 190 |
TipRound | mm |
BridgeEnabled | Whether the bridge is built |
BridgeWidth / BridgeThickness / BridgeFillet / BridgeDiameter | Bridge section, mm |
BridgeAngle / BridgeOpenAngle | degrees |
SetStations(stations) | Replace the whole list (at least 2, positions 0..1) |
SetStation(index, position, width, height, profileName=None) | Edit one station in place |
SetSharedProfile / SetProfile(assetName) | The second applies one RING_PROFILE asset to every station |
SetArmHeight / SetArmOpening / SetTipInclination / SetTangentPoint / SetTipRound | The arm |
SetBridgeEnabled / SetBridgeWidth / SetBridgeThickness / SetBridgeFillet / SetBridgeAngle / SetBridgeDiameter / SetBridgeOpenAngle | The bridge |
A station (IAdvancedCathedralStation)
| Member | Meaning |
|---|---|
Position | 0 = arm tip, 1 = ring bottom |
Width / Height | Section at that position, mm |
ProfileName | RING_PROFILE asset name, "" when unset |
Stone gradient (IAdvancedCathedralGemGradient)
How stone size and prongs vary along the gem run.
| Member | Meaning |
|---|---|
Enabled | Whether the gradient is applied |
Points | 2 = start/end, 3 = start/middle/end |
MiddlePosition | 0..1 |
GemSizeStart / GemSizeMiddle / GemSizeEnd | mm |
ProngGrow / ProngMinDiameter | mm |
EndProngCount / ProngSpacing / ProngDistance | Prong layout |
SetEnabled / SetPoints / SetMiddlePosition | |
SetGemSizes(start, middle, end) | The three sizes in one call, mm |
SetProngGrow / SetProngMinDiameter / SetEndProngCount / SetProngSpacing / SetProngDistance |