Michael Dawson-Haggerty

Results 107 comments of Michael Dawson-Haggerty

I'm not totally sure I understand this issue but PR's with a test very welcome! The test matrix/correct behavior looks like this (but one of these conditions isn't true?): -...

Oh thanks, I understand now. Yeah PR's welcome!

Hey, if the header isn't valid JSON isn't the GLTF file invalid? I see a few errors where the file doesn't have the `nodes` keyword. Do other loaders load these...

Hey, can you try running the failing operation in debug mode, which should print the output from scad: ``` differenza = trimesh.boolean.difference([cube, union], engine='scad', debug=True) ``` It may be mad...

Yeah agreed for non-watertight meshes this is janky. My main concern is keeping `face_adjacency` a `(n, 2) int` numpy array and not adding too much of a performance penalty for...

Hey, yeah boolean operations are quite unreliable, and don't really work on open surfaces. You might try `mesh.slice_plane` if you're "cutting" by something planar.

Hey, I think you need to specify the matrix explicitly when using `to_planar`, as if the matrix is unspecified the function has to fit a plane which may not be...

Hmm looks like that example runs for me. Maybe your scipy install? I'd try a `pip install --upgrade scipy` ``` In [1]: import trimesh import numpy as np In [2]:...

Gotcha, so isn't the `np.isfinite(faces)` a no-op? It appears to just always return an all-`True` mask, which doesn't alter faces. We should probably just remove that line, and if we...

Hey, the mutable `box.primitive.extents` is the pre-transform size of the box used for creation, and `box.extents` is the post-transform size of the axis-aligned bounding box of the resulting geometry (i.e...