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.

cad module Granted on request: see access and licensing.

Usage

Shell
betti cad draft [flags] in.step

In a script this is cad.draft(…), its flags as keywords; for coding agents, the tool cad_draft.

Examples

Shell
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.json

Flags

FlagTakesDefaultMeaning
-maptextnonewrite 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-draftnumber1the least draft a face needs, in degrees: report the faces with less
-pulldirectionthe direction of each body that leaves the least undercutthe direction the tool opens along: x, y, z or three numbers such as 0,0,1
-spacinglength or number1% of the part's sizeabout how far apart the points judged lie, such as 0.5 or 1%

Output flags

FlagTakesDefaultMeaning
-jsonswitchoffprint the result as JSON
-qswitchoffprint nothing but errors
-skipnamesnoneswitch off steps of the work by their names, separated by commas, as the built-in help lists them
-vswitchoffalso 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%.