Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Facets & Tiers

Every time you write a cut line like P1 0 @ 41.8 : 0.18 x8, ProFacet performs a simple two-step dance:

  1. Cut one reference facet: First, it looks at P1 0 @ 41.8 : 0.18 and calculates a single cutting plane at tooth 0 and angle 41.8°.
  2. Copy it around the dop (x8): Once that first plane is locked in, x8 rotates that exact plane around the center axis eight times to form the complete tier.

Understanding this two-step rule—aim one facet, then rotate it—makes everything about FSL predictable.


1. The Three Ways to Aim the Reference Facet

After you write the tier name (P1, C2, etc.) and the starting tooth index (0), you have to tell the machine how deep to cut. There are three ways to do that:

Style 1: Angle + Depth (@ angle : depth)

You give both the angle and the exact distance from the center of the stone (0, 0, 0):

P1 0 @ 41.8 : 0.18 x8
G1 0 @ 90.0 : size x16

Use Angle + Depth when there is no existing corner on the stone to aim at—most commonly when cutting the outer girdle cylinder (@ 90 : size) or a flat table (@ 0 : 0.25), or when transcribing an older diagram that lists explicit cutting depths.

Style 2: Angle + Point (@ angle : point)

You pick the angle on the mast, and let an existing landmark point (cp(), gp(), mp(...)) decide when to stop grinding:

P1 0 @ 41.0 : cp() x8               // Cut at 41° until reaching the center point
P2 6 @ 39.5 : gp() x8               // Cut at 39.5° until touching the girdle
C1 0 @ 35.0 : mp(P1, G1) + girdle   // Cut at 35° until meeting the P1/G1 corner (+ girdle thickness)

This is standard meetpoint faceting and the style you will use most often. Because each tier is anchored to a corner of the previous tier, changing an angle at the top of your file automatically slides later tiers to keep the meetpoints closed.

Style 3: Point + Point (: point1 : point2)

What if you don't know the angle in advance, Instead, you know two 3D points that your new facet must pass through? Leave out @ angle and provide both points separated by colons:

C3 2 : gp() : ep(edge(C2:1, C2:95), 0.75)

Here, ProFacet solves for whatever mast angle at tooth 2 slices cleanly through both the girdle point (gp()) and a point three-quarters of the way along the C2 edge. This is wonderfully useful for princess chevrons, checkerboards, and honeycomb crowns where facets must connect specific corners regardless of how the stone's depth changes.


2. How Symmetry Copies the Reference Facet

Once ProFacet has aimed that first reference facet at your base index, the symmetry modifier (xN, xN m M, or xxN) takes over:

  • xN (Rotational symmetry): Copies the reference plane every 360 / N degrees around the stone.
  • xN m M (Rotational + mirror delta symmetry): Treats your base index IDX as the mirror axis and applies a ±M delta index (axis - M and axis + M) at each of the N symmetry stops.
  • xxN (Zero-axis mirror shorthand): Treats IDX as an actual cut tooth, copies it every 360 / N degrees, and reflects each plane across the 0-axis (gear - tooth, i.e., 0 ± IDX). Thus M @ angle : target xxN is 100% equivalent to 0 @ angle : target xN m M (do not confuse with M @ angle : target xN m M, which centers the axis at M and cuts M ± M!).

Important Mental Model: ProFacet never re-hunts for meetpoints as it rotates around the tier. It solves the meetpoint once at your base index, locks the cutting depth on the mast, and then rotates that exact same depth to every other tooth in the symmetry loop—just like a human cutter at a physical faceting machine!


3. Optional Tier Settings ({ ... })

At the end of any cut line, you can add curly braces { ... } to customize how the tier looks in the 3D viewer and on the printed diagram:

OptionExampleWhat It Does
frosted{ frosted: true }Marks the tier as frosted (unpolished) in the printable diagram and scatters light in the 3D raytracer.
notes / instruction{ notes: "Cut lightly with 3000# lap" }Replaces the auto-generated cutting instruction in the printable diagram table with your own text.

Example:

G1 0 @ 90 : size x16 { frosted: true, notes: "Establish level girdle outline" }

4. Functional Style (TierAD, TierAP, TierPP)

When you are writing normal designs, the short declarative syntax (P1 0 @ 41.8 : 0.18 x8) is the cleanest way to work.

However, if you are writing custom helper functions or procedural scripts (and in all Lua scripts), you can also call the three cut styles as regular functions:

  • TierAD(name, index, angle, depth, symmetry?, options?) — Angle + Depth cut.
  • TierAP(name, index, angle, point, symmetry?, options?) — Angle + Point cut.
  • TierPP(name, index, point1, point2, symmetry?, options?) — Point + Point cut.

They do the exact same work as the declarative syntax—use whichever reads more naturally for what you are building.