77 lines
4.3 KiB
XML
77 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Textes source en anglais, traduits par le catalogue « skullfill »
|
|
(locale/<langue>/LC_MESSAGES/skullfill.mo). Après toute modification
|
|
d'un texte : python i18n.py, puis compléter po/fr.po et relancer.
|
|
-->
|
|
<inkscape-extension translationdomain="skullfill"
|
|
xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
<name>Skull Pattern Fill</name>
|
|
<id>fr.alexp.skullfill</id>
|
|
|
|
<param name="tab" type="notebook">
|
|
<page name="skulls" gui-text="Skulls">
|
|
<param name="size_max" type="float" precision="2" min="0.1" max="10000"
|
|
gui-text="Largest skull height:">30.0</param>
|
|
<param name="size_min" type="float" precision="2" min="0.1" max="10000"
|
|
gui-text="Smallest skull height:">10.0</param>
|
|
<param name="unit" type="optiongroup" appearance="combo" gui-text="Unit:">
|
|
<!-- Les unités ne se traduisent pas -->
|
|
<option translatable="no" value="mm">mm</option>
|
|
<option translatable="no" value="cm">cm</option>
|
|
<option translatable="no" value="px">px</option>
|
|
<option translatable="no" value="pt">pt</option>
|
|
<option translatable="no" value="in">in</option>
|
|
</param>
|
|
<param name="spacing" type="float" precision="0" min="30" max="150"
|
|
gui-text="Spacing (% of the smallest height):"
|
|
gui-description="Distance between two neighbouring skulls. Below 100 %, skulls overlap and leave no gap.">70</param>
|
|
<param name="max_rotation" type="float" precision="0" min="0" max="180"
|
|
gui-text="Maximum tilt (°):"
|
|
gui-description="Each skull is tilted by a random angle between minus and plus this value.">30</param>
|
|
<param name="mirror" type="bool"
|
|
gui-text="Randomly mirror skulls">true</param>
|
|
<param name="seed" type="int" min="0" max="99999"
|
|
gui-text="Random seed:"
|
|
gui-description="Change it to get another arrangement with the same settings.">1</param>
|
|
</page>
|
|
|
|
<page name="style" gui-text="Style">
|
|
<param name="ink_color" type="color" appearance="colorbutton"
|
|
gui-text="Ink color:">255</param>
|
|
<param name="fill_gaps" type="bool"
|
|
gui-text="Fill the gaps with the ink color">true</param>
|
|
<param name="keep_original" type="bool"
|
|
gui-text="Keep the original shape">true</param>
|
|
</page>
|
|
|
|
<page name="help" gui-text="Help">
|
|
<!-- Schéma généré par docs/schema_parametres.py, en anglais :
|
|
Inkscape ne traduit pas le chemin d'une image. Affiché aux
|
|
3/4 du PNG (900 px) pour limiter la hauteur de l'onglet. -->
|
|
<image width="675" height="617">images/parameters_en.png</image>
|
|
<separator/>
|
|
<!-- Un paragraphe par ligne : Inkscape le replie à la largeur de
|
|
l'onglet ; des retours à la ligne forcés le laisseraient étroit. -->
|
|
<label xml:space="preserve">Select one or more shapes (paths, rectangles, circles, ellipses or groups of them), then run the extension. Each shape is filled with skulls of different sizes, tilted and mirrored at random, cut to the outline of the shape.
|
|
|
|
Skull heights range from the smallest to the largest: there are many small skulls and a few large ones, drawn on top. The spacing sets how tightly they are packed; below 100 % they overlap and cover the whole shape.
|
|
|
|
The result is made for laser engraving: it contains only the ink that is actually visible. Lines hidden by the skulls on top are removed and skulls on the edge are trimmed; no mask, clone or white object is written, so the laser engraves nothing hidden.
|
|
|
|
The result is a group of filled paths placed just above each shape. Large fills take time, about 5 seconds per 100 skulls. Change the random seed to get another arrangement.</label>
|
|
</page>
|
|
</param>
|
|
|
|
<effect>
|
|
<object-type>all</object-type>
|
|
<effects-menu>
|
|
<submenu name="AlexDesign"/>
|
|
</effects-menu>
|
|
</effect>
|
|
|
|
<script>
|
|
<command location="inx" interpreter="python">skull_fill.py</command>
|
|
</script>
|
|
</inkscape-extension>
|