discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

DXF files with SEQND, VERTEX, and POLYLINE

J
jon
Mon, Aug 14, 2023 12:44 PM

I just received two DXF files from a customer, and they use DXF entities
SEQEND, VERTEX, and POLYLINE.  Is there any easy way for me to transform
these into something that OpenSCAD can accept (using a pre-processor) or
must I push them back to the customer?

Thanks!

Jon

I just received two DXF files from a customer, and they use DXF entities SEQEND, VERTEX, and POLYLINE.  Is there any easy way for me to transform these into something that OpenSCAD can accept (using a pre-processor) or must I push them back to the customer? Thanks! Jon
NH
nop head
Mon, Aug 14, 2023 1:07 PM

Inkscape can read and write DXFs. Not sure if that will help.

On Mon, 14 Aug 2023 at 13:45, jon jon@jonbondy.com wrote:

I just received two DXF files from a customer, and they use DXF entities
SEQEND, VERTEX, and POLYLINE.  Is there any easy way for me to transform
these into something that OpenSCAD can accept (using a pre-processor) or
must I push them back to the customer?

Thanks!

Jon


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Inkscape can read and write DXFs. Not sure if that will help. On Mon, 14 Aug 2023 at 13:45, jon <jon@jonbondy.com> wrote: > I just received two DXF files from a customer, and they use DXF entities > SEQEND, VERTEX, and POLYLINE. Is there any easy way for me to transform > these into something that OpenSCAD can accept (using a pre-processor) or > must I push them back to the customer? > > Thanks! > > Jon > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
NH
nop head
Mon, Aug 14, 2023 1:09 PM

It can probably convert to SVG as well so that might be acceptable to
OpenSCAD.

On Mon, 14 Aug 2023 at 14:07, nop head nop.head@gmail.com wrote:

Inkscape can read and write DXFs. Not sure if that will help.

On Mon, 14 Aug 2023 at 13:45, jon jon@jonbondy.com wrote:

I just received two DXF files from a customer, and they use DXF entities
SEQEND, VERTEX, and POLYLINE.  Is there any easy way for me to transform
these into something that OpenSCAD can accept (using a pre-processor) or
must I push them back to the customer?

Thanks!

Jon


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

It can probably convert to SVG as well so that might be acceptable to OpenSCAD. On Mon, 14 Aug 2023 at 14:07, nop head <nop.head@gmail.com> wrote: > Inkscape can read and write DXFs. Not sure if that will help. > > On Mon, 14 Aug 2023 at 13:45, jon <jon@jonbondy.com> wrote: > >> I just received two DXF files from a customer, and they use DXF entities >> SEQEND, VERTEX, and POLYLINE. Is there any easy way for me to transform >> these into something that OpenSCAD can accept (using a pre-processor) or >> must I push them back to the customer? >> >> Thanks! >> >> Jon >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
J
jon
Mon, Aug 14, 2023 1:32 PM

Maybe try exporting as SVG?

On 8/14/2023 8:44 AM, jon wrote:

I just received two DXF files from a customer, and they use DXF
entities SEQEND, VERTEX, and POLYLINE.  Is there any easy way for me
to transform these into something that OpenSCAD can accept (using a
pre-processor) or must I push them back to the customer?

Thanks!

Jon

Maybe try exporting as SVG? On 8/14/2023 8:44 AM, jon wrote: > I just received two DXF files from a customer, and they use DXF > entities SEQEND, VERTEX, and POLYLINE.  Is there any easy way for me > to transform these into something that OpenSCAD can accept (using a > pre-processor) or must I push them back to the customer? > > Thanks! > > Jon >
NH
nop head
Mon, Aug 14, 2023 1:50 PM

Yes if you read the DXF in Inkscape and export an SVG it will not have the
same issue.

On Mon, 14 Aug 2023, 14:32 jon, jon@jonbondy.com wrote:

Maybe try exporting as SVG?

On 8/14/2023 8:44 AM, jon wrote:

I just received two DXF files from a customer, and they use DXF
entities SEQEND, VERTEX, and POLYLINE.  Is there any easy way for me
to transform these into something that OpenSCAD can accept (using a
pre-processor) or must I push them back to the customer?

Thanks!

