Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

This section is for general discussion about Gadgets
User avatar
adze_cnc
Vectric Wizard
Posts: 4327
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by adze_cnc »

You have just accidentally doubled the line...

Code: Select all

if VERSION < 10 then
...see the top of your notepad screenshot.

ozymax
Vectric Craftsman
Posts: 245
Joined: Thu Jan 02, 2014 4:34 am
Model of CNC Machine: Home built cnc router using Masso G3.

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by ozymax »

Nicely noticed.
Sometimes you just don't see the little things. Head smack.

Well we now have the gadget working in Aspire 4.5. :D :D :D
I've done a couple of simulation jobs and the previews look perfect.
Thank you so much for creating the gadget and going the whole "Moby" for us.
That's what I love about this forum. So many amazing people willing to help and create stuff.
I even learnt some stuff along the way.

User avatar
adze_cnc
Vectric Wizard
Posts: 4327
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by adze_cnc »

Now I need to figure out why GetString failed and/or modify things to account for what we've learned here.

I am reasonably confident that you can restore the line:

Code: Select all

g_toolpath_type = registry:GetString("ToolpathType", g_toolpath_type)
but leave the two lines in the "if VERSION..." as they are now.

User avatar
adze_cnc
Vectric Wizard
Posts: 4327
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by adze_cnc »

One thing that I thought would be a good addition (if I can figure out how to effect it) would be an option to group the end mill toolpaths together and all the v-bit toolpaths together:
  • Inlay Rough 1 [clear]
  • Inlay Rough 2 [clear]
  • Inlay Finish [clear]
  • Inlay Rough 1
  • Inlay Rough 2
  • Inlay Finish
That would make it easier for those without automatic tool-changers (and even those who do have ATCs) to group similar cuts together for fewer bit changes. Or perhaps I just don't care for having them interspersed in the toolpath list...

ozymax
Vectric Craftsman
Posts: 245
Joined: Thu Jan 02, 2014 4:34 am
Model of CNC Machine: Home built cnc router using Masso G3.

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by ozymax »

adze_cnc wrote:
Tue Jun 07, 2022 3:54 pm
I am reasonably confident that you can restore the line:

Code: Select all

g_toolpath_type = registry:GetString("ToolpathType", g_toolpath_type)
Yes, restoring this line didn't through up any errors and all worked fine.

ozymax
Vectric Craftsman
Posts: 245
Joined: Thu Jan 02, 2014 4:34 am
Model of CNC Machine: Home built cnc router using Masso G3.

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by ozymax »

adze_cnc wrote:
Tue Jun 07, 2022 4:03 pm
One thing that I thought would be a good addition (if I can figure out how to effect it) would be an option to group the end mill toolpaths together and all the v-bit toolpaths together:
That would be nice.
I created a deep inlay job to test.
The initial calculation spits out the toolpaths like this.
Inter dispersed, in descending order.
order 1.jpg
It would be nice if they came out in this order automatically.
Grouped and in ascending order.
order 2.jpg
Having it like this will make it easier to create separate cutting files, for me at least. :D

User avatar
adze_cnc
Vectric Wizard
Posts: 4327
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by adze_cnc »

Interesting. For Version 10+ of VCarve/Aspire the gadget creates toolpaths in the proper order. In Version 9.x for the software the gadget creates it in the order of your image (that is the reverse order). I actually get the gadget to reverse the order by using a sort for Versions less than 10.

It appears that Aspire v4.5 creates the toolpaths in the proper order as Version 10+ does. But I get the gadget to reverse that order giving you the result that you see. Oops.

I wouldn't have thought that. Another thing to add to the of changes to the gadget to make it more Aspire v4.5 compatible. Thanks for pointing this out
 
Your order
Your order
.
 
How it should look
How it should look

User avatar
adze_cnc
Vectric Wizard
Posts: 4327
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by adze_cnc »

Until I get the changes made fully you can disable the sorting of the toolpaths by modifying line 238 (or close to it if your line numbering has changed):

Code: Select all

-- table.sort( tp, function(a, b) return a[t_toolpath_number] > b[t_toolpath_number] end )
Adding the two hyphens in front of the table.sort line will disable it by commenting it out. I suggest disabling rather than deleting as it can be re-enabled if necessary.

ozymax
Vectric Craftsman
Posts: 245
Joined: Thu Jan 02, 2014 4:34 am
Model of CNC Machine: Home built cnc router using Masso G3.

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by ozymax »

I disabled the 238 line of code to confirm the order and yes it is now ordering them as your "How it should look" image.
Is it possible to have the ordering so that all the pocket toolpaths come first, then the V carve toolpaths last.
I don't see that the toolpaths need to be performed in the alternating order (pocket, V, pocket, V) that they are now.
We should be able to have an endmill in the machine and perform all the pocket toolpaths in order, then change to a V bit and perform all those toolpaths in order.
This means that you only have one tool change for the job.
Is this what you're thinking?

......Edit.... I just re-read the above posts and see that's exactly what you were proposing.

User avatar
adze_cnc
Vectric Wizard
Posts: 4327
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Tapered Inlay (Paul Zank method) Plug with Rough Clearing: discussion

Post by adze_cnc »

ozymax wrote:
Wed Jun 08, 2022 11:23 am
I don't see that the toolpaths need to be performed in the alternating order (pocket, V, pocket, V) that they are now.
Unfortunately that's how the Vectric software creates them. Which is understandable if you are only creating one as happens when you use the builtin Aspire/VCarve "V-Carve / Engraving Toolpath".

But we're doing multiples programmatically. Re-ordering would need to be done after all paths have been created and that's something I believe can be done but would need to research it.

Post Reply