PS Paths to DXF

I know that you can export either am EPS or AI file from PS which can be easily converted into a DXF file. My question is has anyone attempted to convert the paths from photoshop to a DXF via the power of scripting?

Hi Jongware, trying to decipher the request, I think the OP wants to move every selected path to a new layer each, not the whole selection to a single layer.
if that's the case, select your paths and run the script
var idoc = app.activeDocument;
var sel = idoc.selection;
for (i=sel.length-1; i>=0; i--)
                    var ilayer = idoc.layers.add();
                    var pgItem = sel[i];
                    pgItem.move(ilayer,ElementPlacement.PLACEATEND)
                    ilayer.name = pgItem.name;

Similar Messages

  • Converting straight line to neat curve (arc ) in Visio 2013

    hi friends
    i am new to visio .
    i was watching a visio training video from youtube & i saw that the guy drew two straight lines & then when hover the mouse on these lines, at the middle of each line, a handle (connection point) ( if i don't mistake) was appeared & then the
    guy simply click on the handle (point) & pull it out & so created a neat curve (arc).
    but in visio 2013, when i draw two lines, i don't see any of those point on my lines so that i pull them out ( drag them) to create a neat curve.
    has this ability removed in Visio 2013?
    to clarify, i paste the screenshots from that video training:
    look at the point which i have selected them with a red line around it. where are these in visio 2013 ?
    i even selected all checkmarks in view menu , visual Aids, but again they don't appear on simple lines
    visio converting straight line to curve

    I use a inexpensive plug in to join open paths from dxf dwg files it is call Concatenate by Rick Johnson if the paths are not  connected this will do it for you.
    Then you can go to Object>Path>Simplify
    That will probably give you the result you need.

  • Error: OSEG when Outlining Strokes

    I have a problem that consistently occurs in Illustrator CS4 on Leopard that only presents itself when I try to outline paths in dxf files opened in Illustrator that I think have been supplied from and Autocad type software.
    I get the unknown Error: OSEG and only some paths outline.
    The only way I have found to fix it is to outline paths individually till I find the culprit path or paths and and either find the point in the path that is causing the error and remove it (which can be time consuming), or just delete the path all together and re-create a replacement. It seems to me there is a problem with Illustrator being able to handle certain path information it encounters that is causing the error.
    I have been doing the same thing in all versions of Illustrator since the very first version that supported opening dxf files (so quite a few generations of Illustrator, pre CS I think) and this is the first time Illustrator has presented the problem with these types of files specifically.
    Any suggestions?

    I'm new to this forum, but I found this thread while googling the OSEG error I was getting when I tried to outline all of the strokes in an AI file (I'm using a Dell laptop, running CS4). All of my strokes were the same width, color, join (corner/smooth), miter limit, etc. Some of them had fill colors, the rest did not.
    I was finally able to pinpoint why this error was popping up for me:
    After successfully outlining the strokes layer by layer, and then path by path (once I found the problem layer), I discovered that my problem was just a few lone anchor points. Once I deleted those, the rest of the paths did just fine converting to outlines.
    I guess the "outline stroke" function didn't like the single points, and they made it act all weird. Maybe it was because they weren't really lines or closed shapes, and therefore not "stroke-able"?
    Also (not sure if this would have anything to do with it), the problem layer was the bottom layer, which Wade seemed to indicate was part of the problem.
    Anyway, hope this helps.

  • How can I bring a Sketchup Make file (or exported JPG) into AI and get single line paths to export as a .DXF file?

    I need to draw flat objects for laser cutting in Sketchup Make (free version) and send them to the cutter as .DXF files.  What is the process to use AI to convert them?  AI will not import .SKP files but sketchup will output .tif .png or .jpg.  When I try to use AI to make paths it draws double paths around all the black lines rather than a single path down the middle.  Thanks!

    Thanks rcraighead, but this version does not seem to have the PDF output/save option.  BUT someone suggested this link  Convert Sketchup SKP files to DXF or STL | guitar-list  which is a Sketchup plugin (free version) which will allow DXF output.  The 'polymesh face' output option seems to be what the Laser cutter needs!  I am still curious as to an AI solution to this also....

  • DXF import splits up paths into segments..

    Hi everyone, I am trying to take a dxf file, created from solidworks, and edit it in illustrator (I'm running CS3). I can open the file without trouble, but it's tricky to edit, because it splits every line segment up into a separate path and groups each one individually. For instance, a rectangle with rounded corners will be 4 separate straight line segments and 4 semicircles. They look okay if all I was doing was resizing or changing stroke color, but I can't add a fill. I have found that I can select everything and ungroup it all, but then I have to go around and select each touching endpoint and join them one at a time. There has to be a better way to do this.. right?
    I have tried several different export options for the dxf and a dwg and a pdf all with the same results..

    Have a look at Concatenate.
    http://rj-graffix.com/software/plugins.html#concatenate
    I've never used it, but it seems to do the trick. For $20, it could save you a lot of time.

  • How can I export an Adobe illustrator CC .AI file to a DWG or DXF file suitable for SolidWorks?

    Hi
    Can anyone help?
    How can I export an Adobe illustrator CC .AI file to a DWG or DXF file,  without SolidWorks enlarging the file & converting every curve into hundreds of short little straight lines rather than a single continuous line/s.
    I have made sure the file is ungrouped or has any compound paths or colours.
    Opening it in Autocad 2010 still converts the DWG file into hundreds of short little straight lines!
    The file is needed to laser cut out an aluminium shape using SolidWorks 2008 (Metal soft)?
    Formats they can handle are:
    DWG, DXF, IGES, IGA
    There must be a way to export it without re-drawing the whole design in Soildworks again!!??
    Can anyone help?
    INCA

    Not really. This is a limitation you will have to live with. Unless you are extremely careful, most paths will be converted to polyline segments by AI and in particular in AI CC this is somehow busted, so it happens more often. You might have much more luck opening a native AI file in DraftSight or a 2D CAD program like TurboCAD and exporting a DWG or 2D IGES/ STEP file from there. The sizing issue is a different matter, but without knowing what units you actualyl used, nobody can advise.
    Mylenium

  • Reduce File size on CAD DXF file opened in AI

    CS3, Windows XP.
    I get DXF CAD files from our Engineering Department. I open them in AI and save them as AI files. Then I place them in InDesign. Then I export a PDF for uploading to my website.
    The problem is that every seam in the CAD drawing is 5 or 6 lines. Every screw head is shown. This makes for a large PDF file. There are several drawings in each manual so the PDF is sometimes over 20 meg. It also takes a while for the image to draw as you go from page to page.
    Is there anyway (short of spending hours removing lines and screwheads in AI) to simplify the drawings from CAD? Does CS4 have any capabilities in this area?
    JAG

    If you have multiple identical (or, more likely, nearly identical) paths overlapping, you can probably eliminate that part of the problem with the export settings in the CAD program (which you don't specify). Look for settings to not include hidden lines (assuming you are exporting from flattend 3D models).
    Most CAD programs have a collection of export options, and there are multiple "flavors" of DXF. Someone needs to know what they're doing on each end of the export/import workflow.
    After getting a reasonable file into AI, try selecting all (excluding Text) and applying the Simplify command with curve accuracy set to 100%.
    Once you get the details ironed out, consider recording an Action to automate the steps that work best. For example, I routinely import DXF files exported from CATIA models and the apply an Action that:
    Selects all text objects.
    Inverts the selection.
    Ungroups.
    Removes compound paths.
    Simplifies paths.
    Applies a uniform stroke weight with rounded end caps and joins.
    Selects all.
    Scales.
    Selects all Text objects.
    Sets font, size, and weight.
    Deselects.
    In a consistent workflow, importing the DXFs and doing most of the optimization (as much as it can be optimized) is pretty much a few clicks affair. Dealing with CAD files when you cannot control the export end (as when receiving them from multiple different vendors and softwares) is always a bit of a chore because of the variables.
    JET

  • Exporting (in outline) to dxf

    I'm using Illustrator to create some large letter forms that I need to export into an AutoCad format, so that they can be cut out of steel on a computerized plasma table.  I'm able to size the letters and outline them in Illustrator and export them to dxf, but I have been told by the shop with the table that they can't use the files.  They say that the "line has no weight."  I see that there is a box I can check while exporting the file that allows me to "scale line weight," but I don't know if this is right.  Would anyone know how I might be able to specify line weight, or otherwise streamline the exporting from Illustrator to dwf for cutting out a letter-form outline?
    Thanks!
    The file in question is attached

    Hi ET, it's important to realize that what you see in Outline mode.. is just a wireframe and has no content whatsoever. So, if you view the file in Outline mode, that's not what is save or exported. What is saved and exported is the Preview Mode. So you'll need to work in that. I'm gathering that you're under the impression that Outline mode is a savable format. It's not. Everything is in Preview mode. Outline mode is only for illustrator and does not transfer to other formats.
    Switch back to preview mode, select the "R" and simply hold the shift key and tap x on the keyboard. This will reverse the fill and stroke giving the character no fill and a solid 1pt black stroke. You can then reduce the stroke weight if you want.
    I can't say with absolute certainty that this will correct the vendor issues with the file, however it would be the first thing I try because it does give the object a line weight. Outline Mode paths have no weight and are for on-screen viewing only.

  • Dividing and Exporting DXF

    I have a rather specific need.  I believe that scripting might lead me to a solution.
    I need to be able to take an Illustrator file, have the file divided vertically, starting at the lowest point on the page, every 75 mm, then export as a DXF each part saved as a file with an alpha/numerical decending scheme starting from the bottom up.  These are non-filled paths btw.
    Currently, I set my grid to 75 mm increments, create dividing lines every increment via snap to grid, then use the divide pathfinder tool.  I then go in each "box" and delete any new line created by the divide tool so that I am left with 75 mm tall chunks.  Each of these chunks are then exported individually and assigned an letter suffix starting at the bottom working my way up. They are then reassembled in another program that requires all this dividing. The reassembling is easy if the Illustrator exported components are done correct. A lot of moving parts.
    Any ideas?
    Thanks!

    ...the reason you have had no response is the fact that you are using 'pathfinder'…
    Such situations are where you consider using two scripts, between which you invoke an Action, or do something manually in the UI.
    The reason I (for one) have not responded is the problem is not fully described. No mention of version. Too little info about the requirements of the DXF results and the ultimate purpose.
    Any ideas?
    Maybe. Depends on some specifics of what you need in the resulting DXFs.
    First, I'm assuming this is a recurring need, therefore worthy of the time to plan, write, and test a semi-automated solution; not just a one-time need for a one-off project.
    Currently, I set my grid to 75 mm increments, create dividing lines every increment via snap to grid...
    Before getting into scripting, it sounds like you are creating the horizontal dividing lines one at a time. If so, using the Grid Tool, Tranform Effect, or even Transform Again would cut alot of time out of that.
    ...then use the divide pathfinder tool.
    The description of your problem suggests you just want to end up with paths which are merely cut at 75mm increments. Divide does not do that; it creates new paths which enclose visually-enclosed areas. So the result is like a set of puzzle pieces, which abut and share edges. If that's what you want, fine; it actually simplifies the problem because of Illustrator's absolutely ridiculous inability to properly cut paths. But your saying "These are non-filled paths..." suggests otherwise. If your use for the DXF is to drive a cutter, then Divide would result in double paths (double cuts). If that's not what you want, then you should be using the Outline Pathfinder instead. Like all of Illustrator's poorly-implemented Pathfinders, Outline also has its caveats: It will result in all paths being cut at all intersections, not just at intersections with the "cutting paths". Again, that may or may not be a problem, depending upon unknows about your ultimate purpose. For example, if the DXF results will be used for cutting, there may be no assurance of required cutting order (stacking order), if there is one.
    I need to be able to take an Illustrator file, have the file divided vertically, starting at the lowest point on the page, every 75 mm
    You don't say what version of Illustrator you are using. If CS5, then Javascript could create an array of Artboards, and create the straight "cutting paths" between them. Methods selectObjectsOnActiveArtboard() and exportSelectedArtOnly could then be used to export the contents of each Artboard, after the Pathfinder operation is performed.
    , then export as a DXF each part saved as a file with an alpha/numerical decending scheme starting from the bottom up.
    That part would be fairly trivial. Just loop through whatever incrementing naming convention you devise as the files are exported.
    I then go in each "box" and delete any new line created by the divide tool so that I am left with 75 mm tall chunks.
    This woudl be done before the exports. You would have to devise a means by which to identify the unwanted deadwood (remnants of the "cutting paths"). Again, it depends on what you need in the resulting DXF. If the "puzzle pieces" results of Pathfinder Divide are what you want, then there may not be any deadwood. If the "single paths" results of Pathfinder Outline is closer to what you need, then you would have to script a search for single-segment paths on which the Y position of both their anchors correspond to those of the Artboard edges.
    So conceivably, the general schema might go like this:
    Script A:
    Creates the array of abutting Artboards, each 75mm in height
    Draws the "cutting paths"
    Selects All
    Ends
    You then click the Pathfinder button.
    ScriptB:
    Finds and deletes deadwood
    Loops through:
      Selecting the contents of each Artboard
      Assigning the name variables
      Exporting the selection
    Ends
    JET

  • Fixing CAD Program Paths

    I'm often asked to edit drawings that were created in engineering CAD programs. I keep running into the same problem where Illustrator can't fill a closed path completely, and I can't find a workaround yet for this.
    Let's say I have a closed path of a basic shape, with rounded corners. (Well, I assume it's a closed path. It sure looks like it to me.) If I select this shape and fill with black, only the corners are filled black. The rest of the shape remains white.
    I'm looking for a command in Illustrator CS3 that will correct this path, so the shape will fill entirely with black.
    Can anyone comment on this, or offer a fix?
    I've asked the engineering guys to look into their Export or Save As settings on their end, but there doesn't seem to be anything. I have been receiving .AI files and also AutoCAD .DXF format files, if this is of any help. I also understand some of these files are drawn in SoftWorks.
    Thanks in advance for any potential help in fixing these simple paths.

    i've had to bring lots of cad files into illustrator and that's always a drag and non of the solutions are quick.
    you can use the plug in Concatenate to join segmented paths - this will require you to do one object at a time for clean results. you can do a whole document but you might end up with multiple merged objects etc. it's also not always clean, depending on your object you might end up with multiple lines on top of each other. but in general it helps a lot.
    one helpful thing to do before using it is to get rid of anchor points before joining.
    another way i've been working around this is by using the Live Paint. select the lines enclosing the shape you need and paint fill it.

  • Placing a ArchiCAD DXF into CS4 Illustrator

    Hi everyone,
    I am trying to open a DXF file into CS4 Illustrator but it's just not happening. The DXF is being provided by Graphisoft ArchiCAD. I've also been sent DXF files from autoCAD to test on to see if these open which also I'm afraid to say don't open either. The message I got for these was 'The operation cannot complete because there isn't enough memory (RAM) available', I have checked and there is more than enough memory.
    Any help will be very much appreciated.
    Regards,
    Fi

    It worked fine for me…when I first double clicked on the file it opened Illustrator but not the file but when I doubled clicked again after AI was opened the file opened.
    You can try File>Place or File Open if Double clicking on the fies icon does not work.
    I will post this in the forum as well. You should not have any problems with this file which is AutoCAD 2000 or later.
    I see now you are concerned about the lines not being connected perhaps this is not AutoCAD 2000 I think AutoCAD 2002 and after will open in Illustrator as object and not paths I just happen to select one that was connected but I see others are not you might need Concatenate for this if you had Concatenate by Rick Johnson already then you do not need to purchase it you can download the CS 4 version free.

  • Loading dxf in swf

    Hello all
    I'm wondering whether there is any way to dynamically load a
    vector based filed (p.e. a dxf file) into a swf file. Explained in
    other words: I want to build a swf file (assume hello.swf) and
    define in flashvars (or whatever) a vector file (assume test1.dxf)
    which loads in hello.swf. In a next call I want to load into
    hello.swf another dxf (assume test2.dxf). Has anybody ever done
    something like this If yes would you mind sending me the *.fla?
    Many thanks
    Tom

    all files has the same path
    index.html
    index.swf
    @ root
    images folder
    xml folder
    and html code
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Architect Moataz A. Fatah</title>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="scripts/AC_RunActiveContent.js" language="javascript"></script>
    <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    -->
    </style></head>
    <body bgcolor="#000000">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
      alert("This page requires AC_RunActiveContent.js.");
    } else {
      AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','name ','gallery01','width','100%','height','100%','align','middle','id','gallery01','src','x',' quality','high','bgcolor','#000000','allowscriptaccess','sameDomain','allowfullscreen','tr ue','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','x' ); //end AC code
    </script>
    <noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="gallery01" width="100%" height="100%" align="middle" id="gallery01">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="true" />
    <param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /> <embed src="/index.swf" quality="high" bgcolor="#000000" width="100%" height="100%" name="gallery01" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    </noscript>
    </body>
    </html>

  • Exporting file to dxf or dwg in Illustrator

    I am trying to export a pdf file to a dxf or dwg in Illustrator, but when I do it saves each individual path into it's own separate file. I end up with more than 18,000 png files.  What am I doing wrong?  

    I left the default settings as seen here...     Tried selecting "Export Selected Art Only" as well on the next attempt to export and got just a dxf file (woohoo!). I have sent the file on to the guy, but he has yet to respond if it works.  I will just keep changing up the settings until it comes out right!  Originally asked question to see if anyone had an immediate answer so I wouldn't have to go through trial and error.  Thanks for your input and appreciate your response/help with this.

  • How to convert a motion path in After Effects to CNC G-code

    Hello! Is there a way to convert a motion path in After Effects to CNC G-code?

    Copy&paste position as path to Illustrator
    Save AI/ DXF/ whatever file
    Import into your routing software
    Mylenium

  • Illustrator 9 - Export in DXF

    Seit AI 9 gibt es ja die Möglichkeit, direkt aus Illustrator ins DXF-Format zu exportieren. Leider erscheinen im CAD aber die Pfade, die Kurven enthalten nicht. Kennt jemand dieses Problem und weiss Abhilfe.
    Wenn ich die AI-Files in Corel importiere und als DXF speichere, funktioniert es, aber das kann ja nicht der Sinn der Sache sein.
    Bin für jeden Rat dankbar.
    Bernd

    Patrik,
    You have a few ways of limiting images/artwork. I believe one of the following ones should work.
    A) Create a closed path round the parts to be cut and Object>Clipping Mask>Make;
    B) If you have vector artwork to cut, depending on its nature it may be possible to select the closed path as in A), then Object>Path>Divide Object Below and delete outlying parts;
    C) If the cutting is rectangular, either set the Artboard to Fit to Artwork or create an Artboard covering what you want (Artboard Tool);
    D) The dirty destructive deed, with the Clipping Mask selected:
    1) In the Transparency palette/panel dropdown list select anything but Normal (Multiply is fine; this step may be unneeded in your version, you may try;
    2) Object>Flatten Transparency, just keep the defaults including 100% Vector;
    3) Shudder.

Maybe you are looking for

  • I see a distortion icon image in Windows 8.1 but not in windows 8

    I saw distorted icon image in windows 8.1 but not in Windows 8. This bug doesn't affect Windows 8.1 functionality but causes some icons to look ugly, distorted, fuzzy.This bug can be seen in "Delete confirmation dialog box". The folder icon in delete

  • Cant find music I just bought

    I bought some music last night on my Iphone and now it is not coming up on my Itunes on my computer. what can I do it get it to show up?

  • How to select certain photos/events to show up on desktop?

      I would like to select certain event folders from IPhoto to show up on my desktop screen saver. Is there a way to do that?  My problem, is that certain photo's show up that I may have even deleted? Annoying. At times, I may do some editing and IMov

  • Unsatisfactory quality for iPhoto Book

    I recently ordered 3 iphoto 100 page books, as my wedding albums...and only one of them is good. Two of the books each have 2 pages where the colour bled through from the next page and ruined the pages on it. I would like to return them and get them

  • Forwarding trouble

    My Blackberry is apparently not forwarding messages anymore. I can send messages (because other people have gotten them and replied), but when I try to forward from one account to another, nothing happens...no bounceback, no messages, nothing. Any id