Browse the docs
betti dfm check
Check a part for a manufacturing process, named by -process. A STEP, IGES, JT or Parasolid part works for any process; a closed mesh for moulding, casting and printing.
Usage
betti dfm check [flags] inMachining: holes too deep, flat-bottomed or with an odd drill point, entering through slanted faces, too close together or to the outside, a pocket or the floor; inside fillets too small, too many fillet radii, faces no cutter reaches, deep narrow pockets.
Sheet metal: the sheet's thickness and bends found, then bends too tight for the material; holes, slots, notches and webs too narrow; corners too sharp; holes and slots too near a bend; missing reliefs, short flanges; the flat pattern.
Injection moulding, die and sand casting: the nominal wall, then walls too thin or thick for the material, thick sections, too little draft along the pull, undercuts, sharp inside corners, small inside fillets.
3D printing (am-fdm, am-sla, am-sls, am-lpbf): the build direction, then thin walls, overhangs needing support, narrow gaps, small holes and pins, voids trapping resin or powder.
In a script this is dfm.check(…), its flags as keywords; for coding agents, the tool dfm_check.
Examples
betti dfm check -process machining part.step
betti dfm check -process machining -depth-ratio 6 -wall 2 part.step
betti dfm check -process machining -json part.step > findings.json
betti dfm check -process sheet-metal -material stainless bracket.step
betti dfm check -process injection-moulding -material nylon -pull z part.step
betti dfm check -process am-fdm -up z part.step
betti dfm check -process injection-moulding housing.stl
betti dfm check -process am-sla -json part.obj > findings.json
betti dfm check -process injection-moulding -gates 2 -fill fill.vtu housing.stlFlags
| Flag | Takes | Default | Meaning |
|---|---|---|---|
-bend-hole | number | 2 | sheet metal: the least distance from where a bend begins to a hole, in thicknesses |
-bend-slot | number | 4 | sheet metal: the least distance from where a bend begins to a slot along it, in thicknesses |
-depth-ratio | number | 10 | machining: the most a hole's depth may be, in diameters |
-ductility | number | none | sheet metal: the material's greatest tensile strain, from 0 to 1, in place of -material's |
-face-angle | number | 1 | machining: the most, in degrees, the face a hole enters or leaves by may turn from square to it |
-feature | number | 2 | sheet metal: the least width of a hole, slot, notch or web, and radius of a corner, in thicknesses |
-fill | text | none | injection moulding: estimate the fill (from -gate, -gates, or one gate placed) and write it to this .vtu file |
-flat | text | none | sheet metal: write the flat pattern (the blank's outline and holes) to this .dxf file |
-gap | number | none | printing: the least gap across between the part's faces, in mm (0: the printer's) |
-gate | point | none | injection moulding: estimate the fill from a gate at this point, x,y,z, moved to the nearest of the surface; as many as given (see dfm fill) |
-gates | integer | none | injection moulding: estimate the fill from this many gates placed on each body, where no -gate is given (see dfm fill) |
-k-factor | number | 0.5 | sheet metal: where a bend's neutral layer lies, from its inside, in thicknesses, for the flat pattern |
-material | text | none | the material: for sheet metal, for the least bend radius it takes, one of: aluminium, aluminium-3003h, aluminium-half, copper, copper-quarter, stainless, steel, steel-drawing, titanium, titanium-4 (default steel); for moulding and casting, for its walls, a plastic or an alloy (an unknown name lists the process's; default abs, aluminium, gray-iron) |
-max-wall | number | none | moulding and casting: the most wall, in mm (0: the material's; sand casting none) |
-min-draft | number | 1 | moulding and casting: the least draft, in degrees, of a face along the pull |
-min-flange | number | 4 | sheet metal: the least length of a flange from the bend's mould line, in thicknesses |
-min-hole | number | none | printing: the least hole diameter, in mm (0: the printer's) |
-min-pin | number | none | printing: the least pin diameter, in mm (0: the printer's) |
-min-wall | number | none | moulding, casting and printing: the least wall, in mm (0: the material's or printer's) |
-overhang | angle | the printer's: am-fdm 45, am-sla 30, am-sls none, am-lpbf 45 | printing: the least angle, in degrees, from the bed a face looking down prints at unsupported; 0 for none |
-part-off | number | 15 | sheet metal: the least angle, in degrees, a blank's ends meet its parallel edges at to be cut or parted off a strip |
-pocket-ratio | number | 4 | machining: the most a face may lie below the stock's top, in diameters of the widest cutter that fits down to it |
-process | process | required | the manufacturing process to check for, one of: machining, sheet-metal, injection-moulding, die-casting, sand-casting, am-fdm, am-sla, am-sls, am-lpbf |
-pull | direction | the direction of each body that leaves the least undercut | moulding and casting: the direction the tool opens along: x, y, z or three numbers |
-radius | number | 0.5 | moulding and casting: the least inside fillet radius, in nominal walls |
-section | number | none | moulding and casting: the most a section may be, as the largest ball inside it, in nominal walls (0: the process's) |
-tol | number | none | how near lengths must be to count as equal, in mm (0: a millionth of the model's size) |
-tool-radius | number | 0.5 | machining: the smallest inside fillet a cutter makes, in mm |
-tool-sizes | integer | 3 | machining: the most fillet radii one body should need |
-up | direction | the direction of each body that leaves the least to support | printing: the build direction: x, y, z or three numbers |
-wall | number | 1 | machining: the least wall between two holes, or a hole and the rest of the part, in mm |
Output flags
| Flag | Takes | Default | Meaning |
|---|---|---|---|
-json | switch | off | print the result as JSON |
-q | switch | off | print nothing but errors |
-skip | names | none | switch off steps of the work by their names, separated by commas, as the built-in help lists them |
-v | switch | off | also show the stages of each step, and their times |
This page is generated from betti help dfm check. Lengths are absolute, or a percentage of the part's bounding-box diagonal, as in -size 1%.