azdle, 9 months ago For rounding, you can do the extrusion, but with it a bit smaller in every dimension, then minkowski with a sphere (or a different shape if you don’t want all the edges rounded), but it’s tricky to get right: <pre style="background-color:#ffffff;"> <span style="color:#323232;">module shape() { </span><span style="color:#323232;"> square(80, center = true); </span><span style="color:#323232;">} </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">minkowski() { </span><span style="color:#323232;"> linear_extrude(80) </span><span style="color:#323232;"> shape(); </span><span style="color:#323232;"> </span><span style="color:#323232;"> sphere(r = 20); </span><span style="color:#323232;">} </span> https://news.idlestate.org/pictrs/image/633e624a-0353-4bae-8aae-62a6a8ef2dee.png
For rounding, you can do the extrusion, but with it a bit smaller in every dimension, then minkowski with a sphere (or a different shape if you don’t want all the edges rounded), but it’s tricky to get right:
minkowski
<pre style="background-color:#ffffff;"> <span style="color:#323232;">module shape() { </span><span style="color:#323232;"> square(80, center = true); </span><span style="color:#323232;">} </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">minkowski() { </span><span style="color:#323232;"> linear_extrude(80) </span><span style="color:#323232;"> shape(); </span><span style="color:#323232;"> </span><span style="color:#323232;"> sphere(r = 20); </span><span style="color:#323232;">} </span>
https://news.idlestate.org/pictrs/image/633e624a-0353-4bae-8aae-62a6a8ef2dee.png