Adding CNC router reliefs into corners

I am modeling 4mm thick sheet parts that will be machined with a CNC, and then assembled with tab-and-slot joints, like here:

The CNC bit that will be used to machine these parts has a diameter of 3.78mm, and these slots are 4mm wide, making it possible to machine them, except the inner 90° corners. My CNC machinist advised that if I provide a DXF that has simple rectangular cut-outs on my parts, the CNC machine will leave these inner corners rounded, making it impossible to assemble the parts later on:

The best solution for this would be to create reliefs in the corners - rounds of 3.78mm (or slightly more), to ensure that the tab will be able slide in without interference, resulting in a bone shaped slot:


(The construction lines represent the shape of the tab that will be inserted into this slot)

The extra gap left around these corners is of no concern. It will be filled during construction with other materials.

Now, my question is, what is the quickest and most convenient way to apply this corner treatment to all the slots in every part? Please note that these slots aren't always the same shape. They might be 4mm wide, but they might be wider (because parts will meet at angles other than 90°). Slot length varies as well. Features used to produce them vary too - some are simple cut-extrudes (in which case I could use the bone-shape slot in the first place), but most of them are produced with other features, and therefore require post-treatment. To produce the example above, I created a sketch block with a circle and some construction lines to help align the cutting circle to each corner with only two coincident relations:

Then copied this sketch block to every corner, and applied cut-extrude or surface trim, depending on the type of the part. The problem is - each slot has 4 corners, and there are nearly a thousand of these slots in my parts. Very few of these slots are alike in their shape and size, so I can't make any kind of block that would treat all 4 corners at the same time.

So, is there a better approach to solving this problem? What is the quickest and most convenient way to apply this kind of corner treatment to already existing slots? Since all my parts are flat, it can be either solid or surface based solution.

Thanks!

SolidworksParts And Features
Answers 26
SF
SF 2021-04-08 Best Answer

Look way down at the bottom of the tab and slot feature manager.

comment imagecomment image
JR
JR 2021-04-08

You're right, it would probably take less time to treat these corners with a saw or file than model it in SOLIDWORKS! But I thought it's a fun challenge.

Thank you for your kind words! Once this project is finished, and if successful, I plan to present it to the community of this forum, and publicly share all the project files should anyone want to build this boat too, or improve on the design. Perhaps it will be developed into a new racing sailboat class one day   Traditionally boats are built with jigs that are time consuming and difficult to build accurately, or often with stitch&glue method - without a jig, stitching curved edges of pre-cut plywood panels and forcing them into shape - but this method is not nearly as accurate, and requires a lot of manual try-and-fit of interior structures. I hope to develop a new method that combines the best of the both worlds, where all the parts mate together with precisely positioned tabs and slots, forcing every single piece of the hull into the right shape, leaving absolutely no room for error, and also resulting in naturally strong joints that require far less filleting and fiberglassing, saving on weight and materials. Such parts would be a hell to plot and cut by hand, but for a CNC, it is a piece of a cake. As a result, the construction should be extremely simplified compared to traditional ones, less costly on the materials, lightweight, strong, and fun to build. Perhaps someone already built a boat like this, but I haven't seen it. Some boat companies produce kits that use some similar joinery, but usually for some of the parts... not the whole boat.
The downside is designing all of these joints. Designing will likely prove to be far more difficult than building it I can't imagine any other software except SOLIDWORKS that could pull this off with sufficient degree of parametric design and automation.

RE
RE 2021-04-08

Hi JR

Id love to have a go but I've got too much on right now.

I would look at 2018 SOLIDWORKS API Help - GetLoops Method (IFace2) and work from there..

Are these surfaces or solids?  Do the slots always have 4 vertices/edges?

JR
JR 2021-04-08

Perhaps, but I don't expect the tab and slot feature to improve to such complicated degree anytime soon... I thought about library feature, but even if I made this feature, I would still need to manually position it over every inward corner... If only I knew a way to automate this. Perhaps it is possible to write a macro to do this? Is it possible to collect all inward corners (ones that cannot be routed without leaving extra material), and apply this kind of corner treatment via API?

