I have an Adobe Illustrator file that I wish to import into OpenSCAD. I
loaded it into InkScape, and saved it as both SVG and DXF, but neither
file format would import successfully into OpenSCAD (I tried all 3 SVG
variants). Anyone done this before with better results? Any
recommendations?
Thanks!
Jon
Best way to get vector files I've found is to:
On Thu, Jun 15, 2017 at 3:18 PM, jon jon@jonbondy.com wrote:
I have an Adobe Illustrator file that I wish to import into OpenSCAD. I
loaded it into InkScape, and saved it as both SVG and DXF, but neither file
format would import successfully into OpenSCAD (I tried all 3 SVG
variants). Anyone done this before with better results? Any
recommendations?
Thanks!
Jon
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Inkscape always seems to fail for me in one way or another. This works,
though: https://www.thingiverse.com/thing:69563
From: jon jon@jonbondy.com jon@jonbondy.com
Reply: OpenSCAD general discussion discuss@lists.openscad.org
discuss@lists.openscad.org
Date: June 15, 2017 at 12:19:34
To: OpenSCAD general discussion discuss@lists.openscad.org
discuss@lists.openscad.org
Subject: [OpenSCAD] AI to DXF or SVG
I have an Adobe Illustrator file that I wish to import into OpenSCAD. I
loaded it into InkScape, and saved it as both SVG and DXF, but neither
file format would import successfully into OpenSCAD (I tried all 3 SVG
variants). Anyone done this before with better results? Any
recommendations?
Thanks!
Jon
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
You can use the attached Illustrator script that I built starting from the work of https://github.com/anonlethal-jerk https://github.com/anonlethal-jerk. It has lots of (hopefully clear) options and will directly generate pretty decent OpenSCAD code with lots of metadata so you can easily work with the result. Just select the shapes you want to export and run the script.
~ Yona
On Jun 15, 2017, at 12:31, William Adams will.adams@frycomm.com wrote:
Best way to get vector files I've found is to:
On Thu, Jun 15, 2017 at 3:18 PM, jon <jon@jonbondy.com mailto:jon@jonbondy.com> wrote:
I have an Adobe Illustrator file that I wish to import into OpenSCAD. I loaded it into InkScape, and saved it as both SVG and DXF, but neither file format would import successfully into OpenSCAD (I tried all 3 SVG variants). Anyone done this before with better results? Any recommendations?
Thanks!
Jon
OpenSCAD mailing list
Discuss@lists.openscad.org mailto:Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/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
On Jun 15, 2017, at 15:18, jon jon@jonbondy.com wrote:
I have an Adobe Illustrator file that I wish to import into OpenSCAD. I loaded it into InkScape, and saved it as both SVG and DXF, but neither file format would import successfully into OpenSCAD (I tried all 3 SVG variants). Anyone done this before with better results? Any recommendations?
If you could provide an (as minimal as possible) example of an Illustrator file, and the 3 SVG variants in the form of a Github issue, that would be helpful in terms of debugging and fixing this.
-Marius
This scad export extension for inkscape works very well.
On 6/16/2017 11:56 AM, Marius Kintel wrote:
On Jun 15, 2017, at 15:18, jon jon@jonbondy.com wrote:
I have an Adobe Illustrator file that I wish to import into OpenSCAD. I loaded it into InkScape, and saved it as both SVG and DXF, but neither file format would import successfully into OpenSCAD (I tried all 3 SVG variants). Anyone done this before with better results? Any recommendations?
If you could provide an (as minimal as possible) example of an Illustrator file, and the 3 SVG variants in the form of a Github issue, that would be helpful in terms of debugging and fixing this.
-Marius
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
This email has been checked for viruses by AVG.
http://www.avg.com
Get the Inkscape plugin: OpenSCAD DXF output. Does what it says on the
tin ;)
https://www.thingiverse.com/thing:14221
-----Original Message-----
From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf Of Mark
Schafer
Sent: 16 June 2017 01:01
To: discuss@lists.openscad.org
Subject: Re: [OpenSCAD] AI to DXF or SVG
This scad export extension for inkscape works very well.
On 6/16/2017 11:56 AM, Marius Kintel wrote:
On Jun 15, 2017, at 15:18, jon jon@jonbondy.com wrote:
I have an Adobe Illustrator file that I wish to import into OpenSCAD. I
loaded it into InkScape, and saved it as both SVG and DXF, but neither file
format would import successfully into OpenSCAD (I tried all 3 SVG variants).
Anyone done this before with better results? Any recommendations?
If you could provide an (as minimal as possible) example of an Illustrator
file, and the 3 SVG variants in the form of a Github issue, that would be
helpful in terms of debugging and fixing this.
-Marius
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
This email has been checked for viruses by AVG.
http://www.avg.com
On 06/15/2017 08:01 PM, Mark Schafer wrote:
This scad export extension for inkscape works very well.
I second this recommendation. Good results for many polygons.
I have had good success just by saving as Dxf without any plugin. The key is to first select all points, and if you have any curves, insert enough extra points so that the curves are adequately represented, and then just convert all segments to straight lines. If all you have is straight lines, Inkscape's native dxf save seems to work.
On 16 Jun 2017, at 11:41 pm, Algot Runeman algot.runeman@verizon.net wrote:
On 06/15/2017 08:01 PM, Mark Schafer wrote:
This scad export extension for inkscape works very well.
I second this recommendation. Good results for many polygons.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
I know this thread is a couple of years old, but I just tried the
paths_to_scad3.jsx Illustrator script, and it was a breeze. No need to
install Inkscape (which I find very clunky) - instead just move the JSX file
to the Adobe Illustrator CS6 ▸ Presets ▸ en_US ▸ Scripts folder.
Then, select the paths you want to export, and select File ▸ Scripts ▸
paths_to_scad3. Super easy, and the results are terrific.
Tip: if you have line art, select Object ▸ Path ▸ Outline Stroke to
create outline paths that work beautifully with the script. You don't even
need to use linear_extrude in scad!
Thanks!
Hypher wrote
You can use the attached Illustrator script that I built...
paths_to_scad3.jsx (28K)
<http://forum.openscad.org/attachment/21701/0/paths_to_scad3.jsx>
--
Sent from: http://forum.openscad.org/