cbfs Posted June 5, 2023 Share Posted June 5, 2023 I have a curve that I'm peaking, but when the peak value gets too high, the points overlap themselves. Is there a SOP or common technique that can remove these points as they occur and keep the line similar to it's original shape? I tried setting up a for loop that applies the peak incrementally, and fuses points when they get too close, but there were cases where the overlapping points never got within a reasonable fuse distance, so it wasn't a reliable solution. I've noticed the polyexpand node does handle these overlaps, but I only need a single curve as the output, and it also pushes the first and last points outwards. Any help would be much appreciated! Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 6, 2023 Share Posted June 6, 2023 @cbfspost that file ..Please. Quote Link to comment Share on other sites More sharing options...
cbfs Posted June 6, 2023 Author Share Posted June 6, 2023 @Librarian Here you go overlapping_curve.hipnc Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 6, 2023 Share Posted June 6, 2023 (edited) @cbfs overlapping_curveFix.hipnc Edited June 6, 2023 by Librarian Quote Link to comment Share on other sites More sharing options...
cbfs Posted June 6, 2023 Author Share Posted June 6, 2023 3 hours ago, Librarian said: @cbfs overlapping_curveFix.hipnc 193.8 kB · 1 download Works perfectly! If you're happy to, could you explain how it works please? I had a look but it's a bit above my understanding Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 6, 2023 Share Posted June 6, 2023 Yes I'm happy ...It works like For-each by distance in direction of that BiTangent -Normal with 'imaginary' ray of correct Placed center of that normal .... and it always stay True. Therefore second peak work correctly .. Now my professor could say to me sit down 2.. I'm not so good at explaining sorry. Quote Link to comment Share on other sites More sharing options...
vinyvince Posted June 21, 2023 Share Posted June 21, 2023 You are going to have some trouble with this method as soon as your input curve is a little move complex (PicB). You will have better chance by building the parallel transport of your curve. here i just use a sweep . (PicA) Orient along curve could help you to do that Orient along curb 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.