I’m attempting to create a script that allows for different sizes of rectangles within a set bound, but struggling with where to begin.
I would like to be able to edit the vertical and horizontal lengths in addition to the number of segments within each (similar to the poor drawing above). I need to restrict the shapes to stay within the bounds of the overall rectangle, however. I’m not looking for the segments to be randomized but rather specifically set by inputs as I plan on importing Excel data to control the size of each rectangle. Any help would be greatly appreciated!