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
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.

Problems when hatching circles

Started by an_engineer, November 18, 2016, 03:36:37 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

an_engineer

Hi,

I am having an annoying problem when hatching full circles to create a 3D object.

I appreciate that Turbocad approximates to a circle in this case, but why does the approximation have 121 sides (In my case using 2016 De-luxe). Because the number of sides is not divisible by four the resulting hatch has different X and Y sizes which are both different to the diameter of the original circle. The centre of extent of the hatch is also different to the centre of the original circle.

The circle is being approximated to by 121 triangles that form the hatch. Because the number of sides in the approximation is not divisible by 4 then the X dimension is from the corner of one triangle to the centre of the side opposite, thus the dimension X differs from the diameter of the original circle and (assuming the circle was centred at 0,0) the centre of the X dimension is shifted from the origin. The Y dimension of the hatch is also less than the diameter of the circle since it is a measurement across two corners that are at a small angle to the diameter. I have by the way verified the differences by calculation.

If a hatch is created that is a quadrant of a circle and this is then mirrored to create a semi-circle and mirrored again to create a full circle then the sizes remain correctly the same as the circle diameter and the centre remains at the centre of the circle. It seems that the problem stems entirely from the programs assumption of 121 sides and would not occur if it assumed 120 sides or any other assumption divisible by 4.

I don't want to have to do the mirror procedure every time that I use a circular hatch, but sometimes the programs assumption causes problems when doing addition and subtraction of 3D objects. I can't find anywhere in the program settings or object properties to alter this assumption.

As a separate aside, every time that I open a new metric drawing the program insists on setting the grid spacing to 6.35mm (the metric equivalent of 1/4") rather than say 5 mm. How can I stop it from doing this?

Adrian

Dean

Hi Adrian,
see attachment, is this what you're looking to do ?

With circles,"Vector hatch" set to world, you need to set origin and scale by multiples of pie, if you want.
this was done in Deluxe 2016
"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

Henry Hubich

Since the "circle" is a polygon anyway, why not simply draw a polygon with as many sides as you'd be willing to accept? A moment ago, I drew a polygon with 10,000 sides in v2016 Deluxe. That did take a few seconds, but I drew a polygon with 360 sides with no perceptible delay at all.

Henry H

an_engineer

Thanks for the responses guys.

Dean, I'll have a look at yours tomorrow when the mind is fresher.

Henry, yes I appreciate that I could construct a polygon with as many sides as I want using rotational copy. I could then unite these triangles into one object and the resulting hatch would match the diameter and the centre of the original circle (provided the number of sides is divisible by 4). My point was that I felt it strange that the "automatic" method chose 121 sides (I tried it with a 50mm diameter circle) for the equivalent polygon when doing so produces the strange result.

I just want to be able to select a circle, hatch it and give the resulting hatch a thickness. If the automatic method used 120 sides instead of 121 this could be done without the resulting figure changing in X and Y sizes and moving its centre of area.

Adrian

Henry Hubich

Quote from: an_engineer on November 18, 2016, 10:29:42 AM
Thanks for the responses guys.

Dean, I'll have a look at yours tomorrow when the mind is fresher.

Henry, yes I appreciate that I could construct a polygon with as many sides as I want using rotational copy. I could then unite these triangles into one object and the resulting hatch would match the diameter and the centre of the original circle (provided the number of sides is divisible by 4). My point was that I felt it strange that the "automatic" method chose 121 sides (I tried it with a 50mm diameter circle) for the equivalent polygon when doing so produces the strange result.

I just want to be able to select a circle, hatch it and give the resulting hatch a thickness. If the automatic method used 120 sides instead of 121 this could be done without the resulting figure changing in X and Y sizes and moving its centre of area.

Adrian

Not the way to do it. Use Insert>Line>Polygon; or click the "Polygon" icon in the "Line" flyout of the Drawing Tools toolbar.

Henry H