Skip to content

Family dimension parameters (BL_) on Bake Family - #28

Merged
robDL89 merged 10 commits into
mainfrom
claude/family-dimension-params
Oct 22, 2026
Merged

robDL89 merged 10 commits into
mainfrom
claude/family-dimension-params

Conversation

@robDL89

@robDL89 robDL89 commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • A family baked from Blender carries BL_Length, BL_Width (larger/smaller of obj.dimensions X, Y), BL_Height (Z), BL_Area (total surface), BL_Volume (closed meshes only, never overridable) as type parameters, group Dimensions, plus BL_Thickness when set.
  • Blender panel, Bake section: Family parameters (informative) with a set-from-selection button (edges for lengths, faces for area) and a reset per parameter; overrides are frozen custom properties on the object. Area and volume are computed at bake time, not in draw().
  • Protocol: optional params on bake_mesh ([{name, kind, value}], SI units); validated by the new BakeParameter; family bake only, Bake together uses the host's.
  • Revit: FamilyParameters adds/sets the BL_ parameters in the family, deletes stale BL_ ones, never touches others, and writes the values on every project type after the reload (which keeps overwriteParameterValues = false).
  • Spec and plan in docs/superpowers/. DESIGN.md, README, CHANGELOG updated (CHANGELOG Unreleased conflicts trivially with Pull linked models and name MEP elements by system #24, Fit arcs on inclined planes as a last attempt #26, Add preview opacity from the Blender panel #27).

Test plan

  • pytest 558 (parameter logic, header), xUnit 525 net8/net48 (params parsing and validation), build Revit 2024-2027 with 0 warnings
  • Manual in Revit + Blender by Roberto

🤖 Generated with Claude Code

rdarch-admin and others added 10 commits October 12, 2026 19:25
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
FakeLayout.operator() returned None, while the real UILayout returns the
operator properties, so op.key = key in the new parameters box crashed.
It now returns an object that accepts only the operator's declared
properties. Section order checks look at top-level boxes and at the bake
section's own level; the nested parameters box gets its own check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@robDL89
robDL89 merged commit 83c24eb into main Oct 22, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants