Grasshopper

algorithmic modeling for Rhino

Using Kangaroo to drape tube like a garden hose around intersecting breps

Hello,

I'm using Kangaroo to drape a polyline over an intersecting box brep, which then creates a mesh around the polyline.  I'm pretty close to getting this, however, my resulting mesh has various glitchy vertices as it comes closer to resting state.  I've tried to smooth the polyline after running it through the solver, but still have glitches in the mesh.

The effect I'm striving for is similar to wrapping/hanging a garden hose:

Like this one

I'm using the v0.099 vers of Kangaroo, but depending on suggestions I can upgrade to Kangaroo2 if that works better for this purpose.

Attached is my gh def and screenshot.  Thanks for any help!

Views: 506

Attachments:

Replies to This Discussion

I tested your definition with new point sets and brep.

I'm not sure but many point number and sphere collide might be a problem of your glitches.

And your Spring input line segments are not correspond with your initial points.

Have a look at the attached. Best.

   

Attachments:

This is perfect!  Thanks!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service