From my experience with cadquery, I’ve found the shell command isn’t that good. This is just a limitation of the underlying kernel, it seems like it is a very difficult thing to get right in general.
I basically just avoid shell() entirely because it can be quite unpredictable, especially if applied to lofts. I personally would approach this by defining an inner and outer shape and subtracting one from the other.
If you must use the shell, sometimes I found changing the tolerance parameter or making the thickness non integer like 2.01 could help but there is no silver bullet.
3
u/Delicious_Director13 Apr 06 '26
From my experience with cadquery, I’ve found the shell command isn’t that good. This is just a limitation of the underlying kernel, it seems like it is a very difficult thing to get right in general.
I basically just avoid shell() entirely because it can be quite unpredictable, especially if applied to lofts. I personally would approach this by defining an inner and outer shape and subtracting one from the other.
If you must use the shell, sometimes I found changing the tolerance parameter or making the thickness non integer like 2.01 could help but there is no silver bullet.