-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2126 from mikedh/release/euler
Release: Case STL, Symbolic Euler Angles
- Loading branch information
Showing
14 changed files
with
432 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import trimesh | ||
|
||
# Load stl file with mixed case name | ||
mesh = trimesh.load_mesh("models/two_objects_mixed_case_names.stl") | ||
# Print some geometry info to test | ||
for k, v in mesh.geometry.items(): | ||
print("Sub-mesh Name:", k, "\nSub-mesh Min X value", min(v.vertices[:, 0])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
solid CubeExportedFromCAD | ||
facet normal -1.000000e+00 -4.336808e-16 -0.000000e+00 | ||
outer loop | ||
vertex 4.336809e-16 0.000000e+00 1.000000e+00 | ||
vertex 0.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 4.336809e-16 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal -1.000000e+00 -4.336808e-16 0.000000e+00 | ||
outer loop | ||
vertex 4.336809e-16 0.000000e+00 0.000000e+00 | ||
vertex 0.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 0.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal -0.000000e+00 -1.000000e+00 -0.000000e+00 | ||
outer loop | ||
vertex 1.000000e+00 0.000000e+00 1.000000e+00 | ||
vertex 4.336809e-16 0.000000e+00 1.000000e+00 | ||
vertex 1.000000e+00 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 1.000000e+00 0.000000e+00 0.000000e+00 | ||
vertex 4.336809e-16 0.000000e+00 1.000000e+00 | ||
vertex 4.336809e-16 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 1.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 1.000000e+00 0.000000e+00 1.000000e+00 | ||
vertex 1.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 1.000000e+00 1.000000e+00 0.000000e+00 | ||
vertex 1.000000e+00 0.000000e+00 1.000000e+00 | ||
vertex 1.000000e+00 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal -0.000000e+00 1.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 0.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 1.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 0.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 0.000000e+00 1.000000e+00 0.000000e+00 | ||
vertex 1.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 1.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 -0.000000e+00 1.000000e+00 | ||
outer loop | ||
vertex 1.000000e+00 0.000000e+00 1.000000e+00 | ||
vertex 1.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 4.336809e-16 0.000000e+00 1.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 -0.000000e+00 1.000000e+00 | ||
outer loop | ||
vertex 4.336809e-16 0.000000e+00 1.000000e+00 | ||
vertex 1.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 0.000000e+00 1.000000e+00 1.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal -0.000000e+00 -0.000000e+00 -1.000000e+00 | ||
outer loop | ||
vertex 1.000000e+00 1.000000e+00 0.000000e+00 | ||
vertex 1.000000e+00 0.000000e+00 0.000000e+00 | ||
vertex 0.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 0.000000e+00 -1.000000e+00 | ||
outer loop | ||
vertex 0.000000e+00 1.000000e+00 0.000000e+00 | ||
vertex 1.000000e+00 0.000000e+00 0.000000e+00 | ||
vertex 4.336809e-16 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
endsolid | ||
solid TranslatedCubeExportedFromCAD | ||
facet normal -1.000000e+00 -4.336808e-16 -0.000000e+00 | ||
outer loop | ||
vertex 5.0e+00 0.000000e+00 1.000000e+00 | ||
vertex 5.0e+00 1.000000e+00 1.000000e+00 | ||
vertex 5.0e+00 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal -1.000000e+00 -4.336808e-16 0.000000e+00 | ||
outer loop | ||
vertex 5.0e+00 0.000000e+00 0.000000e+00 | ||
vertex 5.0e+00 1.000000e+00 1.000000e+00 | ||
vertex 5.0e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal -0.000000e+00 -1.000000e+00 -0.000000e+00 | ||
outer loop | ||
vertex 6.000000e+00 0.000000e+00 1.000000e+00 | ||
vertex 5.0e+00 0.000000e+00 1.000000e+00 | ||
vertex 6.000000e+00 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 6.000000e+00 0.000000e+00 0.000000e+00 | ||
vertex 5.0e+00 0.000000e+00 1.000000e+00 | ||
vertex 5.0e+00 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 6.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 6.000000e+00 0.000000e+00 1.000000e+00 | ||
vertex 6.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 6.000000e+00 1.000000e+00 0.000000e+00 | ||
vertex 6.000000e+00 0.000000e+00 1.000000e+00 | ||
vertex 6.000000e+00 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal -0.000000e+00 1.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 5.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 6.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 5.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00 | ||
outer loop | ||
vertex 5.000000e+00 1.000000e+00 0.000000e+00 | ||
vertex 6.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 6.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 -0.000000e+00 1.000000e+00 | ||
outer loop | ||
vertex 6.000000e+00 0.000000e+00 1.000000e+00 | ||
vertex 6.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 5.0e+00 0.000000e+00 1.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 -0.000000e+00 1.000000e+00 | ||
outer loop | ||
vertex 5.0e+00 0.000000e+00 1.000000e+00 | ||
vertex 6.000000e+00 1.000000e+00 1.000000e+00 | ||
vertex 5.000000e+00 1.000000e+00 1.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal -0.000000e+00 -0.000000e+00 -1.000000e+00 | ||
outer loop | ||
vertex 6.000000e+00 1.000000e+00 0.000000e+00 | ||
vertex 6.000000e+00 0.000000e+00 0.000000e+00 | ||
vertex 5.000000e+00 1.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
facet normal 0.000000e+00 0.000000e+00 -1.000000e+00 | ||
outer loop | ||
vertex 5.000000e+00 1.000000e+00 0.000000e+00 | ||
vertex 6.000000e+00 0.000000e+00 0.000000e+00 | ||
vertex 5.0e+00 0.000000e+00 0.000000e+00 | ||
endloop | ||
endfacet | ||
endsolid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ requires = ["setuptools >= 61.0", "wheel"] | |
[project] | ||
name = "trimesh" | ||
requires-python = ">=3.7" | ||
version = "4.0.10" | ||
version = "4.1.0" | ||
authors = [{name = "Michael Dawson-Haggerty", email = "[email protected]"}] | ||
license = {file = "LICENSE.md"} | ||
description = "Import, export, process, analyze and view triangular meshes." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.