Grasshopper

algorithmic modeling for Rhino

The outline of the ring is flattering at the beginning and the end

Hello.

Sorry to brief question.

I have the following one questions.

The outline of the ring is flattering at the beginning and the end.

Can anyone tell me how to solve it?

Views: 350

Attachments:

Replies to This Discussion

Two things:

  1. 90 X 5 is wrong.  There are 360 degrees in a circle so just use a constant (360), or 90 X 4.
  2. Don't flatten the output of 'Flip' before 'IntCrv'.

Or maybe this is what you had in mind?

Attachments:

This is exactly what we wanted!

Thank you for telling me early!!

It was very helpful to let me know precisely.

Since I am still a beginner, I would be pleased if you could give me an opportunity to teach again. ^^

Well, as I though more about it, I realized that it makes perfect sense to rotate in increments of 360/N where "N" is the number of sides in the polygon.  Increments could be 120, 90, 72, 60, etc.  Like this:

The polygon vertices are aligned at beginning and end for these values and you want the flattened list of points to generate a continuous curve - EXCEPT when 'pSegs' X 'incr' = 360.  In that case, one continuous edge curve isn't possible.

Möbius strip logic! Not so simple.  I can do it "manually" for any given case but don't have a general purpose solution - yet.

OK, sorry, bad advice.  I believe I understand now what you mean.  Working on it...

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service