Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion about the result of tutorial PlanarSectioning #47

Open
lavender-lee opened this issue Sep 6, 2024 · 0 comments
Open

Confusion about the result of tutorial PlanarSectioning #47

lavender-lee opened this issue Sep 6, 2024 · 0 comments

Comments

@lavender-lee
Copy link

When I run the tutorial named "PlanarSectioning", I got the following console log:

write OFF file: F:/mcut/build/tutorials/OUT_conncomp0.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp1.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp2.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp3.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp4.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp5.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp6.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp7.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp8.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp9.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp10.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp11.off

image

It generates 11 polygon models, why?

In addition, I would like to know the meaning of normal and sectionOffset . How to define the a cutting plane? Thanks!

const McDouble normal[] = {0, 1, 1}; // can point in any direction
const McDouble sectionOffset = 0.45;

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant