Charlie....I want to try some inlay projects. You have one picture of inlay in progress. I didn't see anything on your tutorials or YouTube. Are there any available ?
Thanks Joe
CAM software developed by artists for artists to create unique and original works on a 3-axis CNC router or mill. · By
Hi Joe,
An inlay is a bit more advanced than I feel comfortable cramming into an interactive tutorial, but a video is always a possibility - we're just not working on one at this time. However, I do have a few example projects that could show you how the whole process works!
The backing on the male side was very thin and resulted in a small bit of tear-out when milling it off. I should've left it thicker so that the endmill would take cleaner chips out of it during removal.
Here are the project files that were used to create the above inlay:
Give me a day and I'll do a more involved writeup here explaining the what/why of each operation and its parameters and then you should be able to create your own inlays. The male side is the more involved part because it is where the operations' parameters are how it's ensured that there's a bit of headroom between the top/bottom of the male/female parts when they go together, to ensure that they can be mated as thoroughly as possible, like so:
The male side is really just a combination of a profiling operation and a V-carving operation to get the bottom-most parts cut to properly fit against the top surface of the female as optimally as possible. It's also very important that your machine is as square as possible between the X and Y axes, especially with larger inlays where being out-of-square can really throw it off!
- Charlie
Hi Joe,
Here's a writeup about using PixelCNC to generate toolpaths for making an inlay that I sent to another user a few months ago. Let me know if you have any questions or need help with anything :]
Here are the two project files for the ladybug inlay that the writeup refers to:
2x2x0.15_Ladybug_Inlay_Female.pnc
2x2x0.15_Ladybug_Inlay_Male.pnc
With the two project files the final cutting depth for both is 0.1 inches because this is a relatively small inlay. For a larger inlay you will probably want to go a bit deeper but I suggest starting with small inlays and working your way up because machine squareness and flex will throw cuts off and result in your inlays not fitting as well. For most inlays you can get away with a pretty small overall maximum cutting depth, there's not a lot of reasons to go deeper than is necessary - and there's less cutting with a shallower inlay, which is a good thing with hardwoods like walnut/maple.
Starting with the the female side's project file we are doing a pretty basic V-carving using the Medial-Axis carving operation (found under Specialty Cuts on the Operation Type dialog when creating a new operation) which can be used to cut designs with V-bits, tapered ballnose cutters, and ballnose cutters (aka 'B-Carving'). This operation type generates cuts which follow the medial-axis of a 2D contour - either from a vector paths-layer, or waterline contoured from the canvas heightmap at a specified Z height, and the tool is moved up/down along the medial-axis so that it's filling the width of the shape.
However, the diameter of the cutter determines the deepest that we can go for a V-carving. More importantly, if a shape/design is too large for our cutter's diameter, then we end up with a medial-axis cut like this where all the areas marked red are left behind as all the cutter can do is hug the perimeter once it is half its diameter from the input contour:
With the female only cutting 0.1" deep with a 90deg v-bit, anything that's farther than 0.05" from the design's edges will need to be removed somehow. This is why we are also including a 2D Profile Milling operation beforehand to clear out the inner areas that the V-carving won't reach by itself, unless we cut deeper (if the bit's diameter and flute length can handle it), or use a wider-angle bit - which would not be ideal for an inlay as small features would come out very thin. You'll want to use a bit with a tip angle of 90 degrees or less.
We are using a paths-layer of the vector design we want to make an inlay out of, which we can directly use as contour input for both of these operation types to generate cutpaths from. This is all covered in the interactive tutorials that come with PixelCNC.
Using a V-bit to mill out the inner areas will leave tiny ridges, depending on our cut stepover, but we only need these ridges to be smaller than the headroom gap that we'll have with our male plug. In the example female project we have the cut stepover for the v-milling set to 0.005" which is a bit smaller than we actually need but on my flimsier machine this also means that my V-carving will be more accurate as the cutter won't be hogging out as much material, resulting in the cuts being more accurate when the V-carving comes through.
We could also use a different bit with a larger stepover, such as a tapered ballnose cutter, and use a larger stepover - but the larger the cutter and stepover the more likely we might end up with spots that are missed, like this situation where a 0.125" flat endmill was used to clear the area inside a V-carved area:
By using the 2D Profile Milling operation with a V-bit we can get in tight spots and remove these unwanted bits that will cause problems with an inlay. Here are the parameters the v-milling operation is using in the female side:
You will want to adjust the speeds/feeds for your machine, and the wood you're using, and for the cut depth and stepover being used. These are parameters you'll have to find out for yourself on your machine through trial-and-error, and suggestions and advice from other people using the same machine as you on the materials you want to cut.
In terms of an inlay, the important parameters here are the Offset and the Width of Cuts. We are cutting 0.1" deep so we want to push our 2D Profiling away from the sides of our design by 0.1", but we add 0.005" on there for the subsequent V-carving operation to come through and clean up.
The Width of Cuts parameter triggers the operation to generate multiple neighboring cuts, similar to the 2D and 2.5D Offset Milling operations, but if we had a larger area to clear we would only need this to go out far enough that it reaches where a flat endmill would come and clear the rest out - enough to get those little bits that are circled in the image above. For this project we're just using the V-bit to clear the whole area out instead.
Here's an example of a V-carving project where the V-bit was also used with a profile milling operation with a Width of Cuts to get the tight spots in the cow's head, and then a flat endmill was used to clear everything else with a pocket roughing, a pocket finishing, and a profile finishing:
For the female side we won't be going in with a flat endmill to clear the middle, and just use the V-bit and Width of Cuts parameter to fill it with concentric offset cutpaths.
You may also notice that the Entry cut is set to Ramp, this isn't 100% necessary, just something I do to prevent a jarring force on my boingy machine!
So that's the female project, it's really just your basic V-carving but it's important that it's square in all three axes, and the machine isn't flexing and letting the cutter deviate!
The first thing you'll see is that we've mirrored the paths-layer that we're using as contour input for generating our cutpaths. This is accomplished by enabling the Mirror X option on the paths-layer's properties in the Project Canvas mode.
With the male side we have offset the toolpath by 0.025 inches so that the top surfaces of the male don't bottom out on the female side. With a 90 degree V-bit this means that this offset amount will produce an equivalent 0.025" gap between the top of our male plug and the bottom of the female side - and between the top surface of our female side and bottom of our male side (because they're both cut 0.1" deep so an offset shifts the male out of the female). This means we'll have 0.075" where the male's surfaces are interfacing with the female's. For a larger inlay you will want to have a deeper cut, such as 0.15" or 0.2". If we were using a 60 degree V-bit then the headroom would be double what our male offset is, and we'd have 0.05" of "headroom". We could use a smaller offset with a narrower bit.
Here are the parameters for the second profile milling operation, which is the important one that we care about:
The first two operations are 2D Profile Milling operations using our X-mirrored paths-layer as contour input (shown in orange above), and we have Invert enabled so that we are cutting outside of our paths-layer's paths instead inside. Theoretically, if you could ensure that the bottom of all female cuts are perfectly flat, and the bottom of all male cuts are perfectly flat, then you could just cut the profile of the shape with a V-bit matching the V-bit used for the female, then remove everything outside of that, and make an inlay with two exactly fitting male/female pieces - with no headroom gap whatsoever. Being that we want a little room for our cuts to not be 100% perfect and not consume days of cutting time, we want to have a gap between the top of the male and bottom of the female (and vice-versa).
This image I borrowed from KrabCAM's page perfectly shows what we're trying to do:
The first two profiling operations are virtually identical, except that the first one only cuts 75% of the way down, with a larger stepover, and faster feed rate. The first operation is just a roughing operation so that the second operation goes more smoothly. We use the Width of Cuts with a value set to roughly the radius of the endmill that will be coming in to remove all the surrounding material around our plug, to get the tight nooks and crannies where it won't.
The important parameters for our V-profiling operation are the cut Stepover so we don't leave any ridges taller than our headroom gap, the Offset parameter which is equal to the amount of gap we want (for a 90 deg V-bit) plus 0.0025" for our V-carving pass to come through and handle cutting the bottom, which will be the top-surface of the male after it has been glued and has its back milled off, so that we have headroom with the top surface of the female that everything will be mating with.
The situation is that because we're using an Offset on our V-profiling our resulting shape will no longer properly fit as-is into the female side. Inside corners will not be sharp enough to fit corners on the female side. This is where a medial-axis carving operation comes in and handles cutting where we want the top-surface of the female to sit on our male plug.
What is important, especially on a giant spring of a machine like my own, is that the V-profiling cuts go everywhere that the V-carving operation will, to clear material out for it, which can be tricky when there are features close together in a design. This can require preceding the profile milling with a shallower one that also has a smaller Offset, to help clear material out in preparation for the V-carving that follows.
The V-carving operation is only necessary because our V-profiling is offset, which causes inside-corners to puff out and no longer be sharp 0.025" from the bottom (plus we added 0.0025 ontop for the V-carving to cleanup, but even if we didn't the offset would still make it not fit right). So to get that last bit of shaping we need so that it fits properly we are "extending" the male down farther than the design itself, that's what this V-carving operation lets us do:
The important parameters here are the Max Depth, which should be equal to the depth of our headroom gap, which is 0.025". This won't work on its own as it will just cut a shallow V-carving in the top surface of the male workpiece which is why the Depth Offset is set to 0.075", which simply moves the generated cuts down to the last 0.025" that we want to extend out of the female - the area called the "saw gap" on the diagram from the KrabCAM site.
Here you can see how the including of the 0.025" V-carving that we've offset down by 0.075" matches our design's orange paths:
Everything green is what will be outside the female side once they are mated, and everything red will be mating with it and become the inlaid material. You can see that all our V-profiling ridges from before the V-carving operation are well below our gap/headroom, and we could get away with a larger cut stepover - at least on a machine that can handle the forces involved (i.e. not my machine).
What is important is that there is nothing that's not a part of the design that's above this plane, or it will interfere with the female's top-surface and prevent a good fit where all angled cut surfaces are mating.
The rest of the male project is just clearing out all the material around the male plug geometry that we want it to have. In the example project file we're using a 2D Trochoidal Milling operation to mill the outside of our paths-layer using a 1/8" endmill (don't forget to enable the Invert option). You can use a 1/4" endmill and really hog it all out, it doesn't have to be perfect - as long as gets any islands of material that weren't reached by the V-profiling operations at the beginning, which you could extend out farther by increasing Width of Cuts, but you'll be adding a good amount of runtime doing that. You'll just want to make sure your clearing toolpath's Offset is large enough to include the 0.025" extension we've created (i.e. half of endmill's diameter + 0.025" + some extra, ~0.005" to 0.015" depending on the project size). Set your Feeds and speeds, Cut Depth, Stepover, and other parameters to whatever your machine can handle when clearing this unwanted material away.
Then the last operation is just a profiling pass with the 1/8" endmill, of course offset by half our cutter's diameter plus our 0.025" gap. You could have a larger Offset and leave some of those V-profiling ridges if you want. What's important is that we get any high spots leftover, like the spots between the front legs and ladybug antennae.
After cutting that you just saw off the sides of the male so you just have the plug geometry, use a liberal amount of glue, and clamp it to the female. You should see a nice even 0.025" gap all around both pieces. Let it sit overnight then come back and saw the back of the male off, or mill it off, etc... Then sand and stain/seal, whatever you want :]
I hope that covers everything. You should be able to learn everything else you need about PixelCNC from the included Interactive Tutorials. After practicing running some G-code from PixelCNC on your machine and becoming comfortable with everything you should then be able to create this ladybug inlay, and then start working up to larger sizes. If your machine is not square you'll find out. Definitely don't jump to a two-foot sized inlay and end up scrapping a bunch of nice wood. Work your way up to it, figuring out what works with your machine and what doesn't.
- Charlie
Charlie...Going over the details of female inlay. Don't know where you got your .105 , I know why the .005 but can't see where you got .1 ( important parameters here are the Offset and the Width of Cuts. We are cutting 0.1" deep so we want to push our 2D Profiling away from the sides of our design by 0.1", but we add 0.005")....how did you calculate the 0.1 or it just depth of cut ?
Thanks Joe...
Hi Joe,
The profiling Offset determines how deep the glue/saw gaps will be, and with a 90-degree V-bit this is a 1:1 relationshp because tan(90/2)=1.0. With a 60-degree V-bit the profiling offset should be equal to half of the desired glue/saw gap depth because tan(60/2)=0.5.
The V-carving operation's Max Depth should be equal to the desired gap thickness, where the Depth Offset parameter should pickup the rest of the depth and move the V-carving cutpaths to the bottom of the profiling cuts. Basically the V-carving Depth Offset should be equal to the profiling operation's Max Depth minus the desired gap depth.
The reason that the profiling operation has a little extra on the Offset parameter is just to leave some material behind for the V-carving operation to cleanup around all of the male plug geometry. It's not absolutely needed but in my opinion it allows the V-carving operation to function more like a finishing pass that produces the final plug geometry.
You can theoretically make the male side of an inlay using only the Profile Milling operation with no Offset at all and no V-carving operation (as long as you also cleanup everything around the plug geometry too, of course) but there will be no glue/saw gap which results in failed inlays like this:
We're working on a way to combine the profiling and V-carving operations into a single "male inlay" operation that just has a single gap parameter, and handles figuring the profiling offset, V-carving maxdepth/depthoffset, and generates both of them as a single toolpath - so you won't need to remember this whole process once that's all dialed in!
- Charlie
Thanks Charlie...I was trying to calculate that. After you showed me the example, I checked my calculator it was set to radians. No wonder I couldn't figure it. I know you can do the calculation in Pixel, just easier to use calculator..(except this time). Sounds like a good addition the numbers seem to all follow your depth of cut. Only difference I'm seeing is the details in the design for your bit selection. I'm close to trying a cut with a 60 deg bit.
Gotta watch out for those radians!!! :]
You can use a different total depth for the male/female but I haven't actually sat and thought about how to vary the glue gap and saw gap individually like that. It's surely just a matter of the male having a deeper overall cut to start with, but I haven't thought about how the other parameters are affected to achieve the desired glue gap and saw gap. In some instances it would make sense to have them not be the same but I will figure all of that out for the dedicated Male Inlay operation.
The offset for the clearing operations around the male plug geometry is going to be equal to the initial profiling operation's offset that results in the desired glue/saw gap depth. So if your gap depth is 0.1" and your V-bit angle is 60 degrees, then your profiling offset is 0.05" (plus some for the V-carving to cleanup), as well as for 2D milling operations that clear material out around the plug. For an endmill to profile right up against the plug you would add half of the endmill's diameter to the offset as well - because the Profile Milling operation puts the cutter centered along the input contour, rather than differentiating between inside/outside and automatically offsetting the cutter by half of its diameter like the 2D Offset/Trochoidal Milling operations do. So a 1/8" endmill that's profiling the plug to clean everything up right against it would have an offset of 0.05+1/16.
- Charlie
Charlie....
Just a thought. On your offset number you already know your bit geometry and your depth of cut. Can't you calculate that automatically, similar to your canvas top and zero out option. Give you a starting point to add or deduct from there. This would work in all your offset situations not just inlays.
Thanks Joe
Ah, yes I did think about using the tool geometry and Max Depth to calculate the offset for that button when using a V-bit or tapered cutter. Maybe I'll work that into v1.85b :]
I was also thinking that the 2D Offset/Trochoidal Milling operations could employ the same strategy when generating cutpaths at each level, at least for tapered/V-bit cutters, where shallower cuts are closer to the contour because the tool is narrower at its tip, rather than each level of cuts basically just being an exact copy other cut levels that are duplicated down to the Max Depth.
Cheers!
- Charlie
Hi Joe,
That came out pretty good! All those little detail shapes and things can be super sketchy but it looks like you didn't have any issues with machine squareness. Lots of glue and clamping really hard seem to be the ticket :]
I'm wondering if with the proper Male Inlay operation type implemented, if having a typical glue gap is fine, but then having the saw gap be about as narrow as possible would be better - to where glue can be all mushed in there as well so that the female face can be milled off and the glue acts as support for all the narrow bits of the plug. Another idea is to manipulate everything so that the design is actually deeper into the female side - expanding the design or offsetting more. The catch there is that narrow gaps will close up, so it would have to take into consideration the actual desired shape itself, but make the female and male halves so that once they're glued together the design results from milling a desired thickness off the female to reach the original intended design. Then you'd know that all of the design is tightly glued and embedded down there where tearout would be less likely to occur with the thin bits of a design.
Anyway, keep it up Joe! :]
- Charlie
Charlie...
All the tear out occurred in the male piece before glueing. None occurred when I milled the waste off. The inside of the flower and some of the leaf ends were so fine a detail the pine could not hold it. The gaps are all tight the stain was still not dried when it was glued up. I was thinking a bit with a sharper angle to get a little deeper and a bigger saw gap. I've seen inlay videos where they were use 15 degree bit... I'm going to try again...
Ah, that makes more sense - the male plug geometry can be tricky! Harder wood definitely helps, I like using walnut for it's color and density but it sure takes a while longer to cut. A wider angled cutter also provides more stability, especially for finer details, but of course it all depends on how deep you want to go too.
Keep me posted! :]
- Charlie
Hi Joe,
That was a bit of a contrived screenshot there just for demonstrating the purpose of the operation parameters that are used. It wasn't meant to be something that users should be able to see and/or reproduce. I don't remember exactly what I did on my end to create it but the fact that it's showing a paths-layer in orange while also showing the red/green contouring Z-plane tells me that it's something that users won't actually be able to recreate with the public release of PixelCNC as there's no situation/function/mode where both a paths-layer and a contouring plane should be visible at the same time. I did something in PixelCNC's source code specifically to create that image that isn't present in the public versions.
The screenshot is only meant to show how the green area at the bottom is what the V-carving operation results in, as a sort of extension off of the original base design to form the "saw gap".
- Charlie
Charlie....
I tried a 10.5 deg inlay. While the male fit in I couldn't seat it deep enough, think I have to offset one of the other to make it fit. All the missing pieces are because I didn't let the glue dry. I knew it wasn't seated correctly so I rushed ahead. That's not much of an angle needs some tweaking but it does work...no wonder I couldn't duplicate that color...Joe
Hi Joe,
The Offset for the V-carving operation could include a negative offset of a thousandth or few if you thick narrowing the plug a tiny bit will make a better fit. The steep cutter angles are just going to be less forgiving with any kind of tolerance/precision, and as I mentioned previously they will make it difficult to have small details and features depending on the wood and how well it can hold up to having thin narrow features. I don't think I'd ever attempt such a steep inlay! A 60 degree V-bit is probably the narrowest that I'd be comfortable going, for a 30deg taper on the plug, largely because of how flimsy and unreliable my machine is. With an inlay I need all the help I can get to make sure everything will fit together :P
- Charlie
That's pretty good for pine. Those thin areas at the inside-corners definitely aren't gonna hold up though unless maybe it's embalmed with epoxy resin maybe - stick the wood in a vacuum chamber full of epoxy and pull a vacuum to the epoxy into the wood. Maybe that could reinforce it, or just use a hardwood instead :P
It might be doable with a soft wood with a wide angle bit but then you'll probably get a lot of stringy cuts on there to have to clean up manually.
Thanks for sharing :]
- Charlie
Thanks Charlie, Joe for this discussion. It’s an exciting topic that has me glued to watching professionals on line do such amazing complex inlays. Eventually I will get to try it. I have only glanced through this for now but it’s going to take a good session of study to get to grips with it all.
Russ
Hi Russ,
The main reason I was putting off releasing a proper guide/tutorial for inlays was largely because it will become obsolete once we get the dedicated male-plug inlay operation all dialed in and released, which will replace having separate profiling/V-carving operations. You'll still be able to do things "the old way" but using the new operation will be a bit simpler :]
- Charlie