I am currently working on staircase generator cluster, and I’ve encountered an issue that I’d like to ask about.
Initially, I set the thickness of the stair board to 18mm as the default and proceeded with the work. However, I want to make it adjustable so that the thickness can be set freely. The problem is that when I adjust the thickness, the top stair does not change in line with the other models. It seems to be connected with other components, but I cannot identify the issue.
the first thing I notice when opening your definition is the presence of many world-vectors like the Y in this case, that would push the extrusion of that surface on itself, instead of giving it thickness:
I don’t know if you want this definition to work just in one particular orientation or if you want it to be working on base geometries oriented anywhere on the 3D space: if this last is your case, then you can’t use XYZ vectors as references because those will be fixed, while your geometry is not
for instance, if you want to give thickness to that very face (that comes from a Closed Brep) you could just extrude it along its Normal
that would detach the direction of the extrusion vector from the XYZ world system:
another thing that I notice, the general use of Flatten and multiple wires flattened in the same input to manage problems that will just generate more problems, probably make the definition a bit slower, and will for sure end up in a situation where it’s difficult to understand what is what
I would very much advocate for using Merge components instead of using shift+drag multiple wires in the same input, in such a way you can always see and easily follow the flow of your data
not only that, but doing so would also allow you for having a separate branch -for instance- for each step of your stair, in such a way you can see when something is working according to your idea by just looking at the data trees
Luckily, I was able to solve the problems I had. However, it definitely needs to be cleaned up as suggested.
To answer your question, I actually didn’t consider making it work anywhere in 3D—but that would be really useful! I made this to easily generate stairs in any size and allow for selecting the board thickness.
Anyway, I appreciate your guidance and will keep it in mind for the future.