Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: '<' not supported between instances of 'Facet3D' and 'Facet3D' #1

Open
salfter opened this issue Mar 22, 2021 · 0 comments

Comments

@salfter
Copy link

salfter commented Mar 22, 2021

I'm getting this error when I try to normalize a file:

Traceback (most recent call last):
  File "/usr/bin/stl_normalize", line 1276, in <module>
    main()
  File "/usr/bin/stl_normalize", line 1265, in main
    stl.write_file(args.outfile, binary=args.write_binary)
  File "/usr/bin/stl_normalize", line 784, in write_file
    self._write_ascii_file(filename)
  File "/usr/bin/stl_normalize", line 748, in _write_ascii_file
    for facet in self.facets.sorted():
  File "/usr/bin/stl_normalize", line 605, in sorted
    for pt in sorted(vals):
TypeError: '<' not supported between instances of 'Facet3D' and 'Facet3D'

I'm using Python 3.8 on Gentoo Linux, if it matters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant