discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Newbie help with complex curves

L
Leea
Tue, Jul 2, 2019 6:51 PM

I want to model a propeller, like for a toy boat. I want to know what
function should I start with. It curves in multiple directions and the
outside shape is also a complex curve. I found an example I thought would be
a good start, an impeller. I don't think I can attach an image to show you.
The problem is that the code imports example009.dxf. I have searched and I
can't find that file. I also saw a demo of Bezier curve which looks
interesting but that is 2 dimensional and I need it to curve 3 dimensional.
I tried building it out of a series of blocks and that is not satisfactory.
thanks
Lee

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

I want to model a propeller, like for a toy boat. I want to know what function should I start with. It curves in multiple directions and the outside shape is also a complex curve. I found an example I thought would be a good start, an impeller. I don't think I can attach an image to show you. The problem is that the code imports example009.dxf. I have searched and I can't find that file. I also saw a demo of Bezier curve which looks interesting but that is 2 dimensional and I need it to curve 3 dimensional. I tried building it out of a series of blocks and that is not satisfactory. thanks Lee -- Sent from: http://forum.openscad.org/
AC
A. Craig West
Tue, Jul 2, 2019 7:02 PM

Google will find it for you (I found quite a number of copies of the
file that way), or it should be installed on your system `in the
examples directory. Where that is depends on your OS, but try
searching for a file by name. (on Linux or OS-X, find / -name
example009.dxf 2> /dev/null )

On Tue, Jul 2, 2019 at 2:52 PM Leea 683lee@337lee.com wrote:

I want to model a propeller, like for a toy boat. I want to know what
function should I start with. It curves in multiple directions and the
outside shape is also a complex curve. I found an example I thought would be
a good start, an impeller. I don't think I can attach an image to show you.
The problem is that the code imports example009.dxf. I have searched and I
can't find that file. I also saw a demo of Bezier curve which looks
interesting but that is 2 dimensional and I need it to curve 3 dimensional.
I tried building it out of a series of blocks and that is not satisfactory.
thanks
Lee

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


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Google will find it for you (I found quite a number of copies of the file that way), or it should be installed on your system `in the examples directory. Where that is depends on your OS, but try searching for a file by name. (on Linux or OS-X, find / -name example009.dxf 2> /dev/null ) On Tue, Jul 2, 2019 at 2:52 PM Leea <683lee@337lee.com> wrote: > > I want to model a propeller, like for a toy boat. I want to know what > function should I start with. It curves in multiple directions and the > outside shape is also a complex curve. I found an example I thought would be > a good start, an impeller. I don't think I can attach an image to show you. > The problem is that the code imports example009.dxf. I have searched and I > can't find that file. I also saw a demo of Bezier curve which looks > interesting but that is 2 dimensional and I need it to curve 3 dimensional. > I tried building it out of a series of blocks and that is not satisfactory. > thanks > Lee > > > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
L
Leea
Tue, Jul 2, 2019 7:20 PM

When I searched I found a lot of references to it but not a downloadable
file. I did find a web page with 3900 lines of code that seemed like it
might be it, but when I copied that and pasted it into a file I got compile
errors so it wasn't right. That was the only one I found. I hate to be a
pain but if you have a link I would like it please.
Lee

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

When I searched I found a lot of references to it but not a downloadable file. I did find a web page with 3900 lines of code that seemed like it might be it, but when I copied that and pasted it into a file I got compile errors so it wasn't right. That was the only one I found. I hate to be a pain but if you have a link I would like it please. Lee -- Sent from: http://forum.openscad.org/
AC
A. Craig West
Tue, Jul 2, 2019 7:23 PM

When I searched I found a lot of references to it but not a downloadable
file. I did find a web page with 3900 lines of code that seemed like it
might be it, but when I copied that and pasted it into a file I got compile
errors so it wasn't right. That was the only one I found. I hate to be a
pain but if you have a link I would like it please.
Lee

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


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Try this link: https://github.com/openscad/openscad/raw/master/examples/Old/example009.dxf On Tue, Jul 2, 2019 at 3:21 PM Leea <683lee@337lee.com> wrote: > > When I searched I found a lot of references to it but not a downloadable > file. I did find a web page with 3900 lines of code that seemed like it > might be it, but when I copied that and pasted it into a file I got compile > errors so it wasn't right. That was the only one I found. I hate to be a > pain but if you have a link I would like it please. > Lee > > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
WA
William Adams
Tue, Jul 2, 2019 7:24 PM

