← Demo

Level 1 Interior Wall s1_p2322

v1 Gemini approved Generated with ElixiFree

Create Level 1 Interior Wall s1_p2322, 7808mm long x 122mm thick x 2700mm high.

Dependencies

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

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

# === PARAMETERS ===
# All dimensions in mm
SPAN = 7808.0       # Total span along X
THICKNESS = 122.0   # SIP-100 total thickness along Y
HEIGHT = 2700.0     # Total height along Z
STOCK = "SIP-100"   # Standard internal partition stock
# === END PARAMETERS ===

# === BUILD GEOMETRY ===
# Use the ElixiFree SIP Wall builder to generate the component.
# This partition butts between external wall faces, so no corner splines are added.
result = (Wall(span=7808.0, height=2700.0, stock=122.0)
          .build())

# === ADD TO DOCUMENT ===
# The builder handles PartDesign Body creation and internal geometry placement.
result.add_to_doc("Body")

# Force a recompute to finalize the geometry
if FreeCAD.ActiveDocument:
    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 34, 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)
◉
All components approved — triggering placement recomputation
◉
Provider updated to google / balanced
v0.0.985