# Minkowski rounings with Sphere Classic List Threaded 4 messages Open this post in threaded view
|

## Minkowski rounings with Sphere

 Hello together, the Minkowski function I think is to make a cube round, right? So why is the radius added to the cube? At least I work like this. I need a specific cube size with rounded edges. Example: I need a box with 100 x 60 x 20 with roundings 5. In  the actual version I need to do: minkowski() {   cube([90,50,10], center = true);   sphere(r=5, \$fn = 36);} Or I do it with variables: RoundingBox = 5; minkowski() {   cube([100-RoundingBox*2,60-RoundingBox*2,20-RoundingBox*2], center = true);   sphere(r=5, \$fn = 36);} So, why not including the roundings directly into Minkowski? Greetings -- Sent from: http://forum.openscad.org/_______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Open this post in threaded view
|

## Re: Minkowski rounings with Sphere

 Because a Minkowski sum is a mathematical operation that sums two sets of points in all combinations to make a new set of points.On Mon, 11 May 2020 at 13:28, Snörre <[hidden email]> wrote:Hello together, the Minkowski function I think is to make a cube round, right? So why is the radius added to the cube? At least I work like this. I need a specific cube size with rounded edges. Example: I need a box with 100 x 60 x 20 with roundings 5. In  the actual version I need to do: minkowski() {   cube([90,50,10], center = true);   sphere(r=5, \$fn = 36);} Or I do it with variables: RoundingBox = 5; minkowski() {   cube([100-RoundingBox*2,60-RoundingBox*2,20-RoundingBox*2], center = true);   sphere(r=5, \$fn = 36);} So, why not including the roundings directly into Minkowski? Greetings -- Sent from: http://forum.openscad.org/ _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org