Fairfax Posted March 21, 2016 Share Posted March 21, 2016 Hello, I am trying to write a script to loft a surface in Marionette from three NURBS curves. Basically, it pulls the curves from the drawing by name, groups them, and lofts them. The resultant surface is not what I want, nor what I get when lofting manually (see attached image and VW file.) I have tried rearranging the order of the NURBS curves grouping but it makes no difference. Any thoughts? [/img] Quote Link to comment
Hippocode Posted March 21, 2016 Share Posted March 21, 2016 (edited) When using the loft function there are some settings that can be setup, does your node use the same settings as when you do it manually by the provided tool? Also, try to (if possible) to keep the number of vertexes between different profiles the same, as this can give some unwanted results. Also the order of vertexes and the direction of each poly can cause deformations. From looking at your example file ( PDF is empty) I'd say it does loft in the correct order (which should be the order of the elements added to the group), but it flips the middle shape. I'd suggest you first try this with 3 simplified shapes and do some trial and error Edited March 21, 2016 by Hippocode Quote Link to comment
DomC Posted March 21, 2016 Share Posted March 21, 2016 Hi If I reverse the direction of the middle curve, and used the "order list" node, to be sure the curves processed the right order, the result is now the same as your "desired" object. Quote Link to comment
Fairfax Posted March 21, 2016 Author Share Posted March 21, 2016 Thanks, I'll try this! Quote Link to comment
Fairfax Posted April 10, 2016 Author Share Posted April 10, 2016 All I had to do was reverse the direction of the middle curve, thank you! 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.