Not entirely sure if ti matches what you are asking, but a similar issue I have had with offsetting curves imported from other packages were the directionality fo the geometry was unknown, was solved by multiplying the offset distance by a vector calculation of the curve to be offset. essentially a check for clockwise or anticlockwise for a curve producing a unitised vector of 1 or -1.
if that sounds like it might be useful ill post it it may be a similar process to follow, vector difference from original to shifted as a multiplication factor jonathon On Feb 9, 10:12 am, Joao <[email protected]> wrote: > Hi. > > I Think i might have posted this question but i'm not sure, it might > be kind of easy to solve but so far i can't find an easy way to do it. > I have two lists of SDL Lines (one copy of the other) intersecting a > surface. I am then using both of the intersection points to do a line > and offset it. > My problem is that, when the geometry of the surface shifts the offset > inverts to the opposite side. > Anyone knows how to solve this and have all offsets to the same side? > > http://grasshopper3d.googlegroups.com/web/Offset%20Shifting.jpg > > Thanks in advance...
