Grasshopper

algorithmic modeling for Rhino

I have 5 groups, and the Coordinates position of each object in each group on the plane, how to arrange the objects in place of it by coding., Thanks for help.

Example file:

Tile ID and Position table (outmode21) 
[Tile id] 0
X58,Y0,X59,Y0,X60,Y0,X61,Y0,X62,Y0,X92,Y0,X93,Y0,X94,Y0,X95,Y0, 
X58,Y1,X59,Y1,X60,Y1,X61,Y1,X62,Y1,X92,Y1,X93,Y1,X94,Y1,X95,Y1, 
X37,Y36, 
X52,Y39, 
X33,Y41,X53,Y41, 
X34,Y42, 
X54,Y43, 
X47,Y51, 
[Tile id] 1, 
X90,Y3, 
X98,Y17, 
X48,Y36, 
X48,Y49, 
X47,Y50, 
[Tile id] 2, 
X99,Y24, 
[Tile id] 3, 
X85,Y2, 
X32,Y27, 
X87,Y91, 
X36,Y95, 
[Tile id] 4, 
X43,Y24, 
X45,Y40, 
... 

Views: 543

Replies to This Discussion

The attached file contains a script which generates a tree of points from the file. I think it works but there may be bugs in it, so be sure to check the results.

Attachments:

I want to have one parameter to adjust the size of the object,


This file, its default size is 1 mm,

and I tried to change the parameters in the Grid of Propertive, but it still does not work

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service