There is already a PR for generalised extruding 2D shapes
https://github.com/openscad/openscad/pull/2796
On Thu, 16 Apr 2020 at 10:15, Rogier Wolff R.E.Wolff@bitwizard.nl wrote:
I think this one takes the cake!
As to openscad... wouldn't the "path-sweep" be something that could be
considered a "core-item"?
This can be accomplished in two ways. The first would be to add a
path_sweep to the language and to implement linear extrude and
rotate-extrude as special cases of the path_sweep from now on...
On the other hand... (or maybe in any case)...
... would it be an idea to have some system scad "library" files that
come with openscad so that this path-sweep might be kept there so that
we can say that "path-sweep" is supported by openscad.
The "in any case" situation arises when it would be chosen to
implement the path-sweep as a primitive. In that case linear_extrude
would become an easy small scad source to provide backward
compatibility and ease-of-use for a common case....
Roger.
On Tue, Apr 14, 2020 at 03:39:14PM -0700, adrianv wrote:
Here's another option for sweep using BOSL2 (though be warned that BOSL2
is
under development):
https://github.com/revarbat/BOSL2/wiki/skin.scad#path_sweep
include<BOSL2/std.scad>
include<BOSL2/skin.scad>
curve = [for(x=[-2:.1:2]) [x,x*x,0]];
path_sweep(circle(r=.1, $fn=16), curve);
The result looks like this:
http://forum.openscad.org/file/t2477/parabola.png
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110
**
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org