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/perspective_grid/perspective_grid.inx

33 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2021-07-23 02:36:56 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Perspective Grid</name>
<id>fablabchemnitz.de.perspective_grid</id>
<param name="size_unit" type="optiongroup" appearance="combo" gui-text="Geometry units">
<option value="px">Pixels</option>
<option value="pt">Points</option>
<option value="cm">Centimeters</option>
<option value="mm">Millimeters</option>
<option value="in">Inches</option>
</param>
<param name="width" type="int" min="1" max="1000" gui-text="Width of window">500</param>
<param name="height" type="int" min="1" max="1000" gui-text="Height of window">300</param>
<param name="horizon" type="float" min="-1000" max="1000" gui-text="Horizon y coordinate">150</param>
<param name="left_x" type="float" min="-1000" max="1000" gui-text="Left perspective point">-100.0</param>
<param name="right_x" type="float" min="-1000" max="1000" gui-text="Right perspective point">600</param>
<param name="p_divs" type="int" min="1" max="1000" gui-text="Perspective angle divisions">10</param>
<param name="border_th" type="float" min="0" max="1000" gui-text="Border Thickness [px]">3</param>
<param name="div_th" type="float" min="0" max="1000" gui-text="Major grid division Thickness [px]">2</param>
<param name="div_color" type="color" appearance="colorbutton" gui-text="Major grid division color">255</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Grids/Guides"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">perspective_grid.py</command>
</script>
</inkscape-extension>