Interlocking modules

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
Posts: 3
Joined: Fri Apr 12, 2019 9:53 am

Interlocking modules

Postby execuc » Sat Apr 13, 2019 9:15 pm


My name is Alexandre and I my hobbies are arduino, PCB, 3D printing, laser cut...
I use FreeCAD since several years to make enclosure for my electronic projects but I don't use 3D printing to do it because it takes time to print except for small parts.
I prefer to use laser cutting which is faster and allows to make larger boxes.

In order to make my work easier, I have developed a module for Freecad that allows to create connections between parts from Part/PartDesign workshops. Then, an export tool projects parts on a 2D plan in order to save outlines as Flattened SVG. SVG file is then reworked on Inkscape before being sent in cutting.

An example : Image

Module manages connection of type tab/slots, T-slot joints and crosspiece. It also allows to create rounded corner with living hinges.

Python source code and documentation is on GitHub :

If this module corresponds to the freecad philosophy, I would like to propose it as an addon via the FreeCAD addon manager. So do not hesitate to say what you think about it.

Thank you
Last edited by execuc on Mon Apr 15, 2019 6:45 am, edited 1 time in total.
User avatar
Posts: 3928
Joined: Thu Jan 05, 2017 9:03 pm

Re: Interlocking modules

Postby Kunda1 » Sat Apr 13, 2019 10:54 pm

execuc wrote:
Sat Apr 13, 2019 9:15 pm
An example : Image
Try using this url instead:

Code: Select all

Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Posts: 18461
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Interlocking modules

Postby NormandC » Sat Apr 13, 2019 11:13 pm

Hello execuc,

Welcome to the forum - impressive first post!!!

I want to thank you for your very detailed documentation with links to separate command pages.

I will try to dedicate some time to test this, I'm particularly interested in your statement that it can work with PartDesign bodies. :)
Posts: 520
Joined: Sat Aug 13, 2016 10:06 am

Re: Interlocking modules

Postby reox » Sun Apr 14, 2019 11:47 am

Nice! I fell in love with this tool from the videos I saw but unfortunately I never got this working ... I'll check it out for sure :)
Posts: 3
Joined: Fri Apr 12, 2019 9:53 am

Re: Interlocking modules

Postby execuc » Mon Apr 15, 2019 6:59 am

Thanks Kunda1, I have modified the image link, it works.

In January 2019, I changed HMI a little and the videos are out of date but the principle remains the same. I will do videos again when I could.
I did a short documentation because I agree that the interface is only intuitive for me :)
Do not hesitate to create issues when it does not work, because the module is not very robust when (ie: with non-rectangular parts...).
Posts: 8278
Joined: Mon Dec 12, 2011 4:45 pm

Re: Interlocking modules

Postby triplus » Mon Apr 15, 2019 7:47 pm

Thanks for creating the Interlocking module and for sharing it.

P.S. Such features are more and more requested by people. For not having to create everything manually, but to have a feature that adds a tab, slot, hole ... to selection.
Posts: 3
Joined: Fri Apr 12, 2019 9:53 am

Re: Interlocking modules

Postby execuc » Mon Apr 15, 2019 8:50 pm

Thank you! I have just created a pull request to add it in addons manager.