Invntr
Source

All instruments

surface_finish

Generic procedural PBR surface finish & texture synthesizer (pure Rust): generates tileable albedo.png, tangent-space normal.png, glTF metallic_roughness.png, and a 3D embossed swatch scene.glb for brushed_metal, knurled, anodized, carbon_weave, fdm_print, machined_swirl, or smooth finishes, with Ra/Rq surface roughness metrics.

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

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

Known answers it must pass

Admission replaysurface_finish 0.1.0 · files de41cdd36438…2f11
  1. r0001smooth surface gives Ra = 0, Rq = 0, unit normalspassed

    ra_um0 ± 1e-090lockedunder 0.01 % of the tolerance used
    rq_um0 ± 1e-090lockedunder 0.01 % of the tolerance used
    normal_unit_error≤ 1e-120lockedinside the range
  2. r0002diamond knurling (pitch 1 mm, depth 0.3 mm) produces positive Ra/Rq and unit-length normal mappassed

    ra_um50 to 9059.3675lockedinside the range
    rq_um60 to 11070.8486lockedinside the range
    normal_unit_error≤ 1e-122.22045e-16lockedinside the range
2 of 2 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
finishbrushed_metal
resolution256
tile_size_mmmm20.0
depth_mmmm0.05
pitch_mmmm1.0
base_roughness10.3
metallic1
base_color

Readings

NameUnitMeaning
ra_umum
rq_umum
mean_roughness1
metallic1
normal_unit_error1
albedo.png
normal.png
metallic_roughness.png
scene.glb

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call