measure.inx revision 241ef7771aef53c1e27e4c8c1a721dec6d206509
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen<?xml version="1.0" encoding="UTF-8"?>
fb51a6b789d85113d0976148685b0063c294220drbowen<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <_name>Measure Path</_name>
77a0265761f1bec2aaa0b4116c644f8066e349e3rbowen <id>com.njhurst.filter.measure_length</id>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <dependency type="executable" location="extensions">measure.py</dependency>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <dependency type="executable" location="extensions">inkex.py</dependency>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="tab" type="notebook">
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <page name="measure" _gui-text="Measure">
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="type" type="enum" _gui-text="Measurement Type: ">
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <_item value="length">Length</_item>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <_item msgctxt="measure extension" value="area">Area</_item>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen </param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="fontsize" type="int" min="1" max="1000" _gui-text="Font size (px):">12</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="offset" type="float" min="-10000" max="10000" _gui-text="Offset (px):">-6</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="precision" type="int" min="0" max="25" _gui-text="Precision:">2</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="scale" type="float" min="1e-8" max="1e10" _gui-text="Scale Factor (Drawing:Real Length) = 1:">1</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <!--<param name="orient" type="boolean" _gui-text="Keep text orientation upright">true</param>-->
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <!--<param name="unit" type="string" _gui-text="Unit {km|m|cm|mm|in|px|pt}">mm</param>-->
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="unit" type="enum" _gui-text="Length Unit:">
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <item value="px">px</item>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <item value="pt">pt</item>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <item value="in">in</item>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <item value="ft">ft</item>
fb51a6b789d85113d0976148685b0063c294220drbowen <item value="yd">yd</item>
fb51a6b789d85113d0976148685b0063c294220drbowen <item value="mm">mm</item>
fb51a6b789d85113d0976148685b0063c294220drbowen <item value="cm">cm</item>
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen <item value="m">m</item>
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen <item value="km">km</item>
b75b4bfd9e8ec9fbf28a95174dc0e4d420f744a8sf </param>
fb51a6b789d85113d0976148685b0063c294220drbowen </page>
fb51a6b789d85113d0976148685b0063c294220drbowen <page name="desc" _gui-text="Help">
249cc9b3d83d3c60666269b90ecb9f1390d32165poirier <_param name="measurehelp" type="description" xml:space="preserve">This effect measures the length, or area, of the selected path and adds it as a text-on-path object with the selected unit.
fb51a6b789d85113d0976148685b0063c294220drbowen
fb51a6b789d85113d0976148685b0063c294220drbowen * The number of significant digits can be controlled by the Precision field.
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim * The Offset field controls the distance from the text to the path.
889dc1728817c1c56d0c8d894c768614e346d86ecovener * The Scale factor can be used to make measurements in scaled drawings. For example, if 1 cm in the drawing equals 2.5 m in the real world, Scale must be set to 250.
889dc1728817c1c56d0c8d894c768614e346d86ecovener * When calculating area, the result should be precise for polygons and Bezier curves. If a circle is used, the area may be too high by as much as 0.03%.</_param>
889dc1728817c1c56d0c8d894c768614e346d86ecovener </page>
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim </param>
889dc1728817c1c56d0c8d894c768614e346d86ecovener <effect>
889dc1728817c1c56d0c8d894c768614e346d86ecovener <object-type>path</object-type>
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim <effects-menu>
889dc1728817c1c56d0c8d894c768614e346d86ecovener <submenu _name="Visualize Path"/>
fb51a6b789d85113d0976148685b0063c294220drbowen </effects-menu>
8548ace6aa09b4d3e463254b53865fb38fbbbc78poirier </effect>
8548ace6aa09b4d3e463254b53865fb38fbbbc78poirier <script>
8ad875ad9725307fd052e36abc2938f89f56902csf <command reldir="extensions" interpreter="python">measure.py</command>
8ad875ad9725307fd052e36abc2938f89f56902csf </script>
8548ace6aa09b4d3e463254b53865fb38fbbbc78poirier</inkscape-extension>
e19685ea3d8a2a0754a532b464a3d194c9f9a429humbedooh