90 lines
5.1 KiB
XML
90 lines
5.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Textes source en anglais, traduits par le catalogue « board_photo »
|
|
(commun aux entrées de menu). Après toute modification d'un
|
|
texte : python i18n.py, puis compléter po/fr.po et relancer.
|
|
Les réglages de l'onglet « Work area » doivent rester identiques à ceux
|
|
de board_photo_import.inx (mêmes noms, mêmes défauts).
|
|
-->
|
|
<inkscape-extension translationdomain="board_photo"
|
|
xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
<name>Board photo: print calibration markers</name>
|
|
<id>fr.alexp.board_photo.markers</id>
|
|
|
|
<param name="tab" type="notebook">
|
|
<page name="work_area" gui-text="Work area">
|
|
<param name="mode" type="optiongroup" appearance="combo" gui-text="Output:">
|
|
<option value="bed">Markers to engrave on the bed</option>
|
|
<option value="sheet">A4 sheet to print (markers to cut out)</option>
|
|
<option value="guides">Placement guides to engrave on the bed (for printed markers)</option>
|
|
</param>
|
|
<separator/>
|
|
<label appearance="header">Laser work area (mm)</label>
|
|
<param name="work_width" type="float" precision="1" min="10" max="5000"
|
|
gui-text="Width (mm):">400.0</param>
|
|
<param name="work_height" type="float" precision="1" min="10" max="5000"
|
|
gui-text="Height (mm):">400.0</param>
|
|
<param name="set_page" type="bool"
|
|
gui-text="Set the page to the work area size">true</param>
|
|
<separator/>
|
|
<label appearance="header">Calibration markers, inside or around the work area (laser origin at the bottom left)</label>
|
|
<param name="origin_x" type="float" precision="2" min="-1000" max="5000"
|
|
gui-text="Origin marker centre X (mm):"
|
|
gui-description="Distance from the laser origin to the centre of the two-dot marker, along X; negative when the markers are around the work area (left of the origin)">30.0</param>
|
|
<param name="origin_y" type="float" precision="2" min="-1000" max="5000"
|
|
gui-text="Origin marker centre Y (mm):"
|
|
gui-description="Distance from the laser origin to the centre of the two-dot marker, along Y (upwards); negative when the markers are around the work area (below the origin)">30.0</param>
|
|
<param name="spacing_x" type="float" precision="2" min="1" max="5000"
|
|
gui-text="Spacing between markers X (mm):">340.0</param>
|
|
<param name="spacing_y" type="float" precision="2" min="1" max="5000"
|
|
gui-text="Spacing between markers Y (mm):">340.0</param>
|
|
<param name="marker_size" type="float" precision="1" min="5" max="200"
|
|
gui-text="Marker size (mm):">20.0</param>
|
|
</page>
|
|
|
|
<page name="print" gui-text="Printed sheet">
|
|
<label xml:space="preserve">Print the sheet at actual size (100 %,
|
|
no "fit to page"), preferably from a PDF
|
|
(File > Save a Copy > PDF). Then measure
|
|
both 100 mm bars.
|
|
|
|
Only if the printer still shrinks the sheet,
|
|
enter the measured lengths below: the sheet
|
|
is enlarged to compensate. Print it again
|
|
and check that the bars now measure 100 mm.</label>
|
|
<param name="print_x" type="float" precision="1" min="80" max="120"
|
|
gui-text="Measured length of the horizontal bar (mm):">100.0</param>
|
|
<param name="print_y" type="float" precision="1" min="80" max="120"
|
|
gui-text="Measured length of the vertical bar (mm):">100.0</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. -->
|
|
<image width="675" height="521">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">Engraved markers: engrave them once, filled, on light plates fixed to the bed, keeping a light area of twice the marker size around each one.
|
|
|
|
Printed markers:
|
|
1. "A4 sheet": print at 100 % (no fit to page), check the 100 mm bar, cut out the 4 pieces along the dashed lines.
|
|
2. "Placement guides": engrave them lightly on the bed (thin red lines).
|
|
3. Stick each piece inside its guide, the ticks of the piece on the cross.
|
|
|
|
The markers must stay in place: every photo is scaled from them. The marker with two dots is the origin marker, at the bottom left (laser origin). Use the same settings in "Board photo: import and calibrate".</label>
|
|
</page>
|
|
</param>
|
|
|
|
<effect needs-live-preview="false">
|
|
<object-type>all</object-type>
|
|
<effects-menu>
|
|
<submenu name="AlexDesign"/>
|
|
</effects-menu>
|
|
</effect>
|
|
|
|
<script>
|
|
<command location="inx" interpreter="python">board_photo_markers.py</command>
|
|
</script>
|
|
</inkscape-extension>
|