Fairfax Posted April 10, 2016 Share Posted April 10, 2016 (edited) Hello, I am trying to create a series of shelves, or "ribs" where the front profile is defined by a lofted surface. i.e., the profile of the shelves will vary by elevation, and their profile will be defined by this lofted surface. I want to do this in Marionette (already have a script that lofts the curve from 3 NURBS), but, to start, how does one do this manually? I've created a sample file with two versions, one with the profile curve as a generic solid, one as a NURBS curve. The shelf section is 1" thick, a NURBS curve in both cases. It seems like the "Project" tool in "Add" mode should do what I want, but I can't get anything to work. I've also tried this with two solids in Add, Subtract, Intersect, etc. Any help would be appreciated! Thanks, Graham PS - I've added pdfs of what happens when I try to use "Intersect Surface." It gives me the correct front profile, but no shelf behind it. Edited April 10, 2016 by Fairfax Quote Link to comment
Fairfax Posted April 11, 2016 Author Share Posted April 11, 2016 I got some help, but not out of the woods yet. The "Project" tool does not trim the extra part of the polygon/NURBS curve which is being projected that extends beyond the profile. In fact, it won't project unless the polygon/NURBS curve to be projected is within the profile it is projected onto. That is one issue to deal with, which could make for tricky Marionette scripting. The second is that it's not clear to me that Marionette even features the proper "Project" tool, as I've noted in another post here. The only "Project" tool I located was in the "Points" section and it does not take a solid and a polygon/NURBS curve as inputs. Something about all this rhymes with "hugs!" ;-) Quote Link to comment
Fairfax Posted April 11, 2016 Author Share Posted April 11, 2016 I just heard back from a VW Marionette expert (thanks Sarah!) to try the "Contour" function, which also has a node in Marionette. This is a bit cumbersome because it creates NURBS curves which then need to be converted to polygons to "trim surface" the shelf polygons, which are then extruded, unless there's a more streamlined approach. Thanks! I am having trouble getting the "Contour" node to work. How do you compute the "point" and "dir" input values from/for a given NURBS surface? Quote Link to comment
Fairfax Posted April 11, 2016 Author Share Posted April 11, 2016 I've attached a VW file with a couple attempts at getting the "Contour" node to work. I don't know if there's another bug I'm dealing with or just a "short between the earphones" as it were! Quote Link to comment
Marionette Maven Marissa Farrell Posted April 11, 2016 Marionette Maven Share Posted April 11, 2016 You'll most likely want to leave "dir" alone, the default value will split the surface horizontally. I'm having a hard time producing an object that will extrude, though. Usually when we use contours, we use it on an object that would produce a closed shape, in this case, it's not really doing that well since you're just doing a surface that was converted to a generic solid. I'll keep poking it, but I feel like this workflow is probably not going to produce the results you want. Quote Link to comment
Marionette Maven Marissa Farrell Posted April 11, 2016 Marionette Maven Share Posted April 11, 2016 (edited) So here's as helpful as I can be at the moment. I've mocked up an example using a Hemisphere and contouring to produce "shelves" throughout it. (you'll have to use your imagination on the shelling of the hemisphere ) Your output will be a little trickier, as you have a more difficult contour result. I would suggest attempting to add a vertex on each poly (after converting from your NURBS) to prevent the crossover you'll probably encounter. If I wasn't descriptive enough here, feel free to reach out to me directly (either through a message here, or by email - which you can find in my profile) Edited April 11, 2016 by MarissaF Quote Link to comment
AlanW Posted April 12, 2016 Share Posted April 12, 2016 (edited) Hi, This got me thinking again and my shelving test seems to work in some areas and not others. Maybe someone can see a better solution. Thanks Edited April 12, 2016 by Alan Woodwell Quote Link to comment
Marionette Maven Marissa Farrell Posted April 12, 2016 Marionette Maven Share Posted April 12, 2016 Hey Alan! Thanks for bringing this up. I, too, have been encountering the problem when converting to Polygons. It appears that some shapes when converted are actually being created as MULTIPLE polygons (you can think of it as each line is now a separate object) and we don't have a "compose" node to fix this problem (something I'm working on, I promise). I'm not sure what the circumstances are that the conversion fails, as you and I have noticed, it DOES work in some cases, but fails in many others. You're not doing anything wrong. We just have something weird going on with the back end of all of this. I'll look into it further. Thanks! Marissa Quote Link to comment
AlanW Posted April 12, 2016 Share Posted April 12, 2016 Hi, I think a solution lays in the use of the create surface from curves node as it worked manually creating these shapes, but I cant figure out how to use it or fit it not the network. I am sure you can assist. Thanks Quote Link to comment
girwin Posted December 10, 2016 Share Posted December 10, 2016 Hello, It's been a long time (I've been distracted by work, life, and a major house renovation) but I still have an unfinished architecture studio awaiting a solution to this. Does anyone have any ideas? Thanks, Graham Quote Link to comment
AlanW Posted December 10, 2016 Share Posted December 10, 2016 Hi, You might want to put an image back in as to what you are after, and one of us will see if we can create the network for you. Attached a lofting shelf option for you to play with. Simple shelving can be achieved a number of ways, Place an image and we can see what we can do. HTH Loft & Shelves-01 v2017.vwx Quote Link to comment
girwin Posted February 27, 2017 Share Posted February 27, 2017 (edited) Alan, Here's the general idea. The shelves in the back corner have their front profiles defined by a lofted surface, the surface defined by three NURBS curves. I want to be able to adjust the three curves and run the script, so that I can iterate easily and come up with a visually pleasing result. Thanks, Graham sample parametric shelves.pdf Edited February 27, 2017 by girwin Quote Link to comment
girwin Posted February 28, 2017 Share Posted February 28, 2017 Here's a script that lofts a surface from three NURBs curves and attempts to make contours from it, but it has an error. Any thoughts? The contour function seems to cut contours vertically, rather than horizontally, as I need, but perhaps that's due to the error.parametric shelves v2017.vwx Thanks, Graham Quote Link to comment
AlanW Posted February 28, 2017 Share Posted February 28, 2017 (edited) @girwinHi, If you simply want to loft a few Nurbs curves detach the network at the point in the image attached. Attached is another lofting network that may help. Loft_Example.vwx Edited February 28, 2017 by Alan Woodwell Quote Link to comment
AlanW Posted February 28, 2017 Share Posted February 28, 2017 (edited) @girwinHi, I think these will be what you are after. they create shelves from different lofted shapes. It all depens on the type of object you start with and how you change it through the network. Will do a video on the process and post it on my you tube channel. Lofting Shelves.vwx Edited February 28, 2017 by Alan Woodwell 1 Quote Link to comment
girwin Posted March 2, 2017 Share Posted March 2, 2017 Alan, This is great, thank you! I'm going to play with it a little bit and try to introduce a third polygon into the loft - I'll keep you posted. Regards, Graham Quote Link to comment
AlanW Posted March 2, 2017 Share Posted March 2, 2017 Hi Question, If I loft the Torus subdivision i get a slither of shelves and if i convert to poly I get a fill circle and open circle. How would I get full shelves out of Torus?? tHANKS Lofting_Shelves.vwx Quote Link to comment
girwin Posted March 15, 2017 Share Posted March 15, 2017 I've made some progress. Alan, I modified your network to use three polygons to create the lofted surface. I've created three networks, one complete and the other two split, so that one creates the lofted surface and the other creates the shelves. Two problems remain: 1) The "loft" command in Marionette doesn't seem to work for the polygons I've created. Running the second network (to create the loft) will show you what happens with the Marionette command. I've included a manually created loft to illustrate the difference. 2) The network portion that uses the contour node to create the shelves doesn't create a shelf at the bottom of the surface. Running the third network uses the manually created surface to create the desired result. It would be nice if one network could do the whole thing. Any insight would be appreciated. Thanks, Graham Lofting Shelves v2.vwx Quote Link to comment
AlanW Posted March 16, 2017 Share Posted March 16, 2017 @girwinBoy, that took a few hours of patience to figure this out. Seems that the issue was the lofts were crossing over and getting out of order. Solution was to use one shape and stretch it to fit the shape i wanted. Seems the starting point of the poly needs to be at the same point and the direction needs to go the same way. See the attached. Lofting Shelves v2-AW.vwx Quote Link to comment
girwin Posted April 24, 2017 Share Posted April 24, 2017 I'll try that, thanks! Any thoughts as to how to get the bottom shelf to appear? i.e. at the very bottom of the loft surface? Quote Link to comment
AlanW Posted April 24, 2017 Share Posted April 24, 2017 (edited) @girwinHI, Change the bottom Elevation setting to Zero. (Bottom Left Node) It sets what level the bottom shelf starts. You can type in a negative number to get it to start below zero. Edited April 24, 2017 by Alan Woodwell Quote Link to comment
girwin Posted May 9, 2018 Share Posted May 9, 2018 (edited) Alan, It's taken a lot of time, and much more fiddling, but I finally got a result I like. Thank you so much for your assistance. I'm happy I automated this process because it took quite a few tries to get the desired result. Regards, Graham Edited May 10, 2018 by girwin Replaced pdfs with screenshots 1 Quote Link to comment
AlanW Posted May 10, 2018 Share Posted May 10, 2018 (edited) @girwinHi, Great to see you got the results you were after. The process pdf & 1 look great, the other #2 pdfs i cant open. Now you have this network you can use it as a template to do more. If you have any other things you want to automate happy to look at it. Edited May 10, 2018 by Alan Woodwell Quote Link to comment
girwin Posted May 10, 2018 Share Posted May 10, 2018 (edited) The other two were views of the iterations of shelves - glad I didn't do it manually! The process was really quite subtle; small changes make a big difference in the result and/or crashed the script after lofting a curve that couldn't be contoured. I updated my post with screenshots instead of pdfs so the images appear inline. Now I need to build this! Thanks again! Edited May 10, 2018 by girwin Quote Link to comment
girwin Posted May 16, 2018 Share Posted May 16, 2018 Alan, Funny you should offer! I'm trying to turn this toward designing a bench and can't seem to change the direction of the contours (I'd like them to run in the Y direction in plan view.) Also weird, when I tried to put the script above into my main design file in VW, it changed the direction of the contours and I couldn't adjust it, so I had a separate VW file, working properly, to generate the geometry and I pasted it into the other file. parametric_bench.vwx Here's one more perceptive of the studio. 1 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.