Help with Building Dynamic Component - Copies Progressing on an Angle

This is my first question here. I can see this is a very helpful and friendly forum so, hopefully someone can give me some tips. I have done a bit of searching but haven’t found the answer yet.

After watching some online tutorials, I have successfully created a Dynamic Component for making simple railings with a top bar. (This is only for visualisation, not for construction so, it is quite simple in look.) The Dynamic Component is saving me a lot of time. To make a railing I can just type in the height of the railings, total length of railing and spacing of the individual vertical spindles.

Dynamic Railing-Animated Image (Large)

Now what I would like is to make a similar Dynamic Component that can make the rails on curved sections. My idea was to have a Dynamic Component where I have a single spindle with a section of the top rail. Then I could type in how many railings I want, the angle that each copy should be from the previous one, and the spacing of each railing. Again, this is just for visualisation purposes which is why the top rail in segments would be fine for me. Here is a .gif showing the idea:

Curved Railing-Animated Image (Large)

I’m getting stuck with how to set up the railings to make copies on an angle, rather than straight on an axis, as in my current Dynamic Component.

Thanks for any help.

1 Like

Change the axes of the component to the center of the curve or circle. You only have to apply rotation to each copy

1 Like

Thank you. I will try to implement that logic in the Dynamic Component‘s Attributes.

So far I can get each copy to progress along the X axis by an amount entered into the Dynamic Component’s Options Dialog.

segmental curve for blocks - - 3D Warehouse (sketchup.com)

1 Like

Thanks, I will take a look at that. :grinning: