← Bungalow

Strip perimeter foundation

v1 AI approved Generated with ElixiFree

Create Strip perimeter foundation, 12000x8000x300mm. Sole plate on top face; anchor bolts at 600mm centres (fasteners omitted per skill). Connects to main__s0_wall_e0, main__s0_wall_e1, main__s0_wall_e2, main__s0_wall_e3.

Interfaces Provided

body (component)
◉
Agent initialized (status: waiting_for_dependencies, action: check_dependencies)
◉
Provider: claude_code | Profile: balanced
◉
All dependencies resolved, starting generation
◉
Refreshed placement from design spec (bbox %{"x" => 12000.0, "y" => 8000.0, "z" => 300.0})
◉
Generating v1
◉
[ElixiFree] active — code_module=elixifree.sip
◉
[ElixiFree] downgrading to claude-haiku-4-5-20251001 (builder API active)
○
Calling Claude (local subscription) for code generation (claude-haiku-4-5-20251001)...
◉
Generation token budget: max_tokens=12288, thinking_budget=0 (retry_count=0)
◉
Provider updated to claude_code / balanced
●
Received response ( tokens)
◆
main__foundation_v1.py · 27 lines
from elixifree.domains.sip import Foundation

# === ANCHOR POINTS ===
ANCHOR_TOP_FACE = (6.0e3, 4.0e3, 300.0)
ANCHOR_BOTTOM_FACE = (6.0e3, 4.0e3, 0.0)
ANCHOR_FRONT_FACE = (6.0e3, 0.0, 150.0)
ANCHOR_BACK_FACE = (6.0e3, 8.0e3, 150.0)
ANCHOR_LEFT_FACE = (0.0, 4.0e3, 150.0)
ANCHOR_RIGHT_FACE = (1.2e4, 4.0e3, 150.0)
# === END ANCHOR POINTS ===

# === PARAMETERS ===
BUILDING_WIDTH = 12000   # mm, outer footprint length (X-axis)
BUILDING_DEPTH = 8000    # mm, outer footprint width (Y-axis)
STRIP_HEIGHT = 300       # mm, vertical height of strip (Z-axis)
STRIP_WIDTH = 450        # mm, width of perimeter strip in plan view

# === BUILD STRIP PERIMETER FOUNDATION ===
result = Foundation(
    length=BUILDING_WIDTH,
    width=BUILDING_DEPTH,
    depth=STRIP_HEIGHT,
    type="strip_foundation",
    strip_w=STRIP_WIDTH,
).build()

result.add_to_doc("Body")
◉
[ElixiFree] ✓ generated script uses elixifree imports
●
Executing in FreeCAD...
◉
StepAnalyzer failed: FreeCAD could not read STEP file: FreeCAD exception thrown (File to load not existing or not readable) — skipping
●
FreeCAD execution succeeded
●
Exported: model.stl
◉
Generation succeeded and component was auto-approved (v1)
◉
Provider updated to claude_code / balanced
◉
Provider updated to claude_code / balanced
v0.0.985