Irev-Dev / Round-Anything

A set of OpenSCAD utilities for adding radii and fillets, that embodies a robust approach to developing OpenSCAD parts.
https://kurthutten.com/blog/round-anything-a-pragmatic-approach-to-openscad-design
MIT License
492 stars 48 forks source link

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

Open reinux opened 1 year ago

reinux commented 1 year ago

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 commented 1 year ago

I'm having the same issue.

Irev-Dev commented 1 year ago

I think this is probably an issue with OpenSCAD.

yfernandes commented 1 year ago

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 commented 1 year ago

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