News:

Please remember to do a search before you ask a question!

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.

Hatch (fill) does not closely follow a shallow arc

Started by derekmac, October 29, 2020, 10:10:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

derekmac

Hello
    This problem has been in TC since at least version 3, still there in 19. I need to fill (hatch) areas between "parallel" lines for etching. The etchers only use the hatches not the vectors. This is fine most of the time except for shallow arcs where the hatch is a series of straight lines. You can see it on a 3 point arc where the height is maybe 5% of the width. As you zoom in the hatch become distorted with a series of straight lines instead of an arc, the actual arc shows OK but is detached from the hatch in multiple places. This is not a screen resolution problem (mine is 4K) - it actually produces an etch with the same multple facets. Is there any way of increasing the hatch resolution? My usual cure for this is to draw a polyline snapping onto the arc at very short distances, then delete the arc. It works better but it is a pain in the butt!

Henry Hubich

Quote from: derekmac on October 29, 2020, 10:10:47 AM
Hello
    This problem has been in TC since at least version 3, still there in 19. I need to fill (hatch) areas between "parallel" lines for etching. The etchers only use the hatches not the vectors. This is fine most of the time except for shallow arcs where the hatch is a series of straight lines. You can see it on a 3 point arc where the height is maybe 5% of the width. As you zoom in the hatch become distorted with a series of straight lines instead of an arc, the actual arc shows OK but is detached from the hatch in multiple places. This is not a screen resolution problem (mine is 4K) - it actually produces an etch with the same multple facets. Is there any way of increasing the hatch resolution? My usual cure for this is to draw a polyline snapping onto the arc at very short distances, then delete the arc. It works better but it is a pain in the butt!

You can break the arc into a number of smaller arcs by selecting with the Edit tool and using "Arc Divide." Not sure what is the maximum allowable number of divisions, but a moment ago I was successful with 100. Be sure to select the entire boundary before applying Hatch.

Henry H

Alvin Gregorio

Quote from: derekmac on October 29, 2020, 10:10:47 AM
Hello
    This problem has been in TC since at least version 3, still there in 19. I need to fill (hatch) areas between "parallel" lines for etching. The etchers only use the hatches not the vectors. This is fine most of the time except for shallow arcs where the hatch is a series of straight lines. You can see it on a 3 point arc where the height is maybe 5% of the width. As you zoom in the hatch become distorted with a series of straight lines instead of an arc, the actual arc shows OK but is detached from the hatch in multiple places. This is not a screen resolution problem (mine is 4K) - it actually produces an etch with the same multple facets. Is there any way of increasing the hatch resolution? My usual cure for this is to draw a polyline snapping onto the arc at very short distances, then delete the arc. It works better but it is a pain in the butt!

Though not perfect, what might save you some time is
>Insert a closed Polyline that is the shape of your intended hatched arc object(s), using Arc segments and Line segments as required, setting a Brush to that Polyline.

See the attached.  I drew the Brushed Polyline over the top of two offset Arcs having small lines at the ends, connecting the two.
The resultant Brush of the Polyline is much less segmented than that of if I used Format/Create_Hatch on or Insert/Pick_Point_Hatching within the boundaries of the two-Arcs-&-two-Lines objects.
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)

derekmac

Hello Alvin - I can see that works satisfactorily, but cannot see how you managed to do it. What steps, exactly, did you use. I do not understand the bit about drawing a brushed polyline? Is that something in one of the higher level version of TurboCAD? Mine is the bog standard "Deluxe". Thanks

Henry Hubich

Here is a drawing showing how dividing the arcs affects the hatching. Zoom 'way in to see the result.

Henry H

Alvin Gregorio

Quote from: derekmac on October 30, 2020, 07:36:03 AM
Hello Alvin - I can see that works satisfactorily, but cannot see how you managed to do it. What steps, exactly, did you use. I do not understand the bit about drawing a brushed polyline? Is that something in one of the higher level version of TurboCAD? Mine is the bog standard "Deluxe". Thanks

To me, the terms "Hatch" and "Brush" can be used interchangeably-- in TurboCAD, mean the same thing (or at least result in the same or extremely similar thing)*.
___
*(being careful with my wording here, as to not get jumped all over by those more knowledgeable than me  ;) )
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)

Alvin Gregorio

Quote from: derekmac on October 30, 2020, 07:36:03 AM
Hello Alvin - I can see that works satisfactorily, but cannot see how you managed to do it. What steps, exactly, did you use. I do not understand the bit about drawing a brushed polyline? Is that something in one of the higher level version of TurboCAD? Mine is the bog standard "Deluxe". Thanks

>Inserted an Arc, adjusted to my parameters (100 units wide, 3 units tall, in this case)
>created an Offset copy
>inserted two Lines, connecting the start/end points of those two arcs (this can be omitted; I used these so that I could use the Pick Point Hatching tool)

