/
rose_create.inx
47 lines (43 loc) · 2.01 KB
/
rose_create.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<!--
rose_input.inx
Inkscape extension wrapper for making rose diagrams from survex (.3d) files
Copyright (C) 2018, 2020 Patrick B Warren
Email: patrickbwarren@gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
<http://www.gnu.org/licenses/>.
-->
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Rose diagram from .3d file</name>
<id>org.patrickbwarren.rose_create</id>
<param type="float" name="size" min="1" max="1000" gui-text="Overall size (px):">100.0</param>
<param type="float" name="head" min="1" max="1000" gui-text="North arrow size (px):">10.0</param>
<param type="float" name="width" min="0" max="100" gui-text="Line widths (pt):">0.8</param>
<param type="optiongroup" name="nsector" appearance="minimal" gui-text="Number of sectors: ">
<item value="8">8</item>
<item value="16">16</item>
<item value="32">32</item>
<item value="64">64</item>
</param>
<param type="boolean" name="bw" gui-text="Render in black and white">false</param>
<param type="string" name="title" max_length="30" gui-text="Title: " gui-description="Leave blank to use survey name"/>
<param type="path" name="file" gui-text="File (*.3d): " mode="file" filetypes="3d"/>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Render"/>
</effects-menu>
</effect>
<script>
<command location="extensions" interpreter="python">rose_create.py</command>
</script>
</inkscape-extension>