discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

DEPRECATED: import_dxf ?

PR
Peter Ragosch
Sun, May 6, 2018 4:03 PM

Hi to all,
i read in manual import_dxf shall be removed in future releases and
shall be replaced by import().

It's OK having only one import() function which is sensitive on file
extensions.

But, i please you do NOT remove import_dxl until import() is able to
handle dxf layer property.

If future version of import() can't handle the dxf layer property a
branch of dxf files must be created for import, each containing exactly
one layer. And that would make the use of dxf content, e.g. for easy
use with linear_extrude, extremely inconvenient.

With best regards
Peter

PS: openSCAD is fantastic, well done!

Hi to all, i read in manual import_dxf shall be removed in future releases and shall be replaced by import(). It's OK having only one import() function which is sensitive on file extensions. But, i please you do NOT remove import_dxl until import() is able to handle dxf layer property. If future version of import() can't handle the dxf layer property a branch of dxf files must be created for import, each containing exactly one layer. And that would make the use of dxf content, e.g. for easy use with linear_extrude, extremely inconvenient. With best regards Peter PS: openSCAD is fantastic, well done!
TP
Torsten Paul
Sun, May 6, 2018 4:15 PM

On 05/06/2018 06:03 PM, Peter Ragosch wrote:

But, i please you do NOT remove import_dxl until import() is able to
handle dxf layer property.

There was never 2 implementations for the actual import so there
should have never been any difference between import_dxf() and
import with a file that has *.dxf name.

If you see any specific problem that is not already reported
on github, please share the details (and ideally also example
files).

ciao,
Torsten.

On 05/06/2018 06:03 PM, Peter Ragosch wrote: > But, i please you do NOT remove import_dxl until import() is able to > handle dxf layer property. > There was never 2 implementations for the actual import so there should have never been any difference between import_dxf() and import with a file that has *.dxf name. If you see any specific problem that is not already reported on github, please share the details (and ideally also example files). ciao, Torsten.
DM
doug moen
Sun, May 6, 2018 4:23 PM

The documentation on the wiki says that the layer= argument only works with
import_dxf().
In actual fact, this argument works with import() as well. The wiki just
needs to be updated.

On 6 May 2018 at 12:15, Torsten Paul Torsten.Paul@gmx.de wrote:

On 05/06/2018 06:03 PM, Peter Ragosch wrote:

But, i please you do NOT remove import_dxl until import() is able to
handle dxf layer property.

There was never 2 implementations for the actual import so there

should have never been any difference between import_dxf() and
import with a file that has *.dxf name.

If you see any specific problem that is not already reported
on github, please share the details (and ideally also example
files).

ciao,
Torsten.


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

The documentation on the wiki says that the layer= argument only works with import_dxf(). In actual fact, this argument works with import() as well. The wiki just needs to be updated. On 6 May 2018 at 12:15, Torsten Paul <Torsten.Paul@gmx.de> wrote: > On 05/06/2018 06:03 PM, Peter Ragosch wrote: > >> But, i please you do NOT remove import_dxl until import() is able to >> handle dxf layer property. >> >> There was never 2 implementations for the actual import so there > should have never been any difference between import_dxf() and > import with a file that has *.dxf name. > > If you see any specific problem that is not already reported > on github, please share the details (and ideally also example > files). > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
PR
Peter Ragosch
Sun, May 6, 2018 4:38 PM

Am Sun, 6 May 2018 18:15:03 +0200
schrieb Torsten Paul Torsten.Paul@gmx.de:

If you see any specific problem that is not already reported
on github, please share the details (and ideally also example
files).

Hi Torsten,

sorry, your help is appreciated, i'm not familiar with github.

So far I saw on
https://github.com/openscad/openscad/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+import+dxf+layer+
there is no request for "Add layer() support to DXF import" only for
export.
Right?
I'm unable to open a new issue - So, I have to be signed in for that?

--
Mit freundlichen Grüßen
Best Regards

Peter Ragosch

