reeson Posted January 13, 2019 Share Posted January 13, 2019 Hi. I'm trying to resample connected lines, that were partitioned. The problem is, that when I set the max. segments, the points don't get distribute evenly. More of them accumulate on the sides. I'm attaching the hip file, so you can see what I'm mean. Cheers! resample_issue1.hip Quote Link to comment Share on other sites More sharing options...
Noobini Posted January 13, 2019 Share Posted January 13, 2019 (edited) it's because of your points order....turn on point numbers and you'll see. As an example, say on the left side you have a line with pts 0-1, with 1 being the 'innermost'. Then on the right you have a matching line with points say 31-30...with 31 being 'innermost'.....when you create a new long line, it joins 1 to 30...which is OUTTERMOST, then it goes back in to point 31......it's out of whack. In my file, you can use a simpler test case on the left, with just one line so you can easily observe the numbers, so imagine adding points 0-1-2-3 to create a long line, you can clearly see using add won't work, join will. Haven't tested exhaustively....but the issue is the points order....get that right, resample will work. vu_resample_issue1.hiplc Edited January 13, 2019 by Noobini Quote Link to comment Share on other sites More sharing options...
reeson Posted January 13, 2019 Author Share Posted January 13, 2019 I see now. It's just that I'm following this tutorial, where this guy connected lines with add, and resample worked just fine, but before that he had to rotate the grid, which I also did... Anyway, thank you! Quote Link to comment Share on other sites More sharing options...
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.