Hi all, there are more than 200 concrete panels and a large number of steel tubes inside these panels. Is it possible to automatically add these pipes to the panels as sub-assemblies based on analyzing if the tube is inside the panel body? Thanks for your reply in advance
Yes you can do this for sure.
Сan I ask for help in solving this problem? The first problem is to create separate cust units. If I use the following code, I get one cast unit.
The second problem is how to use the results of the analysis of determining the location of the pipe inside the panel. Where to go from here?
And in the “Explode tree” node do I need to manually add all the number of output parameters? What if there are 400 or more panels?
Thank you very much
I didn’t see your attachment. I can’t help you if I want to!
I apologize!
create_cast_units.gh (13.4 KB)
Did I understand you correctly?
create_cast_units_v2.gh (255.0 KB)
Thank you so much for the prompt creation of the code! Сan you please explain how to use it to create cast units in Tekla?
I see roughly the following algorithm: the Tekla model has separate panels and pipes. The program should determine which pipe is inside the panel and then create a cast unit for each panel and pipe included in it
I’m sorry! TEKLA I’m not familiar with, but I guess the logic is the same!
just used the @Yatchun logic & applied here
it might be helpful you you
create_cast_units_revA.gh (11.6 KB)
This is great!!! But when i increase the number of objects, an error creeps in somewhere and some panels are merged together. Is there any way to track this error?
i dont have ur geometry to check it
and reload the script if your adding the items
These are the model objects:
cu_test.rar (23.8 KB)
the uel file is not working just get the breps in rhino t
tekla model objects saved in Rhino:
cu_test.3dm (9.4 MB)
create_cast_units_revA_.gh (19.7 KB)
the code works i have tested it
u need to redo it and wait it take much time to create the assembly but works (4 mins)
create_cast_units_revB.gh (1.1 MB)
Unfortunately, it’s not working for me What am I doing wrong?
Check the data tree u have 48 assemblies
and in the merge component each assembly component u can see
note flatten the Main assembly
this should solve ur issue
create_cast_units_revC.gh (1.1 MB)
It’s working! Thank you so much for your help!