Hidden elements appear when placing files on Origin:
All shapes in the illustrator file are exported, the image below shows a hidden layer note the little eye icon omitted from the highlighted layer, the hidden element will be present when placing with Origin. To prevent elements exporting, they must be deleted from the illustrator file. This is achieved by selecting the element to remove and pressing the trash can to the bottom of the layers menu.
Some shapes appear with double lines:
Strokes can be aligned in the inside, outside or center of a path, SVG 1.1 only supports the centered option. If a non centered stroke is exported, illustrator converts it to an outlined offset shape. You can select all your shapes and choose center aligned stroke to update everything ( providing they not hidden and not locked )
Individual curves / arcs / and lines appear when expecting continuous paths
Dxf files exported from solidworks often present this issue. As each line is a separate open element, preventing Origin from identifying the inside and the outside of each shape. To overcome this the Shape builder feature in illustrator works wonders, It allows you to select the paths you wish to combine into closed shapes and define their fill and stroke.
1: select the shapes / lines you wish to combine, then select the shapebuilder feature underlined above
2: choose the fill and stroke you wish to apply and click drag the cursor over the profiles you wish to combine.
3: profiles highlighted in the previous step are combined to form the shape indicated. now all paths are connected appropriately and we can cut inside/ outside and pocket the shape. take a look at our designing in illustrator video lesson for step by step instructions.
Saved SVG says invalid on next attempt to open.
We save custom tags in SVG files, for those to be "valid" the SVG header needs to include the line below:
- Add the above line manually in a text editor, inside the <svg section of the header
- Open and save the file in inkscape