Comments (3)
@jf--- we discussed at length on slack yesterday. the result is because of the tol
value used, but that is because we use this value in the wrong way in one of the functions called by the intersection function.
intersection_segment_segment
calls intersection_line_line
, which in turn uses intersection_line_plane
. the problem is with intersection_line_plane
.
when users specify a tol
value to intersection_segment_segment
they would rightly assume it influences the precision of the intersection check. however, intersection_line_plane
uses the same value for a parallelity check where it has the opposite effect.
if we no longer pass on the tolerance value to intersection_line_plane
(which we actually shouldn't) everything works as expected...
from compas.
Hi @romanarust is it possible that the diameter of the sphere representing the tolerance would be larger than the radii of the 2 lines?
from compas.
exactly, thanks @tomvanmele
from compas.
Related Issues (20)
- Intersection methods that accepts tuples. HOT 1
- compas 2 installation error on Mac HOT 9
- code standards enforced by pre-commit hooks HOT 1
- Geometric Key still uses compas.PRECISION HOT 5
- where are the compas.geometry.trimesh* dependencies defined? HOT 15
- Independent Rhino Obj -> Compas Obj converter based on rhino3dm HOT 6
- Cannot convert from Rhino.Point to compas point using `point_to_compas` HOT 1
- Point float arithmetic not mutable?! HOT 2
- [Discussion] Type-consistent through basic math operation HOT 2
- Rhino scripts default install path is wrong for Rhino 8 HOT 6
- `Runtime error (NotSupportedException)` in Grasshopper when using `draw_labels` HOT 2
- RobotModel SceneObject with Python3 in Rhino8 HOT 3
- Transformation of geometry HOT 4
- Fail to install compas in ironpython environment
- Windows and Doors for CellNetwork
- Cannot install Rhino plugin in student lab
- Automation of weekly release
- Notes for visualisation parameters
- `Brep.from_boolean_*` methods incorrectly decorated as classmethod? HOT 1
- What happened to intersection_sphere_sphere HOT 3
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 compas.