Loading

Inkscape extension to create a living hinge

by drphonon, published

Inkscape extension to create a living hinge by drphonon Dec 15, 2013

Thing Info

6304Views 2162Downloads Found in Tools
Report Thing

Summary

This is an extension that installs in Inkscape. It adds lines to an Inkscape document that will result in a living hinge when those lines are cut, usually with a laser cutter.

An example of using the living hinge is in the file pencil_box_2side_w_divider.svg

5/26/2015
Version 0.2 has been uploaded.
Changed inkex.unittouu to self.unittouu
and inkex.uutounit to self.uutounit
to make it work with Inkscape 0.91
Thanks to Pete Prodoehl for pointing this out.

Instructions

The full instructions on how to install and use the extension can be found here: http://wiki.lvl1.org/Inkscape_Extension_to_Render_a_Living_Hinge

More from Tools

view more

Thing Info

6304Views 2162Downloads Found in Tools
Report Thing

Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

All Apps

No results.

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.

May 27, 2015 - Modified May 27, 2015
dragonlord666 - in reply to drphonon

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

May 27, 2015 - Modified May 27, 2015
drphonon - in reply to dragonlord666

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)

Top