This repository has been archived by the owner on Mar 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
realscale.inx.0.48
77 lines (72 loc) · 3.82 KB
/
realscale.inx.0.48
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>RealScale</_name>
<id>org.inkscape.effect.realscale</id>
<dependency type="executable" location="extensions">cubicsuperpath.py</dependency>
<dependency type="executable" location="extensions">simpletransform.py</dependency>
<dependency type="executable" location="extensions">simplestyle.py</dependency>
<_param name="measurement" type="description" appearance="header">Measurement</_param>
<param name="length" type="float" min="0.1" max="100000.0" precision="3" _gui-text="Length of scaling path: " _gui-description="Real-world length of the scaling path">100.0</param>
<param name="unit" type="optiongroup" appearance="minimal" _gui-text="Unit: " _gui-description="Real-world unit for drawing">
<option value="px">px</option>
<option value="pt">pt</option>
<option value="in">in</option>
<option value="ft">ft</option>
<option value="yd">yd</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="m">m</option>
<option value="km">km</option>
</param>
<_param name="scale_drawing" type="description" appearance="header">Scale Drawing</_param>
<param name="choosescale" _gui-text="Scale Category" appearance="minimal" _gui-description="Select which kind of scaling you would like to use, then select the actual scale in the corresponding dropdown." type="optiongroup">
<option value="metric">Metric</option>
<option value="imperial">Imperial</option>
<option value="custom">Custom</option></param>
<param name="metric" type="enum" _gui-text="Metric Scale: " appearance="minimal" _gui-description="Metric scales for drawings">
<item value="1">1:1</item>
<item value="2">1:2</item>
<item value="5">1:5</item>
<item value="10">1:10</item>
<item value="20">1:20</item>
<item value="25">1:25</item>
<item value="50">1:50</item>
<item value="100">1:100</item>
<item value="200">1:200</item>
<item value="250">1:250</item>
<item value="500">1:500</item>
<item value="1000">1:1000</item>
<item value="1250">1:1250</item>
<item value="2500">1:2500</item>
</param>
<param name="imperial" type="enum" _gui-text="Imperial Scale: " _gui-description="Imperial scales for drawings">
<item value="1">1:1</item>
<item value="2">1:2</item>
<item value="4">1:4</item>
<item value="8">1:8</item>
<item value="16">1:16</item>
<item value="24">1:24</item>
<item value="32">1:32</item>
<item value="48">1:48</item>
<item value="64">1:64</item>
<item value="96">1:96</item>
<item value="128">1:128</item>
</param>
<param name="custom_scale" type="float" min="0.00001" max="2000000" _gui-text="Custom Scale Value (1: value)" precision="5" _gui-description="Enter a custom drawing scale factor. Enlarge your drawing by entering a value smaller than 1.">45</param>
<_param name="scale_rule" type="description" appearance="header">Scale Rule</_param>
<param name="showscale" type="boolean" _gui-text="Generate Scale Rule" _gui-description="Draw the scale rule on the page">true</param>
<param name="unitlength" type="optiongroup" appearance="minimal" _gui-text="Half scale length " _gui-description="Number of units in one half of scale rule">
<option value="1">1</option>
<option value="10">10</option>
<option value="100">100</option>
</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu _name="Scaling"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">realscale.py</command>
</script>
</inkscape-extension>