Closed ning2510 closed 1 year ago
Hi @ning2510
When the mcDispatch function is called ... an error ... is reported
Setup a debug context (see e.g. BasicCmdLineApp tutorial on how to do this).
What rules do you divide according to?
There are no special "rules". Simply ensure that each input mesh is a single connected component.
Hi, I try to read the STL file and then do boolean operations, but it fails. I made a modification on CSGBollean.cpp and below is my code to read STL:
I modified the original code to read stl file:
I think the above code for reading STL files should be right.
After that, I perform Boolean operations. When the mcDispatch function is called, its return value is
-4
, and an erroroperator()(...) -> invalid source-mesh connectivity
is reported.This problem also happened in #12 . But it didn't solve my problem. In #12 , you separated the skull into its connected components to then cut cranium with a plane. But in fact, I am quite confused about this piece. What rules do you divide according to?
And you said it is because your source mesh (which is likely the skull mesh) has more than one connected component. I don't really get it, can you explain the connection components a bit more, and how do i divide my stl file into individual connected components.
Here is my test file: test_file.zip