fix in bobbinlace, adjusted inset alignment category
This commit is contained in:
parent
adfacd8b2a
commit
db8f6be2a5
@ -1,33 +1,33 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||||
<name>Inset Alignment</name>
|
<name>Inset Alignment</name>
|
||||||
<id>fablabchemnitz.de.insetalignment</id>
|
<id>fablabchemnitz.de.insetalignment</id>
|
||||||
<param name="anchor_node" type="optiongroup" appearance="combo" gui-text="Inset relative to">
|
<param name="anchor_node" type="optiongroup" appearance="combo" gui-text="Inset relative to">
|
||||||
<option value="FIRST_SEL">First selected</option>
|
<option value="FIRST_SEL">First selected</option>
|
||||||
<option value="LAST_SEL">Last selected</option>
|
<option value="LAST_SEL">Last selected</option>
|
||||||
<option value="LARGEST">Largest</option>
|
<option value="LARGEST">Largest</option>
|
||||||
</param>
|
</param>
|
||||||
<param name="relative_to_v" type="optiongroup" appearance="radio" gui-text="Vertical alignment">
|
<param name="relative_to_v" type="optiongroup" appearance="radio" gui-text="Vertical alignment">
|
||||||
<option value="TOP">Top</option>
|
<option value="TOP">Top</option>
|
||||||
<option value="CENTRE">Centre</option>
|
<option value="CENTRE">Centre</option>
|
||||||
<option value="BOTTOM">Bottom</option>
|
<option value="BOTTOM">Bottom</option>
|
||||||
</param>
|
</param>
|
||||||
<param name="relative_to_h" type="optiongroup" appearance="radio" gui-text="Horizontal alignment">
|
<param name="relative_to_h" type="optiongroup" appearance="radio" gui-text="Horizontal alignment">
|
||||||
<option value="LEFT">Left</option>
|
<option value="LEFT">Left</option>
|
||||||
<option value="MIDDLE">Middle</option>
|
<option value="MIDDLE">Middle</option>
|
||||||
<option value="RIGHT">Right</option>
|
<option value="RIGHT">Right</option>
|
||||||
</param>
|
</param>
|
||||||
<param name="inset_x" type="float" precision="1" min="-1000" max="1000" gui-text="Horizontal inset (mm)">10</param>
|
<param name="inset_x" type="float" precision="1" min="-1000" max="1000" gui-text="Horizontal inset (mm)">10</param>
|
||||||
<param name="inset_y" type="float" precision="1" min="-1000" max="1000" gui-text="Vertical inset (mm)">10</param>
|
<param name="inset_y" type="float" precision="1" min="-1000" max="1000" gui-text="Vertical inset (mm)">10</param>
|
||||||
<effect>
|
<effect>
|
||||||
<object-type>all</object-type>
|
<object-type>all</object-type>
|
||||||
<effects-menu>
|
<effects-menu>
|
||||||
<submenu name="FabLab Chemnitz">
|
<submenu name="FabLab Chemnitz">
|
||||||
<submenu name="Grids/Guides"/>
|
<submenu name="Various"/>
|
||||||
</submenu>
|
</submenu>
|
||||||
</effects-menu>
|
</effects-menu>
|
||||||
</effect>
|
</effect>
|
||||||
<script>
|
<script>
|
||||||
<command location="inx" interpreter="python">InsetAlignment.py</command>
|
<command location="inx" interpreter="python">InsetAlignment.py</command>
|
||||||
</script>
|
</script>
|
||||||
</inkscape-extension>
|
</inkscape-extension>
|
@ -31,7 +31,7 @@ __author__ = 'Veronika Irvine'
|
|||||||
__credits__ = ['Ben Connors', 'Veronika Irvine', 'Mark Shafer']
|
__credits__ = ['Ben Connors', 'Veronika Irvine', 'Mark Shafer']
|
||||||
__license__ = 'Simplified BSD'
|
__license__ = 'Simplified BSD'
|
||||||
|
|
||||||
class LaceGround(inkex.EffectExtesnsion):
|
class LaceGround(inkex.EffectExtension):
|
||||||
|
|
||||||
def loadFile(self):
|
def loadFile(self):
|
||||||
# Ensure that file exists and has the proper extension
|
# Ensure that file exists and has the proper extension
|
||||||
|
Reference in New Issue
Block a user