File: foldablebox.inx

package info (click to toggle)
inkscape 0.47.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 122,072 kB
  • ctags: 46,938
  • sloc: cpp: 349,791; ansic: 31,306; python: 14,868; xml: 6,613; sh: 5,041; makefile: 1,773; perl: 1,486; asm: 675; ruby: 148
file content (29 lines) | stat: -rw-r--r-- 1,419 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  <_name>Foldable Box</_name>
  <id>org.inkscape.render.foldable-box</id>
  <dependency type="executable" location="extensions">foldablebox.py</dependency>
  <dependency type="executable" location="extensions">inkex.py</dependency>
  <param name="width"  type="float" min="0.1" max="1000.0" _gui-text="Width">10.0</param>
  <param name="height" type="float" min="0.1" max="1000.0" _gui-text="Height">15.0</param>
  <param name="depth"  type="float" min="0.1" max="1000.0" _gui-text="Depth">3.0</param>
  <param name="paper-thickness" type="float" min="0.0" max="100.0" _gui-text="Paper Thickness">0.01</param>
  <param name="tab-proportion" type="float" min="0.1" max="1.0" _gui-text="Tab Proportion">0.6</param>
  <param name="unit" _gui-text="Unit" type="optiongroup" appearance="minimal">
	<option value="px">px</option>
	<option value="pt">pt</option>
	<option value="in">in</option>
	<option value="cm">cm</option>
	<option value="mm">mm</option>
  </param>
  <param name="guide-line" type="boolean" _gui-text="Add Guide Lines">true</param>
  <effect>
	  <object-type>all</object-type>
    <effects-menu>
      <submenu _name="Render"/>
    </effects-menu>
  </effect>
  <script>
    <command reldir="extensions" interpreter="python">foldablebox.py</command>
  </script>
</inkscape-extension>