File: doc_ai_convert.inx

package info (click to toggle)
inkscape 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 402,900 kB
  • sloc: cpp: 547,256; python: 72,677; ansic: 63,355; javascript: 3,864; xml: 2,345; sh: 1,667; makefile: 824; perl: 614
file content (39 lines) | stat: -rw-r--r-- 1,445 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
      <name>Process Illustrator SVG</name>
      <id>org.inkscape.doc_ai_convert</id>
      <label appearance="header" indent="2">Process Illustrator SVG</label>
      <label xml:space="preserve" indent="1">
Apply this extension after opening an SVG file
    exported from Adobe Illustrator to:

(1) Recognize and import named layers.

(2) Correct document scale, if necessary.
    (Illustrator may export SVG at 75% of correct size.)
</label>
     <spacer/>
     <separator />
     <spacer/>
      <label appearance="header" indent="2">How to export SVG from Illustrator</label>
      <label xml:space="preserve" indent="1">For best results when exporting from AI:
* When naming layers in AI, either:
    * Use just a number as the layer name, or
    * Include a space in each layer name
* Use File > Export > Export As...
* Check the "Use Artboards" option
* Select the SVG format option and click Export
* Styling: Presentation attributes
* Object IDs: Layer names
* Minify, Responsive: Both off
</label>
      <effect needs-live-preview="false">
        <object-type>all</object-type>
        <effects-menu>
          <submenu name="Document"/>
        </effects-menu>
      </effect>
      <script>
        <command location="inx" interpreter="python">doc_ai_convert.py</command>
      </script>
</inkscape-extension>