DEPRECATED: import_dxf ?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

DEPRECATED: import_dxf ?

Peter Ragosch

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!


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: DEPRECATED: import_dxf ?

tp3
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
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: DEPRECATED: import_dxf ?

doug.moen
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 <[hidden email]> 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
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: DEPRECATED: import_dxf ?

Peter Ragosch
In reply to this post by tp3
Am Sun, 6 May 2018 18:15:03 +0200
schrieb Torsten Paul <[hidden email]>:

> 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


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: DEPRECATED: import_dxf ?

tp3
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.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: DEPRECATED: import_dxf ?

Peter Ragosch
In reply to this post by doug.moen
Am Sun, 6 May 2018 12:23:19 -0400
schrieb doug moen <[hidden email]>:

> 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


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: DEPRECATED: import_dxf ?

Peter Ragosch
In reply to this post by tp3
Am Sun, 6 May 2018 18:47:32 +0200
schrieb Torsten Paul <[hidden email]>:

> 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


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org