hi, imodel.js Do you support Boolean operations of mesh and solid? #676
-
hi, imodel.js Do you support Boolean operations of mesh and solid?I found that in regionops, there are operations involving 2D.Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Can you describe the use case in more detail? If the goal is to create geometric elements, there is a new api in 2.11 that supports Boolean operations for creating the element's geometry. Be aware that it's still in the testing phase and marked as alpha. Search for BRepGeometryOperation in: For an example, search for "unite/subtract/intersect solids test" in: |
Beta Was this translation helpful? Give feedback.
-
I want to perform Boolean operation between two solid or two mesh. Do support it now? thanks。 |
Beta Was this translation helpful? Give feedback.
Can you describe the use case in more detail? If the goal is to create geometric elements, there is a new api in 2.11 that supports Boolean operations for creating the element's geometry. Be aware that it's still in the testing phase and marked as alpha.
Search for BRepGeometryOperation in:
https://github.com/imodeljs/imodeljs/blob/master/core/common/src/geometry/ElementGeometry.ts
For an example, search for "unite/subtract/intersect solids test" in:
https://github.com/imodeljs/imodeljs/blob/master/core/backend/src/test/standalone/GeometryStream.test.ts