>Activated the Polyline Tool.  Vertex-snapped to three endpoints, alternating from Line Segment to Arc Segment, as applicable.  Chose "Close" from the Local Menu after snapped the third vertex.
>Activated the Edit (node) Tool.  Grabbed the green node in one of the arc segments of the Polyline-- that green node defines the arc segments radius.  Nearest_On_Graphic-snapped that green node to the previously drawn Arc.  Repeat with the other arc segment of the Polyline.

Selected the Polyline and set a Brush (Hatch).
____
Yes, Deluxe has the ability to do all that.  It goes pretty fast, one you know how.
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)

derekmac

Hello Alvin & Harry
     Thanks for trying but in practice my defective arcs are always part of a rather complex polyline. I prefer to use the autojoin option of the join command to join the various bits - usually so many that it is tedious & difficult to select the elements individually. I find that the fill is less likely to leak when the polyline is fully joined. Even so the odd one escapes me and TurboCAD does not seem to show the error - it only shows up on the dwg file I export for the etcher, and on the actual etch if everyone fails to spot it. Sometimes it can be really difficult finding out which bit of the joined polyline is defective. But I digress. Alvin your sample is defined as a group of graphics rather than a polyline when I check with Selection Info. If I click on it then select hatch it produces the same errors I always get. Thanks again  for trying

Henry Hubich

Quote from: derekmac on October 30, 2020, 10:29:36 AM
Hello Alvin & Harry
     Thanks for trying but in practice my defective arcs are always part of a rather complex polyline. I prefer to use the autojoin option of the join command to join the various bits - usually so many that it is tedious & difficult to select the elements individually. I find that the fill is less likely to leak when the polyline is fully joined. Even so the odd one escapes me and TurboCAD does not seem to show the error - it only shows up on the dwg file I export for the etcher, and on the actual etch if everyone fails to spot it. Sometimes it can be really difficult finding out which bit of the joined polyline is defective. But I digress. Alvin your sample is defined as a group of graphics rather than a polyline when I check with Selection Info. If I click on it then select hatch it produces the same errors I always get. Thanks again  for trying

Can you post an example?

Henry H

Alvin Gregorio

#9
Quote from: derekmac on October 30, 2020, 10:29:36 AM
Hello Alvin & Harry
...
Alvin your sample is defined as a group of graphics rather than a polyline when I check with Selection Info. If I click on it then select hatch it produces the same errors I always get. Thanks again  for trying

There are two objects in the drawing I posted.  A Group-- containing two Arcs and two Lines; and a Polyline-- which has a line segment, followed by an arc segment, another line segment, another arc segment, then closed.  That Polyline is the one that has the better Brush/Hatch applied.

If you are able to post a drawing file that has a typical example of the issue, with the complex polylines, we all might be able to offer a better resolution than the pitb way you are doing it now.

What Hatch/Brush pattern do your etchers/engravers require?
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)

Dean

Quote from: Alvin Gregorio on October 31, 2020, 03:21:41 AM
Quote from: derekmac on October 30, 2020, 10:29:36 AM
Hello Alvin & Harry
...
Alvin your sample is defined as a group of graphics rather than a polyline when I check with Selection Info. If I click on it then select hatch it produces the same errors I always get. Thanks again  for trying

There are two objects in the drawing I posted.  A Group-- containing two Arcs and two Lines; and a Polyline-- which has a line segment, followed by an arc segment, another line segment, another arc segment, then closed.  That Polyline is the one that has the better Brush/Hatch applied.

If you are able to post a drawing file that has a typical example of the issue, with the complex polylines, we all might be able to offer a better resolution than the pitb way you are doing it now.

What Hatch/Brush pattern do your etchers/engravers require?

Alvin, I think derekmac is referring to the conversion to dwg.

Using the drawing you posted >
1) Delete your polyline
2) Explode your group
3) Join polyline selecting the two arcs and lines
4) Select the polyline and in its properties apply a L45 hatch
The hatch should look good within the arcs in TC when zoomed in.
5) Save the drawing in DWG format
6) Close the drawing
7) Open up the dwg drawing you just saved.
It's a mess! the hatch should look terrible.

derekmac quote > "Hello Alvin & Harry
     Thanks for trying but in practice my defective arcs are always part of a rather complex polyline. I prefer to use the autojoin option of the join command to join the various bits - usually so many that it is tedious & difficult to select the elements individually. I find that the fill is less likely to leak when the polyline is fully joined. Even so the odd one escapes me and TurboCAD does not seem to show the error - it only shows up on the dwg file I export for the etcher, and on the actual etch if everyone fails to spot it. Sometimes it can be really difficult finding out which bit of the joined polyline is defective. But I digress. Alvin your sample is defined as a group of graphics rather than a polyline when I check with Selection Info. If I click on it then select hatch it produces the same errors I always get. Thanks again  for trying"
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0