Loading
drphonon

Inkscape extension to create a living hinge

by drphonon Dec 15, 2013
Download All Files

Please Login to Comment

Thank you! very usefull

Hi,

I tried it but it does not work. It return this: Traceback (most recent call last):
File "living_hinge.py", line 180, in
effect.affect()
File "C:\Program Files (x86)\Inkscape\share\extensions\inkex.py", line 241, in affect
self.effect()
File "living_hinge.py", line 58, in effect
l = self.unittouu(str(self.options.cut_length) + unit)
AttributeError: HingeCuts instance has no attribute 'unittouu'

This is a fantastic extension, Thanks for sharing

I'm glad you like it. I hope you get a lot of use out of it.

I tried this extension it does not work.

I have inkscape 91 and 48 and both return the same problem - it says it's not an error but I get nothing (unless I'm doing it totally wrong.
I create and rectangle (I have tried both with just a rectangle and one I converted to path (path>object to path) ) I select it and go extensions>render>living hinge.
I left the settings as they were but get he 'non' error of
Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.
then inside the box it says
Traceback (most recent call last):
File "living_hinge.py", line 171, in
effect.affect()
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect
self.effect()
File "living_hinge.py", line 49, in effect
l = inkex.unittouu(str(self.options.cut_length) + unit)
AttributeError: 'module' object has no attribute 'unittouu'

so not working here. I have windows 8.1

Thanks. I uploaded version 0.2 that will work with Inkscape 0.91.

Yep, it now works in 0.91. Thanks. Now all I need is a laser cutter to test my designs.

Cool. Try your local hackerspace. They might have a laser cutter for you to use. If you happen to be in Louisville, KY visit mine. We're called LVL1 and have two for public use. Good luck.

Thanks for the offer but I'm in the UK..... possibly won't be anything near me but there is always hope
(and if I ever manage to get a laser, no competition LOL)