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

47 lines
1.8 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">
2020-08-07 20:19:46 +02:00
<name>Checkerboard</name>
2020-08-02 15:22:01 +02:00
<id>fablabchemnitz.de.checkerboard</id>
<param name="tab" type="notebook">
2020-08-07 20:19:46 +02:00
<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>
2020-08-02 15:22:01 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="color1" gui-text="1st color">
<param name="color1" type="color" gui-text="Color 1">#000000ff</param>
2020-08-02 15:22:01 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="color2" gui-text="2nd color">
<param name="color2" type="color" gui-text="Color 2">#ffffffff</param>
2020-08-02 15:22:01 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="help" gui-text="Help">
2020-08-02 15:22:01 +02:00
<param name="help_text" type="description">Create a checkerboard
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)
2. On the 1st color and 2nd color tabs,
select the colors for the two sets of
squares
3. Click Apply
More information and source code:
https://github.com/jeffkayser/inkscape-checkerboard</param>
</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>
2020-08-13 14:51:38 +02:00
<command location="inx" interpreter="python">fablabchemnitz_checkerboard.py</command>
2020-08-02 15:22:01 +02:00
</script>
</inkscape-extension>