Skip to content

Python package

ra.cathedral

Cathedral shanks: arms rising toward the setting.

import rhinoartisan as ra

Wraps ArtisanPlugin.Scripting.CathedralApi.

Functions

Function
all()Cathedral handles for every object of this kind in the active document (empty when there is no document).
by_layer()Cathedral handles on the layer with the given full path (empty when the layer does not exist).
count()Number of objects of this kind in the active document.
create()Builds a cathedral ring shank (the ArtisanCathedral tool, headless): a band whose arms rise toward the setting, optionally with a pavé row of gems along the top.
find()The handle for id, or None when the id does not belong to an object of this kind.
selected()Cathedrals currently selected in the active doc.

ra.cathedral.all()

ra.cathedral.all() -> List[Cathedral]

Cathedral handles for every object of this kind in the active document (empty when there is no document).

ra.cathedral.by_layer()

ra.cathedral.by_layer(layer_name: str) -> List[Cathedral]

Cathedral handles on the layer with the given full path (empty when the layer does not exist).

ParameterType
layer_namestrrequired

ra.cathedral.count()

ra.cathedral.count() -> int

Number of objects of this kind in the active document.

ra.cathedral.create()

ra.cathedral.create(top_width=None, top_height=None, bottom_width=None, bottom_height=None, arm_width=None, arm_height=None, finger_diameter=None, with_gems=None, gem_size=None, gems_angle=None, profile=None, plane=None, element=None) -> Cathedral

Builds a cathedral ring shank (the ArtisanCathedral tool, headless): a band whose arms rise toward the setting, optionally with a pavé row of gems along the top. This is the shank under most halo and solitaire designs. Millimetres; omitting keeps the tool default (or the user’s saved defaults): top_width 2.5, top_height 1.9, bottom_width 3.5, bottom_height 1.8, arm_width 4.5, arm_height 3.5. finger_diameter 0 = the document’s configured finger size. with_gems True enables the gem row (gem_size default 1.3 mm, gems_angle default 180 degrees of the shank covered). profile picks a RING_PROFILE asset by name; omitted = the default profile. plane omitted = world XY. Returns an Cathedral handle to the new shank. element = name of a saved element (ra.elements.list) to start from; explicit arguments override it.

ParameterType
top_widthfloatoptional — None = the tool default
top_heightfloatoptional — None = the tool default
bottom_widthfloatoptional — None = the tool default
bottom_heightfloatoptional — None = the tool default
arm_widthfloatoptional — None = the tool default
arm_heightfloatoptional — None = the tool default
finger_diameterfloatoptional — None = the tool default
with_gemsbooloptional — None = the tool default
gem_sizefloatoptional — None = the tool default
gems_anglefloatoptional — None = the tool default
profilestroptional — None = the tool default
planeOptional[PlaneLike]optional — None = the tool default
elementstroptional — None = the tool default

ra.cathedral.find()

ra.cathedral.find(id: IdLike) -> Cathedral

The handle for id, or None when the id does not belong to an object of this kind.

ParameterType
idIdLikerequired

ra.cathedral.selected()

ra.cathedral.selected() -> List[Cathedral]

Cathedrals currently selected in the active doc.

Handles

Objects returned by the functions above. Assigning a settable property regenerates the object; the change is one undo step inside ra.transaction().

Cathedral (handle)

Cathedral ring shank (multiple gems possible) — no single MotherGem.

PropertyTypeSettable
gemsCathedralGems
layer_namestr
mother_gem_idstr
object_typestr
positionPoint3d
ring_diameter_mmfloat
ring_size_labelstr
ring_size_regionstr
shankCathedralShankParameter sections — each is a live view over the shank’s stored parameters; their setters regenerate the shank in place (same Guid) and call LicenseGate.RequireValid() first. Millimetres.
Method
delete()
move(translation: VectorLike)
set_bottom_height(height: float)
set_bottom_width(width: float)
set_element(element: str)Applies a saved Cathedral element (ra.elements.list(“Cathedral”)) to this shank: its parameters replace the current ones, the ring size stays, and the shank regenerates in place (same id).
set_top_height(height: float)
set_top_width(width: float)Shortcuts for the most common edits — same effect as the equivalent Shank setters.

Plus what every handle has: id, delete(), update(**kwargs), parameters(), equality and hashing by id, and raw (the underlying .NET object).

CathedralGems (section)

The pavé row a cathedral carries along its top — one run per arm.

PropertyTypeSettable
anglefloatyesdegrees of the band covered by gems (180 = top half)
automatic_prong_diameterboolyes
bright_cutfloatyesbright-cut width, mm
double_prong_settingboolyes
drill_allow_intersectionboolyes
drill_enabledboolyes
drill_heightfloatyesmm
drill_typestryes”NONE”, “ROUND” or “QUAD”
drill_visibleboolyesbake the drill cutters as visible objects
drill_widthfloatyesmm
enabledboolyes
extension_for_manufacturingfloatyesmm
gem_insidefloatyeshow deep the gems sit inside, mm
gem_shapestryes”ROUND”, “PRINCESS”, …
gem_sizefloatyesmm
inner_heightfloatyesinner channel height, mm
inner_marginfloatyesinner margin, mm
inner_widthfloatyesinner channel width, mm
marginfloatyesside margin, mm
min_distancefloatyesminimum distance between gems, mm
prong_diameterfloatyesmm — used when AutomaticProngDiameter is False
prong_heightfloatyesmm
prong_typestryes”NONE”, “SHARED” or “SCALLOPED”
scallop_gem_heightfloat
scallop_gem_widthfloatScalloped-setting proportions (percentages, not mm).
scallop_prong_heightfloat
scallop_prong_widthfloat
scallop_rail_heightfloat
scallop_rail_widthfloat
scallop_remove_channelboolyes
verticalfloatyesvertical displacement of the row, mm
Method
set_scallop_gem(width: float, height: float)
set_scallop_prong(width: float, height: float)
set_scallop_rail(width: float, height: float)

CathedralShank (section)

The cathedral band itself: the two band sections, the rising arms and the bridge that spans between them.

PropertyTypeSettable
arm_anglefloatyesdegrees
arm_heightfloatyeshow high the arms climb over the finger circle, mm
arm_tangentfloatyestangency of the arm transition
arm_widthfloatyesopening between the rising arms, mm
bottom_heightfloatyesmm
bottom_widthfloatyesband section at the bottom, mm
bridge_diameterfloatyesmm
bridge_enabledboolyesthe bridge spanning between the arms
bridge_filletfloatyesmm
bridge_thicknessfloatyesmm
bridge_widthfloatyesmm
cap_distancefloatyesmm
profile_namestrRING_PROFILE asset name, "" when unset
top_heightfloatyesmm
top_widthfloatyesband section at the top, mm
Method
set_profile(asset_name: str)RING_PROFILE asset by name — list them with ra.assets.list(“RING_PROFILE”)