This is a personal project of mine, a 4 meter sports sailing yacht I plan to build this summer. All done from 4mm marine plywood sheets for ultra-light weight, with complex compound curvatures to ensure rigidity and strength. All parts assemble via tabs and slots to ensure everything aligns perfectly without needing any kind of jigs during construction. The project is around 80% complete, here's a quick render without top deck to show off the internal structures:


Top-down design, driven by a single design table and a master sketch. Took me around 400 hours to make this model, and it rebuilds in 8 seconds. The joinery was extremely complicated to design (because most parts mate at weird angles, and everything has to be a normal cut - no bevels). I figured it out - with a lot of help from the people of this forum - and now all that remains is preparing DXF drawings for my CNC guy without making him curse me to the end of his days. Hence the corner treatment question

comment imagecomment image
JR
JR 2021-04-08

Thank you for that suggestion, Elmar. But I want to do this whole project in SOLIDWORKS only. I was told I would get some bonus points for that... You know, as in promoting it, I guess. Unfortunately, I cannot use pattern feature for these slots, because ~70% of the slots are unique in their width and length. I might pattern a few, but not enough to make a difference. And that, only on flat parts, not ones that would require flattening.
As for fitting, the compound curvature on my parts is not large enough to cause problems. I made some measurements, comparing parts before and after flattening, and the largest error for my slot positioning was 0.3mm. If I were working with steel, perhaps that would be a problem, but there are ways to "convince" plywood to fit with such small inaccuracies

‌, yeah, I guess I will be making these chamfers during production. A few strokes with a file should get rid of the interfering corners. As for the corner relief, I can put in the drawing, but then it would fall on my CNC guy to program the right toolpaths for treating each of these slots, when there are hundreds of them, and very few are similar... I would never hear the end of his curses towards me

MJ
MJ 2021-04-08

You could also just radius the corner of the slots with a smaller tool and then put chamfers on the end of the tabs. Works with metal and wood :-)

3.78mm seems like an odd size for a tool and my guess is that, unless it's a special it's probably a 9/64. Go down to a 3/32 or smaller and put a corresponding chamfer on the tab. 

You could also put a generic corner relief drawing on and not model it at all. That allows the machinist to you use whatever tools, methods, etc that is easiest for them to get the tab to fit.

EK
EK 2021-04-08

I would suggest you create these tabs as a feature and use curve driven pattern to place them.

That way you minimize the slot editing. Create a reference intersection curve where you place your tabs & slots.

Use that for both curve driven feature. Then try to use mid-surface feature to export out your surfaces.

I would use Rhino3D to flatten the faces...look for smash command (if you have small amount of double curvature) or squish (for pronounced double curvature with the ability to control deformation stretch & compression)...preserve boundary length is something you want if you expect your tabs to fit....That works great….have used it on glas fiber fabrics with a stretch factor of under 2 mm over 2 m.

Rhino allows you to save 25 times...fully functioning!

JS
JS 2021-04-08

 

Interesting project - wish I could help out  

If you would be talking metal, then I would do it like I've done many times in the past, dog-bone shaped slot.  Since you're dealing with wood, what I would do is bevel the edges of the tab till they fit, basically takes seconds and once you get the process down it won't take long, plus you wouldn't have to use as much filler.. 

RE
RE 2021-04-08

Hi JR

It's an interesting problem, and I think you should explore making a macro, but maybe trying to do too much is counter productive.

As this is a personal project you don't need to optimise it too much.

I bet you could actually hand finish these panels quicker than modelling in SW.

A mallet and a sharp chisel - maybe a Japanese Keyhole saw.

{edit} although these are tiny rads a file would probably work

+ Manual work is enjoyable, I miss it

Another idea to consider..  How about where you can routing the radius on your arrisses?

That way you're already finished.. for some of them at least.

It's a wicked project I hope you keep sharing your progress.

comment imagecomment image
SF
SF 2021-04-08

Beut! Always wanted to make a sailboat. Now I feel like I was trying to tell Aryton Senna how to drive......

JR
JR 2021-04-08

