cleanings
This commit is contained in:
parent
e0dde03929
commit
9a6167904a
@ -1,51 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
||||||
<name>Export Layers</name>
|
|
||||||
<id>net.buschbeck.inkscape.exportlayers</id>
|
|
||||||
<param name="tab" type="notebook">
|
|
||||||
<page name="export" gui-text="Export">
|
|
||||||
<param name="include-locked-layers" type="bool" gui-text="Include locked layers">false</param>
|
|
||||||
<param name="include-hidden-layers" type="bool" gui-text="Include hidden layers">false</param>
|
|
||||||
<param name="viewbox" type="optiongroup" appearance="combo" gui-text="Exported viewbox">
|
|
||||||
<option value="drawing">Entire drawing</option>
|
|
||||||
<option value="content">Visible content</option>
|
|
||||||
</param>
|
|
||||||
<param name="dir" type="path" mode="folder" gui-text="Directory" />
|
|
||||||
<param name="file-prefix" type="string" gui-text="File prefix" />
|
|
||||||
<param name="subdirs" type="bool" gui-text="Create subdirectories for nested layers">true</param>
|
|
||||||
<param name="overwrite" type="bool" gui-text="Overwrite existing exports">true</param>
|
|
||||||
</page>
|
|
||||||
<page name="compat" gui-text="Compatibility">
|
|
||||||
<param name="compat-resolution" type="bool" gui-text="Improve accuracy of shape positioning and formatting">false</param>
|
|
||||||
<param name="compat-baseline-shift" type="bool" gui-text="Force Inkscape subscript and superscript positioning">false</param>
|
|
||||||
<param name="compat-paint-order" type="bool" gui-text="Work around missing support for paint-order">false</param>
|
|
||||||
<param name="compat-stroke-dashoffset" type="bool" gui-text="Work around missing support for stroke-dashoffset">false</param>
|
|
||||||
<param name="compat-stroke-width" type="bool" gui-text="Ensure minimum stroke-width">false</param>
|
|
||||||
<label indent="2">Resize exported drawings to ensure lines have a thickness of no less than one unit at 96 DPI. Some apps impose this lower limit on line thickness; resizing everything keeps proportions intact.</label>
|
|
||||||
<label indent="2">You can resize the drawing back down to its intended original size without loss after importing it into the target app.</label>
|
|
||||||
</page>
|
|
||||||
<page name="about" gui-text="About">
|
|
||||||
<label appearance="header">Export</label>
|
|
||||||
<label>Exports each layer into a separate self-contained SVG file.</label>
|
|
||||||
<label>The files are named after the layer's label with an optional prefix. For nested layers, parent layer labels are included before the prefix, or they can be made into subdirectories.</label>
|
|
||||||
<label appearance="header">Compatibility</label>
|
|
||||||
<label>Workarounds for SVG rendering limitations in third-party software like Microsoft Office.</label>
|
|
||||||
<label appearance="header">Author</label>
|
|
||||||
<hbox>
|
|
||||||
<label>Michael Buschbeck</label>
|
|
||||||
<label appearance="url">michael@buschbeck.net</label>
|
|
||||||
</hbox>
|
|
||||||
</page>
|
|
||||||
</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 location="inx" interpreter="python">fablabchemnitz_export_layers.py</command>
|
|
||||||
</script>
|
|
||||||
</inkscape-extension>
|
|
@ -1,67 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
||||||
<name>Imagetracer.js</name>
|
|
||||||
<id>fablabchemnitz.de.imagetracerjs</id>
|
|
||||||
<hbox>
|
|
||||||
<vbox>
|
|
||||||
<label appearance="header">Tracing</label>
|
|
||||||
<separator/>
|
|
||||||
<param name="keeporiginal" type="bool" gui-text="Keep original image on canvas">false</param>
|
|
||||||
<param name="ltres" type="float" min="0.0" gui-text="Error treshold straight lines">1.0</param>
|
|
||||||
<param name="qtres" type="float" min="0.0" gui-text="Error treshold quadratic splines">1.0</param>
|
|
||||||
<param name="pathomit" type="int" min="0" max="9999" gui-text="Noise reduction - discard edge node paths shorter than">8</param>
|
|
||||||
<param name="rightangleenhance" type="bool" gui-text="Enhance right angle corners">true</param>
|
|
||||||
<spacer/>
|
|
||||||
<label appearance="header">Color Quantization and Layering</label>
|
|
||||||
<separator/>
|
|
||||||
<param name="colorsampling" appearance="combo" type="optiongroup" default="2" gui-text="Color sampling">
|
|
||||||
<option value="0">disabled, generating a palette</option>
|
|
||||||
<option value="1">random sampling</option>
|
|
||||||
<option value="2">deterministic sampling</option>
|
|
||||||
</param>
|
|
||||||
<param name="numberofcolors" type="int" min="1" max="9999" gui-text="Number of colors to use on palette">16</param>
|
|
||||||
<param name="mincolorratio" type="int" gui-text="Color randomization ratio">0</param>
|
|
||||||
<param name="colorquantcycles" type="int" min="1" max="20" gui-text="Color quantization will be repeated this many times">3</param>
|
|
||||||
<param name="layering" appearance="combo" type="optiongroup" default="0" gui-text="Layering">
|
|
||||||
<option value="0">sequential</option>
|
|
||||||
<option value="1">parallel</option>
|
|
||||||
</param>
|
|
||||||
</vbox>
|
|
||||||
<spacer/>
|
|
||||||
<separator/>
|
|
||||||
<spacer/>
|
|
||||||
<vbox>
|
|
||||||
<label appearance="header">SVG Rendering</label>
|
|
||||||
<separator/>
|
|
||||||
<param name="strokewidth" type="float" min="0.0" max="9999" gui-text="SVG stroke-width">1.0</param>
|
|
||||||
<param name="linefilter" type="bool" gui-text="Noise reduction line filter">false</param>
|
|
||||||
<!--<param name="scale" type="float" min="0.0" max="9999" gui-text="Coordinate scale factor">1.0</param> disabled because we resize to the size of the original image-->
|
|
||||||
<param name="roundcoords" type="int" min="0" max="10" gui-text="Decimal places for rounding">1</param>
|
|
||||||
<param name="viewbox" type="bool" gui-text="Enable or disable SVG viewBox">false</param>
|
|
||||||
<param name="desc" type="bool" gui-text="SVG descriptions">false</param>
|
|
||||||
<spacer/>
|
|
||||||
<label appearance="header">Blur Preprocessing</label>
|
|
||||||
<separator/>
|
|
||||||
<param name="blurradius" type="int" min="1" max="5" gui-text="Selective Gaussian blur preprocessing">0</param>
|
|
||||||
<param name="blurdelta" type="float" min="0.0" max="9999" gui-text="RGBA delta treshold for selective Gaussian blur preprocessing">20.0</param>
|
|
||||||
</vbox>
|
|
||||||
</hbox>
|
|
||||||
<spacer/>
|
|
||||||
<label appearance="header">About</label>
|
|
||||||
<separator/>
|
|
||||||
<label>imagetracerjs - Simple raster image tracer and vectorizer written in JavaScript. Ported to InkScape 1.X by Mario Voigt / Stadtfabrikanten e.V. (2020)</label>
|
|
||||||
<label>It will vectorize your beautiful image into a more beautiful SVG trace with separated infills(break apart into single surfaces like a puzzle)</label>
|
|
||||||
<label appearance="url">https://fablabchemnitz.de</label>
|
|
||||||
<label>License: GNU GPL v3</label>
|
|
||||||
<effect needs-live-preview="true">
|
|
||||||
<object-type>image</object-type>
|
|
||||||
<effects-menu>
|
|
||||||
<submenu name="FabLab Chemnitz">
|
|
||||||
<submenu name="Tracing/Edge Detection"/>
|
|
||||||
</submenu>
|
|
||||||
</effects-menu>
|
|
||||||
</effect>
|
|
||||||
<script>
|
|
||||||
<command location="inx" interpreter="python">./fablabchemnitz_imagetracerjs/fablabchemnitz_imagetracerjs.py</command>
|
|
||||||
</script>
|
|
||||||
</inkscape-extension>
|
|
@ -1,46 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
||||||
<name>Primitive (Michael Fogleman)</name>
|
|
||||||
<id>fablabchemnitz.de.primitive</id>
|
|
||||||
<label appearance="header">Settings</label>
|
|
||||||
<separator/>
|
|
||||||
<param name="keeporiginal" type="bool" gui-text="Keep original image on canvas">false</param>
|
|
||||||
<param name="cliprect" type="bool" gui-text="Draw clipping rectangle">true</param>
|
|
||||||
<param name="n" type="int" min="0" max="99999" gui-text="Number of shapes">100</param>
|
|
||||||
<param name="m" appearance="combo" type="optiongroup" default="1" gui-text="Mode">
|
|
||||||
<option value="0">Combo</option>
|
|
||||||
<option value="1">Triangle</option>
|
|
||||||
<option value="2">Rectangle</option>
|
|
||||||
<option value="3">Ellipse</option>
|
|
||||||
<option value="4">Circle</option>
|
|
||||||
<option value="5">Rotated rectangle</option>
|
|
||||||
<option value="6">Beziers</option>
|
|
||||||
<option value="7">Rotated ellipse</option>
|
|
||||||
<option value="8">Polygon</option>
|
|
||||||
</param>
|
|
||||||
<param name="rep" type="int" min="0" max="99999" gui-text="Extra shapes/iteration" gui-description="Sdd N extra shapes each iteration with reduced search (mostly good for beziers)">0</param>
|
|
||||||
<param name="r" type="int" min="1" max="99999" gui-text="Resize to size before processing (px)">256</param>
|
|
||||||
<param name="s" type="int" min="1" max="99999" gui-text="Output image size (px)">1024</param>
|
|
||||||
<param name="a" type="int" min="0" max="255" gui-text="Color alpha" gui-description="Use 0 to let the algorithm choose alpha for each shape">128</param>
|
|
||||||
<param name="bg_enabled" type="bool" gui-text="Use average starting background color">true</param>
|
|
||||||
<param name="bg" type="color" appearance="colorbutton" min="0" max="255" gui-text="Starting background color" gui-description="You need to disable average starting background to use this option">255</param>
|
|
||||||
<param name="j" type="int" min="0" max="32" gui-text="Number of parallel workers" gui-description="Default (0) uses all cores">0</param>
|
|
||||||
<spacer/>
|
|
||||||
<label appearance="header">About</label>
|
|
||||||
<separator/>
|
|
||||||
<label>Primitive - Reproducing images with geometric primitives written in Go. Wrapped for InkScape 1.X by Mario Voigt / Stadtfabrikanten e.V. (2020)</label>
|
|
||||||
<label appearance="url">https://github.com/fogleman/primitive</label>
|
|
||||||
<label appearance="url">https://fablabchemnitz.de</label>
|
|
||||||
<label>License: GNU GPL v3 for the wrapper, MIT for primitive</label>
|
|
||||||
<effect needs-live-preview="true">
|
|
||||||
<object-type>image</object-type>
|
|
||||||
<effects-menu>
|
|
||||||
<submenu name="FabLab Chemnitz">
|
|
||||||
<submenu name="Tracing/Edge Detection"/>
|
|
||||||
</submenu>
|
|
||||||
</effects-menu>
|
|
||||||
</effect>
|
|
||||||
<script>
|
|
||||||
<command location="inx" interpreter="python">./fablabchemnitz_primitive/fablabchemnitz_primitive.py</command>
|
|
||||||
</script>
|
|
||||||
</inkscape-extension>
|
|
@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
||||||
<name>Sudoku</name>
|
|
||||||
<id>fablabchemnitz.de.sudoku</id>
|
|
||||||
<param name="tab" type="notebook">
|
|
||||||
<page name="tab_puzzle" gui-text="Puzzle">
|
|
||||||
<param name="difficulty" type="optiongroup" appearance="combo" gui-text="Difficulty">
|
|
||||||
<option value="mixed">Mixed</option>
|
|
||||||
<option value="simple">Simple</option>
|
|
||||||
<option value="easy">Easy</option>
|
|
||||||
<option value="intermediate">Intermediate</option>
|
|
||||||
<option value="expert">Expert</option>
|
|
||||||
</param>
|
|
||||||
<param name="desc_unit" type="description">Layout parameters:</param>
|
|
||||||
<param name="rows" type="int" min="1" max="6" gui-text="Rows">1</param>
|
|
||||||
<param name="cols" type="int" min="1" max="6" gui-text="Cols">1</param>
|
|
||||||
<param name="desc_unit" type="description">Puzzle Dimensions:</param>
|
|
||||||
<param name="units" gui-text="Units" type="optiongroup" appearance="combo">
|
|
||||||
<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="puzzle_size" type="int" min="1" max="1000" gui-text="Puzzle Width(Height)">6</param>
|
|
||||||
<param name="puzzle_gap" type="int" min="1" max="100" gui-text="Puzzle Gap">1</param>
|
|
||||||
</page>
|
|
||||||
<page name="colors" gui-text="Colors">
|
|
||||||
<param name="color_text" type="color" appearance="colorbutton" gui-text="Text color ">255</param>
|
|
||||||
<param name="color_bkgnd" type="color" appearance="colorbutton" gui-text="Background color">4243148799</param>
|
|
||||||
<param name="color_puzzle" type="color" appearance="colorbutton" gui-text="Puzzle Border color">2290779647</param>
|
|
||||||
<param name="color_boxes" type="color" appearance="colorbutton" gui-text="Box Border color ">3298820351</param>
|
|
||||||
<param name="color_cells" type="color" appearance="colorbutton" gui-text="Cell Border color">1923076095</param>
|
|
||||||
</page>
|
|
||||||
</param>
|
|
||||||
<effect>
|
|
||||||
<object-type>all</object-type>
|
|
||||||
<effects-menu>
|
|
||||||
<submenu name="FabLab Chemnitz">
|
|
||||||
<submenu name="Shape/Pattern from Generator" />
|
|
||||||
</submenu>
|
|
||||||
</effects-menu>
|
|
||||||
</effect>
|
|
||||||
<script>
|
|
||||||
<command location="inx" interpreter="python">fablabchemnitz_render_sudoku.py</command>
|
|
||||||
</script>
|
|
||||||
</inkscape-extension>
|
|
@ -1,112 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
'''
|
|
||||||
render_sudoku.py
|
|
||||||
A sudoku generator plugin for Inkscape, but also can be used as a standalone
|
|
||||||
command line application.
|
|
||||||
|
|
||||||
Copyright (C) 2011 Chris Savery <chrissavery(a)gmail.com>
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
'''
|
|
||||||
|
|
||||||
__version__ = "0.1"
|
|
||||||
|
|
||||||
import inkex
|
|
||||||
import subprocess
|
|
||||||
from lxml import etree
|
|
||||||
from inkex import Color
|
|
||||||
|
|
||||||
class SVGSudoku (inkex.Effect):
|
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
inkex.Effect.__init__(self)
|
|
||||||
self.arg_parser.add_argument("--tab")
|
|
||||||
self.arg_parser.add_argument("--difficulty",default="mixed", help='How difficult to make puzzles.')
|
|
||||||
self.arg_parser.add_argument("--rows", type=int, default=1, help='Number of puzzle rows.')
|
|
||||||
self.arg_parser.add_argument("--cols", type=int, default=1, help='Number of puzzle columns.')
|
|
||||||
self.arg_parser.add_argument("--puzzle_size", type=int, default=6, help='The width & height of each puzzle.')
|
|
||||||
self.arg_parser.add_argument("--puzzle_gap", type=int, default=1, help='The space between puzzles.')
|
|
||||||
self.arg_parser.add_argument("--color_text", type=Color, default=255, help='Color for given numbers.')
|
|
||||||
self.arg_parser.add_argument("--color_bkgnd", type=Color, default=4243148799, help='Color for the puzzle background.')
|
|
||||||
self.arg_parser.add_argument("--color_puzzle",type=Color, default=2290779647, help='Border color for the puzzles.')
|
|
||||||
self.arg_parser.add_argument("--color_boxes", type=Color, default=3298820351, help='Border color for puzzle boxes.')
|
|
||||||
self.arg_parser.add_argument("--color_cells", type=Color, default=1923076095, help='Border color for the puzzle cells.')
|
|
||||||
self.arg_parser.add_argument("--units", help="The unit of the dimensions")
|
|
||||||
|
|
||||||
def draw_grid(self, g_puz, x, y):
|
|
||||||
bkgnd_style = {'stroke':'none', 'stroke-width':'2', 'fill':self.options.color_bkgnd }
|
|
||||||
puzzle_style = {'stroke':self.options.color_puzzle, 'stroke-width':'2', 'fill':'none' }
|
|
||||||
boxes_style = {'stroke':self.options.color_boxes, 'stroke-width':'2', 'fill':'none' }
|
|
||||||
cells_style = {'stroke':self.options.color_cells, 'stroke-width':'1', 'fill':'none' }
|
|
||||||
g = etree.SubElement(g_puz, 'g')
|
|
||||||
self.draw_rect(g, bkgnd_style, self.left+x, self.top+y, self.size, self.size)
|
|
||||||
self.draw_rect(g, cells_style, self.left+x+self.size/9, self.top+y, self.size/9, self.size)
|
|
||||||
self.draw_rect(g, cells_style, self.left+x+self.size/3+self.size/9, self.top+y, self.size/9, self.size)
|
|
||||||
self.draw_rect(g, cells_style, self.left+x+2*self.size/3+self.size/9, self.top+y, self.size/9, self.size)
|
|
||||||
self.draw_rect(g, cells_style, self.left+x, self.top+y+self.size/9, self.size, self.size/9)
|
|
||||||
self.draw_rect(g, cells_style, self.left+x, self.top+y+self.size/3+self.size/9, self.size, self.size/9)
|
|
||||||
self.draw_rect(g, cells_style, self.left+x, self.top+y+2*self.size/3+self.size/9, self.size, self.size/9)
|
|
||||||
self.draw_rect(g, boxes_style, self.left+x+self.size/3, self.top+y, self.size/3, self.size)
|
|
||||||
self.draw_rect(g, boxes_style, self.left+x, self.top+y+self.size/3, self.size, self.size/3)
|
|
||||||
self.draw_rect(g, puzzle_style, self.left+x, self.top+y, self.size, self.size)
|
|
||||||
|
|
||||||
def draw_rect(self, g, style, x, y, w, h):
|
|
||||||
attribs = {'style':str(inkex.Style(style)), 'x':str(x), 'y':str(y), 'height':str(h), 'width':str(w) }
|
|
||||||
etree.SubElement(g, inkex.addNS('rect','svg'), attribs)
|
|
||||||
|
|
||||||
def fill_puzzle(self, g_puz, x, y, data):
|
|
||||||
cellsize = self.size / 9
|
|
||||||
txtsize = self.size / 12
|
|
||||||
offset = (cellsize + txtsize)/2.25
|
|
||||||
g = etree.SubElement(g_puz, 'g')
|
|
||||||
text_style = {'font-size':str(txtsize),
|
|
||||||
'fill':self.options.color_text,
|
|
||||||
'font-family':'arial',
|
|
||||||
'text-anchor':'middle', 'text-align':'center' }
|
|
||||||
#inkex.utils.debug(len(data))
|
|
||||||
for n in range(len(data)):
|
|
||||||
#inkex.utils.debug(str(n))
|
|
||||||
#inkex.utils.debug("data["+str(n)+"]="+str(data[n]))
|
|
||||||
if str(data[n]) in "123456789":
|
|
||||||
attribs = {'style': str(inkex.Style(text_style)),
|
|
||||||
'x': str(self.left + x + n%9 * cellsize + cellsize/2 ), 'y': str(self.top + y + n//9 * cellsize + offset ) }
|
|
||||||
etree.SubElement(g, 'text', attribs).text = str(data[n])
|
|
||||||
|
|
||||||
|
|
||||||
def effect(self):
|
|
||||||
args = ["./qqwing", "--one-line", "--generate", str(self.options.rows * self.options.cols)]
|
|
||||||
if self.options.difficulty != 'mixed':
|
|
||||||
args.extend(["--difficulty", self.options.difficulty])
|
|
||||||
data = subprocess.Popen(args, stdout=subprocess.PIPE).communicate()[0].splitlines()
|
|
||||||
#inkex.utils.debug(data)
|
|
||||||
|
|
||||||
parent = self.document.getroot()
|
|
||||||
self.doc_w = self.svg.unittouu(parent.get('width'))
|
|
||||||
self.doc_h = self.svg.unittouu(parent.get('height'))
|
|
||||||
self.size = self.svg.unittouu(str(self.options.puzzle_size) + self.options.units)
|
|
||||||
self.gap = self.svg.unittouu(str(self.options.puzzle_gap) + self.options.units)
|
|
||||||
self.shift = self.size + self.gap
|
|
||||||
self.left = (self.doc_w - (self.options.cols * self.shift - self.gap))/2
|
|
||||||
self.top = (self.doc_h - (self.options.rows * self.shift - self.gap))/2
|
|
||||||
self.sudoku_g = etree.SubElement(parent, 'g', {'id':'sudoku'})
|
|
||||||
for row in range(0, self.options.rows):
|
|
||||||
for col in range(0, self.options.cols):
|
|
||||||
g = etree.SubElement(self.sudoku_g, 'g', {'id':'puzzle_'+str(col)+str(row)})
|
|
||||||
self.draw_grid(g, col*self.shift, row*self.shift)
|
|
||||||
self.fill_puzzle(g, col*self.shift, row*self.shift, data[col+row*self.options.cols].decode('UTF-8'))
|
|
||||||
|
|
||||||
if __name__ == '__main__': #pragma: no cover
|
|
||||||
SVGSudoku().run()
|
|
@ -1,37 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
||||||
<name>Parametric Shelves</name>
|
|
||||||
<id>fablabchemnitz.de.shelves</id>
|
|
||||||
<param name="unit" type="optiongroup" appearance="combo" gui-text="Unit">
|
|
||||||
<option value="mm">mm</option>
|
|
||||||
<option value="cm">cm</option>
|
|
||||||
<option value="m">m</option>
|
|
||||||
<option value="km">km</option>
|
|
||||||
<option value="in">in</option>
|
|
||||||
<option value="ft">ft</option>
|
|
||||||
<option value="yd">yd</option>
|
|
||||||
<option value="pt">pt</option>
|
|
||||||
<option value="px">px</option>
|
|
||||||
<option value="pc">pc</option>
|
|
||||||
</param>
|
|
||||||
<param name="thickness" type="float" min="1.0" max="100.0" gui-text="Material thickness">1.2</param>
|
|
||||||
<param name="tool_diameter" type="float" min="0.0" gui-text="Tool diameter (mind the units!)">0.3</param>
|
|
||||||
<param name="tolerance" type="float" min="-10000.0" max="10000.0" gui-text="Tolerance">0.05</param>
|
|
||||||
<param name="height" type="float" min="0.0" max="10000.0" gui-text="Height">100</param>
|
|
||||||
<param name="width" type="float" min="0.0" max="10000.0" gui-text="Width">100</param>
|
|
||||||
<param name="depth" type="float" min="0.0" max="10000.0" gui-text="Depth">40</param>
|
|
||||||
<param name="shelve_list" type="string" min="0.0" max="10000.0" gui-text="Shelve heigths (semicolon separated list)">10; 20; 35</param>
|
|
||||||
<param name="groove_depth" type="float" min="0.0" max="10000.0" gui-text="Groove depth">0.6</param>
|
|
||||||
<param name="tab_size" type="float" min="0.0" max="10000.0" gui-text="Tab size (approximate; will be resized to evenly fit the side)">10</param>
|
|
||||||
<effect>
|
|
||||||
<object-type>all</object-type>
|
|
||||||
<effects-menu>
|
|
||||||
<submenu name="FabLab Chemnitz">
|
|
||||||
<submenu name="Finger-jointed/Tabbed Boxes"/>
|
|
||||||
</submenu>
|
|
||||||
</effects-menu>
|
|
||||||
</effect>
|
|
||||||
<script>
|
|
||||||
<command location="inx" interpreter="python">fablabchemnitz_shelves.py</command>
|
|
||||||
</script>
|
|
||||||
</inkscape-extension>
|
|
Binary file not shown.
Reference in New Issue
Block a user