Skip to content

Add stl/defective-mesh: common mesh defects, each in a known place - #16

Open
raykholo wants to merge 1 commit into
tangency-labs:mainfrom
raykholo:stl-defective-mesh
Open

raykholo wants to merge 1 commit into
tangency-labs:mainfrom
raykholo:stl-defective-mesh

Conversation

@raykholo

Copy link
Copy Markdown

One ASCII STL holding the mesh defects readers meet in real files, each in a known place: a
self-intersection, a non-manifold edge, a hole, a flipped triangle, a duplicate triangle and
degenerate triangles, on eight small cubes.

  • File: defective-mesh.stl
  • Author: raykholo
  • Made with: scripts/generators/defective_mesh.py (Python 3, standard library only), writing

Made by the committed generator in scripts/generators/, which regenerates the file byte for byte; the README lists what it stresses, counts and SHA-256. Released under CC0-1.0; python3 scripts/check.py passes.

Eight small cubes in one ASCII STL with a self-intersection, a non-manifold edge,
a hole, a flipped, a duplicate and two degenerate triangles. Generated by
scripts/generators/defective_mesh.py; README lists where each defect is.
@raykholo
raykholo requested a review from jyviko as a code owner October 20, 2026 23:59
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

Successfully merging this pull request may close these issues.

1 participant