Hi
I’m using a text field to calculate a curve’s area. In general this works but I’ve found a condition where it is reporting a negative area. The curve is closed and planar. Any ideas what would be causing this?
Negative area.3dm (32.1 KB)
Hi
I’m using a text field to calculate a curve’s area. In general this works but I’ve found a condition where it is reporting a negative area. The curve is closed and planar. Any ideas what would be causing this?
Negative area.3dm (32.1 KB)
I assume you are using DimArea
, which returns a negative value. Area
returns a positive value.
It may be connected with the curve being a polycurve of several arcs. If I rebuild it as a single, non-rational curve DimArea
returns a positive value.
Hi Tom -
A picture really doesn’t help anything.
Please provide the 3dm file.
-wim
Hi Tom - see the text field gets this wrong - the Area command does not. Thanks, we’ll fix it.
RH-69998 Text fields: negative area
Apparently this is fixed in the WIP for V8.
-Pascal