fdmguard
v0.4.1Function-first checks for 3D-printed parts: insertion path, thin necks, holes, bed stability.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_insertion
Sweep the moving part (given in its SEATED pose) along its insertion path into the fixed part(s). The path is straight (direction, travel) or a list of translate / rotate legs (bayonets, hinges, slide-then-drop). Reports the overlap at every step and the seated-pose-only result next to the path result. seated_only_pass true with pass false means the part is clear when seated but cannot travel there.
| Parameter | Type | Description |
|---|---|---|
fixed * | array | Absolute paths to closed mesh files. |
moving * | string | Absolute path to a closed mesh file (STL, OBJ, 3MF or PLY). |
allow | array | Intentional snap regions, each 'name:x0,y0,z0,x1,y1,z1' in fixed-part mm. |
direction | Straight path: motion direction during assembly (x, -x, y, -y, z, -z or 'dx,dy,dz'). Default -z. | |
grow | number | FDM over-size (mm). |
grow_mode | string | |
max_snap_length | number | Longest overlap allowed inside a snap region. |
path | Multi-leg path instead of direction/travel, in assembly order, ending at the seated pose. Legs: {'translate': {'direction': '-z', 'distance': 25}} or {'rotate': {'axis': 'z', 'point': [0, 0, 0], 'angl… | |
step | number | Step along the path. |
travel | Straight path: length before the seated pose; must start outside. Default 20. |
check_necks
Find thin necks: erode each body by radius; a body that splits (NECK) or vanishes (THIN) fails.
| Parameter | Type | Description |
|---|---|---|
meshes * | array | Absolute paths to closed mesh files. |
pitch | number | Voxel size. |
radius | number | Erosion radius; catches joins thinner than about 2r. |
check_strips
Find strips narrower than width on each printed layer (mesh in print orientation), plus the marginal band.
| Parameter | Type | Description |
|---|---|---|
meshes * | array | Absolute paths to closed mesh files. |
band | number | Marginal band above width. |
layer | number | Layer height. |
up | string | Build direction in the mesh's axes: x, y, z, -x, -y or -z. |
width | number | Minimum strip width per printed layer. |
check_holes
Recommend the printed hole size for a fit; with meshes, also flag round holes (axis along up) that are too small.
| Parameter | Type | Description |
|---|---|---|
pin * | number | Nominal pin or screw diameter, e.g. 1.75 filament or 3 for M3. |
fit | ||
meshes | array | Optional meshes to check round holes in. |
min_depth | number | Ignore round holes shallower than this (mm). |
up | string | Build direction in the mesh's axes: x, y, z, -x, -y or -z. |
check_stability
Screen a print orientation for toppling: bed contact, height / contact width, centre of mass over the base.
| Parameter | Type | Description |
|---|---|---|
meshes * | array | Meshes in PRINT orientation. |
max_slenderness | number | Fail above height / contact width. |
min_contact | number | Minimum first-layer bed contact (mm^2). |
up | string | Build direction in the mesh's axes: x, y, z, -x, -y or -z. |
warn_slenderness | number | Warn above height / contact width. |
tradeoff
Compare print options: function gates first, then print metrics. Show the returned table to a person. The file must include the unchanged original (original: true). A gate that is missing or unknown is UNVERIFIED.
| Parameter | Type | Description |
|---|---|---|
options * | string | Absolute path to a YAML or JSON options file (see the guide). |
guide
The full fdmguard agent guide: when to check, check order, tolerance defaults, anti-patterns and limits.