Browse the docs
betti cad draft
Judge a STEP, IGES, JT or Parasolid part for drawing from a mould or die opening along a pull direction: faces with too little draft, undercuts, faces the parting line crosses; the direction of the least undercut chosen if not given.
Usage
betti cad draft [flags] in.stepIn a script this is cad.draft(…), its flags as keywords; for coding agents, the tool cad_draft.
Examples
betti cad draft part.step
betti cad draft -pull z -min-draft 2 part.step
betti cad draft -spacing 0.5 -map draft.vtu part.step
betti cad draft -json part.step > draft.jsonFlags
| Flag | Takes | Default | Meaning |
|---|---|---|---|
-map | text | none | write the part tessellated, each triangle with the least draft (degrees, signed) and whether undercut (1 or 0) of the points on it, to this file (.vtu, .msh and .ply keep them) |
-min-draft | number | 1 | the least draft a face needs, in degrees: report the faces with less |
-pull | direction | the direction of each body that leaves the least undercut | the direction the tool opens along: x, y, z or three numbers such as 0,0,1 |
-spacing | length or number | 1% of the part's size | about how far apart the points judged lie, such as 0.5 or 1% |
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 cad draft. Lengths are absolute, or a percentage of the part's bounding-box diagonal, as in -size 1%.