inkscape.BoxFingering/box_maker.inx
2026-09-24 18:42:22 +02:00

82 lines
3.6 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!--
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="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="Closed box (with lid)">true</param>
</page>
<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="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>
<!-- 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>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="AlexDesign"/>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">box_maker.py</command>
</script>
</inkscape-extension>