Grasshopper

algorithmic modeling for Rhino

Hi

Is there a way to have grasshopper test (by component or script) if a surface is single or double curved? 

Best

Jacob 

Views: 3662

Replies to This Discussion

Maybe with this definition that tries to unroll a Brep.


If it does not unroll it is double curvature.
If it unroll it is simple curvature.

Attachments:

Thanks Remy

Tried something similar with Python. Seems that you need the tolerances at 0 to be certain of the result (in my case I needed to check a surface with hardly any curvature, so the default unroller seemed to be a little too forgiving)

Attachments:

OSC will do it.

Best, Peter

Thanks Peter

This actually reveals that the above solutions using unroll are flawed (and of course a bit un-elegant). The surface I am analyzing could be unrolled at 0 tolerance (must admit I do not entirely know the technical details of what the tolerances mean) but using the OSC shows that it is in fact double curved.  

Same with GH native component.

Attachments:

With component curvature is sure...

Attachments:

Interestingly enough I get different results using your new suggestions and the one with OSC. The latter shows double the others single curvature

Here they all are with my surface internalized.

(though it is probably more of a theoretical curiosity with the given surface, where the double curvature is probably not intended) 

Attachments:

Hope this helps.

Best, Peter

Attachments:

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