discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Rounded Polygon

A
adrianv
Sat, Aug 15, 2020 11:02 PM

For the joining path problem, suppose I have two elliptical arcs and I want
to connect them end to end.  If I do this, I'll get a joint with a sharp
corner (most likely).  I want to be able to round over that corner.  So I'm
looking for a general scheme for connecting two paths end to end and
rounding the transition.

--
Sent from: http://forum.openscad.org/

For the joining path problem, suppose I have two elliptical arcs and I want to connect them end to end. If I do this, I'll get a joint with a sharp corner (most likely). I want to be able to round over that corner. So I'm looking for a general scheme for connecting two paths end to end and rounding the transition. -- Sent from: http://forum.openscad.org/
I
irevdev
Sat, Aug 15, 2020 11:06 PM

If it's of interest to anyone something I've added recently is a
polyRoundExtrude, which similar to my original polyRound api of defining [x,
y, r] points for polygons, it will extrude these points with rounded ends. I
had already implemented something similar for 2d children by extruding tiny
slices using offset, but found there were performance issues. The new method
uses the polyhedron and I've found it's much better, but can't be used for
2d children though.
The mesh looks like this.
http://forum.openscad.org/file/t1892/Ee48hUUVoAUlH4S.jpg
Api can be found here: https://kurthutten.com/blog/round-anything-api

and the original repo: https://github.com/Irev-Dev/Round-Anything

--
Sent from: http://forum.openscad.org/

If it's of interest to anyone something I've added recently is a polyRoundExtrude, which similar to my original polyRound api of defining [x, y, r] points for polygons, it will extrude these points with rounded ends. I had already implemented something similar for 2d children by extruding tiny slices using offset, but found there were performance issues. The new method uses the polyhedron and I've found it's much better, but can't be used for 2d children though. The mesh looks like this. <http://forum.openscad.org/file/t1892/Ee48hUUVoAUlH4S.jpg> Api can be found here: https://kurthutten.com/blog/round-anything-api and the original repo: https://github.com/Irev-Dev/Round-Anything -- Sent from: http://forum.openscad.org/