Round-Anything icon indicating copy to clipboard operation
Round-Anything copied to clipboard

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

Open reinux opened this issue 2 years ago • 4 comments

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.

reinux avatar Jan 27 '23 10:01 reinux

I'm having the same issue.

yfernandes avatar Feb 20 '23 19:02 yfernandes

I think this is probably an issue with OpenSCAD.

Irev-Dev avatar Feb 20 '23 22:02 Irev-Dev

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 avatar Feb 20 '23 22:02 yfernandes

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

yfernandes avatar Feb 20 '23 22:02 yfernandes