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

Release: Revolve Caps #2290

Merged
merged 44 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
c253748
add support for path3d export to ply format
Aug 29, 2024
9aa8cbe
fix for #2269 with new test case for incomplete creation.revolve()
bguan Sep 9, 2024
7c4ac68
lint code
Sep 10, 2024
d41c76a
Convert to numpy array if need
michaelbratsch Sep 10, 2024
e562047
improve ply export and add more unittests
Sep 11, 2024
f11f154
update suggestion
mikedh Sep 17, 2024
e62a22c
Merge pull request #2286 from michaelbratsch/fix/convert_to_numpy_array
mikedh Sep 17, 2024
538f7b9
Merge pull request #2282 from moberweger/add-path-export-ply
mikedh Sep 17, 2024
7f90511
Merge pull request #2283 from bguan/main
mikedh Sep 17, 2024
fead44f
ruff format
mikedh Sep 17, 2024
8d13389
add unimplemented force_vertices kwarg
mikedh Sep 18, 2024
77949dd
fix broken import
mikedh Sep 18, 2024
d57693e
follow redirects from github
mikedh Sep 18, 2024
13e1038
clean up optional options in GithubResolver
mikedh Sep 18, 2024
a3978fe
check for no images
mikedh Sep 18, 2024
135bb4c
always return same type of integer
mikedh Sep 18, 2024
058f9bc
remove repairs
mikedh Sep 18, 2024
a69b94e
add force_vertices check
mikedh Sep 18, 2024
3d0a70a
add a helper CLI
mikedh Sep 20, 2024
5fa4145
fix #2291
mikedh Sep 24, 2024
4113362
rename to chain to match itertools
mikedh Sep 25, 2024
c5e958f
fix util.chain type hint
mikedh Sep 25, 2024
9f13cd5
fix type hint and add test for util.chain
mikedh Sep 25, 2024
875c54e
remove use of util.is_string
mikedh Sep 26, 2024
ba0afbd
add trimesh -i CLI helper
mikedh Sep 27, 2024
fec34f9
add show back to CLI
mikedh Sep 27, 2024
2d7185e
add check for multiple difference i.e. #2291
mikedh Sep 30, 2024
e01a0c8
fix accidentally committed WIP
mikedh Sep 30, 2024
b2d7db6
fix type hint on base object
mikedh Sep 30, 2024
100fb3c
fix type warning in util
mikedh Sep 30, 2024
7d1a7e9
move ply path into main file
mikedh Oct 1, 2024
6677eed
type hints for rasterize
mikedh Oct 4, 2024
0ead52f
use unified check
mikedh Oct 4, 2024
e811a26
fix empty path export
mikedh Oct 4, 2024
505ed29
use the same check in packing
mikedh Oct 6, 2024
cca5eef
docstrings
mikedh Oct 6, 2024
ac3bebb
rough draft of external file mesh loading
mikedh Oct 7, 2024
39ebfac
working on example file
mikedh Oct 8, 2024
21a1591
check for None
mikedh Oct 14, 2024
af820f8
fix a deadlock in 3MF
mikedh Oct 14, 2024
cde81e4
Merge pull request #2296 from mikedh/feat/3mfextra
mikedh Oct 14, 2024
5172359
merge
mikedh Oct 14, 2024
6a214ac
merge
mikedh Oct 14, 2024
1e9edc1
bump version
mikedh Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires = ["setuptools >= 61.0", "wheel"]
[project]
name = "trimesh"
requires-python = ">=3.8"
version = "4.4.9"
version = "4.5.0"
authors = [{name = "Michael Dawson-Haggerty", email = "mikedh@kerfed.com"}]
license = {file = "LICENSE.md"}
description = "Import, export, process, analyze and view triangular meshes."
Expand All @@ -32,6 +32,9 @@ dependencies = ["numpy>=1.20"]
file = "README.md"
content-type = "text/markdown"

[project.scripts]
trimesh = "trimesh:__main__.main"

[tool.setuptools]
packages = [
"trimesh",
Expand Down Expand Up @@ -84,7 +87,6 @@ easy = [
]

recommend = [
"glooey",
"sympy",
"meshio",
"pyglet<2",
Expand All @@ -94,30 +96,36 @@ recommend = [
# "python-fcl", # do collision checks # TODO : broken on numpy 2
"openctm", # load `CTM` compressed models
"cascadio", # load `STEP` files

]

# this is the list of everything that is ever added anywhere
# mostly useful for getting our test coverage up
# stuff to run simple testing
test = [
"pytest-cov",
"pytest",
"pyinstrument",
"ruff",
]

# this is the list of everything that is ever added anywhere
# mostly useful for getting our test coverage up but may not
# be easy to install on all platforms and is only really
# a good idea in our "cannonical docker images"
test_more = [
"coveralls",
"pyright",
"ezdxf",
"pytest",
"pymeshlab; python_version<='3.11'",
"pyinstrument",
"pytest-beartype; python_version>='3.10'",
"matplotlib",
"ruff",
"pytest-beartype; python_version>='3.10'"
"pymeshlab",
"triangle",
]

# interfaces.gmsh will be dropped Jan 2025
deprecated = ["gmsh==4.12.2"]

# requires pip >= 21.2
# https://hynek.me/articles/python-recursive-optional-dependencies/
all = ["trimesh[easy,recommend,test,deprecated]"]
all = ["trimesh[easy,recommend,test,test_more,deprecated]"]

[tool.ruff]
target-version = "py38"
Expand Down
5 changes: 4 additions & 1 deletion tests/test_3mf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ def test_roundtrip(self):
file_type="3mf",
)

assert set(s.geometry.keys()) == set(r.geometry.keys())
assert set(s.geometry.keys()) == set(r.geometry.keys()), (
s.geometry.keys(),
r.geometry.keys(),
)
assert g.np.allclose(s.bounds, r.bounds)
assert g.np.isclose(s.area, r.area, rtol=1e-3)

Expand Down
Loading