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

44 lines
2.3 KiB
Plaintext
Raw 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>Ids To Text</name>
<id>fablabchemnitz.de.ids_to_text</id>
2021-10-14 23:46:36 +02:00
<param name="path_attribute" appearance="combo" gui-text="Path attribute to show:" type="optiongroup">
<option value="id">Id</option>
<option value="label">Label</option>
<option value="fill">Fill color</option>
<option value="stroke">Stroke color</option>
<option value="width">Width</option>
<option value="height">Height</option>
</param>
2021-07-23 02:36:56 +02:00
<param name="fontsize" type="int" min="1" max="1000" gui-text="Font size (px):">10</param>
2021-10-14 23:46:36 +02:00
<param name="color" type="color" appearance="colorbutton" gui-text="Text color:">255</param>
<param name="font" type="string" gui-text="Font:">Roboto</param>
<param name="fontweight" appearance="combo" gui-text="Font weight:" type="optiongroup">
2021-07-23 02:36:56 +02:00
<option value="light">Light</option>
<option value="normal">Normal</option>
<option value="italic">Italic</option>
<option value="medium">Medium</option>
<option value="bold">Bold</option>
</param>
2021-10-14 23:46:36 +02:00
<param name="replaced" type="string" gui-text="Text to replace:" />
<param name="replacewith" type="string" gui-text="Replace with:" />
<param name="matchre" type="string" gui-text="Match regular expression:" />
2021-07-23 02:36:56 +02:00
<param name="angle" type="float" min="-360" max="360" gui-text="Angle (°):">0</param>
<param name="capitals" type="bool" gui-text="Capitalize all text">false</param>
2021-10-14 23:46:36 +02:00
<param name="group" type="bool" gui-text="Group paths with the generated text elements">false</param>
2021-07-23 02:36:56 +02:00
<label appearance="header">Help</label>
2021-10-14 23:46:36 +02:00
<label>Lets you extract the ids (or other attributes) from all selected paths and show them as text elements inside the paths.
2021-07-23 02:36:56 +02:00
Examples and more info:</label>
<label appearance="url">https://github.com/whiplashoo/ids_to_text_inkscape</label>
<effect>
<object-type>all</object-type>
<effects-menu>
2021-10-14 23:46:36 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Various"/>
</submenu>
2021-07-23 02:36:56 +02:00
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">ids_to_text.py</command>
</script>
</inkscape-extension>