Creating inlays

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
CandL
Posts: 87
Joined: Thu Oct 29, 2020 6:41 pm

Creating inlays

Post by CandL »

So I plunked money down and bought a small cnc for retirement ... a onefinity to be precise.

One of the operations I would like to do with it is inlay work ... basically cutting out male/female parts and joining them up ( here is a youtube: https://www.youtube.com/watch?v=WYnO8kSHQ1c )

Is this something that FreeCad/Path can accomplish with relative ease?

Or does this feature require development?

Thanks
mlampert
Veteran
Posts: 1772
Joined: Fri Sep 16, 2016 9:28 pm

Re: Creating inlays

Post by mlampert »

A few weeks ago sliptonic added the v-carve op, which should allow you to create the negative. Creating the positive is not possible straight out of the box. You could probably establish it by creating two models, one for v-carving the inlay positive and one for milling away the flat areas. The gap is that the v-carve op today does not bottom out at a certain depth.
User avatar
sliptonic
Veteran
Posts: 3459
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Creating inlays

Post by sliptonic »

mlampert wrote: Tue Nov 10, 2020 10:06 pm A few weeks ago sliptonic added the v-carve op...
mlampert is too modest. He did all the hard work on that operation and we both know it.

But he's right about the state of things. Most of the pieces that you need are there but the workflow isn't going to be as integrated and polished as the video shows. For example I just started putting content into the Vcarve wiki page yesterday and it isn't finished so documentation is going to be skinny.

Still, I'm happy to work with you and help resolve bugs as you hit them. This kind of marquetry is one-use case that I've had in mind for years. I'd especially like to see a workflow that does 3+ color inlays.
Russ4262
Posts: 952
Joined: Sat Jun 30, 2018 3:22 pm
Location: Oklahoma
Contact:

Re: Creating inlays

Post by Russ4262 »

CandL wrote: Tue Nov 10, 2020 8:34 pm ...One of the operations I would like to do with it is inlay work ... basically cutting out male/female parts and joining them up ( here is a youtube: https://www.youtube.com/watch?v=WYnO8kSHQ1c )
...
Welcome to the forum, CandL!

We are glad you joined us. As you ask about inlays and FreeCAD, the answer is yes. However, for your benefit, the "easy" qualifier is subjective based on one's knowledge and skill with FreeCAD, and one's ability to modify FreeCAD's code to extend functionality. Also, "easy" depends on the complexity of the product you wish to produce. The example you provided via the video is very detailed (containing lots of small, acute angles and tight curves). This type of product would likely require the new VCarve operation mentioned above by Sliptonic and MLampert (two well seasoned and senior contributors to Path WB). However, other less complex and common inlays like the simple two presented in the first minute or so of this video, Using ShapeOko 2 and Easel CNC Router for Inlay, have a distinct characteristic that none of the curves or corners have a radius smaller than that of the endmill used to cut the male and female pieces.

I believe that the simple, less complex inlays could be done using a combination of the Profile and Pocket operations with a small diameter endmill, without too much work in FreeCAD's Path WB, as it stands.

The more complex inlays will require some additional thought and creative use of existing Path WB operations (likely to include the new VCarve), and perhaps some additional modifications to the code to address the VCarve depth issue you all reference above.

You are sure to find a great group of helpful, capable professionals and hobbyists here in the forum who will help as they can. With your assistance and feedback as you take this inlay journey, there might even be an inlay toolset or operation come to be within the Path WB (or a prototype macro) sooner than later.

Again, welcome!
Russell

Russell
jbraun
Posts: 253
Joined: Fri Sep 18, 2020 5:41 pm

Re: Creating inlays

Post by jbraun »

I've had good inlay results using the software in this video:
https://www.youtube.com/watch?v=8ty7ITWadv8
success depends on having a v-bit that comes to a very true point or alternatively doing a small trig calculation for a tool with any amount of 'flat' on the tip.
My advice is to try the proven method using F-engrave unless you're willing to spend $600(?) for Vectric. Trying to do this in FreeCad before getting a feel for and understanding of the inlay process is going to lead to frustration. As mentioned by Russ4262 using straight bits for inlays has limitations and my guess is the fit-up is fussier.
For English help on youtube check out Joko Engineering or Mango Jelly Solutions.
Look for recent videos, this software is updated at a rapid pace.
CandL
Posts: 87
Joined: Thu Oct 29, 2020 6:41 pm

Re: Creating inlays

Post by CandL »

Sorry for the delayed response, daughter is in the ICU... not covid but similar, she is coming off a vent, so not out of the woods ...but she can see the edge of the woods.

A bit about me, I am a Mech Engrng who writes code for other engineers to use. I use stuff like C++/Python/Git/Jenkins/UGOpen/Qt/NURBS ...so raw capability I am Ok with. ( My wife is an EE but will be in our shop too... ok she just gave up on freeCad she is a 2D drafting person not a modeling person... it was not pretty chuckle)

I believe I am convinced freeCad / path is worth the the time investment... it has good bones

My machine is not scheduled for delivery until Jan/Feb ... they have a 2-3 month back log.

So my timeframe is Nov-Jan learn to model in FreeCad. Cut first chips March or so (depending on retirement date)... move into V-Carve then into inlay work.

Thanks for the response ... they were a big factor in convincing me.

Regards
Carl
CandL
Posts: 87
Joined: Thu Oct 29, 2020 6:41 pm

Re: Creating inlays

Post by CandL »

Ok back again... a recent article from one of the rags I read.

Simple approach to Voronoi diagrams ( https://www.codeproject.com/Articles/88 ... i-diagrams )
license: https://www.codeproject.com/info/cpol10.aspx

Probably nothing new here but worth passing on.
jbraun
Posts: 253
Joined: Fri Sep 18, 2020 5:41 pm

Re: Creating inlays

Post by jbraun »

mlampert wrote: Tue Nov 10, 2020 10:06 pm A few weeks ago sliptonic added the v-carve op, which should allow you to create the negative. Creating the positive is not possible straight out of the box. You could probably establish it by creating two models, one for v-carving the inlay positive and one for milling away the flat areas. The gap is that the v-carve op today does not bottom out at a certain depth.
The vcarve/female toolpath for an image like this looks like it may work. This is my first attempt with this op so it is what it is. Creating the male/prismatic portion is beyond my skills and I'm too green to even guess how that could be done. Looking forward to seeing what direction this takes and thanks for the tool paths.
ps if the images post huge I'll know better next time.
Attachments
v-carve_test_inch2.jpg
v-carve_test_inch2.jpg (53.62 KiB) Viewed 2576 times
eagle-head-scaled.jpeg
eagle-head-scaled.jpeg (133.24 KiB) Viewed 2576 times
For English help on youtube check out Joko Engineering or Mango Jelly Solutions.
Look for recent videos, this software is updated at a rapid pace.
Russ4262
Posts: 952
Joined: Sat Jun 30, 2018 3:22 pm
Location: Oklahoma
Contact:

Re: Creating inlays

Post by Russ4262 »

Welcome back to the forum, JBraun.

Your female part looks good. Do you have the FreeCAD file to share with the progress in the images?

I am thinking:
  1. Make two copies (one to contain the male geometry, the other to trim the male geometry to thickness) of the base block containing the female, without the female geometry.
  2. Set one copy on top of the existing female and lower to necessary depth (overlap) to catch all of female gemetry.
  3. Use the female as the tool to cut the male - Part Cut operation.
  4. Use the second copy on top of the male geometry now created, and lower down on male geometry in an overlapping fashion to set the finished thickness of the male geometry.
  5. Use the top copy as the tool to cut the male geometry - Part Cut operation.
  6. Use the Profile tool with the same tool bit, set to no offset (so the tip of the bit travels on the outline of each raised male geometry section.
  7. Use a PocketShape operation to clear excess material around the revealed male geometry.
  8. Apply boundary dressup to the PocketShape path above to limit time spent on the CNC clearing material when you probably plan to cut out the raw male geometry, leaving a buffer around it as a whole. The boundary dressup should be roughly the shape you wish to cut out the raw male geometry before mating with the female. (This step can also be achieved by cutting the male-containing solid with another boundary solid in the model-refinement steps above.)
  9. Apply a MillFace operation to take the male geometry down to proper thickness.
  10. ** Maybe reorder the last two steps above to achieve a better finish on the upper edges of the male geometry.


These are just my thoughts. I have not made an inlay before, but am familiar with the concept, and some of the code here in Path WB. I could be completely incorrect with the above procedure for continuing the inlay process you have begun.

Thanks for sharing.

Russell
CandL
Posts: 87
Joined: Thu Oct 29, 2020 6:41 pm

Re: Creating inlays

Post by CandL »

So since this idea seems to be pushing the envelope can I assume I should be using version 0.19? ( I upgraded to the pre-release today. )
Post Reply