I have a surface (facade which contains windows) and polylines which make another surface group (extended windows). I want to subtract the extended windows from the facade surface. I am using Solid Difference but it is only subtracting the extended portion of the windows, not all the windows. I intended to get the facade surface subtracted totally from the windows as well as their extended portion and get the end result in the form of a polyline which is failing. Your help will be much appreciated.
(Please ignore one window surface that is missing)
Kim, I tried to add some additional curves into the script, however, the Region Difference node is not working. Initially, the error was " Solution exception:Object reference not set to an instance of an object" and I thought it was due to a polyline that was not closed, and after improving it, it still does not work.
Could you please have another look at it?
Thanks very much for your time and help!!!
According to your data status, it seems you don’t quite understand the concept of data tree and data matching.
You have completely different two lists of data trees for region diff operations, and this kind of behavior is not recommended in GH in general…
I don’t want to respond to every other variation from you because I have no idea how your walls and windows are created. I can only give you advice that you are better off starting your project with nice and well-organized (ie. by preparing the same data tree structures for walls and windows)initial data from the first place.
Attached is a kind of brute force example for this and I can’t guarantee that It always work for your future variations further down the road.
I am happy that you mentioned the underlying issue which I did not have any grasp on. I will now try to build my knowledge and explore in depth how data structure works.
Thank you for pointing this out! It’s better for me to address the root cause instead of posting differing questions.