wadi_add_module
Register (or replace) a reusable component module by its import ref, then recompile the live model. The module is a .wdl holding `component Name { … }` definitions in LOCAL coords (no `house` block). After adding…
ref: string, wdl: string
wadi_capture_viewread-only
Render the current 3D model to a PNG image so you can see the result.
wadi_checkread-only
Run the C1-C12 structural linter over the live house and return errors + warnings.
wadi_check_wdl
Compile-check .wdl WITHOUT loading it (dry run). Returns errors, or ok.
wdl: string
wadi_choose_home
Load one ready-made home by id (from wadi_list_homes) as your STARTING POINT — pick the one closest to what the user wants, then read it with wadi_get_wdl and edit it. This is the recommended way to begin; it is far…
id: string
wadi_describe_houseread-only
The whole house as structured data (floors, rooms with sizes/positions in feet, connections, roof, plot, variables, staircases, and a structural summary). Read this to understand the current design. The `staircases`…
wadi_get_wdlread-only
Return the current live house as editable .wdl source. Read this before modifying an existing design.
wadi_list_homesread-only
List the ready-made home designs to start from (id, title, meta).
wadi_list_modulesread-only
List the custom component modules registered for the current model (import ref + source size). These reusable component .wdl files are saved inside the .wadi. Inbuilt packs (std-furniture, konkan/base) are always…
wadi_read_homeread-only
Return a ready-made home's .wdl source WITHOUT loading it — study an example (how it does a roof, staircase, grid, etc.) without disturbing the user's current model. Use this to look things up; use wadi_choose_home…
id: string
wadi_redo
Redo the last undone change.
wadi_remove_module
Remove a custom component module by its import ref and recompile. Also remove its `import` line from the main WDL if the component is no longer used.
ref: string
wadi_set_wdl
Compile .wdl and load it into the live 3D model. STRONGLY PREFER EDITING A TEMPLATE over building from scratch: wadi_list_homes -> wadi_choose_home (closest match) -> wadi_get_wdl -> edit -> wadi_set_wdl. Authoring a…
wdl: string
wadi_undo
Undo the last change.
wadi_wdl_reference
A self-contained primer for Wadi's .wdl design language and the authoring loop. Call this FIRST before writing WDL.