Am Sun, 6 May 2018 18:15:03 +0200 schrieb Torsten Paul <Torsten.Paul@gmx.de>: > If you see any specific problem that is not already reported > on github, please share the details (and ideally also example > files). Hi Torsten, sorry, your help is appreciated, i'm not familiar with github. So far I saw on https://github.com/openscad/openscad/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+import+dxf+layer+ there is no request for "Add layer() support to DXF import" only for export. Right? I'm unable to open a new issue - So, I have to be signed in for that? -- Mit freundlichen Grüßen Best Regards Peter Ragosch
TP
Torsten Paul
Sun, May 6, 2018 4:47 PM

On 05/06/2018 06:38 PM, Peter Ragosch wrote:

If you see any specific problem that is not already reported
on github, please share the details (and ideally also example
files).

sorry, your help is appreciated, i'm not familiar with github.

Let's first clarify if there is anything wrong. Doug indicates
the documentation might be lacking for import(). So did you
actually try some specific model and it worked with import_dxf()
but not with import()?
While I don't see how that's possible, there could be an obscure
bug.

Can you post a working script using import_dxf() and one not
working with just import(), along with the DXF file?

Exporting layers is indeed a totally different topic.

ciao,
Torsten.

On 05/06/2018 06:38 PM, Peter Ragosch wrote: >> If you see any specific problem that is not already reported >> on github, please share the details (and ideally also example >> files). > > sorry, your help is appreciated, i'm not familiar with github. > Let's first clarify if there is anything wrong. Doug indicates the documentation might be lacking for import(). So did you actually try some specific model and it worked with import_dxf() but not with import()? While I don't see how that's possible, there could be an obscure bug. Can you post a working script using import_dxf() and one not working with just import(), along with the DXF file? Exporting layers is indeed a totally different topic. ciao, Torsten.
PR
Peter Ragosch
Sun, May 6, 2018 4:49 PM

Am Sun, 6 May 2018 12:23:19 -0400
schrieb doug moen doug@moens.org:

In actual fact, this argument works with import() as well.

OK. import(..., layer="name", ...); works. My fault.

Mit freundlichen Grüßen
Best Regards

Peter Ragosch

Am Sun, 6 May 2018 12:23:19 -0400 schrieb doug moen <doug@moens.org>: > In actual fact, this argument works with import() as well. OK. import(..., layer="name", ...); works. My fault. -- Mit freundlichen Grüßen Best Regards Peter Ragosch
PR
Peter Ragosch
Sun, May 6, 2018 4:59 PM

Am Sun, 6 May 2018 18:47:32 +0200
schrieb Torsten Paul Torsten.Paul@gmx.de:

On 05/06/2018 06:38 PM, Peter Ragosch wrote:

If you see any specific problem that is not already reported
on github, please share the details (and ideally also example
files).
sorry, your help is appreciated, i'm not familiar with github.

Let's first clarify if there is anything wrong. Doug indicates

the documentation might be lacking for import(). So did you
actually try some specific model and it worked with import_dxf()
but not with import()?
While I don't see how that's possible, there could be an obscure
bug.

Can you post a working script using import_dxf() and one not
working with just import(), along with the DXF file?

Exporting layers is indeed a totally different topic.

ciao,
Torsten.

Well, I tried some days ago and was sure it doesn't work. But today,
with current nightly update, I tried again and it's working now (or
again?)

Anyhow, it's not worth the trouble :).

--
Mit freundlichen Grüßen
Best Regards

Peter Ragosch

Am Sun, 6 May 2018 18:47:32 +0200 schrieb Torsten Paul <Torsten.Paul@gmx.de>: > On 05/06/2018 06:38 PM, Peter Ragosch wrote: > >> If you see any specific problem that is not already reported > >> on github, please share the details (and ideally also example > >> files). > > > sorry, your help is appreciated, i'm not familiar with github. > > Let's first clarify if there is anything wrong. Doug indicates > the documentation might be lacking for import(). So did you > actually try some specific model and it worked with import_dxf() > but not with import()? > While I don't see how that's possible, there could be an obscure > bug. > > Can you post a working script using import_dxf() and one not > working with just import(), along with the DXF file? > > Exporting layers is indeed a totally different topic. > > ciao, > Torsten. Well, I tried some days ago and was sure it doesn't work. But today, with current nightly update, I tried again and it's working now (or again?) Anyhow, it's not worth the trouble :). -- Mit freundlichen Grüßen Best Regards Peter Ragosch