I require help creating a costume rectangle and having columns that are evenly spaced on the sides of rectangles like the sketch also aligned is there anyone that can help me. =D
Upload the GH?
Thank you very much this is very helpful but i am quite new to grasshopper and i was wondering is there a way to control the distance that the squares have in between them because i am trying to make a grid structure and i want to be able to have a rectangle and if i change the size of it to be able to change the distance to match a structure grid for example having them spaced around 3 meters apart on one side of the rectangle and on the other side by 4 meters apart if that makes sense and also be able to control the dimentions of the rectangle/columns
it’s very important to define which measurements you want to be able to decide
for instance, fast sketch:
you could define:
- width and height of inside rectangle (A, B)
- how many members along X (Nx) and along Y (Ny)
and then decide if either:
- you want to fix the width of members along X and Y (w1, w2, which can be the same or different values) which implies spacing C, D being calculated as residue
or
- you want to fix the spacing along X (C) and spacing along Y (D) (that can be the same or different values) which implies member widths (w1, w2) will be calculated as residue
many possibilities, but it’s very important to make up your mind on what you want to be parametrized, and what else will be derived
I want to be able to have control of the A and B dimensions of the rectangle be able to chose and approximate distance between columns (D) and (C) separately (for example on smaller side of rectangle 3meter distances between columns and on larger side 4 meters) and also be able to control the width and length of the columns Ny and Nx. Ill try to be more precise next time thank you thought would you be able to help me. [I want to have the flexibility to later on be able to add beams connecting the exterior in a perimetre as well as beams on the interior creating a grid]
looks like you want to be able to define everything
or at least I didn’t get which exact dimensions you would be happy to derive (meaning that you would not be able to set directly, because they come as result of other constraints)
the distance between the columns (C,D) does not have to be exactly as much as i want just roughly so for example if i have a 9.5 meter distance and want to have columns every 3 meters if the script makes it so that the distance is a bit more than 3 meters in order to keep the rectangles in the corner i don’t mind I just want to be able to define the rough distance or the number of columns and be able to have different columns on each side
I’ll try to understand your request.
square a.gh (42.4 KB)
Hey you don’t understand how big of a help it is but can you tell me how i can have it so i choose the dimension of the rectangle and the number of columns instead of the distance between columns because i have a specific footprint i can work with thanks again sorry for the inconvenience
This definition is similar to the previous one but the dimensions of the main rectangle and the number of contour rectangles are set.
If I understood correctly.
square b.gh (34.8 KB)
thank you so much this really helped me out.
thanks for being so patient with me hahahaha