inkscape.motif.relief/relief_fill.inx
2026-10-19 20:51:52 +02:00

74 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Textes source en anglais, traduits par le catalogue « relief_fill »
(locale/<langue>/LC_MESSAGES/relief_fill.mo). Après toute modification
d'un texte : python i18n.py, puis compléter po/fr.po et relancer.
-->
<inkscape-extension translationdomain="relief_fill"
xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Relief Pattern Fill</name>
<id>fr.alexp.relief_fill</id>
<param name="tab" type="notebook">
<page name="pattern" gui-text="Pattern">
<param name="edge" type="float" precision="3" min="0.1" max="1000"
gui-text="Edge length:"
gui-description="Length of the unit edge of the pattern. One repeat of the pattern is 5 edges wide.">5.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="angle" type="float" precision="1" min="-360" max="360"
gui-text="Rotation (degrees, clockwise):">0.0</param>
<param name="origin" type="optiongroup" appearance="combo"
gui-text="Pattern origin:">
<option value="shape">Center of each shape (pattern starts in the middle)</option>
<option value="document">Document origin (pattern continuous across shapes)</option>
</param>
</page>
<page name="style" gui-text="Lines">
<param name="stroke_color" type="color" appearance="colorbutton"
gui-text="Line color:">255</param>
<param name="stroke_width" type="float" precision="3" min="0" max="100"
gui-text="Line width (in the unit of the Pattern tab):">0.3</param>
<param name="draw_outline" type="bool"
gui-text="Also draw the outline of the shape">false</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, groups of them), then run the extension. Each shape is filled with a relief pattern of "Y" figures drawn on an isometric grid, and the lines are cut exactly at the edge of the shape. Holes (compound paths) stay empty.
Edge length: size of the unit edge of the grid. The pattern repeats every 5 edges, so a larger value gives a coarser pattern. Rotation turns the whole pattern around the pattern origin.
Pattern origin: "Center of each shape" puts a grid node at the center of every shape, so each shape shows a symmetrical pattern. "Document origin" anchors the grid at the top-left corner of the page, so neighbouring shapes show one continuous pattern.
The result is a group placed just above the shape, holding one path per shape. Tip: with a very small edge length on a large shape the pattern has many lines; the extension refuses more than 250 000 segments.</label>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="AlexDesign"/>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">relief_fill.py</command>
</script>
</inkscape-extension>