difference operation returns random results
See original GitHub issueSo I have 2 objects. Object A and B which represents holes I want to cut out of A.
When I run difference like below it gives me random results. Sometimes the result is A-B like expected, but sometimes it returns B-A as the result. Is this expected behaviour? Engine in this case is blender
self.stl.difference(holes_elements[0], engine=self.ENGINE)
So this is what I expect always to get back:
But like I said sometimes it returns this:
It cuts A from B and returns B-A as result:
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
JavaScript - Difference between random function results
Math.random() produces floating point values in the interval [0, 1) (from zero inclusive to one exclusive). This means that there is a ...
Read more >15.00 - RANDOM - Teradata Database
RANDOM Purpose Returns a random integer number for each row of the results table. Syntax where: Syntax element …
Read more >Monte Carlo Simulation: History, How it Works, and 4 Key Steps
A Monte Carlo simulation takes the variable that has uncertainty and assigns it a random value. The model is then run and a...
Read more >sql server - What is the best way to get a random ordering?
ORDER BY NEWID () will sort the records randomly. An example here. SELECT * FROM Northwind..Orders ORDER BY NEWID().
Read more >What Are Random Numbers and How Are They Used?
A random number occurs in a specified distribution only when two conditions are met: The values are uniformly distributed over a defined interval...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s in the latest release, if you do a
pip install --upgrade trimesh
it should get it.@mikedh what version will this fix be included in? I want to test it out with my code 😃