← Demo

Foundation Slab

v1 Gemini approved Generated with ElixiFree

Create a slab foundation, 12284mm long x 8284mm wide x 300mm high. Building footprint 12000x8000, strip depth 300mm, wall panel thickness 142mm. L-shaped concrete slab.

Interfaces Provided

top_face (bearing)
Agent initialized (status: waiting_for_dependencies, action: check_dependencies)
Provider: google | Profile: balanced
All dependencies resolved, starting generation
Refreshed placement from design spec (bbox %{"x" => 12284.0, "y" => 8284.0, "z" => 300.0})
Generating v1
[ElixiFree] active — code_module=elixifree.sip
[ElixiFree] downgrading to gemini-3-flash-preview (builder API active)
Calling Gemini API for code generation (gemini-3-flash-preview)...
Generation token budget: max_tokens=12288, thinking_budget=0 (retry_count=0)
Received response (600 tokens)
Normalized Foundation builder to the approved L footprint
foundation_v1.py · 14 lines
from elixifree.domains.sip import Foundation

OUTER_CONCRETE_FOOTPRINT = [[0.0, 0.0], [12284.0, 0.0], [12284.0, 4284.0], [8284.0, 4284.0], [8284.0, 8284.0], [0.0, 8284.0]]
DEPTH = 300.0
STRIP_W = 450.0

result = Foundation(
    footprint=OUTER_CONCRETE_FOOTPRINT,
    depth=DEPTH,
    type="strip_foundation",
    strip_w=STRIP_W,
).build()
result.add_to_doc("Body")
[ElixiFree] ✓ generated script uses elixifree imports
Executing in FreeCAD...
FreeCAD execution failed: Traceback (most recent call last): File "/opt/freecad/bin/../Mod/CadClaude/cadclaude_worker.py", line 159, in _run_script exec(compile(script_source, "<cadclaude>", "exec"), {}) File "<cadclaude>", line 15, in <module> TypeError: Foundation.__init__() got an unexpected keyword argument 'footprint'
Retrying (attempt 2/4)
Received corrected script, re-executing...
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
Ready for review (v1)
Provider updated to google
Component approved by user
Provider updated to google / balanced
Provider updated to google / balanced
v0.0.542