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 x 4 closed polyline has area 12 and perimeter 14passed

    lines.1.area{"value": 12, "abs_tol": 1e-09}
    lines.1.perimeter{"value": 14, "abs_tol": 1e-09}
  2. r0002fea.*: a 100 x 10 plate pulled with 1 MPa: peak von Mises 1 MPa (sigma = F / A), mesh converged; end displacement sigma L / E = 5e-4 mmpassed

    lines.4.maxVonMises{"value": 1.0, "rel_tol": 1e-06}
    lines.4.convergence.points.0.status= convergedmisseddiffers
    lines.4.maxDisplacement{"value": 0.0005, "rel_tol": 0.01}
  3. r0003site.*: a 200 x 100 m plot has an area of 20000 m2passed

    lines.1.area{"value": 20000, "abs_tol": 1e-06}
  4. r0004site.scene: one 10 x 20 x 5 m building is a solid 10 wide, 5 tall, 20 deeppassed

    lines.2.items= 1misseddiffers
    lines.2.bounds_min.1{"value": 0, "abs_tol": 1e-06}
    lines.2.bounds_max.1{"value": 5, "abs_tol": 1e-06}
    lines.2.bounds_max.0{"value": 5, "abs_tol": 1e-06}
    lines.2.bounds_min.2{"value": -10, "abs_tol": 1e-06}
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/*