discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

How to combine long path and file for import()

PR
Peter Ragosch
Fri, Aug 2, 2019 3:14 PM

Hallo everyone,

long time ago I could feed a long path into variable path="/long/path/"
and the file name into variable file="myFile.dxf" for contaminated use
in import{_dxf}(). But I can't remember how I did that.

Any help is highly appreciated.

--
Mit freundlichen Grüßen
Best Regards

Peter Ragosch

Hallo everyone, long time ago I could feed a long path into variable path="/long/path/" and the file name into variable file="myFile.dxf" for contaminated use in import{_dxf}(). But I can't remember how I did that. Any help is highly appreciated. -- Mit freundlichen Grüßen Best Regards Peter Ragosch
NH
nop head
Fri, Aug 2, 2019 4:15 PM

This should work.

import(str(path, file));

On Fri, 2 Aug 2019 at 16:15, Peter Ragosch peter.ragosch@kabelmail.de
wrote:

Hallo everyone,

long time ago I could feed a long path into variable path="/long/path/"
and the file name into variable file="myFile.dxf" for contaminated use
in import{_dxf}(). But I can't remember how I did that.

Any help is highly appreciated.

--
Mit freundlichen Grüßen
Best Regards

Peter Ragosch


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

This should work. import(str(path, file)); On Fri, 2 Aug 2019 at 16:15, Peter Ragosch <peter.ragosch@kabelmail.de> wrote: > Hallo everyone, > > long time ago I could feed a long path into variable path="/long/path/" > and the file name into variable file="myFile.dxf" for contaminated use > in import{_dxf}(). But I can't remember how I did that. > > Any help is highly appreciated. > > -- > Mit freundlichen Grüßen > Best Regards > > Peter Ragosch > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
PR
Peter Ragosch
Fri, Aug 2, 2019 4:22 PM

Indeed!

Thank you very much.

Am Fri, 2 Aug 2019 17:15:14 +0100
schrieb nop head nop.head@gmail.com:

This should work.

import(str(path, file));

On Fri, 2 Aug 2019 at 16:15, Peter Ragosch
peter.ragosch@kabelmail.de wrote:

Hallo everyone,

long time ago I could feed a long path into variable
path="/long/path/" and the file name into variable
file="myFile.dxf" for contaminated use in import{_dxf}(). But I
can't remember how I did that.

Any help is highly appreciated.

--
Mit freundlichen Grüßen
Best Regards

Peter Ragosch


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

--
Mit freundlichen Grüßen
Best Regards

Peter Ragosch

Indeed! Thank you very much. Am Fri, 2 Aug 2019 17:15:14 +0100 schrieb nop head <nop.head@gmail.com>: > This should work. > > import(str(path, file)); > > On Fri, 2 Aug 2019 at 16:15, Peter Ragosch > <peter.ragosch@kabelmail.de> wrote: > > > Hallo everyone, > > > > long time ago I could feed a long path into variable > > path="/long/path/" and the file name into variable > > file="myFile.dxf" for contaminated use in import{_dxf}(). But I > > can't remember how I did that. > > > > Any help is highly appreciated. > > > > -- > > Mit freundlichen Grüßen > > Best Regards > > > > Peter Ragosch > > > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > -- Mit freundlichen Grüßen Best Regards Peter Ragosch