Jon


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Yes if you read the DXF in Inkscape and export an SVG it will not have the same issue. On Mon, 14 Aug 2023, 14:32 jon, <jon@jonbondy.com> wrote: > Maybe try exporting as SVG? > > On 8/14/2023 8:44 AM, jon wrote: > > I just received two DXF files from a customer, and they use DXF > > entities SEQEND, VERTEX, and POLYLINE. Is there any easy way for me > > to transform these into something that OpenSCAD can accept (using a > > pre-processor) or must I push them back to the customer? > > > > Thanks! > > > > Jon > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
J
jon
Mon, Aug 14, 2023 2:49 PM

When I open these files in Inkscape, I see nothing.  Maybe this is not
the forum for this discussion

Jon

On 8/14/2023 9:50 AM, nop head wrote:

Yes if you read the DXF in Inkscape and export an SVG it will not have
the same issue.

On Mon, 14 Aug 2023, 14:32 jon, jon@jonbondy.com wrote:

 Maybe try exporting as SVG?

 On 8/14/2023 8:44 AM, jon wrote:

I just received two DXF files from a customer, and they use DXF
entities SEQEND, VERTEX, and POLYLINE.  Is there any easy way

 for me

to transform these into something that OpenSCAD can accept (using a
pre-processor) or must I push them back to the customer?

Thanks!

Jon

 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

When I open these files in Inkscape, I see nothing.  Maybe this is not the forum for this discussion Jon On 8/14/2023 9:50 AM, nop head wrote: > Yes if you read the DXF in Inkscape and export an SVG it will not have > the same issue. > > On Mon, 14 Aug 2023, 14:32 jon, <jon@jonbondy.com> wrote: > > Maybe try exporting as SVG? > > On 8/14/2023 8:44 AM, jon wrote: > > I just received two DXF files from a customer, and they use DXF > > entities SEQEND, VERTEX, and POLYLINE.  Is there any easy way > for me > > to transform these into something that OpenSCAD can accept (using a > > pre-processor) or must I push them back to the customer? > > > > Thanks! > > > > Jon > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
WF
William F. Adams
Mon, Aug 14, 2023 2:57 PM

My usual approach for problematic DXF files is to open them in LibreCAD, then write out an SVG from that.
William

My usual approach for problematic DXF files is to open them in LibreCAD, then write out an SVG from that. William
CA
Carsten Arnholm
Mon, Aug 14, 2023 3:49 PM

On 2023-08-14 14:44, jon wrote:

I just received two DXF files from a customer, and they use DXF
entities SEQEND, VERTEX, and POLYLINE. 
Is there any easy way for me to transform these into something that
OpenSCAD can accept
(using a pre-processor) or must I push them back to the customer?

Just use the dxfread utility (installed with Angelcad) with the -scad
option

$ dxfread -scad myfile.dxf

You will 'myfile.scad' that will work in OpenSCAD

Carsten Arnholm

On 2023-08-14 14:44, jon wrote: > I just received two DXF files from a customer, and they use DXF > entities SEQEND, VERTEX, and POLYLINE.  > Is there any easy way for me to transform these into something that > OpenSCAD can accept > (using a pre-processor) or must I push them back to the customer? Just use the dxfread utility (installed with Angelcad) with the -scad option $ dxfread -scad myfile.dxf You will 'myfile.scad' that will work in OpenSCAD Carsten Arnholm
J
jon
Mon, Aug 14, 2023 4:23 PM

That really works!  Thank you, Carsten!

On 8/14/2023 11:49 AM, Carsten Arnholm wrote:

On 2023-08-14 14:44, jon wrote:

I just received two DXF files from a customer, and they use DXF
entities SEQEND, VERTEX, and POLYLINE.
Is there any easy way for me to transform these into something that
OpenSCAD can accept
(using a pre-processor) or must I push them back to the customer?

Just use the dxfread utility (installed with Angelcad) with the -scad
option

$ dxfread -scad myfile.dxf

You will 'myfile.scad' that will work in OpenSCAD

Carsten Arnholm


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

That really works!  Thank you, Carsten! On 8/14/2023 11:49 AM, Carsten Arnholm wrote: > On 2023-08-14 14:44, jon wrote: >> I just received two DXF files from a customer, and they use DXF >> entities SEQEND, VERTEX, and POLYLINE. >> Is there any easy way for me to transform these into something that >> OpenSCAD can accept >> (using a pre-processor) or must I push them back to the customer? > > Just use the dxfread utility (installed with Angelcad) with the -scad > option > > $ dxfread -scad myfile.dxf > > You will 'myfile.scad' that will work in OpenSCAD > > Carsten Arnholm > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org