Skip to content

Error on apple example  #5

@alecjacobson

Description

@alecjacobson

I tried to run:

python ../ConvexHull_Simplification/SILD_convexhull_simplification.py apple

but I got this output

original vertices number: 85
Traceback (most recent call last):
  File "../ConvexHull_Simplification/SILD_convexhull_simplification.py", line 344, in <module>
    mesh=remove_one_edge_by_finding_smallest_adding_volume_with_test_conditions(mesh,option=2)
  File "../ConvexHull_Simplification/SILD_convexhull_simplification.py", line 151, in remove_one_edge_by_finding_smallest_adding_volume_with_test_conditions
    mesh.get_halfedges()
  File "/Users/ajx/Dropbox/Decompose-Single-Image-Into-Layers/ConvexHull_Simplification/trimesh.py", line 442, in get_halfedges
    if self.__halfedges is None: self.update_halfedges()
  File "/Users/ajx/Dropbox/Decompose-Single-Image-Into-Layers/ConvexHull_Simplification/trimesh.py", line 333, in update_halfedges
    he0index = len( self.__halfedges )
AttributeError: 'TriMesh' object has no attribute '_TriMesh__halfedges'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions