I have one surface in the attached file and rhino3dm thinks that the surface is not planar. Is this a bug?
path = r"C:\Users\devan\Desktop\test.3dm"
file_3dm = rhino3dm.File3dm.Read(path)
for obj in file_3dm.Objects:
test.3dm (42.7 KB)
How about this?
model = rhino3dm.File3dm.Read('/Users/Dale/Downloads/test.3dm')
tol = model.Settings.ModelAbsoluteTolerance
geometry = model.Objects.Geometry
if isinstance(geometry, rhino3dm.Brep):
Wow! Thanks for this quick help. I should not have missed that.
Can you please try the surface in the attached file? It does not work even after using tolerance.
test.3dm (43.7 KB)
Although the surface appears planar, it is not (at least within the model’s absolute tolerance).
Learned something new today. Thank you for the help!