In Python I’m trying to get the Area of the trimmes face of a Brep.
However for now all I cab find is, which gives the area of the untrimmed face.
Area = Rhino.Geometry.AreaMassProperties dblArea = Area.Compute(srf).Area
As Mitch pointed out; the code can be condensed to this:
dblArea = Rhino.Geometry.AreaMassProperties.Compute(srf).Area
How would I get the area of the trimmed surface only?
EDIT: I think I might have solved this myself.
From the Brep I was getting the surface list :
These are apparently the untimmed versions of the NURBS surfaces.
When passing the
Brep.Faces list I did get the Area’s of the trimmed faces.