Fix points positions like in example

   2345   3   1
User Avatar
Member
538 posts
Joined: Dec. 2006
Offline
Hi. I need to fix point positions procedurally like in this image:
http://i.imgur.com/BJGvReX.png [i.imgur.com]

Any ideas?

Attachments:
fix_pts.hipnc (54.8 KB)

https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
678 posts
Joined: July 2005
Offline
How about this?

Attachments:
fix_pts_FIXED.hipnc (91.4 KB)

User Avatar
Member
538 posts
Joined: Dec. 2006
Offline
Thanx But look at this: http://forums.odforce.net/topic/22941-fix-points-positions-like-in-example/ [forums.odforce.net]

One moment is that source polygons may be not so flat as in example.
And transitions of points need to be smooth between first and last points. At center V-sections (vertical edges) must be more flat than at start or end…

I think I found solution. Something like:
1. Give dot product from point to vertical neighbour and dot product from point to next point
2. Fit result value from start and end points dots, using point ration on full points path
3. Move point to next point with fited value

Need some tests. Still want to see any solutions
Edited by - June 5, 2015 06:17:00
https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
538 posts
Joined: Dec. 2006
Offline
http://i.imgur.com/YPxulzH.png [i.imgur.com]
https://gumroad.com/alexeyvanzhula [gumroad.com]
  • Quick Links