Comments (3)
Yeah, the point contains test is quite slow, and without watertight meshes not going to tell you very much. Some ideas:
-
If you have 2 watertight meshes you can use boolean intersection methods of the Trimesh objects (which uses blender or openSCAD as a backend). This is always going to be a bit slow as well, and can give wonky results from precision issues.
-
You probably want an actual collision detection library- FCL is very popular and this python binding looks pretty interesting: https://github.com/jf---/python-fcl
from trimesh.
Thanks!
The python-fcl, which uses bvh, does the work very well.
It seems most of the collision test libs like bullet3 all use bvh.
from trimesh.
Btw, I've built a conda package for python-fcl.
If you use conda
you can easily install the python-fcl through:
conda config --add channels http://conda.anaconda.org/lorinma
conda install python-fcl=0.4.1
perhaps you can incorporate fcl into trimesh in this way.
from trimesh.
Related Issues (20)
- Voxel grid scale and points not updated after transform HOT 3
- Help Understanding mesh.identifier HOT 1
- `trimesh.proximity` on `trimesh.Scene`
- Faces are broken HOT 3
- Unexpected outcome from XZ to XY plane transform HOT 1
- Feature request: TestVHACD in favor of pyVHACD HOT 4
- about nricp_amberg HOT 2
- Round or smooth the boundary edges HOT 2
- How to merge vertices to form a coarse mesh?
- Mesh Mesh Intersection (triangle-triangle)
- Medial Axis wrong after mesh.process(validate=True, merge_tex=True, merge_norm=True)
- Store name of solid in stl file
- Extract UV map as .png file HOT 1
- Remove embreex dependency for mac M1 HOT 1
- Breaking change in 3.10.8 causing materials not to load HOT 2
- Boolean union output problem HOT 1
- Normal consistency based closest point HOT 1
- Instability with normal generation with trimesh.creation.sweep_polygon
- Orientation guarantee of facet normals
- trimesh/examples/nearest.ipynb generates errors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trimesh.