algorithmic modeling for Rhino
Hello!
I am still very new to Grasshopper and hoping for some help.
I am trying to label a grid so that the resulting text has a lettering component that increasing in the y-axis and a numbering component that increases in the x-axis (example below).
A1 A2 A3 A4 A5 etc...
B1 B2 B3 B4 B5 etc...
C1 C2 C3 C4 C5 etc...
D1 D2 D3 D4 D5 etc...
This is as far as I've gotten:
I have collected my points on the grid into a "List Length" component and input that into a "Series" which input into a "Function" with the expression Format("A{0}",x). The result labeling resembles the example below.
A1 A2 A3 A4 A5
A6 A7 A8 A9 A10
A11 A12 A13 A14 A15 etc...
Any help is appreciated.
Thank you in advance.
Tags:
I wasn't able to open your Grasshopper file, but I have rebuild your definition. What expression did you use in your "Fx^3" component?
Thanks again too! I'm hoping this will work!
Thanks! I had actually just gotten that a couple minutes before your reply... although my final panel has produced
A1
B2
C3
D4
etc...
maybe it has to do with an input I added to one of the other components... I'm going to check into it now.
Thanks for your response! (also Guilio, thank you in advance)
I am working from someone else's file... Grasshopper is new to our office and the 3D model was originally created in Rhino. I am tempted to just rebuild the entire thing in Grasshopper so that I have a base grid. As of now the pipes are preexisting without a grid.
I am attaching a small portion of the Rhino file and an isolated portion of the definition for clarity. The components in the orange group are what relate to the labeling and unrolling.
At this point, I have gotten the file to do what I need except for the text. I am trying to label each pipe correctly, rotate the text with the proper labeling (when I use a series of numbers, something goes wrong with the rotation, but if I use default text, it works fine), and trim the pipe surface with the text so that when it is unrolled the text is cut out.
Hi Gabrielle,
here a modified version of the script that accept planes, not only points.
This should make it simpler to work with in your case. The idea is that now you can just work out the orientation you need with the plane components. It seems to give the required effect - not 100% sure as I do not know the goal exactly.
I hope this helps,
- Giulio
__________________
giulio@mcneel.com
McNeel Europe
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by