Show HN: AutoLISP in Rust/WASM, reused to script GLDF and IFC file formats
gldf.icu
gldf.icu
The Lisp can be used to define the GLDF product in the LISP REPL, some files are in the wasm bundle, so for the demo you can simply: Click the [λ Script (Lisp)] Button and it will create the GLDF as defined in the LISP, and also start some Animation, tilting the light fixtures, changing Variants (and as such housing and light color) and some camera movement
(ifc-new) (ifc-set-project "Quonset Hut" "Airfield" "Hangar" "GF" "Engineer" "Corps") (ifc-storey "Ground Floor" 0.0) (ifc-add-slab 0 0 8 15 0.2 0 "Concrete Pad") (ifc-add-wall 0 0 8 0.15 4.0 0.2 "Front Wall") (ifc-add-wall 0 14.85 8 0.15 4.0 0.2 "Rear Wall") (ifc-add-door 3 0 2.0 0.15 3.0 0.2 "Hangar Door") (ifc-add-window 1 14.85 1.5 0.15 1.5 0.2 "Rear Window") (ifc-storey "Roof" 4.0) (ifc-add-roof-barrel 0 0 8 15 3.0 4.0 "Steel Arch")