Hi,
from FreeCAD import Base
from FreeCAD import Part
from FreeCAD import Mesh
surface = Part.Shape()
surface.read("test.igs")
print(surface.Area)
The calculated surface area on python FreeCAD module by using shared code is 5382.86 m2 and the original surface area created on Rhinoceros is 5746.54 m2. There is an important difference between two results. "test" file is created in Rhinoceros and generated as .igs file with 0.00001 m tolerance.
How can I fix this problem?
Imported part area calculation error
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- kkremitzki
- Veteran
- Posts: 2511
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: Imported part area calculation error
It might help to attach your file.