I tried to collect resources on modelling curves at:
https://wiki.shapeoko.com/index.php/OpenSCAD#Curves --- there's also:
https://www.thingiverse.com/thing:1208001 which I was able to open and
compile.

William

On Tue, Jul 2, 2019 at 3:03 PM A. Craig West acraigwest@gmail.com wrote:

Google will find it for you (I found quite a number of copies of the
file that way), or it should be installed on your system `in the
examples directory. Where that is depends on your OS, but try
searching for a file by name. (on Linux or OS-X, find / -name
example009.dxf 2> /dev/null )

On Tue, Jul 2, 2019 at 2:52 PM Leea 683lee@337lee.com wrote:

I want to model a propeller, like for a toy boat. I want to know what
function should I start with. It curves in multiple directions and the
outside shape is also a complex curve. I found an example I thought

would be

a good start, an impeller. I don't think I can attach an image to show

you.

The problem is that the code imports example009.dxf. I have searched and

I

can't find that file. I also saw a demo of Bezier curve which looks
interesting but that is 2 dimensional and I need it to curve 3

dimensional.

I tried building it out of a series of blocks and that is not

satisfactory.

I tried to collect resources on modelling curves at: https://wiki.shapeoko.com/index.php/OpenSCAD#Curves --- there's also: https://www.thingiverse.com/thing:1208001 which I was able to open and compile. William On Tue, Jul 2, 2019 at 3:03 PM A. Craig West <acraigwest@gmail.com> wrote: > Google will find it for you (I found quite a number of copies of the > file that way), or it should be installed on your system `in the > examples directory. Where that is depends on your OS, but try > searching for a file by name. (on Linux or OS-X, find / -name > example009.dxf 2> /dev/null ) > > On Tue, Jul 2, 2019 at 2:52 PM Leea <683lee@337lee.com> wrote: > > > > I want to model a propeller, like for a toy boat. I want to know what > > function should I start with. It curves in multiple directions and the > > outside shape is also a complex curve. I found an example I thought > would be > > a good start, an impeller. I don't think I can attach an image to show > you. > > The problem is that the code imports example009.dxf. I have searched and > I > > can't find that file. I also saw a demo of Bezier curve which looks > > interesting but that is 2 dimensional and I need it to curve 3 > dimensional. > > I tried building it out of a series of blocks and that is not > satisfactory. > > thanks > > Lee > > > > > > > > > > > > -- > > Sent from: http://forum.openscad.org/ > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
L
Leea
Tue, Jul 2, 2019 7:28 PM

Gee thanks
That worked. It looked similar to the one I found but this one works. You
have the magic search touch.
Lee

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

Gee thanks That worked. It looked similar to the one I found but this one works. You have the magic search touch. Lee -- Sent from: http://forum.openscad.org/
AC
A. Craig West
Tue, Jul 2, 2019 7:29 PM

The dxf is quite possibly not that useful, I haven't looked at the
example, but it seems likely that the actual curves are defined in the
dxf, which won't tell you anything about how to implement it in
openSCAD. I wrote a library to implement 3D bezier curves in openSCAD
to solve similar problems...

On Tue, Jul 2, 2019 at 3:25 PM William Adams will.adams@frycomm.com wrote:

I tried to collect resources on modelling curves at: https://wiki.shapeoko.com/index.php/OpenSCAD#Curves --- there's also: https://www.thingiverse.com/thing:1208001 which I was able to open and compile.

William

On Tue, Jul 2, 2019 at 3:03 PM A. Craig West acraigwest@gmail.com wrote:

