About FundaCAD
FundaCAD is an MCP server published by Paraxdev in the Gaming category: free, open source parametric CAD for 3D printing. Sketch, model and export STEP, STL or 3MF on Windows, macOS and Linux. Built on Open CASCADE (OCCT) and build123d, with a Rust/Tauri shell and a Vue + three.js viewport. Conduid read 29 tools from its source: build, doc_get, doc_import, doc_new, doc_open, doc_save and 23 more. No package is published for it, so it installs from a source checkout.
The repository has 100 stars and 7 forks, and its last commit was on 2 Dec 2026. The latest release is beta. The release before it was alpha. Its topics include 3d-modeling, 3d-printing, 3mf, build123d, cad and cad-software.
Install
git clone https://github.com/Paraxdev/FundaCADTools (29)
buildRebuild the document and report what came out: the bodies, their sizes, and any feature that failed. Build often, an error names the feature that caused it. isError is true if ANY feature failed, even when other features still produced bodies; the text still lists everything that did build, so check isError rather than scanning for "FEATURE FAILED". Over 10 bodies, bodies alike in all but their ids share one row and 30 rows show: `offset` pages on, `limit` 0 shows every row, `full` lists every body, not only the changed ones, and `inspect` with `body` gives one.doc_getThe document's geometry as JSON: parameters, the feature timeline in order, and `bodyIds`, the record that keeps every body's id. Pass all of it back to `doc_set` and the same ids come out; the parts it leaves out (stress study, environment, materials and the like) stay in the document. By default runs of bodyIds read as one range entry and an import's long node and part lists are left out, which `doc_set` reads back; `full` gives the document as stored.doc_importRead an external geometry file (STEP, IGES, FreeCAD .FCStd, Rhino .3dm, IFC buildings, STL, 3MF, OBJ, PLY, OFF, AMF, BREP, GLB, glTF, VRML, X3D, FBX, 3DS, DXF, SVG) into the timeline as a body, so it can be measured with `inspect` and modelled against. Use it when asked to fit something to a part that exists as a file. `path` is a file the machine FundaCAD runs on can open, and is how anything of real size gets in. `content` is the file itself, for when you have no path to give: gzip it (`compression`, and a STEP shrinks about tenfold), and split it with `part` and `parts` if one message will not hold it. But content is written by YOU, so the limit that binds is your own output and not this server's: roughly one message per piece, and a file needing more than a handful of pieces is one to ask for a path to instead. If you cannot reach the file from where you are, ask the person you are working with for its path on the machine FundaCAD runs on, or ask them to open it in FundaCAD themselves (File, Import Mesh), which puts it in the document for `inspect` to measure. Do not substitute a simplified stand-in for the real part: fitting to an approximation is the failure this tool exists to prevent. The format comes from the extension unless given. A .gltf whose buffers sit in separate files needs `path`, its neighbours cannot come as `content`. A large STEP can take minutes: it is one read, so do it once and keep the document. A DXF drawing arrives as one sketch per layer on the XY plane, ready to extrude, and only its 3D faces as a body; a binary DXF goes as base64, an ASCII one may go as text. An SVG drawing arrives the same way, one sketch per top level group or Inkscape layer, Y up, healed into closed outlines that extrude with their holes; strokes come in as open curves.doc_newStart an empty document, discarding the current one.doc_openLoad a .funda document from disk.doc_saveWrite the document to a .funda file, which the FundaCAD app opens directly. Saves to the path it was opened from if none is given. The path ends in .funda; another kind of file there is kept unless overwrite:true. Any ordinary folder works; home itself, a drive root, hidden (dot) folders and network paths are refused, and a server started with --allow-path keeps to those folders.doc_setReplace what `doc_get` gives (features, parameters, paramDefs, bodyIds, version) with the given JSON. For wholesale rewrites; prefer the feature_* tools for edits. Every other part of the open document (stress study, environment, materials, palette, overlays, reference images) stays unless the JSON names it, and a key named with null is cleared. Keep the `bodyIds` that `doc_get` gave; without it the document is numbered as a new one, where a join keeps the id of the body it merges into.editSeveral feature and parameter edits in one call, applied in order and all or nothing: if one is refused, none is applied and the reply names it. Each entry of `ops` is {op, ...} with that tool's own arguments: add (feature_add), update (feature_update), remove, move, param (param_set), param_remove. Later entries may use ids that earlier ones gave. Pass build:true to build once at the end. Prefer this to a run of single feature_* calls.exportWrite the model to STEP, STL or 3MF, or one sketch (`sketch`) or flat face (`face`) to DXF or SVG at true size in mm. `separate` writes one file per body, named after the body; `body` writes one body, `bodies` a list of them, merged or with `separate`; `layFlat` turns the parts for printing. `path` ends in the format's extension; another kind of file there is kept unless overwrite:true. Refused if a feature failed to build, naming which, unless allowPartial:true is passed, in which case it writes the file anyway and still names the failures. A long `separate` list folds files of one name and size into one line and shows 30 rows: `offset` pages on, `limit` 0 shows every row, `full` lists every file.feature_addAppend a feature to the timeline (or insert it at `at`). Returns the id it was given. Call `schema` for the shape of one.feature_moveMove a feature to another position in the timeline.feature_removeDelete a feature from the timeline.feature_updateMerge `patch` into a feature. A null value in the patch REMOVES that field. A new `type` is checked as that type, so send the fields it needs in the same patch. Pass replace=true to swap the whole body instead.inspectExact measurements of the built bodies. A bare call returns a one-line summary per body (volume, area, bounding box); pass detail:true and selectors:true to also list every face and edge with a ready-made SELECTOR you can paste into the next feature. Also flags seam edges and wrapping faces, which are what fillet and press/pull refuse. With `sketch` it reports that sketch's loose ends instead, the usual reason a sketch shows no closed profile: looseEnds { open: [{entity, p, at}], untied: [{entity, p, at, touches, gap, tieable}] } in sketch mm; `sketch_tie` ties the untied ones. Over 10 bodies alike ones share one row and 30 rows show, with detail or selectors 5 bodies: `offset` pages on, `limit` 0 shows all, `body` or `bodies` picks the ones you need.interferenceWhich bodies overlap, and by how much, without changing the document. Reports every overlapping pair with the overlap's volume and box, and pairs closer than `clearance` (default 1 mm) with their gap. A long list gives its total first, largest overlap first, folds pairs alike in all but their ids into one row and shows 30 rows: `offset` pages on, `limit` 0 shows every row, `full` lists each pair with where it meets. `sweep` repeats the check at each value of a parameter, for a mechanism: {param:"press", from:0, to:12, steps:13} gives the clashes and the smallest gap at every step. A sweep step with more than 10 clashing pairs gives their total and its 10 largest: `offset` and `limit` page every step's pairs, `full` lists them all. A body that is not a closed solid (a surface, an open or badly joined shell, as some imports are) cannot be judged: it is listed under NOT CHECKED with why, and no pair with it is called clear. Use this, not an intersect feature, to check fits and clearances.material_assignPut a render material on `bodies` and `faces`, or clear them with material null. Take the material id from material_list or material_set, and the faces from `inspect`.material_listThe document's render materials (the Render workspace's look of a part: colour, metal, glass, glow, paint, patterns) with every set field and which bodies and faces wear each, plus the starter materials to copy from. To dress a part: material_list, material_set, material_assign.material_removeRemove render materials from the document. Bodies and faces wearing them go back to their default look.material_setCreate or edit one render material, for its looks only (stress takes its own material). Name an existing `id` to edit: the fields you leave out stay, a field sent as null goes back to its default. Otherwise it creates one; `from` starts from a copy of another. Glass: low opacity and roughness, ior 1.5. Metal: metalness 1. Glow: emissive. Car paint: clearcoat 1, flakes. Fields without a description and the surface patterns are in schema("material"). Then `material_assign` puts it on bodies or faces.measureExact measurements on the B-rep, without changing the document. With one thing (`a`): a face's surface, area, normal or radius and axis, an edge's length, direction or circle, a body's volume and size. With two (`a` and `b`): the minimum distance and both closest points, the gap between parallel planar faces (a wall), centre to centre or axis to axis distance (a hole pitch), and the angle between planes, lines and axes. Things are face or edge selectors from `inspect` (detail:true, selectors:true) with their body, {body, face: n} or {body, edge: n}, a body id, or {point: [x, y, z]}. Units mm and degrees, rounded to 3 places, the raw values follow on the `raw:` line.param_removeDelete a parameter. Refused if anything still uses it.param_setDefine or redefine a parameter. `expr` may be a number or an expression over other parameters ("hub_d/2 - wall"). Features reference it by NAME, which is what keeps the model parametric. Function arguments are separated by SEMICOLONS and trig is in degrees. Comparisons (< <= > >= == !=), && || ! yield 1 or 0, and if(cond; a; b) picks a branch: "if(solid == 1; 0; innerX)". Refused, changing nothing, if the expression does not resolve.printabilityCheck the built parts for FDM printing before they are printed: overhangs past the angle that prints unsupported (45 deg), walls under two nozzle widths, floors under two layers, gaps narrow enough to fuse, flat ceilings bridged further than 10 mm, and shells that are not closed solids. Each finding names the face (F index, for `inspect` and `view` highlight_faces) and ends in a `view` focus. As modelled with +Z up, or `layFlat` as `export` would lay the parts. Measured on a fine mesh, the triangles an STL export holds. A flat ceiling counts as a bridge when walls hold it on two opposite sides, otherwise it is an overhang. Changes nothing. A long report counts its findings first, folds bodies alike in all but their ids and position into one row and shows 30 rows: `offset` pages on, `limit` 0 shows every row, `bodies` checks some as if printed alone, `full` gives each body its own block and focus, `all` every finding.schemaThe document schema: every feature type, its fields, an example and the traps. Call it with no argument for the overview and the working order, or with a type name for that type's detail. READ THIS FIRST.sectionCut the built bodies with a plane and get, per body, the outline in the plane as closed loops of points and the section properties: area, centroid, second moments of area about the centroid (and principal ones when they differ), furthest fibre, section modulus and polar moment. For quick beam and spring checks. `axis` and `at` cut across X, Y or Z; `origin` and `normal` cut at any angle. Changes nothing. Over 10 bodies it counts them first, folds bodies with the same section into one row, leaves the loop points out (`outline` true shows them, 5 bodies a page) and shows 30 rows: `offset` pages on, `limit` 0 shows every row, `bodies` picks some, `full` gives every body with its outline.sketch_mergeReplace closed shapes of a sketch that overlap or touch (rectangles, circles, polygons, slots, loops of lines and arcs) with the lines, arcs and circles that bound their union, so the sketch has one area where the overlaps made several, and an extrude picks it with one `regions` point. Leave out a shape meant as a hole. Constraints on the merged shapes are dropped. The outline is fixed numbers: shapes sized by parameters are refused unless `bake` is true. Replies with a point inside each merged area.sketch_tieTie a sketch's loose ends, the gaps that keep a profile from closing: every end that meets another curve only by position (within `tolerance`) gets a coincident or point on curve constraint and is moved onto what it touches, exactly, so the profile closes for the engine. `inspect` with `sketch` lists the loose ends first. An end that meets nothing within reach stays open: draw a line to close it. An end whose coordinates name a parameter is never moved.stressLinear static stress analysis of one body, without changing the document. Hold faces still with `fixed`, or with `supports` that are fixed, pinned (a hole or a pin, free to turn about its axis) or slider (held across the face only), push on others with `loads` (a total force in N or a pressure in MPa), add the body's own weight with `gravity`, pick a `material` by name (PLA, PETG, ABS, ASA, PA12 nylon, PC, aluminium 6061-T6, steel S235) or as {E, nu, yield, density} in MPa and g/cm3. Faces are the per-face selectors `inspect` lists with detail:true and selectors:true. A load, or a fixed support, on a place with no face of its own takes `spots` instead, each {at: [x, y, z], radius}: the surface within the radius of a point on the body. Units are mm, N and MPa. Answers with the peak von Mises stress and where, the largest deflection and where, the safety factor against yield, applied load (with the weight) against reaction, the reaction at each support, the mesh, warnings to heed, and a PNG coloured blue (low) to red (high) by stress. Takes seconds to a minute.viewRender the built model as a PNG. Orthographic, flat-shaded, with edges drawn. Use it to check what the numbers cannot tell you. A render material shows as its plain colour. `section` cuts it open, which is the only way to see a bore, a pocket or a thread; `bodies` draws one part of an assembly; `focus` zooms in on a point, which is the only way to see a small feature on a large part.Security checks
6 checks have not been run yet.