Nico D. Posted June 12, 2007 Share Posted June 12, 2007 Im trying to offset a nurbs curve and cannot find any operator to make this. It is possible without using expressions ? Quote Link to comment Share on other sites More sharing options...
peliosis Posted June 12, 2007 Share Posted June 12, 2007 Im trying to offset a nurbs curve and cannot find any operator to make this. It is possible without using expressions ? One simple example, I've had an otl somewhere but where PToffset_v01.hipnc Quote Link to comment Share on other sites More sharing options...
sibarrick Posted June 12, 2007 Share Posted June 12, 2007 Maybe use use the peak sop, the direction can be controlled by adding normals first. It won't deal with self intersection though. Quote Link to comment Share on other sites More sharing options...
Nico D. Posted June 12, 2007 Author Share Posted June 12, 2007 Thanks peliosis for sharing ! It worked good for me. Maybe use use the peak sop, the direction can be controlled by adding normals first. It won't deal with self intersection though. I will try with peak too to see the differences . Quote Link to comment Share on other sites More sharing options...
Nico D. Posted June 12, 2007 Author Share Posted June 12, 2007 One question, how do you add normals with point sop to a nurbs curve ? I tried this but is not working on the Z plane (if my curve is drawn at front viewport) POINT SOP normals channel: $BBX-0.5 , $BBY-0.5 and $BBZ-0.5 Quote Link to comment Share on other sites More sharing options...
peliosis Posted June 12, 2007 Share Posted June 12, 2007 One question, how do you add normals with point sop to a nurbs curve ?I tried this but is not working on the Z plane (if my curve is drawn at front viewport) POINT SOP normals channel: $BBX-0.5 , $BBY-0.5 and $BBZ-0.5 It does work for me, only their direction is wicked. Quote Link to comment Share on other sites More sharing options...
sibarrick Posted June 12, 2007 Share Posted June 12, 2007 Should work. Thats a bit of an odd expression though what are you hoping to get with that? You might need to add an facet sop and set make normals unit length afterwards, before the peak Quote Link to comment Share on other sites More sharing options...
AndrewVK Posted June 19, 2007 Share Posted June 19, 2007 This is another one variant which is use some maths. As result segments are stay parallel to original... but it does not support curves with random point numbering. MathOffset.zip Quote Link to comment Share on other sites More sharing options...
Nico D. Posted June 19, 2007 Author Share Posted June 19, 2007 This is another one variant which is use some maths.As result segments are stay parallel to original... but it does not support curves with random point numbering. Thanks for sharing that nice piece of code ! It works very well. Did you create that vex ? Quote Link to comment Share on other sites More sharing options...
AndrewVK Posted June 19, 2007 Share Posted June 19, 2007 Thanks for sharing that nice piece of code ! It works very well. Did you create that vex ? Yes sir "Geometry" was may favorite subject at school...after "Programming" It is possible that this decision was not rational, but it works. 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.