summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b1aa68)
raw | patch | inline | side by side (parent: 7b1aa68)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 2 Oct 2009 00:58:22 +0000 (00:58 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 2 Oct 2009 00:58:22 +0000 (00:58 +0000) |
share/extensions/pathscatter.inx | patch | blob | history | |
share/extensions/polyhedron_3d.inx | patch | blob | history | |
share/extensions/restack.py | patch | blob | history |
index fe52828b8f2b8533051feb50066d62a41334ea2b..8f45aa75a441943d813b31ffa9dbaccce0d68b83 100644 (file)
<dependency type="executable" location="extensions">pathmodifier.py</dependency>
<dependency type="executable" location="extensions">pathscatter.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
- <_param name="title" type="description">This effect scatters a pattern along arbitrary "skeleton" paths. The pattern is the topmost object in the selection. (groups of paths/shapes/clones... allowed)</_param>
+ <_param name="title" type="description">This effect scatters a pattern along arbitrary "skeleton" paths. The pattern must be the topmost object in the selection. Groups of paths, shapes, clones are allowed.</_param>
<param name="follow" type="boolean" _gui-text="Follow path orientation">false</param>
<param name="stretch" type="boolean" _gui-text="Stretch spaces to fit skeleton length">false</param>
<param name="space" type="float" _gui-text="Space between copies:" min="-10000.0" max="10000.0">0.0</param>
index 31dfe6256964d5bfa784b1ced4c218e64f291d3a..10a054f8a3c88bddeda4e76419c0b23d080fe230 100644 (file)
<dependency type="executable" location="extensions">polyhedron_3d.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
- <page name="common" _gui-text="Model File">
+ <page name="common" _gui-text="Model file">
<param name="obj" type="optiongroup" appearance="minimal" _gui-text="Object:">
<_option value="cube">Cube</_option>
<_option value="trunc_cube">Truncated Cube</_option>
<_option value="snub_dodec">Snub Dodecahedron</_option>
<_option value="great_dodec">Great Dodecahedron</_option>
<_option value="great_stel_dodec">Great Stellated Dodecahedron</_option>
- <_option value="from_file">Load From File</_option>
+ <_option value="from_file">Load from file</_option>
</param>
<param name="spec_file" type="string" _gui-text="Filename:">great_rhombicuboct.obj</param>
<param name="type" type="optiongroup" appearance="minimal" _gui-text="Object Type">
<_option value="face">Face-Specified</_option>
<_option value="edge">Edge-Specified</_option></param>
- <param name="cw_wound" type="boolean" _gui-text="Clockwise Wound Object">0</param>
+ <param name="cw_wound" type="boolean" _gui-text="Clockwise wound object">0</param>
</page>
<page name="view" _gui-text="View">
- <param name="r1_ax" type="optiongroup" appearance="minimal" _gui-text="Rotate Around:">
+ <param name="r1_ax" type="optiongroup" appearance="minimal" _gui-text="Rotate around:">
<_option value="x">X-Axis</_option>
<_option value="y">Y-Axis</_option>
<_option value="z">Z-Axis</_option></param>
- <param name="r1_ang" type="float" min="-360" max="360" _gui-text="Rotation / Degrees">0</param>
- <param name="r2_ax" type="optiongroup" appearance="minimal" _gui-text="Then Rotate Around:">
+ <param name="r1_ang" type="float" min="-360" max="360" _gui-text="Rotation, degrees">0</param>
+ <param name="r2_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
<_option value="x">X-Axis</_option>
<_option value="y">Y-Axis</_option>
<_option value="z">Z-Axis</_option></param>
- <param name="r2_ang" type="float" min="-360" max="360" _gui-text="Rotation / Degrees">0</param>
- <param name="r3_ax" type="optiongroup" appearance="minimal" _gui-text="Then Rotate Around:">
+ <param name="r2_ang" type="float" min="-360" max="360" _gui-text="Rotation, degrees">0</param>
+ <param name="r3_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
<_option value="x">X-Axis</_option>
<_option value="y">Y-Axis</_option>
<_option value="z">Z-Axis</_option></param>
- <param name="r3_ang" type="float" min="-360" max="360" _gui-text="Rotation / Degrees">0</param>
- <param name="r4_ax" type="optiongroup" appearance="minimal" _gui-text="Rotate Around:">
+ <param name="r3_ang" type="float" min="-360" max="360" _gui-text="Rotation, degrees">0</param>
+ <param name="r4_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
<_option value="x">X-Axis</_option>
<_option value="y">Y-Axis</_option>
<_option value="z">Z-Axis</_option></param>
- <param name="r4_ang" type="float" min="-360" max="360" _gui-text="Rotation / Degrees">0</param>
- <param name="r5_ax" type="optiongroup" appearance="minimal" _gui-text="Then Rotate Around:">
+ <param name="r4_ang" type="float" min="-360" max="360" _gui-text="Rotation, degrees">0</param>
+ <param name="r5_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
<_option value="x">X-Axis</_option>
<_option value="y">Y-Axis</_option>
<_option value="z">Z-Axis</_option></param>
- <param name="r5_ang" type="float" min="-360" max="360" _gui-text="Rotation / Degrees">0</param>
- <param name="r6_ax" type="optiongroup" appearance="minimal" _gui-text="Then Rotate Around:">
+ <param name="r5_ang" type="float" min="-360" max="360" _gui-text="Rotation, degrees">0</param>
+ <param name="r6_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
<_option value="x">X-Axis</_option>
<_option value="y">Y-Axis</_option>
<_option value="z">Z-Axis</_option></param>
- <param name="r6_ang" type="float" min="-360" max="360" _gui-text="Rotation / Degrees">0</param>
+ <param name="r6_ang" type="float" min="-360" max="360" _gui-text="Rotation, degrees">0</param>
</page>
<page name="style" _gui-text="Style">
- <param name="scl" type="float" min="0" max="10000" _gui-text="Scaling Factor">100</param>
- <param name="f_r" type="int" min="0" max="255" _gui-text="Fill Color (Red)">255</param>
- <param name="f_g" type="int" min="0" max="255" _gui-text="Fill Color (Green)">0</param>
- <param name="f_b" type="int" min="0" max="255" _gui-text="Fill Color (Blue)">0</param>
- <param name="f_opac" type="int" min="0" max="100" _gui-text="Fill Opacity/ %">100</param>
- <param name="s_opac" type="int" min="0" max="100" _gui-text="Stroke Opacity/ %">100</param>
- <param name="th" type="float" min="0" max="100" _gui-text="Line Thickness / px">2</param>
- <param name="shade" type="boolean" _gui-text="Shading">0</param>
- <param name="lv_x" type="float" min="-100" max="100" _gui-text="Light x-Position">1</param>
- <param name="lv_y" type="float" min="-100" max="100" _gui-text="Light y-Position">1</param>
- <param name="lv_z" type="float" min="-100" max="100" _gui-text="Light z-Position">-2</param>
+ <param name="scl" type="float" min="0" max="10000" _gui-text="Scaling factor">100</param>
+ <param name="f_r" type="int" min="0" max="255" _gui-text="Fill color, Red">255</param>
+ <param name="f_g" type="int" min="0" max="255" _gui-text="Fill color, Green">0</param>
+ <param name="f_b" type="int" min="0" max="255" _gui-text="Fill color, Blue">0</param>
+ <param name="f_opac" type="int" min="0" max="100" _gui-text="Fill opacity, %">100</param>
+ <param name="s_opac" type="int" min="0" max="100" _gui-text="Stroke opacity, %">100</param>
+ <param name="th" type="float" min="0" max="100" _gui-text="Stroke width, px">2</param>
+ <param name="shade" type="boolean" _gui-text="Shading">1</param>
+ <param name="lv_x" type="float" min="-100" max="100" _gui-text="Light X">1</param>
+ <param name="lv_y" type="float" min="-100" max="100" _gui-text="Light Y">1</param>
+ <param name="lv_z" type="float" min="-100" max="100" _gui-text="Light Z">-2</param>
<param name="show" type="optiongroup" appearance="minimal" _gui-text="Show:">
- <_option value="vtx">Vertices</_option>
- <_option value="edg">Edges</_option>
<_option value="fce">Faces</_option></param>
- <param name="back" type="boolean" _gui-text="Draw Back-Facing Polygons">0</param>
- <param name="z_sort" type="optiongroup" appearance="minimal" _gui-text="Z-Sort Faces By:">
+ <_option value="edg">Edges</_option>
+ <_option value="vtx">Vertices</_option>
+ <param name="back" type="boolean" _gui-text="Draw back-facing polygons">0</param>
+ <param name="z_sort" type="optiongroup" appearance="minimal" _gui-text="Z-sort faces by:">
<_option value="max">Maximum</_option>
<_option value="min">Minimum</_option>
<_option value="mean">Mean</_option></param>
index e4fb7d25e517214ec412e1d9d4398f0bef5341cc..139f783b2da6956fccc7dec7158b68e56d927e76 100644 (file)
midx = (minx + maxx) / 2
midy = (miny + maxy) / 2
- #calculate distances fro each selected object
+ #calculate distances for each selected object
for id, node in self.selected.iteritems():
# get the bounding box
x,y,w,h = dimen[id]