Invntr
Source

All instruments

draft

The drafting engine (from DraftCore, with ForgeCraft's and MasonCraft's commands): 2D drawings, dimensions, tables, blocks, DXF/DWG/PDF/SVG/PNG; FEA studies on a drawn profile (fea.*), STEP views (cad.view); site layouts, placement, rules checks, material flow and space programmes (site.*, place.*, rules.*, flow.*, program.*). args are the drafting tool's arguments: ["commands"] lists all 516 commands; ["run", "--metric", "--cmd", "<id> {json}", ..., "--save", "out/a.dxf"] runs them.

Read staged files from inputs/, write under out/.

Field
Mechanics, CAD and finite elements
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
1 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replaydraft 0.1.0 · files cf3d7dbce885…1bd4
  1. r0001a 3 × 4 closed polyline has area 12 and perimeter 14passed

    lines.1.area= 12, within 1.000000 × 10⁻⁹reading not recorded on this page
    lines.1.perimeter= 14, within 1.000000 × 10⁻⁹reading not recorded on this page
  2. r0002fea.*: a 100 × 10 plate pulled with 1 MPa: peak von Mises 1 MPa (σ = F / A), mesh converged; end displacement σ L / E = 5 × 10⁻⁴ mmpassed

    lines.4.maxVonMises= 1, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    lines.4.convergence.points.0.status= convergedmisseddiffers
    lines.4.maxDisplacement= 5.000000 × 10⁻⁴, within 1 %reading not recorded on this page
  3. r0003site.*: a 200 × 100 m plot has an area of 20000 m₂passed

    lines.1.area= 20000, within 1.000000 × 10⁻⁶reading not recorded on this page
  4. r0004site.scene: one 10 × 20 × 5 m building is a solid 10 wide, 5 tall, 20 deeppassed

    lines.2.items= 1misseddiffers
    lines.2.bounds_min.1= 0, within 1.000000 × 10⁻⁶reading not recorded on this page
    lines.2.bounds_max.1= 5, within 1.000000 × 10⁻⁶reading not recorded on this page
    lines.2.bounds_max.0= 5, within 1.000000 × 10⁻⁶reading not recorded on this page
    lines.2.bounds_min.2= -10, within 1.000000 × 10⁻⁶reading not recorded on this page
4 of 4 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
argsThe drafting tool's arguments: info <file> | convert <in> <out> | run [files] [--metric] [--cmd "<id> {json}"]... [--script "..."] [--save out/x.dxf] [--export out/x.png] | commands [--filter]
filesFiles to stage under inputs/, e.g. ["@r0003/site.dxf"].

Readings

NameUnitMeaning
exit
lines
stdout.txt
out/*