This commit is contained in:
Alex committed 2026-09-24 18:42:22 +02:00
1 parent 5dc977f9dd
commit 41987f8ea8
17 files changed
+1258 -210

No files matched your search

+55 -24
View File
@@ -1,39 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Boîte à créneaux</name>
<!--
Textes source en anglais, traduits par le catalogue « box_maker »
(locale/<langue>/LC_MESSAGES/box_maker.mo). Après toute modification
d'un texte : python i18n.py, puis compléter po/fr.po et relancer.
-->
<inkscape-extension translationdomain="box_maker"
xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Finger-Joint Box</name>
<id>fr.alex.box_maker</id>
<param name="tab" type="notebook">
<page name="dimensions" gui-text="Dimensions">
<param name="length" type="float" min="5" max="5000" precision="1" gui-text="Longueur (mm) :">100</param>
<param name="width" type="float" min="5" max="5000" precision="1" gui-text="Largeur (mm) :">80</param>
<param name="height" type="float" min="5" max="5000" precision="1" gui-text="Hauteur (mm) :">50</param>
<param name="dim_type" type="optiongroup" appearance="combo" gui-text="Les dimensions sont :">
<option value="exterior">Extérieures</option>
<option value="interior">Intérieures</option>
<param name="length" type="float" min="5" max="5000" precision="1" gui-text="Length (mm):">100</param>
<param name="width" type="float" min="5" max="5000" precision="1" gui-text="Width (mm):">80</param>
<param name="height" type="float" min="5" max="5000" precision="1" gui-text="Height (mm):">50</param>
<param name="dim_type" type="optiongroup" appearance="combo" gui-text="Dimensions are:">
<option value="exterior">Exterior</option>
<option value="interior">Interior</option>
</param>
<param name="lid" type="bool" gui-text="Boîte fermée (avec couvercle)">true</param>
<param name="lid" type="bool" gui-text="Closed box (with lid)">true</param>
</page>
<page name="material" gui-text="Matière et créneaux">
<param name="thickness" type="float" min="0.5" max="50" precision="2" gui-text="Épaisseur de la matière (mm) :">3</param>
<param name="finger" type="float" min="0" max="500" precision="2" gui-text="Largeur des créneaux (mm, 0 = 3 × épaisseur) :">0</param>
<param name="kerf" type="float" min="0" max="2" precision="3" gui-text="Compensation du trait laser, kerf (mm) :">0.1</param>
<label appearance="header">Remarques</label>
<label>La largeur des créneaux est ajustée pour obtenir un nombre impair de créneaux sur chaque bord.</label>
<label>Le kerf élargit les créneaux et rétrécit les encoches pour un assemblage serré.</label>
<page name="material" gui-text="Material and fingers">
<param name="thickness" type="float" min="0.5" max="50" precision="2" gui-text="Material thickness (mm):">3</param>
<param name="finger" type="float" min="0" max="500" precision="2" gui-text="Finger width (mm, 0 = 3 × thickness):">0</param>
<param name="kerf" type="float" min="0" max="2" precision="3" gui-text="Laser beam compensation, kerf (mm):">0.1</param>
<label appearance="header">Notes</label>
<label>The finger width is adjusted to get an odd number of fingers on each edge.</label>
<label>The kerf widens the fingers and narrows the slots for a tight fit.</label>
</page>
<page name="drawing" gui-text="Tracé">
<param name="gap" type="float" min="0" max="100" precision="1" gui-text="Espacement entre les pièces (mm) :">5</param>
<param name="stroke_width" type="float" min="0.001" max="5" precision="3" gui-text="Épaisseur du trait (mm) :">0.1</param>
<param name="stroke_color" type="color" gui-text="Couleur du trait :">0xff0000ff</param>
<param name="labels" type="bool" gui-text="Nommer les pièces (texte gravé !)">false</param>
<page name="drawing" gui-text="Drawing">
<param name="gap" type="float" min="0" max="100" precision="1" gui-text="Spacing between parts (mm):">5</param>
<param name="stroke_width" type="float" min="0.001" max="5" precision="3" gui-text="Stroke width (mm):">0.1</param>
<param name="stroke_color" type="color" gui-text="Stroke color:">0xff0000ff</param>
<param name="labels" type="bool" gui-text="Name the parts (engraved text!)">false</param>
</page>
<!-- Image générée par docs/schema_parametres.py -->
<page name="diagram" gui-text="Schéma">
<image width="900" height="694">images/parametres.png</image>
<!-- Schéma généré par docs/schema_parametres.py, en anglais :
Inkscape ne traduit pas le chemin d'une image. -->
<page name="diagram" gui-text="Diagram">
<image width="900" height="694">images/parameters_en.png</image>
</page>
<page name="help" gui-text="Help">
<label xml:space="preserve">Draws the pattern of a laser-cut box whose
panels interlock with straight finger joints.
No selection is needed: the parts are added
to the current layer, centered on the view.
Dimensions: exterior sizes, or interior sizes
(the thickness is then added). Unchecking
"Closed box" gives 5 parts, with a straight
top edge on the sides.
Fingers: 0 = 3 × the thickness. The width is
adjusted to get an odd number per edge.
Kerf: the outline is moved outwards by
kerf / 2 so that parts keep their nominal size
after cutting. Measure it: cut a 20 mm square,
kerf = 20 − measured size. Larger = tighter.
Each part is a separate closed path, named
(Front, Bottom…), that can be moved alone.
Labels are text: the laser would engrave them.</label>
</page>
</param>