Paolo Posted December 15, 2003 Share Posted December 15, 2003 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 Quote Link to comment
kiwi Posted December 15, 2003 Share Posted December 15, 2003 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. Quote Link to comment
Paolo Posted December 16, 2003 Author Share Posted December 16, 2003 Thank you very much for your information. I wonder why do not mention this simple information in the VectorScript function reference... Paolo 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.