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-1.1-deprecated/extensions/fablabchemnitz/lasercut_jigsaw/lasercut_jigsaw.inx

75 lines
4.9 KiB
Plaintext
Raw Normal View History

2020-07-30 01:16:18 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-07 20:19:46 +02:00
<name>Lasercut Jigsaw</name>
2020-07-30 01:16:18 +02:00
<id>fablabchemnitz.de.lasercut_jigsaw</id>
<param name="tab" type="notebook">
<page name="Style" gui-text="Style">
<label>The Jigsaw lines color does not apply if 'Create separated pieces' option is enabled.</label>
<param name="color_border" type="color" appearance="colorbutton" gui-text="Border color">4278190335</param>
<param name="color_jigsaw" type="color" appearance="colorbutton" gui-text="Jigsaw lines color">65535</param>
</page>
2020-08-07 20:19:46 +02:00
<page name="Dimensions" gui-text="Dimensions">
2021-04-27 14:38:04 +02:00
<label>Define the Jigsaw size and grid size.</label>
<param name="width" type="float" min="0.1" max="1000.0" precision="2" gui-text="Width" gui-description="The Box Width - in the X dimension">100.0</param>
<param name="height" type="float" min="0.1" max="1000.0" precision="2" gui-text="Height" gui-description="The Box Height - in the Y dimension">80.0</param>
<param name="innerradius" type="float" min="0.0" max="500.0" precision="2" gui-text="Corner radius" gui-description="0 implies square corners">5.0</param>
<param name="units" gui-text="Units" type="optiongroup" appearance="combo" gui-description="The unit of the box dimensions">
2020-07-30 01:16:18 +02:00
<option value="px">px</option>
<option value="pt">pt</option>
<option value="in">in</option>
<option value="cm">cm</option>
<option value="mm">mm</option>
</param>
<param name="border" type="bool" gui-text="Outer Border" gui-description="Add Outer Surround">false</param>
<param name="borderwidth" type="float" min="0.0" max="500.0" precision="2" gui-text="Border width" gui-description="Size of external surrounding border.">20.0</param>
<param name="outerradius" type="float" min="0.0" max="500.0" precision="2" gui-text="Border radius" gui-description="0 implies square corners">5.0</param>
<param name="pack" type="optiongroup" appearance="combo" gui-text="Pack Location" gui-description="Where to place backing piece on page">
2020-08-07 20:19:46 +02:00
<option value="Right">Right</option>
<option value="Below">Below</option>
<option value="Separate">Separate</option>
2020-07-30 01:16:18 +02:00
</param>
2020-08-07 20:19:46 +02:00
<param name="pieces_W" type="int" min="2" max="199" gui-text="How many pieces across">5</param>
<param name="pieces_H" type="int" min="2" max="199" gui-text="How many pieces down">4</param>
2020-07-30 01:16:18 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="Notches" gui-text="Notches">
2021-04-27 14:38:04 +02:00
<label>The interlocking pieces can be shaped here. Also the random nature of the layout.</label>
2021-07-15 12:10:50 +02:00
<param name="notch_percent" type="float" min="0.0" max="1.0" precision="2" appearance="full" gui-text="Notch relative size" gui-description="Notch relative size. 0.15 to 0.50 is good">0.5</param>
<param name="rand" type="float" min="0.0" max="1.0" precision="2" appearance="full" gui-text="Grid Randomisation" gui-description="Amount to perturb the basic piece grid.">0.4</param>
<param name="smooth_edges" type="bool" gui-text="Some edges can be smooth" gui-description="Allow pieces with smooth edges.">false</param>
<param name="noknob_frequency" type="float" min="0.0" max="100.0" appearance="full" precision="2" gui-text="percentage of smooth edges">10</param>
<param name="use_seed" type="bool" gui-text="Random jigsaw" gui-description="Use the kerf value as the drawn line width">true</param>
<param name="seed" type="int" min="0" max="99999999" gui-text="or Jigsaw pattern (seed)" gui-description="Random seed for repeatability">12345</param>
<param name="pieces" type="bool" gui-text="Create separated pieces">false</param>
2021-07-13 02:53:51 +02:00
<param name="shift" type="float" min="0.0" max="100.0" precision="2" gui-text="Shifting for each piece (%)">0</param>
2020-07-30 01:16:18 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="Usage" gui-text="Usage">
2021-04-27 14:38:04 +02:00
<label xml:space="preserve">Jigsaw lines are single for minimal laser cutting.
2020-07-30 01:16:18 +02:00
(The pieces are not discrete shapes.)
The outer edge can be a rectangle or have rounded corners.
A Surrounding border can be added to frame the jigsaw.
Notch size is related to the averaged Jigsaw piece size.
Randomization creates irregularity for unique pieces.
Adjust Notch size and Randomization to avoid overlapping lines:
- High values of randomization will cause overlapping lines
on small notches.
- Highly unbalanced grids (E.g. 9x2 with 0.5 notches) will
create overlapping lines.
2021-04-27 14:38:04 +02:00
</label>
2020-07-30 01:16:18 +02:00
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from Generator"/>
2020-07-30 01:16:18 +02:00
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">lasercut_jigsaw.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>