No worries! I'm not asking for you to solve this for me, I think this is a challenge I should be able to carry out myself, only perhaps with the right kick-off These are all surfaces. Some are solids, but they can be converted to surfaces (Surface-Offset on the main face) without any loss in geometry, because they'll be exported to 2D DXF anyway. I suspect surfaces would be much easier to work with in API.

Slots always have 4 vertices and 4 edges, but these edges might not always be straight lines (due to some features that are used to produce them), and the shape is not always a nice rectangle. However, outer perimeter of most parts might also need to have inner corners treated, for example a part like this:

I blue-circled all inner corners on one side of this part that could not be machined right now, and require these cut-outs to become manufacturable - for this part, most of these corners are on the outside perimeter of the part, so, a lot more than 4 vertexes and edges.

I suspect that for a flat surface part, GetLoops should also treat the perimeter of the part as a loop. From there, I could probably GetCoEdges to get pairs of edges in these loops, and then - the tricky part - measure the angle between the edges in each pair, and try to determine if that angle is less than 180°, making it an inner corner. I really hope it would work like this, otherwise I have no idea how to determine if the corner is inner or not. Am I on the right track? Do you have any suggestions on how to measure the angle between two edges, even if one (or both) of these edges are not straight lines? Or is there another way of determining if a particular corner (vertex) requires cut-out or not?

comment imagecomment image
JR
JR 2021-04-08

Not all of these slots were created using sketches - some are a result of multiple cuts of different type, some are done with Combine and other complicated features. And in any case, the bent parts cannot be pre-cut with these half-circles before flattening, because meshing will remove such delicate circles. And it's not just the slots, but also the "inner" corners on the perimeter of some of the parts. I'm afraid it has to be done with some kind of corner/edge recognition at the last stage of the design...
Really looking forward to Rob's input, if he has the time

NW
NW 2021-04-08

I would imagine that if all slots sketches were named begining with say slxxxxx there might be a way of finding long side and creating half circle on each end and trim out etc.

I'm not a programmer, but if you can get  interested he might have ideas ???

JR
JR 2021-04-08

About 20% of slots overall are the same, but the rest are unique in their width and length - some are not even square due to compound angles at which some tabs have to go into them. So yes, every corner has to be approached individually. Macro is okay, but as I asked above, how do I collect the inner (non-machinable) corners while leaving the outer (machinable) corners alone?

MJ
MJ 2021-04-08

Are the square slots already existing? If not you could do it pretty easily with a saved sketch or library item.

Otherwise it's a macro or manual.

JR
JR 2021-04-08

Well, in that case I need to write a Feature Macro to do this for me. Can anyone advise on the best way to collect all the "inside" corners (ones that cannot be machined) via API? Then I could automatically apply a half-circle sketch on these corners, coincident with the longer of the two lines...

...and then apply Cut-Extrude or Surface Trim with that sketch. Question is, how to get these corners? Is it possible to do this by somehow measuring the angle between every pair of adjacent lines on a face?
I can create a new topic in API section, but perhaps that wouldn't be necessary.

comment imagecomment image
NW
NW 2021-04-08

J. R. wrote:

Perhaps, but I don't expect the tab and slot feature to improve to such complicated degree anytime soon... I thought about library feature, but even if I made this feature, I would still need to manually position it over every inward corner... If only I knew a way to automate this. Perhaps it is possible to write a macro to do this? Is it possible to collect all inward corners (ones that cannot be routed without leaving extra material), and apply this kind of corner treatment via API?

 

This is a personal project of mine, a 4 meter sports sailing yacht I plan to build this summer. All done from 4mm marine plywood sheets for ultra-light weight, with complex compound curvatures to ensure rigidity and strength. All parts assemble via tabs and slots to ensure everything aligns perfectly without needing any kind of jigs during construction. The project is around 80% complete, here's a quick render without top deck to show off the internal structures:

 

This should be alot of fun when built - and fast.

I've built a few stitch & glue kayaks (Cheasapeake Light Craft) and other small boats out of 4mm ply.

Because of their light weight and stiffness have always been impressed with their performance.

I can understand you wanting to tab & slot panels. Removing twist and obtaining a straight and true hull was always the biggest challenge on S & G

comment imagecomment image
MJ
MJ 2021-04-08

