Kinked and folded curves - split


(David Cockey) #1

I need to split planar curves which fold back on themselves at the fold using Rhino commands. An alternative would be snap to the fold. Two simple examples in the attached file. FoldedDC01.3dm (32.7 KB)

(Pascal Golay) #2

Hi David - the best I’ve been able to do so far is use Split > Point and drag as far as I can go off the ‘end’ without getting the no-no cursor and click…


(David Cockey) #3

Thanks Pascal. That is also the best I can do, but I’m hoping for something with guaranteed results. Dragging to the end usually works but you have to be careful.

(Tom) #4


hope this helps. You can open it up in PythonScript (1.2 KB)

(Tom) #5

I only spend 15 min on this so I know that this is far from a reliable command, but at least you could have had a look on it, so that it serves as a proposal for further work. The basic idea is to look for cp arrangements which are close to antiparallel, and getting the cv where it flips and its closest parameter. Greville point should have worked here in first place, but for some weird reason it was not the closest point to that cp, so I had to use “curve closest point”

Developable surface - exact ruling lines from edge curves
(Pascal Golay) #6

nice idea! That should work.


(David Cockey) #7

Thanks for the script. I need to study this to understand it.

“cv” is shorthand for ???

(Pascal Golay) #8

‘Control Vertex’ (= control point, = cp as well, in that post, as far as I can see)


(David Cockey) #9

@TomTom 's method is very clever. (Meant as a compliment.) The curves in my file were created by projecting curves onto a plane, and the kink generally does not lie at an edit/Greville point.