Possible BUG: Unable to calculate area

Hi,
Simple as that. Why?
The file is enclosed.

Thanks,Bug_Area.3dm (31.4 KB)

Dmitriy

Good question. Area requires planar curves to work.

I was able to get Area to work by using SetPt to set the curve at x=0. However, the maximum deviation between the original curve and the curve after SetPt was only 3e-12

Sounds like it may be a tolerance issue. :jack_o_lantern:

Perhaps an internal tolerance issue in the code. The set absolute tolerance is 0.001 which is reasonable.

@Pascal Someone should look at this. 3e-12 deviation of a curve from planar should not be enough to keep Area from working.

1 Like

Yep, got it, thanks.

-Pascal

Bump.

I have the same issue. Generated 47 sections with Contour, fixed some joining issues with Explode/Connect/SelDup/SelSelfIntersecting.

Area only works on 15 of the 47 sections. SelPlanarCrv only picks 15 curves of the 47. The 15 planar curves are randomly distributed among the 47.

AttachGHSData has no issues with all 47 sections.
PlanarSrf generates 47 surfaces from the curves.

Units are mm.
Tolerance is 0.01 units.

How can non-planar sections be generated from this process?
How can PlanarSrf work but Area not work? (I’ll use this as a workaround for current job.)

Rhino 7 SR5 2021-4-10 (Rhino 7, 7.5.21100.03001

Hi Nick -
I found RH-54319 and added this thread.
Thanks,
-wim

2 Likes