In that case you are stuck doing the T-Bone option, 3rd option Neville showed above. That's the best way that the machinist will be able to hold the overall length of the slot. That shape is pretty common for keys that need to be held in both directions. 

Sadly as far as I know there is no "Automated" way to do this in SW. I have to draw that shape every time I use it.

JR
JR 2021-04-08

The slots must be exactly the length of the tabs (plus a very small clearance), because it must be a very tight fit with no play - accuracy of the assembly depends on this joinery aligning all the pieces correctly, so I cannot oversize these holes in either direction.

MJ
MJ 2021-04-08

If you're going to use filler why not just make it a slot and make it longer by the radius of the likely tool used?

The dogbone shape is just extra work. If you need the top tang supported then you would go with the T-Bone Shape Neville showed above.  

SF
SF 2021-04-08

Your'e right, tab and slot won't work for those. It doesn't work when the piece with the tabs is curved in the direction parallel to the tabs.

Maybe SW will put more work into improving tab and slot feature, it's only a couple years old and last year saw some significant improvements.....

So I guess the best bet would be to work on a library feature that you can use to clean up cuts on flattened parts.

BTW, what are you designing? Looks pretty cool....

JR
JR 2021-04-08

Compound bends are possible to some degree with plywood, and in some cases, might be even beneficial to strength of the resulting parts. Here is one of the single-bend + significant twist part that I modeled with Boundary Surface, because every other feature (even Loft) didn't produce the correct shape:

And here is another part with compound bend and slight twist:



(These two parts must align via tabs during manufacturing, once they are bent to shape, so the tabs must also be modeled in 3D to ensure they are in the right place).

I have no idea how such parts could be modeled with Sheet Metal, and especially Tab and Slot feature. If you know, please tell me. It was quite a head-scratch to model them even with traditional models without gaps or interference.

So, in any case, it would be far better to apply the afore-mentioned corner treatment to already flattened parts, as the last feature before these parts are exported to DXF and sent to CNC. I just don't know how to automate this process, because there are just so many of these parts and joints. These are just 2 parts out of 134 in my project...

comment imagecomment imagecomment imagecomment image
SF
SF 2021-04-08

I kind of live in the sheet metal environment, I model lots of parts that aren't really sheet metal using sheet metal features (i.e. plywood). We don't have a laser or plasma, just a router, and we are doing that type of tab and slot the whole time.

While it's true that some parts can't be modeled as sheet metal, many can. Plywood for example ought to work well, it can bend in one direction but not very well in two directions simultaneously! 

Anyway, good luck! Before SW came up with the tab and slot feature, I used tab and slot a lot, just used patterns to keep the features linked.

One other idea you could try (not sure if this will work in your case) is library feature, probably difficult to make both tab and slot with one feature, but at least you could save some of the filleting etc. I would probably make a library feature for the slot, with the ability to enter a couple dims when you place it, or you could just edit the sketch.

JR
JR 2021-04-08

Also to
Unfortunately, I cannot use Tab and Slot feature, because as I said, a lot of these parts have these tabs and slots modeled with entirely different approach, most of them can't be modeled in Sheet Metal environment at all (for example, parts with complex curvature that have to be flattened with Surface Flatten feature, and would loose detailed geometry such as these dog-bones due to coarse mesh density). I need to treat these corners on already flattened parts.

The material I'm working with (marine plywood) cannot be laser cut, only routed.

NW
NW 2021-04-08

Looks like SW didn't design Tab & Slot tool for a router with a fixed dia - only laser/plasma/gas  ?

...well anyway something with a thin cut !

Unless you can go to a real small dia cutter, probably SOL using Tab & Slot

With 3.78 dia tool you get this

Would imagine this large end gap is unacceptable ??

Even with 2 dia result is flakey with a real thin end on ends.

Would be nice to have a T type dogbone option for woodwork guys

Can your CNC guy Laser cut the shapes instead of routing?

comment imagecomment imagecomment imagecomment imagecomment imagecomment image
CR
CR 2023-12-27

Hey @JR ​​​​​​​, did you ever figure it out? I’d love to hear a success story from this and learn from your finding.