T
by theoryshaw on 27 Mar 2025, edited 29 Mar 2025
#
+8 votes
I think IfcSpaces should not be hardcoded to not print on drawings.
There are use cases for making drawings that just show spaces, like early diagramatic spatial studies and/or other types of color coordinated spatial plans.
...
Is it just a matter of removing this?
https://github.com/IfcOpenShell/IfcOpenShell/blob/031540e982337b82eab5d8d5f50402cb78796feb/src/bonsai/bonsai/tool/drawing.py#L1816C13-L1816C89
...
thoughts?
N
by Nigel on 27 Mar 2025
#
+1 votes
@theoryshaw said:
I think IfcSpaces should not be hardcoded to not print on drawings.
...
thoughts?
I agree, hardcoding to not print seems like a proprietary software behaviour.
Default to not print but allowing the user to choose otherwise
J
by JanF on 28 Mar 2025, edited 28 Mar 2025
#
+6 votes
But they do print? They are just set to be transparent by CSS, just the other day I made a color coded plan.
The only thing that bothers me is that they print on the top so you have to make them partly transparent to show your furniture.

T
by theoryshaw on 28 Mar 2025
#
i might be missing something, but i can't get the following space to show in the drawings.
T
by theoryshaw on 28 Mar 2025
#
+2 votes
i was able to do some tests.
For an IfcSpace to show up, the drawing needs to 'cut' it.
They don't show up in projection, as the following video illustrates.
...
There's a weird behavior too, where if IfcSpace is the only object in the drawing, it will not show up. This is illustrated later in the video.
J
by JanF on 29 Mar 2025, edited 29 Mar 2025
#
Ok. I don't see any use case for showing spaces in projection, but it is rather arbitrary.
The order of elements bothers me though., especially because it can't by changed by css z-index in svg.
By the way, does this work for you? https://github.com/IfcOpenShell/IfcOpenShell/issues/6405
T
by theoryshaw on 29 Mar 2025, edited 29 Mar 2025
#
+11 votes
A couple drawing examples that would require seeing ifcspaces in projection.



O
by Owura_qu on 29 Mar 2025
#
+2 votes
It would be great to see Bonsai with the capability to generate a colour scheme with spaces. What I do is use spaces to set a light tone colour for floor plans. The only problem with that is the door openings are not filled with spaces so they don't get shaded thereby leaving these white spaces wherever the door openings are.