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

Uncritical: The new CSG engine "consumes" a few triangles. #624

Open
nilsschmidt1337 opened this issue Nov 17, 2017 · 0 comments
Open

Uncritical: The new CSG engine "consumes" a few triangles. #624

nilsschmidt1337 opened this issue Nov 17, 2017 · 0 comments
Assignees

Comments

@nilsschmidt1337
Copy link
Owner

The root cause is that the model is "too small". If I scale it by 10, the error disappears.

Leads to errors:

0 BFC CERTIFY CCW

0 !LPE CSG_QUALITY 48

0 // SYNTAX 1 0 !LPE [CSG FORM] [ID] [COLOUR] [MATRIX]
0 !LPE CSG_CUBOID    a  4 0 0 0 1 0 0 0 1 0 0 0 1
0 !LPE CSG_ELLIPSOID b  1 0 0 0 1.35 0 0 0 1.35 0 0 0 1.35

0 !LPE CSG_CYLINDER c 11 0 -1 .8 .7 0 0 0 2 0 0 0 .7
0 !LPE CSG_CYLINDER  d  2 -1 0 0 0 2 0 .7 0 0 0 0 .7
0 !LPE CSG_CYLINDER  e  2 0 0 -1 .7 0 0 0 0 .7 0 2 0

0 // SYNTAX 2 0 !LPE [CSG FUNCTION] [ID] [ID2] [ID3]

0 !LPE CSG_UNION c d d
0 !LPE CSG_UNION d e d
0 !LPE CSG_INTERSECTION a b f
0 !LPE CSG_DIFFERENCE f d f

0 // SYNTAX 3 0 !LPE CSG_COMPILE [ID]
0 !LPE CSG_COMPILE f

But this is OK:

0 BFC CERTIFY CCW

0 !LPE CSG_QUALITY 48

0 // SYNTAX 1 0 !LPE [CSG FORM] [ID] [COLOUR] [MATRIX]
0 !LPE CSG_CUBOID    a  4 0 0 0 10 0 0 0 10 0 0 0 10
0 !LPE CSG_ELLIPSOID b  1 0 0 0 13.5 0 0 0 13.5 0 0 0 13.5

0 !LPE CSG_CYLINDER c 11 0 -10 8 7 0 0 0 20 0 0 0 7
0 !LPE CSG_CYLINDER  d  2 -10 0 0 0 20 0 7 0 0 0 0 7
0 !LPE CSG_CYLINDER  e  2 0 0 -10 7 0 0 0 0 7 0 20 0

0 // SYNTAX 2 0 !LPE [CSG FUNCTION] [ID] [ID2] [ID3]

0 !LPE CSG_UNION c d d
0 !LPE CSG_UNION d e d
0 !LPE CSG_INTERSECTION a b f
0 !LPE CSG_DIFFERENCE f d f

0 // SYNTAX 3 0 !LPE CSG_COMPILE [ID]
0 !LPE CSG_COMPILE f
@nilsschmidt1337 nilsschmidt1337 self-assigned this Nov 17, 2017
@nilsschmidt1337 nilsschmidt1337 changed the title (uncritical) The new CSG engine "consumes" a few triangles. Uncritical: The new CSG engine "consumes" a few triangles. Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant