Skip to content

Ceiling plans see the beams over their cut, up to the ceilings - #153

Merged
IPedrax merged 3 commits into
IPedrax:mainfrom
ffishman:ceiling-plan-beams
Oct 29, 2026
Merged

IPedrax merged 3 commits into
IPedrax:mainfrom
ffishman:ceiling-plan-beams

Conversation

@ffishman

Copy link
Copy Markdown
Contributor

Requested by Rodrigo

Fixes #150.

What

A reflected ceiling plan now sees the beams and columns over its cut, up to the ceilings:

  • a beam or column whose bottom is over the ceiling plan's cut (2300 mm) and under the view range's top is drawn by its outline, in projection;
  • one lying above a ceiling that covers it (at or under its bottom, its middle inside the ceiling and not in one of its openings) is hidden by that ceiling;
  • one the cut passes through is drawn cut, as before.

So a beam hanging below a plastered ceiling (the soffit step everyone sees in an apartment) shows on the ceiling plan, and one hidden above a lowered ceiling doesn't. Floor plans are unchanged.

How it was checked

  • New test render::tests::ceiling_plans_see_the_beams_over_their_cut_up_to_the_ceiling, with three beams:
    • one hanging below a 2600 mm ceiling is drawn, and picked by its outline's edge;
    • one above the ceiling is hidden;
    • one outside the room, over no ceiling, is drawn.
  • cargo fmt, cargo clippy -p bimcraft-core --all-targets -D warnings and cargo test -p bimcraft-core (896 passed) all pass.
  • The README's Views row says so.

🤖 Generated with Claude Code

A reflected ceiling plan drew a beam only where its 2300 mm cut passed through it. One hanging between the cut and
the ceiling, which shows below a plastered ceiling as a soffit step, wasn't drawn at all. It now draws the outline of
every beam and column whose bottom is over the cut and under the view range's top, in projection, unless a ceiling
it lies above covers it.

Fixes IPedrax#150.
cargo i18n update after the ceiling plan's beams; no text changed.
# Conflicts:
#	translations/project/bimcraft-project.pot
#	translations/project/es.po
#	translations/project/pt.po
#	translations/ui/bimcraft-ui.pot
#	translations/ui/es.po
#	translations/ui/pt.po
#	translations/ui/zh.po
@IPedrax
IPedrax force-pushed the ceiling-plan-beams branch from 5ddfdd4 to fdb5aee Compare October 29, 2026 18:52
@IPedrax
IPedrax merged commit c8c153c into IPedrax:main Oct 29, 2026
IPedrax added a commit that referenced this pull request Oct 29, 2026
ffishman added a commit to ffishman/BIMCraft that referenced this pull request Nov 20, 2026
Each fails under a deliberate break that the tests let through before: a range from 0 holds 0, and each row answers at its
own upper end (and its demand's), in every utility's table and by every method (IPedrax#484, IPedrax#474); each building method at its
least number of dwellings and not one fewer (IPedrax#483); an outdoor rule asks it of outlets only, whatever kinds a code lists
(IPedrax#359); a room with its outlets and no light point is short, and enough once its light is drawn (IPedrax#280); a 3D file over the
limit refused by its size, before it is read (IPedrax#393); only a common property set has the status the export writes (IPedrax#291); a
beam at the view range's top is seen, and hidden by a ceiling there (IPedrax#153); Run Script says a single warning (IPedrax#391).
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.

[Bug Report] Ceiling plan doesn't draw beams between its cut plane and the ceiling

2 participants