Jump to content

How can I create a surface from two curves...?


Masoud

Recommended Posts

Hi Masoud,

unless this is an academic exercise, you could just set polyexpand to 'surfaces' or simply use a polyextrude 'inwards'. Otherwise try

  • joining each curve so it's one primitive per curve,
  • reverse the winding order on one of them so they match, and
  • interpolate a geometry of choice between both curves:
vector bb = relbbox(0, v@P);

vector pos_crv_0 = primuv(1, 'P', 0, bb.z);
vector pos_crv_1 = primuv(1, 'P', 1, bb.z);
vector pos_blend = lerp(pos_crv_0, pos_crv_1, bb.x);

v@P = pos_blend;

 

Curve_interpolate_KM.hipnc

  • Like 1
Link to comment
Share on other sites

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.   Paste as plain text instead

  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...