Explore real-world examples demonstrating OpenGeometry’s capabilities, from basic shapes to complex 3D models.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/OpenGeometry-io/OpenGeometry/llms.txt
Use this file to discover all available pages before exploring further.
Repository
All source code examples are available at: OpenGeometry-Examples Live interactive demos: demos.opengeometry.ioQuick Start
For getting started quickly, see the basic template: Quick Start RepositoryExample Categories
Basic: Shapes
Simple 3D shapes with interactive controls.Polygon
Interactive polygon with side count and radius controls:Cuboid
Interactive box with width, height, and depth controls:Cylinder
Parametric cylinder with radius and height adjustments. Source: ~/workspace/source/main/opengeometry-three/examples-vite/src/pages/shapes-cylinder.tsSphere
Sphere with tessellation quality controls. Source: ~/workspace/source/main/opengeometry-three/examples-vite/src/pages/shapes-sphere.tsIntermediate: Path Sweeping
Profile Sweep
Sweep a 2D profile along a 3D path:Advanced: Operations
Offset Operations
Create walls and offset polygons. Source: ~/workspace/source/main/opengeometry-three/examples-vite/src/pages/operations-offset.tsWall from Offsets
Generate architectural walls with thickness. Source: ~/workspace/source/main/opengeometry-three/examples-vite/src/pages/operations-wall-from-offsets.tsOpening Operations
Create openings in walls and solids. Source: ~/workspace/source/main/opengeometry-three/examples-vite/src/pages/shapes-opening.tsExample Runtime
The examples use a shared runtime that sets up Three.js and OpenGeometry:Interactive Controls
ThemountControls helper creates UI for parameter adjustment:
Utilities
Scene Object Replacement
Replace and cleanup objects when parameters change:Running Examples Locally
- Clone the examples repository:
- Install dependencies:
- Start the dev server:
- Open your browser to the provided URL
Live Demos
View all examples running live at: demos.opengeometry.io Available demos include: Primitives:- Line
- Arc
- Curve
- Polyline
- Rectangle
- Polygon
- Cuboid
- Cylinder
- Sphere
- Wedge
- Sweep
- Opening
- Offset
- Sweep (Path + Profile)
- Wall from Offsets
Next Steps
- Review Three.js Integration for API details
- Explore Polygon Shape for complete shape documentation
- Learn about Line Primitive for lower-level drawing tools