← Demo

Level 0 Interior Wall s0_p2434

v1 Gemini approved Generated with ElixiFree

Create Level 0 Interior Wall s0_p2434, 3808mm long x 122mm thick x 2700mm high.

Dependencies

s0_wall_e4.inner_face

Interfaces Provided

face (butt)
◉
Agent initialized (status: waiting_for_dependencies, action: check_dependencies)
◉
Provider: google | Profile: balanced
◉
Provider updated to google / balanced
◇
Received interface s0_wall_e4.top_face: %{name: "top_face", type: "bearing", value: %{}, agent_id: "s0_wall_e4"}
◇
Received interface s0_wall_e4.inner_face: %{name: "inner_face", type: "butt", value: %{}, agent_id: "s0_wall_e4"}
◉
All dependencies resolved, starting generation
◉
Refreshed placement from design spec (bbox %{"x" => 3808.0, "y" => 122.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)
●
Received response (412 tokens)
◉
Normalized Wall builder dimensions/orientation to local-frame contract
◆
partition_s0_p2434_v1.py · 30 lines
import FreeCAD
import Part
from elixifree.domains.sip import Wall

# === ANCHOR POINTS ===
ANCHOR_TOP_FACE = (1904.0, 61.0, 2700.0)
ANCHOR_BOTTOM_FACE = (1904.0, 61.0, 0.0)
ANCHOR_FRONT_FACE = (1904.0, 0.0, 1350.0)
ANCHOR_BACK_FACE = (1904.0, 122.0, 1350.0)
ANCHOR_LEFT_FACE = (0.0, 61.0, 1350.0)
ANCHOR_RIGHT_FACE = (3808.0, 61.0, 1350.0)
# === END ANCHOR POINTS ===

# === PARAMETERS ===
# All dimensions in mm
SPAN = 3808.0
HEIGHT = 2700.0
STOCK = "SIP-100"  # Standard thickness for partition walls (122mm total)
# === END PARAMETERS ===

# Create the SIP wall using the ElixiFree Builder API
# Partitions butt against external wall faces and do not use corner splines
result = (Wall(span=3808.0, height=2700.0, stock=122.0)
          .build())

# Add the result to the document Body
result.add_to_doc("Body")

# Final document recompute
FreeCAD.ActiveDocument.recompute()
◉
[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 32, in <module> File "/opt/freecad/Mod/CadClaude/elixifree/builder.py", line 129, in build self._validate() File "/opt/freecad/Mod/CadClaude/elixifree/domains/sip.py", line 276, in _validate _resolve_stock(self._stock) # raises BuildError for unknown stock ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/freecad/Mod/CadClaude/elixifree/domains/sip.py", line 75, in _resolve_stock raise BuildError( elixifree.builder.BuildError: Unknown SIP stock '122.0'. Valid values: ['SIP-100', 'SIP-120', 'SIP-150', 'SIP-200', 'SIP-250', 'SIP-300']
◉
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
◉
Generation succeeded and component was auto-approved (v1)
◉
Provider updated to google / balanced
v0.0.985