Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
30af23d
Parametric: assemblies, sheet metal, surfaces, weldments and fuller d…
jelveh Nov 26, 2026
7601232
Parametric: drawing section, projected and detail view geometry, mode…
jelveh Nov 26, 2026
47a6ae0
Parametric: surface bodies and surface features in the geometry kernel
jelveh Nov 26, 2026
2d67373
Parametric: sheet metal base flange, tab, edge flange, sketched bend,…
jelveh Nov 26, 2026
2c13ad9
Parametric: Surfaces tab with PropertyManager panels for the surface …
jelveh Nov 26, 2026
25fc4fa
Parametric: weldment structural members, trim/extend, end caps and gu…
jelveh Nov 26, 2026
69bcfeb
Parametric: Sheet Metal tab with Base Flange/Tab, Edge Flange, Sketch…
jelveh Nov 26, 2026
c806ed3
Parametric: browser tests for lofting, thickening, hiding and knittin…
jelveh Nov 26, 2026
d06a5ce
Parametric: tests for sheet metal bend math, open profiles, tabs, cha…
jelveh Nov 26, 2026
6d6056c
Parametric: README section for sheet metal
jelveh Nov 26, 2026
3206144
Parametric: Weldments tab with Structural Member, Trim/Extend, End Ca…
jelveh Nov 26, 2026
36d6e65
Parametric: assembly documents, mate solver and assembly geometry in …
jelveh Nov 26, 2026
02ec721
Parametric: assembly mode: insert components, mates, drag within mate…
jelveh Nov 26, 2026
c0b990c
Parametric: surfaces in the README; previews and failed surface featu…
jelveh Nov 26, 2026
238941e
Parametric: assemblies: mate icons, view fits inserted components, en…
jelveh Nov 26, 2026
ed6647a
Parametric: Make Drawing on the Drafting ribbon tab; section, detail,…
jelveh Nov 26, 2026
64fe568
Parametric: weldments in the README; square member ends are swept exa…
jelveh Nov 26, 2026
dd856c8
Parametric: the cut list can be made from a build result directly
jelveh Nov 26, 2026
19317be
Parametric: sheet metal values that are not used do not fail the feat…
jelveh Nov 26, 2026
49277f3
Parametric: Enter on the Cut list row opens the cut list
jelveh Nov 26, 2026
fd1195d
Parametric: tests for weldment features in part files
jelveh Nov 26, 2026
468db7a
Parametric: members along slots and mitred arcs tested; group remove …
jelveh Nov 26, 2026
13c8599
Parametric: Fillet Bead, a solid fillet weld along inside corner edge…
jelveh Nov 26, 2026
f7f974c
Parametric: drop unused weldment helpers
jelveh Nov 26, 2026
31fd4fc
Merge surfaces into the integration branch
jelveh Nov 26, 2026
a5de7ea
Parametric: tests for drawing views, hatching, dimensions, DXF and dr…
jelveh Nov 26, 2026
f9f0a5a
Parametric: e2e test of Trim/Extend, End Cap, Fillet Bead and suppres…
jelveh Nov 26, 2026
7b50588
Parametric: describe the new drawing views and annotations in the README
jelveh Nov 26, 2026
ac1df25
Parametric: leave out the A0 sheet (files that name it stay rejected …
jelveh Nov 26, 2026
3dddf53
Parametric: Trim / Extend label wraps cleanly in the ribbon
jelveh Nov 26, 2026
53c67b7
Merge sheet metal into the integration branch
jelveh Nov 26, 2026
8a89379
Parametric: a section's cutting line shows on its parent even when th…
jelveh Nov 26, 2026
b32026f
Merge weldments into the integration branch
jelveh Nov 26, 2026
afad501
Parametric: the drawing command's prompt follows the cutting line option
jelveh Nov 26, 2026
ce0d834
Parametric: assemblies: README section, interference note in exploded…
jelveh Nov 26, 2026
2dfed57
Merge assemblies into the integration branch
jelveh Nov 26, 2026
7ca3c43
Merge drawings into the integration branch
jelveh Nov 26, 2026
b64cec7
Parametric: the assembly browser test waits for the components' geome…
jelveh Nov 26, 2026
ecc9ee0
Parametric: on a phone the ribbon tab strip fades where more tabs are…
jelveh Nov 26, 2026
461551b
Parametric: drawings of assemblies (bill of materials, balloons, sect…
jelveh Nov 26, 2026
c5a6b4c
Parametric: tests for bill of materials and cut list tables, balloon …
jelveh Nov 26, 2026
44e1969
Parametric: assembly, flat pattern and cut list drawings in the READM…
jelveh Nov 26, 2026
0182653
Parametric: detail views of a flat pattern show its bend lines; a new…
jelveh Nov 26, 2026
84e289b
Merge drawings of assemblies, flat patterns and cut lists into the in…
jelveh Nov 26, 2026
3eb6493
Parametric: a hole callout counts the holes the feature makes, not th…
jelveh Nov 26, 2026
3df1ff3
Parametric: a section view whose cutting line misses the part says so…
jelveh Nov 26, 2026
1a3f2ae
Parametric: Arrange standard views asks before deleting section and d…
jelveh Nov 26, 2026
ecd484d
Parametric: a part file whose drawing views are made from each other …
jelveh Nov 26, 2026
a68ac42
Parametric: an auxiliary view's letter is shown on its parent with an…
jelveh Nov 26, 2026
e573117
Parametric: a drawing opened while the part is still building enables…
jelveh Nov 26, 2026
4dded74
Parametric: a drawing command's ribbon button stops showing as on onc…
jelveh Nov 26, 2026
1e33bea
Parametric: a projected, section, detail or auxiliary view placed wit…
jelveh Nov 26, 2026
f114651
Parametric: dimensions, notes and callouts selected in the drawing's …
jelveh Nov 26, 2026
87606fd
Parametric: switching a drawing between first and third angle moves t…
jelveh Nov 26, 2026
c84a1dc
Parametric: a hole callout on a patterned or mirrored hole keeps the …
jelveh Nov 26, 2026
7264c82
Parametric: dragging or nudging a drawing view stops where a view ali…
jelveh Nov 26, 2026
e28ca08
Parametric: an assembly drawing shows its views again after a part's …
jelveh Nov 26, 2026
e633da9
Parametric: a balloon's leader ends where its edge was clicked, not a…
jelveh Nov 26, 2026
e55adca
Parametric: a bill of materials or cut list on the title block stays …
jelveh Nov 26, 2026
dff7c35
Parametric: a long part name cut short in a drawing table ends in thr…
jelveh Nov 26, 2026
63304aa
Parametric: a flat pattern view says in red what the flat pattern lea…
jelveh Nov 26, 2026
4c73a49
Parametric: a new flat pattern view goes where there is room on the s…
jelveh Nov 26, 2026
5e81c2c
Parametric: a bill of materials or cut list too tall for the sheet co…
jelveh Nov 26, 2026
ab57791
Parametric: a flat pattern view no longer offers hidden line and tang…
jelveh Nov 26, 2026
bcefa37
Parametric: Auto Balloon on a view still being drawn says to wait ins…
jelveh Nov 26, 2026
41debdf
Parametric: a drawing view naming a source the open document does not…
jelveh Nov 26, 2026
0e1ad97
Parametric: large assemblies no longer freeze for seconds after every…
jelveh Nov 26, 2026
0ced6d2
Parametric: dragging a component in a large assembly follows the curs…
jelveh Nov 26, 2026
833cd54
Parametric: the assembly browser test no longer saves a screenshot to…
jelveh Nov 26, 2026
f83d8d0
Parametric: a new explode step no longer takes the name of an existin…
jelveh Nov 26, 2026
308400f
Parametric: hiding a component no longer drops it from the assembly's…
jelveh Nov 26, 2026
bf59e86
Parametric: after Force Rebuild in an assembly, measuring, mass prope…
jelveh Nov 26, 2026
830b7ac
Parametric: dragging a component slides it to the cursor without spin…
jelveh Nov 26, 2026
497f929
Parametric: copying the bill of materials keeps a part name with a co…
jelveh Nov 26, 2026
5450672
Parametric: the mates of a suppressed component show as suppressed in…
jelveh Nov 26, 2026
278d33a
Parametric: Open Part on a component whose part file was moved or del…
jelveh Nov 26, 2026
b35a251
Parametric: dragging a fully defined component turns the view and say…
jelveh Nov 26, 2026
060b0c2
Parametric: a mate whose face is gone shows "Mate Errors" in the stat…
jelveh Nov 26, 2026
14c2736
Parametric: Interference Detection names the components it could not …
jelveh Nov 26, 2026
5d22c04
Parametric: the degrees of freedom left are counted right with an ang…
jelveh Nov 26, 2026
1f7db62
Parametric: each assembly edit solves the mates once instead of again…
jelveh Nov 26, 2026
a67d45a
Parametric: in an assembly the properties command and dialog are call…
jelveh Nov 26, 2026
f73b487
Parametric: the assembly part-editing browser test waits for the reop…
jelveh Nov 26, 2026
85c2632
Parametric: an assembly with hundreds of components, many not mated y…
jelveh Nov 26, 2026
0803461
Parametric: a part's surface bodies in an assembly can be measured, a…
jelveh Nov 26, 2026
05d357d
Parametric: an assembly file with an impossible number of components,…
jelveh Nov 26, 2026
aaf675e
Parametric: tests cover refused inserts, undo and redo of every assem…
jelveh Nov 26, 2026
dde8ae6
Parametric: in an assembly the assistant takes no messages, also when…
jelveh Nov 26, 2026
388c052
Parametric: on phones the ribbon tab strip fades its edge again when …
jelveh Nov 26, 2026
0383bd6
Parametric: a face or edge reference missing its signature in a part …
jelveh Nov 26, 2026
b1b1e8e
Parametric: on phones the labels of the new ribbon tabs (Insert Compo…
jelveh Nov 26, 2026
7a62485
Parametric: a geometry engine grown too big in an assembly (interfere…
jelveh Nov 26, 2026
004f9f1
Parametric: the assistant counts surface bodies apart from the solid …
jelveh Nov 26, 2026
29f6fde
Parametric: a hem in a part that uses a bend deduction flattens inste…
jelveh Nov 26, 2026
2d37ab9
Parametric: a base flange whose open profile crosses itself or runs i…
jelveh Nov 26, 2026
ec754b1
Parametric: sheet metal defaults in an inch part read as plain inch v…
jelveh Nov 26, 2026
489b4c6
Parametric: an edge flange or hem that would run into the part says s…
jelveh Nov 26, 2026
0728946
Parametric: a sketched bend that would fold the sheet into itself say…
jelveh Nov 26, 2026
7895077
Parametric: Enter opens the Sheet-Metal and Flat-Pattern rows of the …
jelveh Nov 26, 2026
e65ff68
Parametric: edge flanges, hems and sketched bends rebuild faster whil…
jelveh Nov 26, 2026
7e7c742
Parametric: two sloped edge flanges that meet at a corner suggest sto…
jelveh Nov 26, 2026
4f8402b
Parametric: a pattern or mirror of a sheet metal feature says it cann…
jelveh Nov 26, 2026
0140569
Parametric: an edge flange whose bend would cross a hole says so inst…
jelveh Nov 26, 2026
4163622
Parametric: a sketched bend line drawn past the edge of the face bend…
jelveh Nov 26, 2026
4b83a7c
Parametric: values in inch parts read as typed in fields (0.048 in, n…
jelveh Nov 26, 2026
48a3c96
Parametric: with the first Base Flange suppressed, the Sheet-Metal ro…
jelveh Nov 26, 2026
683c3d7
Parametric: an edge flange or hem from a hand-edited file whose edge …
jelveh Nov 26, 2026
5c13103
Parametric: with a bend deduction, bends over 90° flatten with the K-…
jelveh Nov 26, 2026
e29fe94
Parametric: offsetting a curved face inward by its radius or more say…
jelveh Nov 26, 2026
487e86e
Parametric: Thicken works on strongly curved surfaces (a small dome t…
jelveh Nov 26, 2026
feacab4
Parametric: extending a surface past a curved edge (a disc's rim) gro…
jelveh Nov 26, 2026
d33286c
Parametric: a trim tool that misses the surface says it does not cros…
jelveh Nov 26, 2026
897775e
Parametric: a revolved surface whose profile crosses the axis says so…
jelveh Nov 26, 2026
a5e6f8f
Parametric: STL export says surfaces are left out of it: refused for …
jelveh Nov 26, 2026
ad36c76
Parametric: a fillet, shell or draft given a surface's edge or face s…
jelveh Nov 26, 2026
80df4e6
Parametric: revolved surfaces and knit solids free their axis and she…
jelveh Nov 26, 2026
2faa857
Parametric: a new extrude or surface no longer picks a sketch a surfa…
jelveh Nov 26, 2026
f0147d4
Parametric: Trim Surface lists the picked pieces to keep in the part'…
jelveh Nov 26, 2026
ed64aa9
Parametric: a knit tolerance so large it sews the surfaces into nothi…
jelveh Nov 26, 2026
5e19c25
Parametric: trimming a hole out of a surface keeps one side, not both…
jelveh Nov 26, 2026
d875fd4
Parametric: a linear extension of a hole's edge grows into the hole i…
jelveh Nov 26, 2026
ce54804
Parametric: editing the solid of a part with large surfaces rebuilds …
jelveh Nov 26, 2026
4eb189c
Parametric: Knit with Create solid makes a solid of a closed revolved…
jelveh Nov 26, 2026
59a4915
Parametric: Thicken makes a hollow solid of a closed surface (a spher…
jelveh Nov 26, 2026
215f7f6
Parametric: a mirror of a feature it cannot copy says it cannot be mi…
jelveh Nov 26, 2026
424d0ec
Parametric: a hidden surface body is left out of the drawing views, w…
jelveh Nov 26, 2026
e1adaac
Parametric: Hide on a surface a trim, extend or knit replaced hides t…
jelveh Nov 26, 2026
579c46a
Parametric: a surface file naming an edge or face twice extends or of…
jelveh Nov 26, 2026
763b9a0
Parametric: a lofted surface with hundreds of profiles (a damaged fil…
jelveh Nov 26, 2026
0ffb4c1
Parametric: tests that every surface field saves and reopens, and tha…
jelveh Nov 26, 2026
ea9651a
Parametric: rebuilding a part with a trimmed surface no longer grows …
jelveh Nov 26, 2026
095eeab
Parametric: Trim/Extend no longer cuts into a boss added after the me…
jelveh Nov 26, 2026
6eb6535
Parametric: structural members whose lines are nearly in line join cl…
jelveh Nov 26, 2026
6a96c96
Parametric: the cut list keeps curved members bent to different radii…
jelveh Nov 26, 2026
38dea0d
Parametric: a hand-edited structural member naming a profile like "co…
jelveh Nov 26, 2026
cb26809
Parametric: Export Cut List (CSV) right after an edit writes the rebu…
jelveh Nov 26, 2026
ac8b077
Parametric: the Gap of a coped Trim/Extend keeps the coped end off th…
jelveh Nov 26, 2026
599c3e9
Parametric: a post coped to a beam or channel stops at the flange ins…
jelveh Nov 26, 2026
4b2f6a6
Parametric: clicking the Cut list row while the structural members fa…
jelveh Nov 26, 2026
6c31e8c
Parametric: a structural member that fails names the sketch line or a…
jelveh Nov 26, 2026
f673413
Parametric: Structural Member started with a sketch and one of its li…
jelveh Nov 26, 2026
319c859
Parametric: a member of a later group running on nearly in line from …
jelveh Nov 26, 2026
887b7c5
Parametric: two member lines a few hundredths of a degree off straigh…
jelveh Nov 26, 2026
c0002c3
Parametric: a weldment feature that leaves an invalid solid says so w…
jelveh Nov 26, 2026
15d64be
Parametric: the cut list's member masses leave out what later cuts an…
jelveh Nov 26, 2026
2838d67
Parametric: members listed in the Trim/Extend boxes are highlighted i…
jelveh Nov 26, 2026
e4ab3bb
Parametric: tests cover saving and reopening every weldment field and…
jelveh Nov 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 33 additions & 3 deletions src/parametric/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,45 @@ It runs entirely in the browser. The geometry kernel is OpenCascade compiled to
- Open SolidWorks parts (.sldprt, SolidWorks 2003 and later) without SolidWorks: the exact solid is read from the file and becomes an imported body you can keep modeling on. The SolidWorks feature tree is not carried over.
- References to faces and edges are stored by name, so fillets and sketches on faces survive dimension changes.

**Surfaces**
- A Surfaces tab: extruded, revolved, swept and lofted surfaces from open or closed sketch curves, planar surfaces from a closed sketch or a loop of edges, offset surfaces (a distance of 0 copies faces) and filled patches.
- Trim surfaces with a plane, a sketch or another surface (keep a side, or click the pieces to keep), extend them past an edge, and knit them together, into a solid when they close a volume.
- Thicken a surface into the part or cut with it (Thickened Cut), cut the part with a surface, or delete faces of the solid to work on it as a surface (or delete and patch them).
- Surface bodies are shown in a warm tint beside the solid, can be hidden from the design tree, are picked and referenced like the solid's faces and edges (sketch on a planar surface face), go into STEP files as shells and are left out of the solid's mass properties.

**Sheet metal**
- Sheet Metal tab: Base Flange from a closed profile (a flat plate) or an open line and arc chain (bent at each corner), with the part's thickness, bend radius, K-factor (or bend allowance or deduction) and relief type kept on it and editable from the Sheet-Metal row of the design tree. A later Base Flange is a Tab on a face of the sheet.
- Edge Flange on one or more edges: length from the outer or inner virtual sharp or the bend, any angle, material inside or outside or bend outside, offsets with rectangular or obround bend reliefs. Sketched Bend along a line on a flat face, and closed or open Hems.
- Flatten shows the flat pattern (bend allowance π/180 · angle · (R + K·T)) with dashed bend lines, bend notes and the overall size; holes and cuts through flat regions are included. Export the flat pattern to DXF with outline, cuts and bend lines on their own layers.

**Weldments**
- Structural Member (Weldments tab): sweep standard profiles along sketch lines and arcs from one or more sketches, in groups. ISO (EN 10219 tubes and pipe, EN 10056 angles, UPE channels, IPE and HE A beams, flat and round bar) and ANSI (HSS, standard pipe, angles, C channels, W shapes, bar) sizes are generated from their standard dimensions, with corner radii.
- Corner treatments within a group (end miter, end butt 1 and 2, with a gap), and trimming and extending between groups. Profile rotation, mirror and pierce point.
- Trim/Extend members to a planar face or to other members (planar or coped), End Cap on tube and pipe ends, Gusset plates between two faces, and solid Fillet Bead welds along inside corners.
- Cut list in the design tree: identical members grouped with quantity, description, length, end angles and mass, exported as CSV.

**Assemblies**
- File > New Assembly. Insert Components places parts from your cloud, this browser or your device (a part file or a STEP model); insert a part several times for several instances (bracket<1>, bracket<2>). The first component is fixed; the others float.
- Mates: coincident, parallel, perpendicular, distance, angle, concentric, tangent and lock, between faces, edges and the assembly planes, with aligned or anti-aligned alignment and values that take equations. The Mates folder in the design tree edits, flips, suppresses and deletes them. The status bar shows whether the assembly is under, fully or over defined; conflicting mates are marked.
- Drag a component (Alt+drag, or Rotate Component, turns it): it moves only as its mates allow, so a lid on a hinge pin turns about the pin. Fixed components do not move.
- Exploded view steps, interference detection with the overlapping volumes, a bill of materials (item, part, quantity, material; copy or download as CSV), mass properties with each part's material, measure, section view, and STEP (components as named solids) and STL export of the whole assembly.
- An assembly references its part files and keeps a copy of each, so it opens even when a part file is moved, shared or downloaded. Open Part edits a component's part; save it and go back, and the assembly takes the change (Update Parts reads the part files again).

**Assistant**
- An AI design assistant in the right sidebar (Ctrl+J, or the sparkle button). Describe a part or a change ("a 100 × 60 × 8 mm plate with four M5 holes and rounded corners", "make the wall 3 mm", "fillet the top edges") and it builds it with the same features you use: sketches with exact geometry, relations and dimensions, extrudes, revolves, holes, fillets, chamfers, shells, patterns, mirrors, planes, lofts, sweeps and drafts, global variables and equations.
- It reads the part precisely (feature parameters, sketch entities, faces and edges by name, measurements, mass properties), checks every change by rebuilding, undoes steps that would break a feature, and looks at the model to verify its work.
- Attach files to a message (paperclip, paste or drop): photos and sketches of a part, dimensioned drawings and datasheets as images or PDFs, DXF outlines or CSV tables. It reads sizes and geometry from them.
- Everything it changes in one message is a single undo step. It runs on Puter AI (Claude Opus 5.5).

**Drawings**
- A 2D drawing sheet for each part (Drawing tab in the status bar): front, top, right, left, back, bottom and isometric views projected from the solid, with hidden lines and overall dimensions.
- Sheet sizes A4 to A1, Letter and Tabloid, standard scales, drag to arrange views, title block.
- Export to PDF or SVG.
- A 2D drawing sheet for each part: **Make Drawing** on the Drafting ribbon tab or the File menu (or the Drawing tab in the status bar). Front, top, right, left, back, bottom and isometric views projected from the solid, with hidden lines and overall dimensions.
- Projected views that stay aligned with their parent, section views (horizontal, vertical or aligned cutting line, the cut face hatched, labelled A-A with arrows), detail views (a magnified circle with its letter and scale) and auxiliary views. Per-view scale, caption, hidden and tangent edges; deleting a view takes the views made from it along, after a warning.
- Annotations: Smart Dimension on the sheet (horizontal, vertical, aligned, radius, diameter and angle) measured from the model's named edges, so dimensions follow the model when it changes and are marked when their geometry is gone; center marks and hole centerlines (automatic or by hand), centerlines, notes with leaders and hole callouts.
- Sheet sizes A4 to A1, Letter, Tabloid, ANSI C and D, standard scales, third or first angle projection, title block with material, scale, date, revision, sheet number and the projection symbol.
- Export to PDF, SVG or DXF.
- Assembly drawings: Make Drawing (or the Drawing tab in the status bar) in an assembly lays out its views on an A3 sheet with the bill of materials (item number, part number, material, quantity) on the title block; the table follows the assembly as components are added or removed. Views show the components where the mates put them, or exploded (a checkbox on the view); section views cut every component and hatch each its own way. Balloons label components with their item number: Auto Balloon numbers every component a view shows, Balloon numbers the one whose edge you click.
- Sheet metal drawings: a Flat Pattern view (Drafting tab, or Add view) shows the flat outline and cuts, the bend lines (dashed up, chain lines down) with their notes ("UP 90° R 1") and the overall size; it can be dimensioned and detailed like any view.
- Weldment drawings: a Cut List table (Annotation tab) with item, quantity, description, length and end angles, which follows the part, and balloons on members numbered from it.

**Working with parts**
- Design tree with rollback bar, suppress, rename, hide/show, edit and delete with dependency warnings.
Expand Down Expand Up @@ -80,6 +109,7 @@ npm run build # type check, license check, production build in dist/
| Area | Where | Notes |
|---|---|---|
| Document model | `src/model` | Plain JSON parts: features, sketches, variables. Undo/redo by snapshots. Parameters may be expressions. |
| Assemblies | `src/model/assembly.ts`, `src/assembly`, `src/app/assembly`, `src/kernel/assembly.ts` | Assembly documents embed their parts as blobs. Rigid-body mate solver: damped least squares over mate residuals, six degrees of freedom per floating component, rank analysis for the definition, conflicts found by adding mates one at a time. Components' meshes are placed on the main thread (dragging needs no kernel call); the worker keeps the placed solids for measure, interference, mass, projection and export. |
| Sketch solver | `src/sketch/solver.ts` | Minimum-norm damped Gauss-Newton per independent cluster, with a rank analysis for degrees of freedom and redundant or conflicting constraints. |
| Profiles | `src/sketch/profiles.ts` | Planar face finding on the sketch graph; nested loops alternate material and holes. |
| Geometry kernel | `src/kernel` | OpenCascade (WebAssembly) in a Web Worker. Each feature is cached under a hash of everything before it, so edits rebuild only what changed. Faces are named after the feature and sketch entity that created them. |
Expand Down
Loading
Loading