Replies: 2 comments 2 replies
-
We do: manifold/src/manifold/include/manifold.h Line 168 in 8705950 But this is so rarely used that we forgot to export it in our bindings :P |
Beta Was this translation helpful? Give feedback.
-
And for optimizing boolean operations with constraints: currently we will lazily perform the actual boolean operation, most often the operations will just create some operation tree, which can be optimized by reordering, using compose instead of union for disjoint parts, etc. Although we did not really look deep into better heuristics in that area, the optimizations currently implemented is quite trivial. |
Beta Was this translation helpful? Give feedback.
-
one of common ways I sometimes model stuff for 3d printing is stacking different sections and then making a union. It helps me to break complex model into more manageable parts.
Since manifold is currently very actively developed, I am thinking that there are some cases where boolean ops could be optimized by having some known constraint that reduces amount of work for the alg.
Simple case to demonstrate the concept would be two cylinder one on top of the other.
My experience is from jscad csg.js bsp tree where space gets cut into a soup, and I lack skill to implement it there.
I am sure there are more complex cases where there would be real benefit to performance.
Maybe manifold by design handles such cases much better, I just do not know. I want to pick your brain a little on this topic.
Bonus question: is there an operation in manifold that cuts a mesh in some plane ?
Beta Was this translation helpful? Give feedback.
All reactions