Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
Fairfax

Problems with Lofting in Marionette

Recommended Posts

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]

Share this post


Link to post

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 by Hippocode

Share this post


Link to post

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.

Share this post


Link to post

All I had to do was reverse the direction of the middle curve, thank you!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×