News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Linear copy along an angle

Started by Robert, January 25, 2010, 01:10:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Robert

Working in 2D, let's say I have a line at a 30 degree angle. On one end of the line, I draw a rectangle which is perpendicular to the line. Is there a way to do a linear copy of the rectangle at equal intervals along the line using a tool, like the linear copy tool, in TC? 


John R

Move the reference point for the rectangle to a corner, then use a 30° line a specific length as a guide when using the Linear Copy tool.

[attachment deleted by admin]
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Robert

Thanks John but that's what I normally do. Actually, I add all the short lines the length of the interval I want onto the angled line and then use the rubber stamp tool (with the reference point on the appropriate corner).

What I was looking for was a simpler way since I might want to copy the rectangle 20 times and would like to avoid making 19 lines. It would be great if the linear copy also had an angle setting.

Just looking to see if anybody had found an easier way that I had overlooked since this is the way I've been doing it since V2 or 3 and it gets tedius. Luckily I don't do it often. After all these years, I'm just getting around to asking.

John R

re: would like to avoid making 19 lines.

Use the "Sets" field in the Linear Copy tool. Change it from 2 to 20. It will create 20 rectangles (w/o the extra line).
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Henry Hubich

Quote from: Robert on January 25, 2010, 01:10:44 PM
Working in 2D, let's say I have a line at a 30 degree angle. On one end of the line, I draw a rectangle which is perpendicular to the line. Is there a way to do a linear copy of the rectangle at equal intervals along the line using a tool, like the linear copy tool, in TC? 



Edit the Workplane by rotating it so the X axis is parallel to the line (RotZ = 30, in your example). Then use Linear Copy in the usual way, specifying a nonzero XStep but letting YStep and ZStep be zero.

Henry H

Robert

Thanks Henry, that works. I just have to remember to select all the copied entities and the line before rotating back to the original position. I don't do very many complex drawings so I don't change workplanes. I actually tried changing the workplane by entity but couldn't get that to work. Then I re-read your directions (always helps doesn't it) and, of course, it worked.

murray dickinson

Edit|Copy Entities|Fit Linear?  Position of the selector point is the only thing that needs attention.

[attachment deleted by admin]

John R

re: Z step in Linear Copy

I noticed in Henry and Murray's directions that there is a Z-step, even though this is about "Working in 2D". I changed the selector to 3D and then performed the Linear Copy, making sure that the Z-step stayed at zero. When I select any of the copies in the 3D mode, it selects normally (no error messages). If I switch to 2D mode or "2D/3D depending..." mode, each one of the linear copies is on a different workplane when I select it.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Robert

I tried Murray's method and it works except that you have to specify the starting and end points. If you don't want to linear copy the full length of the line, then you have to calculate and draw a line that has the required length for the linear copy on top of the original line so that you can snap to the end point. You can't specify the interval between copies. It then makes the copies equally spaced. In this method, you don't change any of the x, y or z coordinates.

You also can't specify the interval between copies using the method that John mentioned either. To specify the interval, you have to do some trig to figure out the change in the X direction.

So far, Henry's method is the easiest.

I really appreciate the interest in this topic.