Welcome to OpenPlans
OpenPlans is a powerful JavaScript library for creating 2D floor plans and architectural drawings using Three.js. Build interactive, web-based CAD applications with a simple and intuitive API.OpenPlans is currently under heavy development. Expect frequent updates and breaking changes as we work towards a stable 1.0 release.
What is OpenPlans?
OpenPlans provides a comprehensive suite of tools for:- 2D Primitives: Lines, arcs, rectangles, and polylines for basic drawing operations
- 3D Shapes: Cuboids, cylinders, and custom geometries for dimensional modeling
- Architectural Elements: Doors, windows, slabs, and stairs with configurable parameters
- Headless Generation: Generate floor plans programmatically from configuration data
- Text Annotations: Dimension tools and glyph system for labeling and measurements
Core Features
Element Creation
Create base families and build custom editor tools with primitives and shapes
Headless Generation
Generate complete floor plans from JSON data without manual drawing
Interactive Controls
Built-in camera controls and grid system for intuitive navigation
Extensible API
Clean, chainable API for building complex architectural drawings
Use Cases
OpenPlans is ideal for:- Real Estate Applications: Create interactive floor plan viewers for property listings
- Architecture & Engineering: Build web-based design tools for preliminary layouts
- Space Planning: Design office layouts and interior configurations
- CAD Applications: Develop browser-based 2D/3D CAD tools without plugins
Two Ways to Use OpenPlans
1. Element Creation
Create and manipulate architectural elements programmatically:2. Headless Floor Plan Generation
Generate floor plans programmatically by creating elements from data:Ready to Get Started?
Installation
Install OpenPlans and set up your development environment
Quick Start
Build your first floor plan in minutes
About the Project
OpenPlans is part of the OpenGeometry ecosystem, a collection of open-source tools for computational geometry and architectural design.OpenPlans is licensed under MIT and maintained by the OpenGeometry team. Contributions are welcome!