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

Difference of a linear extrusion of a shell2d results in rendering glitches in preview #46

Open
reinux opened this issue Jan 27, 2023 · 4 comments

Comments

@reinux
Copy link

reinux commented Jan 27, 2023

Hey, first of all, awesome library!

This particular combination of operations seems to result in faces going missing in preview mode:

difference() {
    linear_extrude(35)
    shell2d(2) polygon([
        [15, 15],
        [28, 15],
        [28, 28],
        [15, 28],
        [15, 15]
    ]);
    cube([20,20,20]);
}

image

I've highlighted the cube for clarity. The render turns out fine.

@yfernandes
Copy link

I'm having the same issue.

@Irev-Dev
Copy link
Owner

I think this is probably an issue with OpenSCAD.

@yfernandes
Copy link

If you try to run a full render it spits an error that the mesh is open and cannot be generated. (I'm not on my computer rn, as soon as I'm able i can post the error here)

@yfernandes
Copy link

I think this is probably an issue with OpenSCAD.

I ran my version without the round anything lib and it still threw the same error. So the error is definitely on OpenScad end

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

3 participants