added path select in guillotine plus
This commit is contained in:
parent
82fa7efd18
commit
15e9c09e8c
@ -2,7 +2,7 @@
|
|||||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||||
<name>Guillotine Plus</name>
|
<name>Guillotine Plus</name>
|
||||||
<id>fablabchemnitz.de.guillotine_plus</id>
|
<id>fablabchemnitz.de.guillotine_plus</id>
|
||||||
<param name="directory" type="string" gui-text="Directory to save images to:">~/</param>
|
<param name="directory" type="path" mode="folder" gui-text="Directory to save images to:">~/</param>
|
||||||
<param name="image" type="string" gui-text="Image name (without extension):">guillotined</param>
|
<param name="image" type="string" gui-text="Image name (without extension):">guillotined</param>
|
||||||
<param name="dpi" type="int" gui-text="DPI" min="1" max="10000">300</param>
|
<param name="dpi" type="int" gui-text="DPI" min="1" max="10000">300</param>
|
||||||
<param name="ignore" type="bool" gui-text="Ignore these settings and use export hints">false</param>
|
<param name="ignore" type="bool" gui-text="Ignore these settings and use export hints">false</param>
|
||||||
|
@ -174,10 +174,9 @@ class Guillotine(inkex.EffectExtension):
|
|||||||
output_files.append(fname)
|
output_files.append(fname)
|
||||||
self.export_slice(slico, fname)
|
self.export_slice(slico, fname)
|
||||||
|
|
||||||
self.debug("The sliced bitmaps have been saved as:" + "\n\n" + "\n".join(output_files))
|
#self.debug("The sliced bitmaps have been saved as:" + "\n\n" + "\n".join(output_files))
|
||||||
|
|
||||||
def effect(self):
|
def effect(self):
|
||||||
self.export_slices(self.get_slices())
|
self.export_slices(self.get_slices())
|
||||||
|
|
||||||
if __name__ == "__main__":
|
Guillotine().run()
|
||||||
Guillotine().run()
|
|
||||||
|
Reference in New Issue
Block a user