Thank you for this approach. I can see the potential behind this one. Since I have some other curves from CAD_A and CAD_B need to morph, I am still seeking for rather general approach to this topic. The partition list divide to the 2 way is clever, but I am afraid it will not suitable for the other matching CAD curve situation.
For say, I also need to consider about the size of the detail drawing like this part.
Thank you for your reply. I agree with you, but it’s just a piece of drawings about the whole CAD file. There’re around 10000 curves in totally. Since it’s so detailed, I couldn’t select it cleverly just by clicking. That’s why I thought I need a sorting approach for my problem.
But still, your opinion is right to the point. Appreciate it. Thanks.
don’t know if the following is a real step forward (a bit confused for sure…)
shape in brep on the pipes generated on the axis of the rods might be one way to rebuild a tree where each branch has only the elements of a given rod
→ group marked “1”
at this point I thought an oriented bounding for each group of lines could do the trick, in such a way to create a new fake axis that travels in a non perfectly non-longitudinal way along each group (in such a way it would be easier to sort what is on the left and what is on the right of each fake-axis)
original curves are then sorted along curve using this fake axis:
the tweening each curve with its relative, and also the flipped version of its relative (I thought I could then cull them based on final length, because artifacts would have a very different length from the original) … but the final -unculled- tween is still weird in some points
Thank you so much. That’s what I wanted. Sorry for not being clear about my intentions. Yes, morphing smoothly using tween curves was what I meant.
Thank you, Mr. Inno and Mr.Martin. Appreciate it.
Some relative topics I’ve been thinking about these days is Point-set registration - Wikipedia. I think the current solution is only suitable for this specific CAD, which is already did a great job(HUGH THANKS), but I am wondering if anyone have done this in Grasshopper before.
Given two group of unsorted points(location).
Probably with some picture recognition for some aided reference points, make the point-set pair match. If there’re relevant topics, experience, libraries, or algorithms ever been implement in GH or .NET, I would like to dive in a bit deeper. Thanks