News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

Loss of area when disecting a circle

Started by Phranco, February 22, 2017, 07:06:35 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Phranco

While viewing a you tube video about a horse tethered to a barn with a 50 ft rope the question was "How much area can the horse graze." The answer is approx. 7512.276 sq ft. I verified this both with Calculus and Trig. as the original poster did due to the discrepancy of area given in Turbo Cad 2016 Pro Platinum which gives an answer of 7499.xxx sq ft. I thought this odd as the math supports the former 7512.276 as the correct answer. This led me to test the ability of TC to display the correct area of a circle. This is easy to do without me posting a drawing. Draw a circle say of radius 100 units and use select info to verify that the area is indeed 31415.xxxx sq units and it is accurate doing this.  Now take out 1/4 of the circle by drawing a vertical and horizontal line and splitting the circle at 0 and 90 degrees, poly line what is left and you will have a 3/4 and 1/4 circle segment, now verify their areas in select info and the two areas don't add up to the original area of the full circle. When you add the two areas together as shown in select info metrics you will be 57.3875559 sq ft low.  I called twice about this and TC had no explanation for the discrepancy and I was assured I would be notified once analyzed by the right people, but I have never received a call or gotten an e-mail concerning the issue. This is troublesome and it causes me to second guess the information given in TC select info metrics. I apparently am not doing anything wrong as an advanced tech at IMSI Design duplicated the error and had no explanation for it. Has anyone else found this to be problematic or have an explanation for the discrepancy.   I am using version 23.2 build 61.2. In Windows 10
Thanks for any Help

Henry Hubich

Perhaps the error is caused by the technique TCad uses for calculating areas. Since the program can compute the area of just about any arbitrary shape, I'm guessing that it uses some approximate technique for "nonstandard" shapes.

Henry H

Torfinn

And how the presicion is set inside SpaceUnits may also have an affect, as its recomended with min. 6.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Dean

This was my result.
Am I missing something here.
"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

Quote from: Dean on February 22, 2017, 10:45:07 AM
This was my result.
Am I missing something here.

Neither the area of the quarter-circle nor the area of the three-quarter-circle is reported correctly, Dean.

Henry H

Dean

Quote from: Henry Hubich on February 22, 2017, 11:16:59 AM
Quote from: Dean on February 22, 2017, 10:45:07 AM
This was my result.
Am I missing something here.

Neither the area of the quarter-circle nor the area of the three-quarter-circle is reported correctly, Dean.

Henry H

It's rounding it off, Henry, correct?
It's very close ,not exact.
"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

Quote from: Dean on February 22, 2017, 11:39:40 AM
Quote from: Henry Hubich on February 22, 2017, 11:16:59 AM
Quote from: Dean on February 22, 2017, 10:45:07 AM
This was my result.
Am I missing something here.

Neither the area of the quarter-circle nor the area of the three-quarter-circle is reported correctly, Dean.

Henry H

It's rounding it off, Henry, correct?
It's very close ,not exact.

Yes, it is close, Dean; error is much less than one percent. But I'm not sure that rounding it off is an appropriate description, since the result is reported to six decimal places.

Henry H

Andy H

#7
Can I just throw a spanner in the works   :)

The wedge area as reported by design director, when using just arcs (not closed) for either the wedge or the three quarter bit appears correct, seems odd that TC can get that right but not when its a closed wedge

It's almost like TC is taking the line thickness into account before calculating a closed wedge (actually I think it's called a sector, but whatever)

John R

I believe the "closed" wedge is seen as a multi-faceted Polyline. It just doesn't display the faceting. I exploded an arc to line segments and get the same area measurements as when it's not exploded.
John R.

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

Henry Hubich

Quote from: John R on February 22, 2017, 04:16:20 PM
I believe the "closed" wedge is seen as a multi-faceted Polyline. It just doesn't display the faceting. I exploded an arc to line segments and get the same area measurements as when it's not exploded.

I think you're right, John. Further confirmation is that if I explode a circle into a Polyline, then create a 270-degree sector from that, the reported area is identical to the reported area of a similar sector created directly from a circle.

Henry H

Dean

#10
This is interesting,
the "surface area" is spot on

> more tests
I exported from Turbocad the 2D geometry as dwg, opened in Autocad and the calculated 'Area' is correct according to AC standards.
So Turbocad's precision for "reporting" the "Area" of the 2D geometry appears to be at fault.
"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

Interesting indeed. In order to calculate the area of such an object as 0.75 * p1 * R^2, the program must somehow know that it consists of a circular arc and two radii at right angles.

...And yes, Surface Area is spot on. Weird.

Henry H

AussieBloke

Dean & Henry.

I'm not at my design pc at the moment, but when you say it's close just how close as this represents a big problem for me just down the track. My designs have the recorded weights added to each objects custom properties as a value, that way I can sum all the objects parts as a total weight. These individual calculations were done through the variable toolbar just like Deans calcs.

I intend to use excel to double check & calculate the weight of each (objects custom property value) designed object by it's mass through the tcw report. Based on Phranco, Dean & Henry posts there is going to be a considerable variance from what tcw calcs and excel.

So I need to know just how close?

And I may now need to add another varaible to all drawings saying something like there is an .003% margin of error.

Can imsi fix this is a problem quickly?

Thanks

Daz

murray dickinson

It would not surprise me if the polyline area algorithm dated back to original TC with the surface area (and other physical properties) algorithm coming from ACIS/Spatial.

Henry Hubich

Quote from: Aussie@4868 on February 23, 2017, 01:01:01 PM
Dean & Henry.

I'm not at my design pc at the moment, but when you say it's close just how close as this represents a big problem for me just down the track. My designs have the recorded weights added to each objects custom properties as a value, that way I can sum all the objects parts as a total weight. These individual calculations were done through the variable toolbar just like Deans calcs.

I intend to use excel to double check & calculate the weight of each (objects custom property value) designed object by it's mass through the tcw report. Based on Phranco, Dean & Henry posts there is going to be a considerable variance from what tcw calcs and excel.

So I need to know just how close?

And I may now need to add another varaible to all drawings saying something like there is an .003% margin of error.

Can imsi fix this is a problem quickly?

Thanks

Daz

How close are TC's reported values? In the case of the area of a three-quarter circle, TC's reported value is low by about 0.18%.

Absolute accuracy is never possible. For one thing, pi cannot be expressed with absolute accuracy. For another, there is no formula for calculating the area bounded by one or more arbitrarily drawn splines with absolute accuracy.  And in the real world, manufactured parts are subject to variations caused by manufacturing tolerances and by variations in material density. At any rate, if your assembly consisted of -- say -- 150 widely different parts, and if the calculated weight of each part were -- say -- overstated by 1.00%, the calculated weight of the assembly would be overstated by 1.00%.

Henry H

AussieBloke

Henry, after some more testing in both tcw and excel, your absolutely correct. When you take into account the rounding or formatting within excel ( pi is a constant , but the formatting does or will trim the result) and or tcw the calc is now minor. Albeit that I can get around this by adding additional tolerance values using +- for weight etc.

Thanks

Daz