I created a code for a stool for cutting it out, but I want to make the entire stool parametric.
However, I’m having difficulty doing this because the stool has angle adjustments for the pieces to be functional. Does anyone have any ideas on how to proceed? Attached is the model.
Carol,
Try breaking the problem into smaller chunks and easier geometry. For example let’s eliminate some of the features of the bench that you are showing. Let’s make it square and boxy, figure out our GH definition and then come back and fancy up the exact shape. If you can figure out a basic geometry you can then think about what parts of that geometry that you can manipulate, change, move etc. Here is one way to do it. Stool_Ver-1.gh (27.1 KB)
I started with a rectangle, retrieved the vertices of that rectangle, created a polyline from those vertices then manipulate the vertices and polyline to get sections similar to what you are showing. this is a pretty basic solution but it can be used as a springboard for more.