Skip to content

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:

MemberMeaning
RingSizeLabel / RingSizeRegionRing size as label + region
RingDiameterMmInner diameter, mm
ShankStations, arm and bridge — IAdvancedCathedralShank
GemsThe pavé row — ICathedralGems, the same section as the classic cathedral
GemGradientStone-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)

MemberMeaning
SharedProfileEvery station uses the same profile asset
StationsThe per-station sections — IAdvancedCathedralStation each
ArmHeight / ArmOpeningmm
TipInclinationInclination of the arm tip
TangentPoint1 = 90 degrees, 0 = 140, -1 = 190
TipRoundmm
BridgeEnabledWhether the bridge is built
BridgeWidth / BridgeThickness / BridgeFillet / BridgeDiameterBridge section, mm
BridgeAngle / BridgeOpenAngledegrees
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 / SetTipRoundThe arm
SetBridgeEnabled / SetBridgeWidth / SetBridgeThickness / SetBridgeFillet / SetBridgeAngle / SetBridgeDiameter / SetBridgeOpenAngleThe bridge

A station (IAdvancedCathedralStation)

MemberMeaning
Position0 = arm tip, 1 = ring bottom
Width / HeightSection at that position, mm
ProfileNameRING_PROFILE asset name, "" when unset

Stone gradient (IAdvancedCathedralGemGradient)

How stone size and prongs vary along the gem run.

MemberMeaning
EnabledWhether the gradient is applied
Points2 = start/end, 3 = start/middle/end
MiddlePosition0..1
GemSizeStart / GemSizeMiddle / GemSizeEndmm
ProngGrow / ProngMinDiametermm
EndProngCount / ProngSpacing / ProngDistanceProng layout
SetEnabled / SetPoints / SetMiddlePosition
SetGemSizes(start, middle, end)The three sizes in one call, mm
SetProngGrow / SetProngMinDiameter / SetEndProngCount / SetProngSpacing / SetProngDistance