It seems my previous mail didn´t go through.
Thanks for sharing those importer options:
optionVar -sv "STLImportOptions" ";mergeVertices=1;vertexTolerance=0.01;"
---
I ran a the test with two spheres exported from Maya 2020.4
as *.stl and imported into Blender 4.3
On import into Blender, those spheres come in as one object
and vertices/shells are merged correctly, meaning that the
two sphere shells are not merged in a non-manifold way where
they touch.
This implies that the Maya Exporter is writing out useful data
but the Maya Importer is flawed/limited.
I´ll give the STLImportOptions a go but I suspect it will
create non-manifold geometry if it´s a simple merge by distance
function under the hood instead of correctly reading the file...
Let me see.
Two spheres touching only on one vertice should result in
at least two shells, not one shells merged into non-manifold geo.
See below for "two spheres" test scenario for more detail
---
//That previous mail that was lost somewhere
---
Thanks for checking through the *.stl Import Options.
I don´t have this "Merge vertices" Option in 2020.4 either.
---
Worth testing if this works for shells that aren´t meant to
be merged and 2 vertices of seperate shells at same position
ending up getting merged
or
if the Import respects original shells as one would actually need.
E.g. is the file import really correct?
Manually merging vertices by (tiny) distance breaks the desired
results when using that as a workaround pre-Import Option setting.
---
Would be good to know if that Importer Option is actually
respecting shells or just merging by (tiny) distance as a
limited hotfix, too.
---
Test for 2024:
Create>Polygon Primitives>Sphere
Duplicate Sphere
Translate Duplicate by Y=2 (two spheres will touch on 1 top/bottom vertice)
Export both spheres together as *.stl
Re-Import with "Merge Vertices" and check if those vertices are now
merged...
---
Also worth checking how the Normals/Shading is affected in general.
---
Cheers,
tim
P.S: Sorry, can´t do this test at home, only have 2020.x at home.