Jump to content
Developer Wiki and Function Reference Links ×

loft surfaces creation


Paolo

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
Link to comment

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.

Link to comment

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.

×
×
  • Create New...