Google will find it for you (I found quite a number of copies of the
file that way), or it should be installed on your system `in the
examples directory. Where that is depends on your OS, but try
searching for a file by name. (on Linux or OS-X, find / -name
example009.dxf 2> /dev/null )

On Tue, Jul 2, 2019 at 2:52 PM Leea 683lee@337lee.com wrote:

I want to model a propeller, like for a toy boat. I want to know what
function should I start with. It curves in multiple directions and the
outside shape is also a complex curve. I found an example I thought would be
a good start, an impeller. I don't think I can attach an image to show you.
The problem is that the code imports example009.dxf. I have searched and I
can't find that file. I also saw a demo of Bezier curve which looks
interesting but that is 2 dimensional and I need it to curve 3 dimensional.
I tried building it out of a series of blocks and that is not satisfactory.
thanks
Lee

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


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

The dxf is quite possibly not that useful, I haven't looked at the example, but it seems likely that the actual curves are defined in the dxf, which won't tell you anything about how to implement it in openSCAD. I wrote a library to implement 3D bezier curves in openSCAD to solve similar problems... On Tue, Jul 2, 2019 at 3:25 PM William Adams <will.adams@frycomm.com> wrote: > > I tried to collect resources on modelling curves at: https://wiki.shapeoko.com/index.php/OpenSCAD#Curves --- there's also: https://www.thingiverse.com/thing:1208001 which I was able to open and compile. > > William > > > On Tue, Jul 2, 2019 at 3:03 PM A. Craig West <acraigwest@gmail.com> wrote: >> >> Google will find it for you (I found quite a number of copies of the >> file that way), or it should be installed on your system `in the >> examples directory. Where that is depends on your OS, but try >> searching for a file by name. (on Linux or OS-X, find / -name >> example009.dxf 2> /dev/null ) >> >> On Tue, Jul 2, 2019 at 2:52 PM Leea <683lee@337lee.com> wrote: >> > >> > I want to model a propeller, like for a toy boat. I want to know what >> > function should I start with. It curves in multiple directions and the >> > outside shape is also a complex curve. I found an example I thought would be >> > a good start, an impeller. I don't think I can attach an image to show you. >> > The problem is that the code imports example009.dxf. I have searched and I >> > can't find that file. I also saw a demo of Bezier curve which looks >> > interesting but that is 2 dimensional and I need it to curve 3 dimensional. >> > I tried building it out of a series of blocks and that is not satisfactory. >> > thanks >> > Lee >> > >> > >> > >> > >> > >> > -- >> > Sent from: http://forum.openscad.org/ >> > >> > _______________________________________________ >> > OpenSCAD mailing list >> > Discuss@lists.openscad.org >> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> >> _______________________________________________ >> OpenSCAD mailing list >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
L
Leea
Tue, Jul 2, 2019 7:35 PM

Duh, I never thought of looking on Thingiverse.
I downloaded it and my Openscad give an error on the boat prop command
Sweep. It doesn't know it.
Lee

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

Duh, I never thought of looking on Thingiverse. I downloaded it and my Openscad give an error on the boat prop command Sweep. It doesn't know it. Lee -- Sent from: http://forum.openscad.org/
AC
A. Craig West
Tue, Jul 2, 2019 8:21 PM

I think the sweep function is defined in another library:
https://www.thingiverse.com/thing:900137

On Tue, Jul 2, 2019 at 3:36 PM Leea 683lee@337lee.com wrote:

Duh, I never thought of looking on Thingiverse.
I downloaded it and my Openscad give an error on the boat prop command
Sweep. It doesn't know it.
Lee

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


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I think the sweep function is defined in another library: https://www.thingiverse.com/thing:900137 On Tue, Jul 2, 2019 at 3:36 PM Leea <683lee@337lee.com> wrote: > > Duh, I never thought of looking on Thingiverse. > I downloaded it and my Openscad give an error on the boat prop command > Sweep. It doesn't know it. > Lee > > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
L
Leea
Tue, Jul 2, 2019 9:58 PM

Thanks, got it.
I discovered I hadn't unzipped all the files to the same directory and it
was in there.
Lee

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

Thanks, got it. I discovered I hadn't unzipped all the files to the same directory and it was in there. Lee -- Sent from: http://forum.openscad.org/