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

22 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-08-23 16:17:17 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Source Code Text</name>
<id>fablabchemnitz.de.source_code_text</id>
2020-08-23 16:17:17 +02:00
<param name="directory" type="path" mode="folder" gui-text="Directory to search for code:">C:\Users\</param>
<param name="pattern" type="string" gui-text="Filename pattern to match:">py</param>
<param name="wordsperpara" type="int" min="0" max="10000" gui-text="Limit on paragraph length:">0</param>
<param name="numparas" type="int" min="0" max="1000" gui-text="Limit number of paragraphs:">1</param>
<label appearance="header">Help</label>
<label>Based on the "Lorem Ipsum" plugin, this plugin searches the base directory for code, and strings it all together by concatenating on whitespace. If a flowed text is selected, Source code is added to it; otherwise a new flowed text object, the size of the page, is created in a new layer.</label>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from Generator"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">source_code_text.py</command>
2020-08-23 16:17:17 +02:00
</script>
</inkscape-extension>