Jump to content
Sign in to follow this  
Paolo

loft surfaces creation

Recommended Posts

Is there anybody here who have used the procedure

code:

CreateLoftSurfaces(groupCurvesHd:HANDLE; bRule:BOOLEAN; bClose:BOOLEAN; bSolid:BOOLEAN):HANDLE;  [/code][/indent]

What is the groupCurvesHd parameter? I have two nurbs each in one handle (h1 and h2). How can I pass them to the above procedure?

The VectorScript manual provides no example for this.

Thank you in advance.

Paolo

Share this post


Link to post

He works the same way that on the 3D pack tool.

You need to create a group and include on it your handles: the handle to the group is your first parameter...

The 3 booleans correspond to the options, rule the surface, close the surface, a solid surface (see reference for more help).

Something like:

DSelectAll;

SetSelected(h1);

SetSelected(h2);

Group;

h:=LNewObject;

h:=CreateLoftSurfaces(h,true,false,false);

They are many ways to create a group, but the order is important( surface: h1 to h2 to h3...). Sometimes the results are not the expected, and play with the direction of the curves helps. Remember to recalculate the BBox for your surfaceand Redraw.

Share this post


Link to post

Thank you very much for your information.

I wonder why do not mention this simple information in the VectorScript function reference...

Paolo

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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.

×
×
  • Create New...