Grasshopper

algorithmic modeling for Rhino

Hello GH community. I am a fresh man of GH, after viewing some great tuts, finally, I decided to get shoes dirty.

However, while I am trying to make this twisted ring, well, there is a problem with it. I know the problem is with the line orientation. I have tried many different ways to get this right, but all seems not working. See attached image.

Another issue I am facing is the list length. See attached image.

Thank you for your help.

Views: 601

Attachments:

Replies to This Discussion

Here are the images for the mentioned issue---list length.

Attachments:

You need to have the number of twists divisible by the number of sides, for example 4 sides 32 twists

Hi Alan

What do you mean? I did not get it, could you please take a look at my attached definition?

Thank you so much for this.

Attachments:

You have the Preview Mesh Quality on High quality? Access in the last icon (blue) at right of the interface.

Hi Daniel

Thanks for replying. The preview mesh quality did not help.

Hi Bizkit,

if you check the output of [Range] you have 0 and 360, which is the same.

to solve this:

instead of using [x-1] before [Range] just use [cull index] with -1 as index after it (with wrap set to true).

As for the Item issue, I am afraid you got a bit confused because list indexes start with 0.

So Indexes 0 to 29 = 30 list items. So index 30 = index 0 (if wrap is set to true). That's why you get the same object.

If you set the wrap input to false you will see that you will get an error when asking for Item index 30 (as it doesn't exist):

Thanks again Nikos. Now I get it. Thank you for your help.

Hi Nikos

Thanks a lot. It works. Really appreciated. Never know that GH can use panel and put -1 to deduct this way. Thanks again.

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