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 :-)
It was not merged in BB, @c4rlosdias just merged it into his repo.
I'm not 100% knowledgeable enough to merge it into BB. I would think it would need to be reconciled with @Massimo's bim.clone_opening, as well.
This is pretty similar to what I am still fighting with.
(You are missing "Blender", for me it is missing "Helper" or such things. Sometimes in the Warnings, the Path even points to Blender in Application Folder ...)
Haven't figure out exactly why yet...
Me too. Or which AddOns exactly conflict.
With a clean install from scratch, get all AddOns working nicely beside each other for a while. On the other hand, hiding my potential corrupt Settings or Startup file does not really help though. Maybe the conflict is caused by a mixture of all three.
Especially pity for these Tools.
As I think the possibility to assign Cut Volumes from Doors or Windows to multiple BIM Objects ("sharing voids") would be one of the most interesting features in BIM. As it would allow to model Structure and Finishing Layers separately, which would save from "redundant" Wall Styles/Compositions.
(Which you currently need if one of the outer or inner finishing layer changes, although it would be the same structural Wall ....)
Good question, yes, i could open it again. Was just going to try and troubleshoot on my side a little more, before sending someone down the rabbit role. ha.
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
Thank you!
@theoryshaw
the PR looks merged, how does it work please?
Here you go..
the slab doesn't update right away, you need to tab into it.
I'll have to look at that....
Just a word of warning, i 'think' applying one void to multiple objects is not currently allowed in schema...
https://github.com/buildingSMART/NextGen-IFC/issues/87
It looks, however, that it will in the future.
@theoryshaw
BIM academy tools? I'm confused, I thought it was merged in the latest unstable release
thanks
It was not merged in BB, @c4rlosdias just merged it into his repo.
I'm not 100% knowledgeable enough to merge it into BB. I would think it would need to be reconciled with @Massimo's
bim.clone_opening
, as well.Parking the following AI response here, because
Open_BIM_Academy_Tools
seems to conflict with Bonsai.Haven't figure out exactly why yet...
....
https://chatgpt.com/share/685346c7-df94-8013-9a16-a66bc226b69a
Oh, why did you close the issue ?
This is pretty similar to what I am still fighting with.
(You are missing "Blender", for me it is missing "Helper" or such things. Sometimes in the Warnings, the Path even points to Blender in Application Folder ...)
Me too. Or which AddOns exactly conflict.
With a clean install from scratch, get all AddOns working nicely beside each other for a while. On the other hand, hiding my potential corrupt Settings or Startup file does not really help though. Maybe the conflict is caused by a mixture of all three.
Especially pity for these Tools.
As I think the possibility to assign Cut Volumes from Doors or Windows to multiple BIM Objects ("sharing voids") would be one of the most interesting features in BIM. As it would allow to model Structure and Finishing Layers separately, which would save from "redundant" Wall Styles/Compositions.
(Which you currently need if one of the outer or inner finishing layer changes, although it would be the same structural Wall ....)
Good question, yes, i could open it again. Was just going to try and troubleshoot on my side a little more, before sending someone down the rabbit role. ha.
If you can find the culprit yourself, even better.
I try so for weeks and will start another clean-from-scratch attempt later today :)