What you can do
- Draw shapes: polygons, lines and smooth curves.
- Combine two shapes (boolean operation — Combining two shapes: union (both together), intersection (only the overlap), subtraction (the first minus the second).): join them, keep only the overlap, or cut one out of the other.
- Pull a flat shape into a 3D solid (extrude — Pull a flat 2D shape along a straight line to make a 3D solid, like pushing dough through a mold.).
- Make boxes, cylinders and spheres. Move, turn and resize them.
- Open and save 3D model files (OBJ and STL).
- Find where two 3D models cut through each other.
Design choices
- Merging by hand first. Join and overlap are written from scratch: is this point inside the shape? where do these two edges cross? Cutting one shape out of another has more tricky cases (holes, edges that touch), so it uses the Clipper library.
In your browser
Sketcher is a desktop app. The browser version compiles the same C++ code to WebAssembly — A compact program format that browsers run at near-native speed. C++, Rust and Python runtimes can compile to it.. The old drawing code does not work in browsers, so it is being rewritten first.