So, i have done some researches about sharing IfcOpeningElement with different elements.
First of all, it's more correct to say IfcOpeningElement because actually IfcVoids doesn't exist (there is the IfcRelVoidsElement that refers to the relation) and IfcOpeningElement refers to the object that represent the void.
I found also some threads on building smart that can be helpful:
In particular, in the second link i found a tip that helped me: there must be two different IfcOpeningElement, one for every IfcElement, but these two elements can share the same Object Placement and Representation.
So i tried to implement this function in BBim and actually it worked!
For now, i've done only a script and a bit of code changes in BBim but i want to make an operator and do a PR with this feature :-)
Ok, so i have managed to create a draft about this feature. I have called it "clone opening".
It has been merged here and in the PR there are some simple instructions that explains how to use it.
The feature is still in draft so it needs to be improved, but it can be used and feedbacks are welcome :-)
Comments
I added parametric door geometry to a door from DT01 from the demo library
Reported the issue here: https://github.com/IfcOpenShell/IfcOpenShell/issues/3533
So, i have done some researches about sharing IfcOpeningElement with different elements.
First of all, it's more correct to say IfcOpeningElement because actually IfcVoids doesn't exist (there is the IfcRelVoidsElement that refers to the relation) and IfcOpeningElement refers to the object that represent the void.
I found also some threads on building smart that can be helpful:
In particular, in the second link i found a tip that helped me: there must be two different IfcOpeningElement, one for every IfcElement, but these two elements can share the same Object Placement and Representation.
So i tried to implement this function in BBim and actually it worked!
For now, i've done only a script and a bit of code changes in BBim but i want to make an operator and do a PR with this feature :-)
Ok, so i have managed to create a draft about this feature. I have called it "clone opening".
It has been merged here and in the PR there are some simple instructions that explains how to use it.
The feature is still in draft so it needs to be improved, but it can be used and feedbacks are welcome :-)
@Massimo does this work anymore? I can't seem to get it to work anymore.
@theoryshaw i have to check, i don't know. Maybe it was dismissed in favor of "duplicate opening"
@theoryshaw , @Massimo
not working here (Bonsai v0.8.3 - 250526)
but the "aggregate method" is OK
https://github.com/c4rlosdias/Open_BIM_Academy_Tools
Awesome! I think this should be incorporated into BB!
Maybe add other types besides just walls?...
https://github.com/c4rlosdias/Open_BIM_Academy_Tools/pull/1/files
...
Also, i noticed when i duplicate a window, and try to do the same thing, it doesn't work.
Maybe i'm missing something, but isn't the @c4rlosdias script doing the same as "clone opening"?
yeah maybe... didn't really look into it yet.
Now is working good!
Cool.
@c4rlosdias I added some more to the pull request, if you fancy it...
https://github.com/c4rlosdias/Open_BIM_Academy_Tools/pull/1