home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Inkscape / Inkscape-0.48.2-1-win32.exe / share / extensions / polyhedron_3d.inx < prev    next >
Extensible Markup Language  |  2011-07-08  |  7KB  |  99 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  3.     <_name>3D Polyhedron</_name>
  4.     <id>math.polyhedron.3d</id>
  5.     <dependency type="executable" location="extensions">polyhedron_3d.py</dependency>
  6.     <dependency type="executable" location="extensions">inkex.py</dependency>
  7.     <param name="tab" type="notebook">
  8.         <page name="common" _gui-text="Model file">
  9.             <param name="obj" type="optiongroup" appearance="minimal" _gui-text="Object:">
  10.                 <_option value="cube">Cube</_option>
  11.                 <_option value="trunc_cube">Truncated Cube</_option>
  12.                 <_option value="snub_cube">Snub Cube</_option>
  13.                 <_option value="cuboct">Cuboctahedron</_option>
  14.                 <_option value="tet">Tetrahedron</_option>
  15.                 <_option value="trunc_tet">Truncated Tetrahedron</_option>
  16.                 <_option value="oct">Octahedron</_option>
  17.                 <_option value="trunc_oct">Truncated Octahedron</_option>
  18.                 <_option value="icos">Icosahedron</_option>
  19.                 <_option value="trunc_icos">Truncated Icosahedron</_option>
  20.                 <_option value="small_triam_icos">Small Triambic Icosahedron</_option>
  21.                 <_option value="dodec">Dodecahedron</_option>
  22.                 <_option value="trunc_dodec">Truncated Dodecahedron</_option>
  23.                 <_option value="snub_dodec">Snub Dodecahedron</_option>
  24.                 <_option value="great_dodec">Great Dodecahedron</_option>
  25.                 <_option value="great_stel_dodec">Great Stellated Dodecahedron</_option>
  26.                 <_option value="from_file">Load from file</_option>
  27.                 </param>
  28.             <param name="spec_file" type="string"  _gui-text="Filename:">great_rhombicuboct.obj</param>
  29.             <param name="type" type="optiongroup" appearance="minimal" _gui-text="Object Type">
  30.                 <_option value="face">Face-Specified</_option>
  31.                 <_option value="edge">Edge-Specified</_option></param>
  32.             <param name="cw_wound"  type="boolean" _gui-text="Clockwise wound object">0</param>
  33.          </page>
  34.          <page name="view" _gui-text="View">
  35.             <param name="r1_ax" type="optiongroup" appearance="minimal" _gui-text="Rotate around:">
  36.                 <_option value="x">X-Axis</_option>
  37.                 <_option value="y">Y-Axis</_option>
  38.                 <_option value="z">Z-Axis</_option></param>
  39.             <param name="r1_ang"  type="float"   min="-360" max="360"   _gui-text="Rotation, degrees">0</param>
  40.             <param name="r2_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
  41.                 <_option value="x">X-Axis</_option>
  42.                 <_option value="y">Y-Axis</_option>
  43.                 <_option value="z">Z-Axis</_option></param>
  44.             <param name="r2_ang"  type="float"   min="-360" max="360"   _gui-text="Rotation, degrees">0</param>
  45.             <param name="r3_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
  46.                 <_option value="x">X-Axis</_option>
  47.                 <_option value="y">Y-Axis</_option>
  48.                 <_option value="z">Z-Axis</_option></param>
  49.             <param name="r3_ang"  type="float"   min="-360" max="360"   _gui-text="Rotation, degrees">0</param>
  50.             <param name="r4_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
  51.                 <_option value="x">X-Axis</_option>
  52.                 <_option value="y">Y-Axis</_option>
  53.                 <_option value="z">Z-Axis</_option></param>
  54.             <param name="r4_ang"  type="float"   min="-360" max="360"   _gui-text="Rotation, degrees">0</param>
  55.             <param name="r5_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
  56.                 <_option value="x">X-Axis</_option>
  57.                 <_option value="y">Y-Axis</_option>
  58.                 <_option value="z">Z-Axis</_option></param>
  59.             <param name="r5_ang"  type="float"   min="-360" max="360"   _gui-text="Rotation, degrees">0</param>
  60.             <param name="r6_ax" type="optiongroup" appearance="minimal" _gui-text="Then rotate around:">
  61.                 <_option value="x">X-Axis</_option>
  62.                 <_option value="y">Y-Axis</_option>
  63.                 <_option value="z">Z-Axis</_option></param>
  64.             <param name="r6_ang"  type="float"   min="-360" max="360"   _gui-text="Rotation, degrees">0</param>
  65.         </page>
  66.         <page name="style" _gui-text="Style">
  67.             <param name="scl"    type="float"   min="0"    max="10000" _gui-text="Scaling factor">100</param>
  68.             <param name="f_r"  type="int"   min="0" max="255" _gui-text="Fill color, Red">255</param>
  69.             <param name="f_g"  type="int"   min="0" max="255" _gui-text="Fill color, Green">0</param>
  70.             <param name="f_b"  type="int"   min="0" max="255" _gui-text="Fill color, Blue">0</param>
  71.             <param name="f_opac" type="int" min="0" max="100" _gui-text="Fill opacity, %">100</param>
  72.             <param name="s_opac" type="int" min="0" max="100" _gui-text="Stroke opacity, %">100</param>
  73.             <param name="th"   type="float" min="0" max="100" _gui-text="Stroke width, px">2</param>
  74.             <param name="shade"  type="boolean" _gui-text="Shading">1</param>
  75.             <param name="lv_x" type="float" min="-100" max="100" _gui-text="Light X">1</param>
  76.             <param name="lv_y" type="float" min="-100" max="100" _gui-text="Light Y">1</param>
  77.             <param name="lv_z" type="float" min="-100" max="100" _gui-text="Light Z">-2</param>
  78.             <param name="show" type="optiongroup" appearance="minimal" _gui-text="Show:">
  79.                 <_option value="fce">Faces</_option>
  80.                 <_option value="edg">Edges</_option>
  81.                 <_option value="vtx">Vertices</_option></param>
  82.             <param name="back"  type="boolean" _gui-text="Draw back-facing polygons">0</param>
  83.             <param name="z_sort" type="optiongroup" appearance="minimal" _gui-text="Z-sort faces by:">
  84.                 <_option value="max">Maximum</_option>
  85.                 <_option value="min">Minimum</_option>
  86.                 <_option value="mean">Mean</_option></param>
  87.         </page>
  88.     </param>
  89.     <effect>
  90.         <object-type>all</object-type>
  91.                 <effects-menu>
  92.                     <submenu _name="Render"/>
  93.                 </effects-menu>
  94.     </effect>
  95.     <script>
  96.         <command reldir="extensions" interpreter="python">polyhedron_3d.py</command>
  97.     </script>
  98. </inkscape-extension>
  99.