This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz_checkerboard.inx

38 lines
1.9 KiB
Plaintext
Raw Normal View History

2020-08-02 15:22:01 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Checkerboard</name>
<id>fablabchemnitz.de.checkerboard</id>
<param name="tab" type="notebook">
<page name="params" gui-text="Params">
<param name="size" type="string" gui-text="Cell size">50</param>
<param name="rows" type="int" min="0" max="1000" gui-text="Rows">10</param>
<param name="cols" type="int" min="0" max="1000" gui-text="Columns">10</param>
<param name="layer" type="bool" gui-text="Create in current layer">true</param>
</page>
<page name="color1" gui-text="1st color">
<param name="color1" type="color" gui-text="Color 1">4286282751</param>
</page>
<page name="color2" gui-text="2nd color">
<param name="color2" type="color" gui-text="Color 2">8092671</param>
</page>
<page name="help" gui-text="Help">
<label>1. On the Params tab, choose the cell size (size of the constituent squares), number of rows and columns, and whether to add the checkerboard to the current layer (if unchecked, the checkerboard will be added to the root layer)</label>
<label>2. On the 1st color and 2nd color tabs, select the colors for the two sets of squares</label>
<label>3. Click Apply</label>
<label>More information and source code:</label>
<label appearance="url">https://github.com/jeffkayser/inkscape-checkerboard</label>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
2020-08-15 15:47:16 +02:00
<submenu name="Grids/Guides"/>
2020-08-02 15:22:01 +02:00
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_checkerboard.py</command>
</script>
</inkscape-extension>