About 1,140,000 results
Open links in new tab
  1. how to detect whether two segments (in 3d space) intersect?

    Mar 18, 2019 · The intersection point P(t0) (or Q(t1)) exist if t0 and t1 are both in the interval [0 1]. Plucker Coordinates way Given line segment P limited by points P1 and P2 and line segment Q limited by points Q1 and Q2.

  2. Intersections of 3D polygons in python - Stack Overflow

    Mar 31, 2010 · Are there any open source tools or libraries (ideally in python) that are available for performing lots of intersections with 3D geometry read from an ESRI shapefile? Most of the tests will be simple line segments vs polygons.

  3. Intersection 3D meshes python - Stack Overflow

    Jul 23, 2018 · Is there any good library in python (if possible) which can find intersections between 3D objects? A good option is to use open-source library MeshLib, written in C++ but also having a Python interface and package downloadable by pip install. A code example for subtracting two spheres (similar to the other answer) using MeshLib:

  4. Finding if two polygons intersect in Python

    Mar 19, 2014 · I'm looking for an algorithm, a high-level solution, or even a library which can help me determine if two polygons intersect, in Python. I have the vertices of the two polygons (These are single-part polygons without any holes) in two different arrays.

  5. Getting intersection of multiple polygons efficiently in Python

    Apr 17, 2017 · An intersection of two circles can be found by circle1.intersection(circle2). I can find the intersection of all three circles by circle1.intersection(circle2).intersection(circle3) . However, this approach is not salable to a large number of polygons as it …

  6. How to check if two meshes intersect in python?

    May 2, 2014 · So you really have to ray_cast() to find intersections. The 3D Printing Toolbox addon comes with a self-intersection checker. I quickly adapted the code to test for intersections between two objects (updated for Blender 2.80+): """ Returns a transformed, triangulated copy of the mesh. """ assert(obj.type == 'MESH')

  7. Line intersection (or closest points) in 3d-space using Python3 …

    Jul 12, 2022 · def closest_points_on_two_3d_lines(a1, a2, b1, b2, epsilon=.00001): Calculate the closest point between two 3d lines A and B. Returns a tuple with two 3d coordinates that denote the closes point along line A and B

  8. Find the intersection of two models - 3D Slicer Community

    Nov 20, 2022 · Hi there, How can i find the points in which two models (a sort of cylinder and a bar) intersect one another? i’ve tried messing up with numpy trying to search for intersections in data arrays but that doesn’t seem the right way. Thanks!

  9. 3D geometry intersections in Python - Stack Overflow

    Nov 20, 2022 · Using Shapely to check if the intersection geometry bound lies within the "active" z-coordinate range of the barriers works, but is severely limiting to the kind of 3D barriers that can be used. I would call it a 2.5D solution..

  10. Determine if two meshes intersect in any way - Python Support

    Sep 3, 2011 · A quick way would be to compare bounding boxes first. If you get an intersection on the bounding box. Create a new box from the two intersections. Then create a list of vertices from each mesh that resides in the new box. At that point you would be at …

  11. Some results have been removed
Refresh