Grasshopper

algorithmic modeling for Rhino

Hi guys,

I have a path and number of elements along this path, filling completely this curve.

I would like to open a little bit this path removing some elements and I'd like to have o elements removed at the beginning and, for example, 26 elements as gap at the end.

How I can find the function to control this kind of pattern? I tried using CUll Pattern, but I don't know how to describe this kind of pattern.

Find attached the file for the base of the path and the elements.

Thank you in advance!

Ciao

Views: 730

Attachments:

Replies to This Discussion

It would be great if i could choose "linear function" or by graph mapper, having small gaps at the beginning and large gaps at the end.

TKS

Here's a little script that might help. Given a series of numbers (could be Fibonacci or something, too), it gives you a list of booleans based on those values. Here's the code or download the attachment.

Private Sub RunScript(ByVal x As Integer, ByRef A As Object)

Dim i As Integer
Dim myList As New List(Of Boolean)

For i = 1 To x

Call Print(Iteration Mod 2)

If ((Iteration Mod 2) > 0) Then
myList.Add(False)
Else
myList.Add(True)
End If

Next

A = myList

End Sub

Attachments:

Thank you very much.. I try now to suite it in my study case.

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