code wiki / (root) / nx_material_profile_test.nx

nx_material_profile_test.nx

buildroot/runtime/nx_material_profile_test.nx

4214 B104 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_material_profile_test.nx -- exercise the Generic PLA factory + validator on both the seed default and on hand-corrupted variants. Closed-form invariants: (a) Generic PLA factory returns non-null + validate == OK. (b) Material class == PLA, flow ratio == 1.0 (16384 in Q14). (c) Hotend temps: first-layer 215°C, print 210°C (5°C hotter first-layer is the documented adhesion-bias choice). (d) Bed temps: first-layer 65°C, print 60°C. (e) Print speed 150 mm/s, first-layer 50 mm/s, bridge 80 mm/s. (f) Bridge cooling: 100% fan during bridges (the 64.91%-sag- reduction lever from NCBI PMC12608786). (g) First N layers fan-disabled (default 1). (h) Retraction 0.8 mm (direct drive). (i) Validator catches: bad class, bad temp, bad speed, bad cooling, bad retract, bad advanced. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_material_profile.nx nx_material_profile_test.nx

imports: nx_syscalls.nxnx_material_profile.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_material_profile_generi nx_material_profile_alloc sys_mmap nx_material_profile_valida nx_mat_is_valid nx_material_profile_generi nx_material_profile_alloc ↻ nx_material_profile_generi nx_material_profile_alloc ↻ nx_material_profile_generi nx_material_profile_alloc ↻ nx_material_profile_generi nx_material_profile_alloc ↻

structs

none

consts

none

functions

24func main() -> i64