AlanW Posted January 21, 2016 Share Posted January 21, 2016 (edited) Hi, Webinar#01 In your wall marionette network you used a rectangle. But when I change to use say an oval and change the filter # to 4 I don't get the hollow look just solid. Could you guide me in the right direction please. I looked at the appendix for the object numbers and a polyline (21) and the oval did not work, gave error. Would have thought a change from rectangle to oval would work without the Object type change. Added text output to check the object type # just in case i was getting it all wrong. Thanks Edited January 21, 2016 by Alan Woodwell Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 21, 2016 Vectorworks, Inc Employee Share Posted January 21, 2016 Hey Alan- The filter wrapper is there because when you send multiple polys/rectangles/etc to a planar boolean node, it cross references the list and therefore creates a lot of polys that did not get subtracted from each other. This is a flaw in the boolean node that we will hopefully be fixing soon. No matter what geometry you send through, the filter number should remain #21 - the number for polyline. the reason is that the objects you want to keep are the ones with holes cut out of them, and those are always polylines. The filter gets rid of any object that was not booleaned. Therefore an oval should work it the filter number remains 21. I will double check. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 21, 2016 Vectorworks, Inc Employee Share Posted January 21, 2016 Here is the file with a better script. If you convert the ovals to polygons the script works the same as it does for rectangles. Quote Link to comment
AlanW Posted January 22, 2016 Author Share Posted January 22, 2016 (edited) Thanks for this. I tried the convert to poly but had changed the #21 to 4, so did not get the desired result. So what is the difference between a rectangle and oval (ignoring the obvious) Rectangle doesn't need to be converted to polygons but an oval does? Any other anomalies like this with shapes? Regards Love the Random Wrapper such endless possibilities. Edited January 22, 2016 by Alan Woodwell Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 26, 2016 Vectorworks, Inc Employee Share Posted January 26, 2016 Hey Alan, I am not sure why a rectangle does not have to be converted to a polygon - I don't know if the idiosyncrasy is with the oval or the rectangle. Its one of those things that has to do with the basic VW commands that nodes are based off of. I only came upon it when debugging this script. 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.