Michael Dawson-Haggerty

Results 107 comments of Michael Dawson-Haggerty

Thanks for the models! I'm not sure what's going on here as this is a somewhat complicated interleaved file, but I did notice if you load with `m = trimesh.load('sample.obj',...

Ah yeah it looks like it is actually just applying the plane transform to the points. A better name might be `transform_to_plane`. If it returns them as 2D points it's...

Hey, vertex colors in OFF files aren't currently implemented. PR's welcome if you can find a nice way to vectorize the loading!

Hey, embree is intel's raytracer that they designed to show off the fancy features of their x86_64 processors (they only release for x86_64), I think embree is extremely unlikely to...

Oh nice that’s surprising! Yeah then this would be dependent on getting some variant of the embree3 support as described in #1557 merged (and maybe also a pr to get...

Thanks for the report! It's failing to triangulate the polygon, and I'm definitely reproducing the segfault in `triangle.triangulate` which isn't ideal behavior. I noticed `p2 = extrude_polygon(p, 3.3, engine='earcut')` also...

Hey I'd try calling `trimesh.intersections.mesh_multiplane(mesh, ...)` directly (rather than calling `mesh.section_multiplane(...)`) as it will return the result as numpy arrays which you can handle however you want without creating the...

You might be able to use `shapely.ops.polygonize` on the line segments though iirc that didn't benchmark all that much faster than the trimesh implementation. What's the benchmark look like with...

Hey, it's going to be breathtakingly slow on larger values but you could use `networkx.from_edgelist` + [networkx.simple_cycles](https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.cycles.simple_cycles.html#networkx.algorithms.cycles.simple_cycles). There's probably a faster way to do it with `scipy.csgraph` or perhaps a...

Hey, you'd have to create triangular faces to use it in Trimesh. I'm not sure how to do this well or if it's a well-defined problem but you might use...