I want to smooth several hulls. Should I start with minkowski?
I've read a previous post about smoothing at
http://forum.openscad.org/Smoothing-with-hull-td10550.html
But I'm not sure where to start.
The keyboard looks like this https://imgur.com/a/YzUT0TX
source: http://github.com/tshort/dactyl-keyboard
--
Sent from: http://forum.openscad.org/
Careful about terminology, hull() is an OpenSCAD module. I think you mean
smooth the mesh/object/outline etc?
By 'smooth' you want the edges rounded, but not the square holes, nor the
stuff inside.
Looks like the github stuff is .stl (unless someone wants to fiddle with
Clojure source), there is not a straight forward solution.
Someone may come up with something...
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
Sent from: http://forum.openscad.org/
Yes I want to smooth the edges, but keep the square holes untouched.
Here is the generated openSCAD code.
https://gist.github.com/l4u/09294ccaaff9776676b63f5dee7aca67
I'm thinking of modifying at openSCAD.
--
Sent from: http://forum.openscad.org/
On 21/04/18 10:18, l4u wrote:
Yes I want to smooth the edges, but keep the square holes untouched.
When I want to do anything "clever" with holes, I use a special variable
called $negative.
I then difference () all of my geometry called with $negative=false with
the same code called with $negative set true. With $negative false,
everything creates its "form", and with it true, creates its holes.
You can then smooth the positive form before removing sharp holes. I
find minkowski too slow and generally smooth things in other (non
trivial!) ways, but I can't immediately see how to apply these to your
case (pun intended!).
I generally use this approach when I want "holes" a module creates to be
removed from all other modules too, which happens naturally as all the
$negative false parts are (implicitly) unioned and then the union of the
negative true parts is removed.
Hope this helps.
It's mostly a matter of which order you do things in. First do the minkowski
to create the round shape, then punch the square holes with difference.
--
Sent from: http://forum.openscad.org/