← Demo

Storey 0 Wall Edge 5

v1 Gemini approved Generated with ElixiFree

Create Storey 0 Wall Edge 5, 7716mm long x 142mm thick x 2700mm high, stock sip/panel/osb_eps_142_2440x1220. Butt corner.

Dependencies

foundation.top_face

Interfaces Provided

top_face (bearing)
◉
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" => 7716.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 (562 tokens)
◆
s0_wall_e5_v1.py · 36 lines
import FreeCAD
import Part
from elixifree.domains.sip import Wall

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

# === PARAMETERS ===
# Required bounding box: 7716.0 x 142.0 x 2700.0 mm
SPAN = 7716.0       # mm (Length along X)
THICKNESS = 142.0   # mm (Depth along Y - SIP-120 total thickness)
HEIGHT = 2700.0     # mm (Height along Z)
STOCK = "SIP-120"   # SIP-120 has a 120mm core + 22mm OSB = 142mm total
# === END PARAMETERS ===

# Create the SIP wall using the ElixiFree declarative builder.
# We build in the default local frame (span along X) as required by the contract.
# The assembly layer (Placer) handles the -90 degree yaw rotation.
wall_builder = Wall(
    span=SPAN,
    height=HEIGHT,
    stock=STOCK
)

# Execute the build process
result = wall_builder.build()

# Add the resulting geometry to the FreeCAD document
# This utility handles document creation, object naming, and recomputation.
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