Fix for Printing Marks Dotted
This commit is contained in:
parent
f190593dfb
commit
e8ad6d8d16
@ -36,7 +36,7 @@
|
|||||||
<object-type>all</object-type>
|
<object-type>all</object-type>
|
||||||
<effects-menu>
|
<effects-menu>
|
||||||
<submenu name="FabLab Chemnitz">
|
<submenu name="FabLab Chemnitz">
|
||||||
<submenu name="Various"/>
|
<submenu name="Legacy Tools"/>
|
||||||
</submenu>
|
</submenu>
|
||||||
</effects-menu>
|
</effects-menu>
|
||||||
</effect>
|
</effect>
|
||||||
|
@ -186,7 +186,7 @@ class Printing_Marks (inkex.Effect):
|
|||||||
for id in self.options.ids:
|
for id in self.options.ids:
|
||||||
sel_area[id] = {}
|
sel_area[id] = {}
|
||||||
for att in [ "x", "y", "width", "height" ]:
|
for att in [ "x", "y", "width", "height" ]:
|
||||||
args = [ "inkscape", "-I", id, "--query-"+att, self.svg_file ]
|
args = [ "inkscape", "-I", id, "--query-"+att, self.options.input_file ]
|
||||||
sel_area[id][att] = scale* \
|
sel_area[id][att] = scale* \
|
||||||
float(Popen(args, stdout=PIPE, stderr=PIPE).communicate()[0])
|
float(Popen(args, stdout=PIPE, stderr=PIPE).communicate()[0])
|
||||||
current_min_x = sel_area[id]["x"]
|
current_min_x = sel_area[id]["x"]
|
||||||
|
Reference in New Issue
Block a user