← Bungalow

South roof slope (SIP)

v1 AI approved Generated with ElixiFree

Create South roof slope (SIP), 12000.0x4000.0x142mm. half_span 4000.0mm (horizontal eave-to-ridge run — pass this value directly as the half_span argument, do NOT substitute slope_length or adjust for panel thickness). pitch_degrees 30.0deg (use this exact value for pitch_degrees — do NOT guess or derive from other dimensions). stock SIP-120 (use this exact ElixiFree stock key — do NOT substitute a different SIP stock). eave_overhang 400.0mm rake_overhang 300.0mm (pass both directly to PitchedRoofSlope — do NOT use default values). Bears on south wall bevelled top plate at eave (LIFT=90mm above wall top); plumb-cut mitre at ridge lands on ridge board arris; rake edges over east & west gable

Interfaces Provided

body (component)
◉
Agent initialized (status: waiting_for_dependencies, action: check_dependencies, delay: 2000ms)
◉
Provider: claude_code | Profile: balanced
◉
Provider updated to claude_code / balanced
◉
Starting after stagger delay (action: check_dependencies)
◉
Refreshed placement from design spec (bbox %{"x" => 12600.0, "y" => 5162.666107093633, "z" => 142.0})
◉
Generating v1
◉
[ElixiFree] active — code_module=elixifree.sip
◉
[ElixiFree] downgrading to claude-haiku-4-5-20251001 (builder API active)
○
Calling Claude (local subscription) for code generation (claude-haiku-4-5-20251001)...
◉
Generation token budget: max_tokens=12288, thinking_budget=0 (retry_count=0)
●
Received response ( tokens)
◆
main__gable_roof_south_v1.py · 40 lines
import FreeCAD
from elixifree.domains.sip import PitchedRoofSlope

# === ANCHOR POINTS ===
ANCHOR_TOP_FACE = (6.0e3, 2.0e3, 142.0)
ANCHOR_BOTTOM_FACE = (6.0e3, 2.0e3, 0.0)
ANCHOR_FRONT_FACE = (6.0e3, 0.0, 71.0)
ANCHOR_BACK_FACE = (6.0e3, 4.0e3, 71.0)
ANCHOR_LEFT_FACE = (0.0, 2.0e3, 71.0)
ANCHOR_RIGHT_FACE = (1.2e4, 2.0e3, 71.0)
# === END ANCHOR POINTS ===

# === PARAMETERS ===
RIDGE_LENGTH = 12000.0       # mm — building width (X direction)
HALF_SPAN = 4000.0           # mm — horizontal eave-to-ridge run (Y direction)
PITCH_DEG = 30.0             # degrees — roof pitch angle
STOCK = "SIP-120"            # 120mm core SIP panel with 142mm total thickness
EAVE_OVERHANG = 400.0        # mm — overhang projection at eave
RAKE_OVERHANG = 300.0        # mm — overhang projection at rake ends
# === END PARAMETERS ===

# === DOCUMENT & BUILD ===
doc = FreeCAD.ActiveDocument or FreeCAD.newDocument("SouthRoofSlope")

slope = PitchedRoofSlope(
    ridge_length=RIDGE_LENGTH,
    half_span=HALF_SPAN,
    pitch_degrees=PITCH_DEG,
    stock=STOCK,
    is_south=True,
    eave_overhang=EAVE_OVERHANG,
    rake_overhang=RAKE_OVERHANG,
)

result = slope.build()
result.add_to_doc("Body")

doc.recompute()
if FreeCAD.GuiUp:
    FreeCAD.Gui.ActiveDocument.ActiveView.fitAll()
◉
[ElixiFree] ✓ generated script uses elixifree imports
◉
[ElixiFree] ⚠ script imports unknown symbols: PitchedRoofSlope — possible hallucination
●
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 claude_code / balanced
◉
Provider updated to claude_code / balanced
v0.0.985