Grasshopper

algorithmic modeling for Rhino

I am trying to evenly divide a curve into 10 segments. I have tried using a VB script and the standard GH divide component, but the result I get is not correct. I have attached images to show the result. What do I need to do to the curve to ensure that the division will work?

 

Thanks!

Views: 1254

Attachments:

Replies to This Discussion

Split segments at kinks set to false?

What RhinoCommon methods have you been using? crv.DivideByCount() will give you curve parameters at equal lengths, which then you could use to evaluate and get points on the curve.

I have tried both DivideByCount and DivideByLength. Even using the parameters, I don't get the correct result. I have tried reparameterizing the curve as well and that has not been successful. Any ideas?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service