kopia lustrzana https://github.com/inkstitch/inkstitch
				
				
				
			update inx files to use single script
							rodzic
							
								
									83a0edc1b6
								
							
						
					
					
						commit
						a42726679a
					
				| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
 | 
			
		||||
    <_name>Embroider</_name>
 | 
			
		||||
    <id>jonh.embroider</id>
 | 
			
		||||
    <dependency type="executable" location="extensions">embroider.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkstitch.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkex.py</dependency>
 | 
			
		||||
    <param name="collapse_len_mm" type="float" min="0.0" max="10.0" _gui-text="Collapse length (mm)"> _gui-description="Jump stitches smaller than this will be treated as normal stitches.">3.0</param>
 | 
			
		||||
    <param name="hide_layers" type="boolean" _gui-text="Hide other layers" description="Hide all other top-level layers when the embroidery layer is generated, in order to make stitching discernable.">true</param>
 | 
			
		||||
| 
						 | 
				
			
			@ -32,6 +32,7 @@
 | 
			
		|||
        <_option value="xxx">Singer Embroidery Format(.XXX)</_option>
 | 
			
		||||
    </param>
 | 
			
		||||
    <param name="path" type="string" _gui-text="Directory"></param>
 | 
			
		||||
    <param name="extension" type="string" gui-hidden="true">embroider</param>
 | 
			
		||||
    <effect>
 | 
			
		||||
        <object-type>all</object-type>
 | 
			
		||||
        <effects-menu>
 | 
			
		||||
| 
						 | 
				
			
			@ -39,6 +40,6 @@
 | 
			
		|||
        </effects-menu>
 | 
			
		||||
    </effect>
 | 
			
		||||
    <script>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">embroider.py</command>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">inkstitch.py</command>
 | 
			
		||||
    </script>
 | 
			
		||||
</inkscape-extension>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,8 +2,9 @@
 | 
			
		|||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
 | 
			
		||||
    <_name>Install thread manufacturer color palettes</_name>
 | 
			
		||||
    <id>org.inkstitch.palettes</id>
 | 
			
		||||
    <dependency type="executable" location="extensions">embroider_palettes.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkstitch.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkex.py</dependency>
 | 
			
		||||
    <param name="extension" type="string" gui-hidden="true">palettes</param>
 | 
			
		||||
    <effect>
 | 
			
		||||
        <object-type>all</object-type>
 | 
			
		||||
        <effects-menu>
 | 
			
		||||
| 
						 | 
				
			
			@ -11,6 +12,6 @@
 | 
			
		|||
        </effects-menu>
 | 
			
		||||
    </effect>
 | 
			
		||||
    <script>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">embroider_palettes.py</command>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">inkstitch.py</command>
 | 
			
		||||
    </script>
 | 
			
		||||
</inkscape-extension>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,8 +2,9 @@
 | 
			
		|||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
 | 
			
		||||
    <_name>Params</_name>
 | 
			
		||||
    <id>jonh.embroider.params</id>
 | 
			
		||||
    <dependency type="executable" location="extensions">embroider_params.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkstitch.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkex.py</dependency>
 | 
			
		||||
    <param name="extension" type="string" gui-hidden="true">params</param>
 | 
			
		||||
    <effect>
 | 
			
		||||
        <object-type>all</object-type>
 | 
			
		||||
        <effects-menu>
 | 
			
		||||
| 
						 | 
				
			
			@ -11,6 +12,6 @@
 | 
			
		|||
        </effects-menu>
 | 
			
		||||
    </effect>
 | 
			
		||||
    <script>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">embroider_params.py</command>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">inkstitch.py</command>
 | 
			
		||||
    </script>
 | 
			
		||||
</inkscape-extension>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,8 +2,9 @@
 | 
			
		|||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
 | 
			
		||||
    <_name>Print</_name>
 | 
			
		||||
    <id>jonh.embroider.print</id>
 | 
			
		||||
    <dependency type="executable" location="extensions">embroider_print.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkstitch.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkex.py</dependency>
 | 
			
		||||
    <param name="extension" type="string" gui-hidden="true">print</param>
 | 
			
		||||
    <effect>
 | 
			
		||||
        <object-type>all</object-type>
 | 
			
		||||
        <effects-menu>
 | 
			
		||||
| 
						 | 
				
			
			@ -11,6 +12,6 @@
 | 
			
		|||
        </effects-menu>
 | 
			
		||||
    </effect>
 | 
			
		||||
    <script>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">embroider_print.py</command>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">inkstitch.py</command>
 | 
			
		||||
    </script>
 | 
			
		||||
</inkscape-extension>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,9 +2,9 @@
 | 
			
		|||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
 | 
			
		||||
    <_name>Simulate</_name>
 | 
			
		||||
    <id>jonh.embroider.simulate</id>
 | 
			
		||||
    <dependency type="executable" location="extensions">embroider_simulate.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkstitch.py</dependency>
 | 
			
		||||
    <dependency type="executable" location="extensions">inkex.py</dependency>
 | 
			
		||||
    <param name="path" type="string" _gui-text="Directory where embroidery output is stored"></param>
 | 
			
		||||
    <param name="extension" type="string" gui-hidden="true">simulate</param>
 | 
			
		||||
    <effect>
 | 
			
		||||
        <object-type>all</object-type>
 | 
			
		||||
        <effects-menu>
 | 
			
		||||
| 
						 | 
				
			
			@ -12,6 +12,6 @@
 | 
			
		|||
        </effects-menu>
 | 
			
		||||
    </effect>
 | 
			
		||||
    <script>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">embroider_simulate.py</command>
 | 
			
		||||
        <command reldir="extensions" interpreter="python">inkstitch.py</command>
 | 
			
		||||
    </script>
 | 
			
		||||
</inkscape-extension>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue