This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-0.92-deprecated/fablabchemnitz_raster2laser.inx

74 lines
3.9 KiB
Plaintext
Raw Normal View History

2019-11-14 20:05:10 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Raster 2 Laser GCode</name>
<id>fablabchemnitz.de.raster2laser</id>
<dependency type="executable" location="extensions">fablabchemnitz_raster2laser.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="Title" type="description">Raster 2 Laser GCode generator</param>
<param name="Description" type="description">created by 305 Engineering with VE7FRG Remix</param>
<param name="directory" type="string" gui-text="Export directory"></param>
<param name="filename" type="string" gui-text="File Name"></param>
<param name="add-numeric-suffix-to-filename" type="boolean" gui-text="Add numeric suffix to filename">true</param>
<param name="bg_color" type="enum" gui-text="Replace transparency with">
<_item value="#ffffff">White</_item>
<_item value="#000000">Black</_item>
</param>
<param name="resolution" type="enum" gui-text="Resolution">
<_item value="1">1 pixel/mm</_item>
<_item value="2">2 pixel/mm</_item>
<_item value="5">5 pixel/mm</_item>
<_item value="10">10 pixel/mm</_item>
</param>
<param name="grayscale_type" type="enum" gui-text="Color to Grayscale conversion">
<_item value="1">0.21R + 0.71G + 0.07B</_item>
<_item value="2">(R+G+B)/3</_item>
<_item value="3">R</_item>
<_item value="4">G</_item>
<_item value="5">B</_item>
<_item value="6">Max Color</_item>
<_item value="7">Min Color</_item>
</param>
<param name="conversion_type" type="enum" gui-text="B/W conversion algorithm ">
<_item value="1">B/W fixed threshold</_item>
<_item value="2">B/W random threshold</_item>
<_item value="3">Halftone</_item>
<_item value="4">Halftone row</_item>
<_item value="5">Halftone column</_item>
<_item value="6">Grayscale</_item>
</param>
<param name="BW_threshold" type="int" min="1" max="254" gui-text="B/W threshold">128</param>
<param name="Laser_Min" type="int" min="1" max="255" gui-text="Dimension Test Laser Level">40</param>
<param name="Dim_Test_Times" type="int" min="0" max="5" gui-text="How many tests?">3</param>
<param name="BW_Max" type="int" min="1" max="255" gui-text="Desired Laser Max">255</param>
<param name="grayscale_resolution" type="enum" gui-text="Grayscale resolution ">
<_item value="1">256</_item>
<_item value="2">128</_item>
<_item value="4">64</_item>
<_item value="8">32</_item>
<_item value="16">16</_item>
<_item value="32">8</_item>
</param>
<param name="speed_ON" type="int" min="1" max="5000" gui-text="Engraving speed">200</param>
<param name="flip_y" type="boolean" gui-text="Flip Y">false</param>
<param name="homing" type="enum" gui-text="Homing ?">
<_item value="1">G28 (Standard)</_item>
<_item value="2">$H (GRBL)</_item>
<_item value="3">No Homing</_item>
<_item value="4">CR-10 Laser home X-47 Y-27 Z100</_item>
</param>
<param name="laseron" type="string" gui-text="Laser ON Command">M106</param>
<param name="laseroff" type="string" gui-text="Laser OFF Command">M107</param>
<param name="preview_only" type="boolean" gui-text="Preview only">false</param>
<param name="p_only" type="description">If "Preview only" is true the gcode file will not be generated.</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu _name="FabLab Chemnitz">
<submenu _name="Import/Export/Transfer" />
</submenu>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">fablabchemnitz_raster2laser.py</command>
</script>
</inkscape-extension>