MoI discussion forum
MoI discussion forum

Full Version: Area From Curve Script

From: stefano (LIGHTWAVE)
19 May   [#1]
Here’s a small curve area helper. Select a closed curve and run the command.
It calculates the area, shows the result in a popup, then copies it to the clipboard.
Works from any view.

Other notes/config details are in the text file. May expand later, but working well for now.

Video might follow pending operator firmware updates.


MoI3D CurveArea helper preview

A = π × 150²
A = 70,685.83 mm²
A = 0.0707 m²

Enjoy.

Attachments:
AreaFromCurve.txt


From: Phiro
19 May   [#2]
Very nice.
But why use square meters instead of the "unit system" specified in Moi's options?
I model using millimeters, and your function gives me values ​​like 0.00 m².
Moi's detail function also provides the area.
You just need to take the curve, create a plane of it, and then request the area detail.

Your script allows you to get the area more quickly, but I think keeping the "unit system" would be preferable.

Thanks

Message 12002.3 was deleted


From: stefano (LIGHTWAVE)
20 May   [#4] In reply to [#2]
Hi Phiro, added mode 3. Type or use shortcut:
AreaFromCurve 3


Gives moi native area numbers. Seems to work:

Attachments:
AreaFromCurve.txt

Image Attachments:
MOI Area to Curve Object properties.jpg