Problem with Offsetting
I have been writing a script which duplicated the boarders of a surface then offsets them a given distance. I have been having trouble with the offset command not producing consistent results. Attached are two Rhino planar surfaces which seem to me very similar, however when I run the same simple offset script on them I get two very different results. Could someone please help me rectify this or explain what is causing the varied results?
Hi Schmidt - it looks to me like Offset in V5, even as a command, is broken when asking for the offset to be in the curve plane (command line option nCPlane=No) in some planar curve orientations. For now, it might be best to temporarily set the cplane parallel to the curve plane before offsetting, using your Normal and centroid locations for rs.PlaneFromNormal(). I'll put the bug on the pile.
Thanks for the quick response.