Getting Started
Core concepts and your first model.
box 40 30 10 | fillet 2 | faces top | hole 5
Pipe | simple shapes together and refine. That’s all.
PolyScript is a parametric CAD language for describing 3D models in concise code. Built on the OpenCascade kernel, it is designed for easier and safer 3D modeling.
box 80 60 10| – Chain operations left to right. Reading order = execution order# Create a case, round the edges, and cut a hole in the side
box 100 60 40
| faces >Z | shell 2
| edges =Z | fillet 3
| faces right | circle 4 | cut
PolyScript is ideal for:
Use PolyScript Playground right in your browser. No installation needed.
Parametric CAD tools that describe 3D models with code are gaining attention alongside advances in AI. Among them, CadQuery is an excellent CAD framework that lets you program any shape in Python.
However, being a general-purpose programming language is itself a weakness. You cannot safely execute 3D models created by others. To share our work safely, a DSL is essential.
Easy enough for children with no programming experience to use – that is the design concept behind PolyScript.
PolyScript is built on top of many outstanding open-source projects.
Our deep gratitude goes to these projects and their communities.
Core concepts and your first model.
Build 3 models hands-on.
Full details on every operation.
Quick reference to keep at hand.