Added missing binary files. Added papercraft unfold extension
This commit is contained in:
parent
6794ada7ca
commit
aa3f8e1631
BIN
extensions/boxes.exe
Normal file
BIN
extensions/boxes.exe
Normal file
Binary file not shown.
BIN
extensions/fablabchemnitz_cutoptim.exe
Normal file
BIN
extensions/fablabchemnitz_cutoptim.exe
Normal file
Binary file not shown.
15
extensions/fablabchemnitz_papercraft_unfold.inx
Normal file
15
extensions/fablabchemnitz_papercraft_unfold.inx
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<_name>Papercraft Unfold</_name>
|
||||
<id>fablabchemnitz.de.papercraft_unfold</id>
|
||||
<dependency type="executable" location="extensions">fablabchemnitz_papercraft_unfold.py</dependency>
|
||||
<input>
|
||||
<extension>.stl</extension>
|
||||
<mimetype>application/sla</mimetype>
|
||||
<_filetypename>Unfoldable Stereolitography File (*.stl)</_filetypename>
|
||||
<_filetypetooltip>Unfold STL Files</_filetypetooltip>
|
||||
</input>
|
||||
<script>
|
||||
<command reldir="extensions" interpreter="python">fablabchemnitz_papercraft_unfold.py</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
46
extensions/fablabchemnitz_papercraft_unfold.py
Normal file
46
extensions/fablabchemnitz_papercraft_unfold.py
Normal file
@ -0,0 +1,46 @@
|
||||
'''
|
||||
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
|
||||
|
||||
Creator: Mario Voigt / FabLab Chemnitz - Stadtfabrikanten e.V.
|
||||
'''
|
||||
|
||||
import sys
|
||||
from subprocess import Popen, PIPE
|
||||
import subprocess
|
||||
import inkex
|
||||
import os
|
||||
class Unfold:
|
||||
def __init__(self):
|
||||
stl_filename = inkex.sys.argv[1]
|
||||
#inkex.debug("stl_filename: "+stl_filename)
|
||||
if os.name=="nt":
|
||||
outname = "papercraft_unfold_output.svg"
|
||||
#remove old file if existent
|
||||
if os.path.exists(outname):
|
||||
os.remove(outname)
|
||||
if os.path.exists("unfold.exe.stackdump"):
|
||||
os.remove("unfold.exe.stackdump")
|
||||
#inkex.debug("os.getcwd(): "+os.getcwd())
|
||||
cmd = os.getcwd() + "\\papercraft\\unfold.exe" + " < " + stl_filename + " > " + outname
|
||||
#inkex.debug("cmd: "+cmd)
|
||||
p = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE)
|
||||
inkex.debug(p.communicate())
|
||||
p.wait()
|
||||
if p.returncode == 0:
|
||||
#inkex.debug("OK")
|
||||
doc = inkex.etree.parse(os.getcwd() + "\\" + outname)
|
||||
doc.write(inkex.sys.stdout)
|
||||
if __name__ == '__main__':
|
||||
gc = Unfold()
|
BIN
extensions/inkstitch/bin/geos.dll
Normal file
BIN
extensions/inkstitch/bin/geos.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/geos_c.dll
Normal file
BIN
extensions/inkstitch/bin/geos_c.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/inkstitch.exe
Normal file
BIN
extensions/inkstitch/bin/inkstitch.exe
Normal file
Binary file not shown.
Binary file not shown.
BIN
extensions/inkstitch/bin/mfc90.dll
Normal file
BIN
extensions/inkstitch/bin/mfc90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/mfc90u.dll
Normal file
BIN
extensions/inkstitch/bin/mfc90u.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/mfcm90.dll
Normal file
BIN
extensions/inkstitch/bin/mfcm90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/mfcm90u.dll
Normal file
BIN
extensions/inkstitch/bin/mfcm90u.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/msvcm90.dll
Normal file
BIN
extensions/inkstitch/bin/msvcm90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/msvcp90.dll
Normal file
BIN
extensions/inkstitch/bin/msvcp90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/msvcr90.dll
Normal file
BIN
extensions/inkstitch/bin/msvcr90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/python27.dll
Normal file
BIN
extensions/inkstitch/bin/python27.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/pythoncom27.dll
Normal file
BIN
extensions/inkstitch/bin/pythoncom27.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/pywintypes27.dll
Normal file
BIN
extensions/inkstitch/bin/pywintypes27.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/tcl85.dll
Normal file
BIN
extensions/inkstitch/bin/tcl85.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/tk85.dll
Normal file
BIN
extensions/inkstitch/bin/tk85.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/wxbase30u_net_vc90.dll
Normal file
BIN
extensions/inkstitch/bin/wxbase30u_net_vc90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/wxbase30u_vc90.dll
Normal file
BIN
extensions/inkstitch/bin/wxbase30u_vc90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/wxmsw30u_adv_vc90.dll
Normal file
BIN
extensions/inkstitch/bin/wxmsw30u_adv_vc90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/bin/wxmsw30u_core_vc90.dll
Normal file
BIN
extensions/inkstitch/bin/wxmsw30u_core_vc90.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/VkICD_mock_icd.dll
Normal file
BIN
extensions/inkstitch/electron/VkICD_mock_icd.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/VkLayer_core_validation.dll
Normal file
BIN
extensions/inkstitch/electron/VkLayer_core_validation.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/VkLayer_object_tracker.dll
Normal file
BIN
extensions/inkstitch/electron/VkLayer_object_tracker.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/VkLayer_parameter_validation.dll
Normal file
BIN
extensions/inkstitch/electron/VkLayer_parameter_validation.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/VkLayer_threading.dll
Normal file
BIN
extensions/inkstitch/electron/VkLayer_threading.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/VkLayer_unique_objects.dll
Normal file
BIN
extensions/inkstitch/electron/VkLayer_unique_objects.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/d3dcompiler_47.dll
Normal file
BIN
extensions/inkstitch/electron/d3dcompiler_47.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/ffmpeg.dll
Normal file
BIN
extensions/inkstitch/electron/ffmpeg.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/inkstitch-gui.exe
Normal file
BIN
extensions/inkstitch/electron/inkstitch-gui.exe
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/libEGL.dll
Normal file
BIN
extensions/inkstitch/electron/libEGL.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/libGLESv2.dll
Normal file
BIN
extensions/inkstitch/electron/libGLESv2.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/osmesa.dll
Normal file
BIN
extensions/inkstitch/electron/osmesa.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/resources/app.asar.unpacked/node_modules/spawn-rx/vendor/jobber/Jobber.exe
generated
vendored
Normal file
BIN
extensions/inkstitch/electron/resources/app.asar.unpacked/node_modules/spawn-rx/vendor/jobber/Jobber.exe
generated
vendored
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/swiftshader/libEGL.dll
Normal file
BIN
extensions/inkstitch/electron/swiftshader/libEGL.dll
Normal file
Binary file not shown.
BIN
extensions/inkstitch/electron/swiftshader/libGLESv2.dll
Normal file
BIN
extensions/inkstitch/electron/swiftshader/libGLESv2.dll
Normal file
Binary file not shown.
BIN
extensions/papercraft/cygwin1.dll
Normal file
BIN
extensions/papercraft/cygwin1.dll
Normal file
Binary file not shown.
BIN
extensions/papercraft/unfold.exe
Normal file
BIN
extensions/papercraft/unfold.exe
Normal file
Binary file not shown.
BIN
extensions/svg2shenzhen/bitmap2component.exe
Normal file
BIN
extensions/svg2shenzhen/bitmap2component.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user