-
Notifications
You must be signed in to change notification settings - Fork 114
Description
Describe the bug
Started having a test fail in test_mesh.py , line 74, while working on PR #348.
The mesh in question should have 4020 vertices but I'm getting 4008.
While trying to figure out what went wrong I discovered that fresh installs of both current COMPAS 0.8.1 as well as 0.7.2 reports mesh.number_of_vertices() to be 4008. This has been tested both in virtualenv and conda on more than one machine.
Blender agrees with test_mesh.py reporting 4020 vertices while Rhino reports the following:
TLDR: non manifold, intersections and 24048 vertices.
General information about this mesh:
Mesh has 660 non manifold edges.
Skipping face direction check because of positive non manifold edge count.
Mesh has 10709 pairs of faces that intersect each other.
This can cause problems if you're doing mesh boolean operations with it.
Mesh does not have any degenerate faces.
Mesh does not have any ngons.
Mesh does not have any extremely short edges.
Mesh does not have any naked edges.
Mesh does not have any duplicate faces.
Mesh has 172 disjoint pieces.
Mesh does not have any unused vertices.
ID: 893f94b4-db11-4879-abee-e38cdb9a4af1 (728)
Object name: (not named)
Layer name: Layer 01
Render Material:
source = from layer
index = -1
Geometry:
Valid mesh.
Closed double precision polygon mesh: 24048 vertices, 8016 faces with normals
Bounding box: (-71.1734,-42.8274,99.5188) to (77.8611,63.5517,177.751)
The tests runs fine outside my branch, but I really don't understand why there's a discrepancy in number_of_vertices() during invoke test and manual testing..
Has anyone got any ideas what's happening here?