← Demo

Storey 0 Wall Edge 0

v1 Gemini approved Generated with ElixiFree

Create Storey 0 Wall Edge 0, 12000mm long x 142mm thick x 2700mm high, stock sip/panel/osb_eps_142_2440x1220. Openings: door 1000x2100mm at u=10000 sill=0, window 2400x1500mm at u=4000 sill=600. Through corner.

Dependencies

foundation.top_face

Interfaces Provided

top_face (bearing) inner_face (butt)
◉
Agent initialized (status: waiting_for_dependencies, action: check_dependencies)
◉
Provider: google | Profile: balanced
◇
Received interface foundation.top_face: %{name: "top_face", type: "bearing", value: %{}, agent_id: "foundation"}
◉
All dependencies resolved, starting generation
◉
Refreshed placement from design spec (bbox %{"x" => 12000.0, "y" => 142.0, "z" => 2700.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)
◉
Provider updated to google / balanced
●
Received response (683 tokens)
◆
s0_wall_e0_v1.py · 52 lines
import FreeCAD
import Part
from elixifree.domains.sip import Wall

# === ANCHOR POINTS ===
ANCHOR_TOP_FACE = (6000.0, 71.0, 2700.0)
ANCHOR_BOTTOM_FACE = (6000.0, 71.0, 0.0)
ANCHOR_FRONT_FACE = (6000.0, 0.0, 1350.0)
ANCHOR_BACK_FACE = (6000.0, 142.0, 1350.0)
ANCHOR_LEFT_FACE = (0.0, 71.0, 1350.0)
ANCHOR_RIGHT_FACE = (12000.0, 71.0, 1350.0)
# === END ANCHOR POINTS ===

# === PARAMETERS ===
# Dimensions in mm
SPAN = 12000.0
HEIGHT = 2700.0
THICKNESS = 142.0
STOCK = "SIP-120"  # Core 120mm + 2x11mm OSB = 142mm total

# Openings
# Window: 2400x1500mm at u=4000 sill=600
W_X = 4000.0
W_Z = 600.0
W_WIDTH = 2400.0
W_HEIGHT = 1500.0

# Door: 1000x2100mm at u=10000 sill=0
D_X = 10000.0
D_Z = 0.0
D_WIDTH = 1000.0
D_HEIGHT = 2100.0
# === END PARAMETERS ===

# Create the SIP Wall using the ElixiFree builder API
# The builder automatically handles the internal framing and foam grooves
wall_builder = Wall(
    span=SPAN,
    height=HEIGHT,
    stock=STOCK
)

# Add window opening
wall_builder.opening(x=W_X, z=W_Z, width=W_WIDTH, height=W_HEIGHT)

# Add door opening
wall_builder.opening(x=D_X, z=D_Z, width=D_WIDTH, height=D_HEIGHT)

# Build the geometry and add to document
# result.add_to_doc handles document creation and recompute
result = wall_builder.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 google / balanced
v0.0.985