Initiale version
This commit is contained in:
commit
00e9ba3434
19 files changed
+2586
No files matched your search
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Textes source en anglais, traduits par le catalogue « dogbandana »
|
||||
(locale/<langue>/LC_MESSAGES/dogbandana.mo). Après toute modification
|
||||
d'un texte : python i18n.py, puis compléter po/fr.po et relancer.
|
||||
-->
|
||||
<inkscape-extension translationdomain="dogbandana"
|
||||
xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Dog Bandana Pattern Fill</name>
|
||||
<id>fr.alexp.dogbandana</id>
|
||||
|
||||
<param name="tab" type="notebook">
|
||||
<page name="pattern" gui-text="Pattern">
|
||||
<param name="period" type="float" precision="2" min="0.2" max="1000"
|
||||
gui-text="Period (line spacing, center to center):">4.0</param>
|
||||
<param name="line_width" type="float" precision="2" min="0.05" max="1000"
|
||||
gui-text="Line width:">2.0</param>
|
||||
<param name="margin" type="float" precision="2" min="0" max="1000"
|
||||
gui-text="Margin from the shape edge:">0.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>
|
||||
<separator/>
|
||||
<param name="iterations" type="int" min="10" max="500"
|
||||
gui-text="Iterations (more = longer, smoother lines):"
|
||||
gui-description="Few iterations leave many dots and short lines; many iterations give long, regular lines.">60</param>
|
||||
<param name="seed" type="int" min="0" max="999999"
|
||||
gui-text="Random seed (another number, another maze):">1</param>
|
||||
<param name="edge" type="optiongroup" appearance="combo" gui-text="At the shape edge:">
|
||||
<option value="cut">Cut the lines (like cut fabric)</option>
|
||||
<option value="follow">Lines follow the edge</option>
|
||||
</param>
|
||||
</page>
|
||||
|
||||
<page name="style" gui-text="Style">
|
||||
<param name="stroke_color" type="color" appearance="colorbutton"
|
||||
gui-text="Line color:">255</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 closed shapes (or groups), then run the extension. Each shape is filled with a Turing maze: winding lines of constant width that branch and end in round tips.
|
||||
|
||||
Each line is drawn once, along its center, with a round-capped stroke of the chosen width: ready for line engraving on a laser cutter. The lines are chained and ordered to limit idle travel of the laser head.
|
||||
|
||||
Period: distance between the centers of two neighbouring lines. Line width: stroke thickness; keep it below the period (about half gives as much black as white). Margin: free space between the shape edge and the strokes.
|
||||
|
||||
Iterations: how long the pattern evolves. Few iterations leave dots and short lines, many give long regular lines. The seed changes the drawing while keeping the same look.
|
||||
|
||||
At the shape edge: cut the lines like a piece of fabric, or let them stop before the edge and run along it.
|
||||
|
||||
The result is placed in a group just above each shape. Large shapes with a small period take a few seconds.</label>
|
||||
</page>
|
||||
</param>
|
||||
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="AlexDesign"/>
|
||||
</effects-menu>
|
||||
</effect>
|
||||
|
||||
<script>
|
||||
<command location="inx" interpreter="python">dog_bandana.py</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
||||
Reference in new issue
Block a user