Jump to content

custom curve resampling


Recommended Posts

Hi there,

Was wondering how I could get the following outcome.

If I have a curve which looks like https://picasaweb.go...feat=directlink

I would like to resample each of the straight lined segments in following manner, If segment 0-1 is 8 units long, then it should have 9 points placed at intervals of 1 unit, starting at position 0. https://picasaweb.go...feat=directlink

In case, If the segment was say 8.4(float value) units long, then it would still have 9 points placed at intervals of 1 unit, but starting at position 0.2 so that it would look like, https://picasaweb.go...feat=directlink

In case of the curved segment, from 4-11, It should consider all the segments between 4-11, as one single segment and resample it in the above manner.

This is beacuse I want to preserve the shape of the curve and at the same time distribute points on the curve at intervals of 1 unit distance. So that geometry of 1 unit size can be instanced on the curve later on.

Thank you.

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