Actually, it’s more of an unimplemented feature than a bug. That is, Carve lib supports it (boolean operation when one of the objects is fully contained within a face of another), but it’s not enabled in boolPro. Not sure when we will have time to address this.
BoolPro: A better mesh boolean
The upcoming Maya 2014 extension release does include the new booleans built with the Carve libraries. 
Dear Dr. Zohar,
Thank you very much for providing so powerful BoolPro. Currently I am trying to do boolean operations to multiple domains polyhedrons. Before this I always use CGAL. However, for this kind of multiple domains polyhedrons, the CGAL doesn’t work. I noticed that Carve could process this kind of problem and I also got to know that the powerful BoolPro provides convenient interface between maya and Carve. I downloaded the BoolPro code and studied very much from the code. Thanks.
Now I have a problem when using the Carve. For the poly1 and poly2 which are read from a1.off and a2.off, the following code crashed. Could you please take a look at it for me?
Thanks,
Tang Laoya
/// a1.off
OFF
18 24 0
1 -2 -2
1 0 -2
1 2 -2
-2 -2 -2
-2 0 -2
-2 2 -2
1 -2 0
1 0 0
1 2 0
-2 -2 0
-2 0 0
-2 2 0
1 -2 2
1 0 2
1 2 2
-2 -2 2
-2 0 2
-2 2 2
4 0 1 7 6
4 0 3 4 1
4 0 6 9 3
4 6 7 10 9
4 1 4 10 7
4 3 9 10 4
4 1 2 8 7
4 1 7 10 4
4 1 4 2 5
4 2 5 11 8
4 4 10 11 5
4 7 8 11 10
4 6 7 13 12
4 6 12 15 9
4 6 9 10 7
4 7 10 16 13
4 9 15 16 10
4 12 13 16 15
4 7 8 14 13
4 7 13 16 10
4 7 10 11 8
4 8 11 17 14
4 10 16 17 11
4 13 14 17 16
/// a2.off
OFF
8 6 0
2 1 -1
2 1 1
2 -1 1
2 -1 -1
-1 1 -1
-1 1 1
-1 -1 1
-1 -1 -1
Did you make fun of my avatar?
Your first object isn’t a manifold, and I can’t help you further. Please contact carve lib author.
No. You did help me great in studying the Carve lib. At least now I have successfully read/write the OFF file by my own manners, that means I can use this lib latter.
BTW: I provided an unclosed polyhedron before and you can get the result by A_MINUS_B operation, I also tested but found that the 1.4 version works but latest version still crash, so there are still some bug in coping with these kind of unclosed polyhedrons.
Now the problems focus on me is that my other projects are compiled by VS2012 but the Carve 1.4 can’t be compiled by VS2012, so that I have to use the latest version to work. I have also contacted with the author of Carve, he replied that he is on holiday:(
Thanks,
Tang Laoya
Bumping this thread.
Is the plugin obsolete or no longer in development? If it’s available then is there an install for Maya 2016 available?
I can build a version for Windows x64, maya 2016 if you want. But isn’t the new Maya (I think since 2015) finally using the same machinery, and thus would perform comparably?
I didn’t need to use booleans for a couple of years; but rumors say that the new Maya booleans should work the same as my boolPro plugin. So maybe you should give maya internal booleans a try. In any case, I uploaded a new boolPro_2016_x64.mll.
Note:
I moved to VS2013, and initially I had problems with the plugin crashing. I did the following, and I’m not sure what helped:
- I moved the internal classes Hook and Hooks outside of the CSG class (but still in the namespace).
- I added the projects from carvelib (carvelib, fileformats, glew, gloop) to boolPro solution instead of linking against the lib.
- In release mode I changed the code optimization from max speed (/O2) to min size (/O1). This might affect performance.
Instead of the above, the plugin should probably be built with vs2010, instead of messing with carveLib.
Zohar,
this cannot be a general problem as I had no problems compiling boolPro (vs2013/vs2016)
with the ‘original’ file structuring.
Hi Burkhard,
Good to know. So maybe something is messed up on my system; I didn’t have time to look into this properly.
Feel free to send me a link to your binary (e.g. dropbox), and I’ll upload it instead of mine.
I guess the new boolean in Maya are pretty good.I was trying them and no crashing like days of old.
My version is different from the ‘official’ boolPro…hope I will some day have time to incorporate uv support and then release it. As I have said in another thread, the default Maya-carve-booleans crash more often then the boolPro version…of course I have no idea how that is possible. :surprised
