herbieherb Posted September 3, 2018 Share Posted September 3, 2018 I want to do a planar boolean intersect object operation with two lists of objects. I got two lists of objects: A1 B1 A2 B2 A3 B3 ... ... What i want to do is to intersect them like: A1 with B1 A2 with B2 A3 with B3 ... When i just input list 1 and list into the hBlank and hTool inputs of planar boolean it seems to intersect them like: A1 with B1, B2, B3, ... A2 with B1, B2, B3, ... A3 with B1, B2, B3, ... ... Quote Link to comment
herbieherb Posted September 19, 2018 Author Share Posted September 19, 2018 This is what i did for now. Unfortunately the network does only work with a certain amount of inputs. So if you have any other suggestions, I'd be very grateful. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted September 19, 2018 Vectorworks, Inc Employee Share Posted September 19, 2018 I have created a version of the node that I think might work for you. I have added a dropdown menu that allows you to choose whether to cross reference or to compare lists. For brevity's sake, I only added the option of "shortest list" so if one list is longer than the other, the extra of the longer list will be ignored. PlanarBoolean.vwx 1 1 Quote Link to comment
herbieherb Posted September 19, 2018 Author Share Posted September 19, 2018 Thx a lot @sbarrett. Here is the marionette i made to work thanks to your custom node: gradient offset Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted September 20, 2018 Vectorworks, Inc Employee Share Posted September 20, 2018 @Antonio Landsberger pointed out that the node I made doesn't produce an output in the shortest list mode so I updated it. Here is the updated node. PlanarBoolean.vwx 2 Quote Link to comment
mgries Posted January 21, 2019 Share Posted January 21, 2019 @sbarrett, could this be reworked so that the "A" polygons were on one design layer named "A", and the "B" polygons were a second design layer named "B", and then the resultant geometry gets placed on a 3rd layer? I'm thinking about how this may be applicable to creating and defining exst/demo/new surface areas on a site plan. Thanks, Matt Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 23, 2019 Vectorworks, Inc Employee Share Posted January 23, 2019 From a scripting standpoint, I think you could easily put these objects in separate classes. Putting them in separate layers can be a little trickier, because the created geometry is always placed in a group and that group will be placed on the active layer, no matter what layer the objects INSIDE the group are on. The way around this would be to place your starting objects on the layers that you want them on, and then run your script with the active layer set to the layer that you want those objects placed on. You can do this within the script with classes using the Set Class node from the attributes folder, or with layers using the Set Layer node from the Layers folder. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.