Ikona datoteka
 
 

3393

Papercraft Unfold

This tool converts a STL/OFF/PLY/OBJ into binary STL Format. The STL then gets unfolded (flattened) to make a papercraft model.

It utilizes https://github.com/osresearch/papercraft and https://github.com/admesh/admesh

Documentation: https://fablabchemnitz.de/display/IFM/Papercraft+Unfold

Inkscape Extensions

Veličina
12,5 MB
Stvoreno
Revizije
7
Vrsta
application/zip
General Public License v3 (GPLv3)

Poveznica

Maren Hachmann je zapisao/la:

Hi Mario, the gitea links give 404 errors currently :-(

Mario Voigt je zapisao/la:

Hi, hm maybe server hiccup. But it's online. I can access it normally.

But you can also use the direct link at this page to download the files: https://inkscape.org/gallery/item/16829/inkscape-papercraft-unfold-stl-master.zip

they are equal to repository except the missing version tracking from git.

cheers, Mario

Maren Hachmann je zapisao/la:

Sorry, still 404. Can you try to access the pages in a private browser window, to see whether it's an authentication problem?

Mario Voigt je zapisao/la:

Hi. Found the problem. I was logged in all the time and did not see that the repo was still configured to be private. made it public now.

pixelwaster je zapisao/la:

I get the following message using the included stl file.

Traceback (most recent call last):
File "fablabchemnitz_papercraft_unfold.py", line 46, in <module>
gc = Unfold()
File "fablabchemnitz_papercraft_unfold.py", line 26, in __init__
stl_filename = inkex.sys.argv[1]
AttributeError: module 'inkex' has no attribute 'sys'

Mario Voigt je zapisao/la:

hey,
looks like you use Inkscape 1.0? I did not test it with newer version yet because i had no time to migrate all my extension stuff to newer version. I hope i will do it in june or so. Then i will have a look at this too. Sorry for that

regards, Mario

Mario Voigt je zapisao/la:

migration done :-)

Polygon je zapisao/la:

I get the following error on macOS/Inkscape v1.0:
"Traceback (most recent call last):
File "papercraft_unfold.py", line 13, in <module>
import d3.model.tools as mt
ModuleNotFoundError: No module named 'd3'"
No preview or execution available. Anything on my side I can fix to make it work?

Mario Voigt je zapisao/la:

hey,

i dont know how it behaves on an MacOS because i never owned one :-(. Did you copy the complete .zip file's content into the extension directory? The module to load is included in the directory. the folder is called "d3".

the file structure should be
drwxrwxr-x+ 7 me me 4096 Sep 13 03:16 ./
drwxrwxr-x+ 42 me me 24576 Sep 14 23:07 ../
drwxrwxr-x 4 me me 4096 Sep 13 02:50 admesh/
drwxr-xr-x 4 me me 4096 Sep 8 17:38 assets/
drwxr-xr-x 4 me me 4096 Sep 8 17:38 d3/
drwxrwxr-x 3 me me 4096 Sep 10 14:37 fstl/
-rw-rw-r-- 1 me me 3879 Sep 13 03:14 papercraft_unfold.inx
-rw-rw-r-- 1 me me 12285 Sep 13 23:16 papercraft_unfold.py
drwxr-xr-x 2 me me 4096 Sep 10 14:40 unfold/

Prijavi se, ako želiš komentirati!