Strict rules and constraints for generating valid parametric jewelry geometry using CadQuery and OpenCascade.
This skill defines the authoritative rules for generating parametric jewelry geometry.
All geometry produced must:
This skill overrides any default geometric assumptions.
All dimensions are in millimeters (mm).
The system must:
If unit uncertainty exists → default to millimeters.
All geometry must be generated from this schema:
{ "ring_radius": float, "band_width": float, "band_thickness": float, "center_stone": { "type": "round" | "oval" | "emerald" | "pear", "diameter": float, "height": float, "prongs": int }, "setting_type": "prong" | "bezel", "side_stones": [ { "type": string, "diameter": float, "count": int } ] }
No geometry should be generated without structured parameters.
If values exceed limits → clamp safely.
Minimum prong thickness: 0.8 mm
Recommended prong thickness: 1.0–1.3 mm
Rules:
Prong base must be fused to band using fillet (≥ 0.3 mm radius).
Seat depth must be:
15–25% of stone height.
Too shallow: → Stone instability
Too deep: → Light performance degradation
Auto-correct outside range.
If setting_type == "bezel":
All rings must be symmetric across vertical center plane.
Side stones:
No asymmetrical placement unless explicitly requested.
Minimum wall thickness anywhere: 1.0 mm
Minimum structural support thickness: 0.8 mm
Disallowed:
All edges joining structural components must use fillet radius ≥ 0.2 mm.
Before STL export:
If invalid: → Auto-correct where possible → Otherwise reject generation
Preferred operations:
If parameters are invalid:
Never silently produce invalid geometry.
The goal is not artistic approximation.
The goal is:
Accuracy > aesthetics. Structural validity > visual exaggeration.37:["$","$L3e",null,{"content":"$3f","frontMatter":{"name":"jewelry-parametric-engine","description":"Strict rules and constraints for generating valid parametric jewelry geometry using CadQuery and OpenCascade."}}]