News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

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.

Creating a new line style

Started by lakkabay, May 13, 2016, 06:33:51 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

lakkabay

Hi. I need to create a new line style. I plot many routes and directional plans for running races and rather than drawing a continuous line then adding triangles to it to indicate a direction, I'd like to triangles to be added automatically as I drew the line. It doesn't seem to be the easiest thing to do - well for me that is! I've had a go at it (see attached) but I'm not sure if I've set it up right. Plus I'd really like the triangles to be a solid colour rather than just an outline shape. To get this far I've:
- Drawn a triangle
- Saved it as a shape (SHX) and saved it in the 'Shape' folder
- Created a new line style using this new shape and a dashed line

I can alter the size by adjusting the Dash Scale in the Pen Properties but apart from that I'm finding it hard to manipulate it. In an ideal world I'd like to create a range of different line styles to represent not only a variety of running routes but barrier / barricade fencing, lines of road cones. How can I make the shapes 'solid' and am I going about this the right way?
Grateful for any advice - as usual!
Tim


Henry Hubich

I don't think you can get a solid fill in a Shape, but you can come close by using the L45 Brush Pattern (45° lines) with a small Scale. (I guess other vector patterns would work, too.) You can also adjust the appearance of the line by adjusting the Pen Width. For example, all three objects in the attached screenshot use the same Line Pattern but have different Widths.

Henry H

lakkabay

Thanks Henry, I'll have a little play around with the options you suggest. Thanks for helping.

Alvin Gregorio

Quote from: lakkabay on May 13, 2016, 08:43:03 AM
Thanks Henry, I'll have a little play around with the options you suggest. Thanks for helping.

I made an "Arrowhead" Line Style a while back.
Like Henry, I couldn't find a way to get it to actually solid fill.  When zoomed in close, we can see the lines that approximate a "solid fill".

Also experiment with using "World" scaling in the Pen's Line Width Scaling System.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

lakkabay

Thanks Alvin. Looking at what you did, I think I might adopt an arrow shape rather than a continuous line with triangles - my plans tend to have plenty of lines in them already and this would make them less cluttered. I see what you're saying with world scaling. I have found that if I increase it too much it can make the arrows less defined, ie the corners get rounded off and it goes a bit 'blobby' - if you know what I mean! I'll experiment a bit with it as I've got a big plan to start after the weekend for a new running race. Thanks again. Tim

Alvin Gregorio

Note; Don't be surprised:

I find my "Arrowhead" Line Style to be extremely resource intensive.

It takes forever for the display to catch up when moving, re-sizing, etc. the object that uses that Line Style.

So I don't use it much. Or I change the Pen Pattern temporarily to one of the Defaults, do my manipulation, then change back to the Arrowhead Pen Pattern.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)