algorithmic modeling for Rhino
I am using grasshopper for the first time (after watching tutorials).
I decided to practice on something that should not be that hard, a chess/checker board.
What I want to achieve is a generated chess/checker board with the following impute:
Length, with, number of squares in both directions.
Well I got it working as I want to although the code might not be the prettiest out there, I am still learning it after all.
The way its setup now the size of 1 square is defined by the size of the whole board (defined by the number of squares).
I want to know if it can work the other way around,
Can I by just imputing the size of 1 square (and the number of them) generate a chessboard (it does not have to be 8x8; I have to be able to set it)? This way the total size of the board shifts as I change the size of 1 square or the number of squares.
If any of you have pointers, tips then pleas do say so.
It’s not the intention that people make stuff for me, I chose this as a challenge to learn about grasshopper, so just give me pointers, and I’ll work it out myself. Thx in advance.
Tags:
if possible the endresult should not have 2 sides of difrent squares on top of one other. so i cant just keep repeating making squeres, more like make 2 lines like a L shape. that would stop the squeres from geting on top of one and other, but than it would still need a border for the 2 sides i dident do.
H(o)i Mark,
check these examples, consider them as pointers, because I can't see how to continue from your file.
I don’t think it’s possible to continue from my file.
The new structure I want probably needs a new approaches
i see what you did. i also saw that as a possibility, but not one i wanted to take.
i just want lines, the inside of the squares don’t need to be coloured , actually i rather not.
might be helpful if i explain how i might be able to use something like this.
i want to use the (grid)lines, and engrave them into wood on a laze cutter/engraver.
for that propos i just need a grid in lines of a checkerboard / chessboard.
I have made a chessboard design in rhino before, but I wanted to know if I could automate a part of it.(seeing that a chess board is nothing but squeres).
I will ad in the chess bord that I drew by hand (took me a lot of time).
the main part beeing the red squeres (zoom in). in evry squere there is a other squere to make the lines thinker when lazer engraving them. (i know i could just adjust the with, but dooing it this way actuely saves machining time).
I might be using a part of the code you used tough, if I can manage to figure out what part.
I don’t want the squares to be a fixed size. I want to be able to adjust them with a slider. So it might not even become a square but rather a rectangle. also i dont need it as a survace, just the lines.
but thx a lot. i wil check outh how the code you send works, and how i can implement it(if possible).
You can attach a Curve Component to the surfaces to get their boundary curve. To get a thicker line I usually defocus the laser.
thx. ill check that out this weekend.
as for lazer work, defocusing laser wont give me a relaiable result, and as i am not using my own lazer but one of a makerspace, i try to not mess with it all that much.
a collegue of mine made a box maker for rhino (grasshopper).
you could just imput: length, with, thinkness of wood.
number of lips sticking outh (on both lenght and with).
and rhino would auto generate a whole box ready for lazer cutting. it saves me so mutch time.
size square x n squares = total length.
i use lunchbox plugin: http://www.food4rhino.com/project/lunchbox
text tag need more work, but i hope you get the idea.
cheers.
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
© 2024 Created by Scott Davidson. Powered by