As you can see above in some cases I am not able to get the volume, while in some other I get a strange brep with a dense region within the volume.
I hope someone can help me to fix this issue, here the rhino and grasshopper files: Touching breps.3dm (14.0 MB) Touching breps.gh (318.1 KB)
Hi @Quan_Li !
Thank you very much for your help! This is really interesting! And yes, it is heavy
I was wondering a couple of things:
Is it possible to get the same solution starting from each brep instead of the bottom surface as I did in my example and as you also suggested in your solution?
I have seen that you used the scale component, I guess to avoid edges and vertices touching that may lead to the problems I got. However, that slightly changes my geometry and it may be a problem. So far, I adapted your script using 0.997 instead of 0.99 as scale factor to reduce as much as possible the differences between the starting breps and the resulting ones. Do you think it is possible to get the same final result without slightly modifying the breps?
This problem has been bothering me for a while, so I tried. No closed Brep without changing the size of the cutters.
This result is closed meshes.
There are many veteran GH users on this forum, if you need, summon their help.
Thank you @Quan_Li . I need closed breps so I think I will go for the first solution you suggested which is using the solid difference instead of the trim solid. I checked and the heaviness of the workflow is due to the final component but I think I will go with that anyway for the reason I mentioned. I will also use the scale and I will modify the size as little as possible.
I will mark your last reply as solution anyway because it does the job.
I would like also to thank @Everhard for the interesting suggestion.