News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu

Linear fit copy along an irregular polyline (work around)

Started by Andrew Benson, June 27, 2019, 10:51:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Benson

Disclosure - I got this idea from reading Henry's reply to this post - Evenly spaced bolt pattern along an irregular shape? - http://forums.turbocad.com/index.php/topic,4466.msg25125.html#msg25125
~Using TurboCad Pro Plat 2017~

I draw a lot of handrails for work, and occasionally the path of the railing follows a curve or multiple curves and straights. I need to ensure that the railing posts are evenly spaced, Typically I use an excel spreadsheet to help me determine the post spacing.

However drawing these posts, or base plates along the rail centerline and evenly spacing them out has always been a bit of a pain, until now. Thanks Henry!

Step 1 - First you need a centerline (continuous poly line) easiest way to do this is use the offset tool, it creates a single polyline from multiple arcs and straight lines.

Step 2 - Next draw your base plate detail / post detail and group it.

Step 3 - Next is the "Pattern on Polyline" tool ( Hard to find this, I edited toolbars and copied this across from all commands to a tool bar on my desktop)

Step 4 - select the grouped base plate

Step 5 - In the Inspector bar enter the number of copies you want (I get this from my excel spacing worksheet)

Step 6 - select the polyline (centerline of the rail) and turbo cad will automatically space the grouped graphics along the polyline.

Step 7 - If you are using rectangular brackets you will need to explode them (possibly more than once ) to revert back to individual groups, These can then be rotated and aligned to Center of curve or in line with center line tangents as needed.

I hope this is helpful to others needing to copy rectangles or irregular shapes along irregular polylines or perimeters.
No Boom today, Boom tomorrow, there's always a Boom tomorrow. - Ivanova

nikkipollard

I know you posted this a while ago. It sounds like a crazy amount of work for a task you often do.
Have you looked into using scripted symbols for this?  They are great for railing because
you can have a combination of different patterns ie posts, ballusters , handrail all working together - If you change one parameter  everything else adjusts automatically including the maths.
Tofinn did an example of a curved rail here
http://forums.turbocad.com/index.php/topic,21458.0.html
The attached pdf was created with 2 PPMs - a straight and curved ballustrade. I set the path for the rail  using lines and curves then made sure they were tangent using the connect constraint tool. Dragged the rails in from the library folder. change the size of the rail by editing nodes of the symbol to follow the path - other parameters - ie size and shape of components  are changed via the selection info palette.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h