Grasshopper

algorithmic modeling for Rhino

Point Order Around Curve Goes Funny At Boundary Component?

I've been using Grasshopper for a few weeks in my Industrial Design course and have hit a wall. Hoping I can be clear in my first post on this forum! Please ask for clarification if not.

I'm trying to loft a changing audio frequency around a curved shape, to create a customisable cordwrap for earbud headphones. 

The shape I've chosen to wrap it around is causing me some issues with the order of points, so at the moment all I'm able to do is sweep one slice of audio around the rail of the curve. (I've attached cordwrapsinglesliceofaudio.jpg so you can see what that looks like below)

So far, I've got a limited number of pFrames and a half completed definition because I'm struggling to get the points to go in the right order.

The issue happens in the section where I'm mapping the audio in a circle around the rail at pFrames. I've used Brep Intersection to create the two circles at the pFrames, creating a circular boundary and intersecting it with two Pipes of different widths around the rail.

The circles at the pFrames are in the right order:

However, when I create a Boundary surface inside those circles, the order changes:

This doesn't happen when I change the curve to a simple rectangle of a similar size.

Any ideas as to how I solve this issue?

--

If need be I'll change to a simpler shape, but I'm both kind of attached to this shape and have been frustrated by my inability to create model the way I want to to the extent it's been keeping me up at night. Would really appreciate any help you could provide!

Views: 824

Attachments:

Replies to This Discussion

This may help you

Attachments:

Orient does seem like the way to go! Totally gets me around the point order issue and is less complex. Thank you Peter, much appreciated.

Still interested in why the points change order between the circle curve and the circle boundary, but not essential to solving my problem now. :)

Area does this > see workaround (sort along curve)

Attachments:

In fact what you need is a sync sort (your boundaries VS your points).

Attachments:

I will be using that sync sort technique a lot from now on, that is really handy.

BTW: given the opportunity appears to me that the Boundary component has a bug .

Compare output from the C# (gets planes delivers breps and centroids in the very same order).

Attachments:

Thanks for your help again, I've gotten it much further along now.

Here it is with 25 seconds (kind of) of 'Drop it Like It's Hot' mapped around the curve.

and where you put that thing? "around" your ear?

Apologies for not explaining myself well. Here's a picture that should explain what I was trying to do.

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