The main changes
Removed
These 2.0 features are not in 3.0, and have no replacement: IFC file text, STL and PDF export, projection, loft, triangulation as a public call, and curves other than lines, circles, arcs and polylines, such as the elliptical arc. Take that code out, or stay on 2.0. 3.0 has no spline, no ellipse and no elliptical arc. The 2.0 wedge and the 2.0Curve class are gone too. Build a wedge as a five-face OG_PRIMITIVE_POLYHEDRON, and a 2.0 Curve as an OG_PRIMITIVE_POLYLINE wire through its points, as the next section shows.
Wedges and the 2.0 curve
A wedge is a five-face polyhedron: two triangles and three rectangles. Give its points and its faces toOG_PRIMITIVE_POLYHEDRON. Each face is a ring of point indices, counter-clockwise seen from outside.
OG_PRIMITIVE_POLYLINE wire as the profile of OG_OPERATION_EXTRUDE.
The 2.0 Curve was a polyline through its control points. In 3.0, make an OG_PRIMITIVE_POLYLINE wire through the same points.
How to move
- Install 3.0 and run your type check. A call to a 2.0 class or function fails at compile time.
- For each failure, find the call in MIGRATION.md under “Replace this with that”.
- Read “Different behaviour”, because some calls keep their name and change what they return.
- Run the “Check your result” steps.

