mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 07:09:22 +00:00
closes #6843 - made merge by distance a little more tolerable
This commit is contained in:
@@ -1683,7 +1683,7 @@ class Model(bonsai.core.tool.Model):
|
|||||||
|
|
||||||
bm = bmesh.new()
|
bm = bmesh.new()
|
||||||
bm.from_mesh(mesh)
|
bm.from_mesh(mesh)
|
||||||
bmesh.ops.remove_doubles(bm, verts=bm.verts, dist=1e-5)
|
bmesh.ops.remove_doubles(bm, verts=bm.verts, dist=1e-4)
|
||||||
bmesh.ops.delete(bm, geom=bm.faces, context="FACES_ONLY")
|
bmesh.ops.delete(bm, geom=bm.faces, context="FACES_ONLY")
|
||||||
|
|
||||||
# https://docs.blender.org/api/blender_python_api_2_63_8/bmesh.html#CustomDataAccess
|
# https://docs.blender.org/api/blender_python_api_2_63_8/bmesh.html#CustomDataAccess
|
||||||
|
|||||||
Reference in New Issue
Block a user