Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Function Arch(t: Float, span: Length, rise: Length) -> Point2 =
Point2(span * t, rise * Sin(t * 180deg));
Model ArchPlate {
Units: mm
Concept Struct Layout {
Curve2 Crown {
parameter: t;
domain: [0, 1];
from: Arch(t, 80mm, 20mm);
on: XY;
representation: Approximate; maxDeviation: 0.05mm;
}
Curve2 Baseline {
parameter: t;
domain: [0, 1];
from: Point2(80mm * (1 - t), 0mm);
on: XY;
representation: Exact;
}
}
Profile Outline { Loop Outer { Reverse Layout.Crown |> Layout.Baseline |> Close } }
Extrude Body { profile: Outline; from: 0mm; to: 5mm }
}