Parametric Solids
Design once, adjust infinitely
The Challenge
Site infrastructure isn't just terrain — it's tanks, pipes, plants, foundations, buildings, and equipment. Creating 3D models typically requires:
- Expensive CAD software with steep learning curves
- Fixed models that can't adapt to changing requirements
- Sharing designs means exporting static files that lose editability
- No connection between design and real-world placement
The SiteCAD Way
SiteCAD's parametric solids let you, or the AI agent under your direction, define 3D objects with adjustable parameters. Change a dimension and the entire model updates. Place the same tank design in multiple locations with different sizes. Parameters update in real time as you adjust them.
How It Works
Define
Create solids using JavaScript code with the replicad library (built on OpenCascade)
Parametrize
Expose dimensions as adjustable parameters with units, ranges, and defaults
Materialize
Named features export geometric points, lines, and planes for operations
Instance
Place the same solid definition multiple times with different parameter values
Connect
Bind parameters to dynamic data sources for live updates
Code Example
export function main({ width, depth, height }) {
const base = draw()
.hLine(width)
.vLine(depth)
.hLine(-width)
.close()
.sketchOnPlane("XY")
.extrude(height);
return {
shape: base,
material: "concrete"
};
}
export const parameters = [
{ name: "width", type: "number", dimension: "length",
defaultValue: 3, unit: "m" },
{ name: "depth", type: "number", dimension: "length",
defaultValue: 4, unit: "m" },
{ name: "height", type: "number", dimension: "length",
defaultValue: 0.15, unit: "m" }
];Key Capabilities
Code-Driven Design
Full programming power for complex geometry
Blueprints & Parts
Reusable helper functions and composable outputs
Named Features
Export geometric elements for downstream operations
Materials & Textures
Built-in textures, color tinting, opacity, and adjustable scale
GPU Instancing
Efficient rendering of many identical objects
AI Assisted
Integrated agent can build, adjust, or assist with the design of solids
Who Uses This
Homesteaders
Design septic tanks, well housings, and outbuildings
Farmers
Create custom plant models, equipment, and storage structures
Developers
Define standard lot infrastructure components
Designers
Build parametric plants, planters, walls, and hardscape elements
Try Parametric Solids
Open a solid entity and modify the code. Change parameters and watch the 3D model update in real-time.