Author Topic: Toolpath manipulation  (Read 2271 times)

Offline bjay

  • Ewok
  • *
  • Posts: 6
    • View Profile
Toolpath manipulation
« on: December 06, 2018, 21:28:29 pm »

 Hi
I have done a few jobs with cam bam and have been impressed ,And i said to myself when i do this one job i am going to buy it instead of the using the trial version anyway this is my problem

I am machining a hex 6mm x 2mm deep then machining a angle from the centre down to the widest point of hexagon
using the profile and it works very well , However the toolpath needs to stay within the confines of the hex footprint
as there is on nested right next to it and the toolpath cuts into it
and i cannot work it out and need help
 
Regards
Bernie

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 3913
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: Toolpath manipulation
« Reply #1 on: December 06, 2018, 23:00:46 pm »
This sounds like a problem easily fixed with a copy of your .cb file to look at.  


inside/outside, Roughing Clearance, Tool width, etc... 


Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com

Offline bjay

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Toolpath manipulation
« Reply #2 on: December 06, 2018, 23:35:53 pm »

 I will post a copy i have to quickly draw it up again as the original is at home and i at work
Whats the best way to post cb file

Bernie

Offline bjay

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Toolpath manipulation
« Reply #3 on: December 06, 2018, 23:44:37 pm »

 I zipped up the file hope that worked

Bernie

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 3913
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: Toolpath manipulation
« Reply #4 on: December 07, 2018, 00:15:08 am »
Try this
Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com

Offline bjay

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Toolpath manipulation
« Reply #5 on: December 07, 2018, 00:45:01 am »

 Thanks Bob that helps me a bit , But is there a way to get the toolpath inside the hex when machining across
the diagonal part of the hex , So machining down to the point of the hex from the centre

 Bernie

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 3913
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: Toolpath manipulation
« Reply #6 on: December 07, 2018, 02:10:15 am »

 Thanks Bob that helps me a bit , But is there a way to get the toolpath inside the hex when machining across
the diagonal part of the hex , So machining down to the point of the hex from the centre

 Bernie

Like your first post I had to read this one a couple times.  Unfortunately I don't understand this one after the third re-read. 

When I look at the toolpath filter it shows each operation starting at the center. 

I don't know another way to do it just using 2D geometry. 

I have to assume you planned to add more parameters to your operations, and the file you sent me without any was just a sample or test file. 
Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com

Offline bjay

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Toolpath manipulation
« Reply #7 on: December 07, 2018, 03:10:47 am »

 Bob i have attatched another drawing showing the toolpaths outside the hex

 Bernie

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4323
    • View Profile
Re: Toolpath manipulation
« Reply #8 on: December 07, 2018, 10:52:35 am »
Make a 3D surface with a boundary profile or use this script; http://www.cambam.info/ref/script.sloped-lines then Edit->Trim the lines that go outside the hexagon boundary.
Made in England

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4323
    • View Profile
Re: Toolpath manipulation
« Reply #9 on: December 08, 2018, 13:13:37 pm »
Sample cb file attached.

CamBam version1 has the required menu functions to create the surfaces.

 
« Last Edit: December 08, 2018, 13:15:24 pm by EddyCurrent »
Made in England

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 3913
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: Toolpath manipulation
« Reply #10 on: December 08, 2018, 16:14:49 pm »

 Bob i have attatched another drawing showing the toolpaths outside the hex

 Bernie

Your line is wider than the polyline segment.  Of course the tool paths will be wider than the segment.  Unless you care to explain further your problem, my original solution works. 
Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4323
    • View Profile
Re: Toolpath manipulation
« Reply #11 on: December 08, 2018, 19:12:03 pm »
I looked at the last file only, "emboss.cb", that influenced my example file with surfaces.
Now, following Bob's reply, I reread the original post and looked at Bob's solution.
Good result Bob, the example file I attached does not meet the OP's criteria but the method could still be used with surfaces if desired.

 
Made in England

Offline bjay

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Toolpath manipulation
« Reply #12 on: December 09, 2018, 21:05:53 pm »

 Thanks all for the help , But what i did was i manually edited the G code to shorten the tool path
 so it remained inside the hexagon and that machined the part okay
 
 Thanks
 Bernie

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8228
    • View Profile
Re: Toolpath manipulation
« Reply #13 on: December 09, 2018, 21:33:54 pm »
Why?  That stuff should be taken care-of by the design!  You've wasted good time doing 'corrections' by hand, when they shouldn't need corrections.

Lloyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4323
    • View Profile
Re: Toolpath manipulation
« Reply #14 on: December 10, 2018, 11:29:40 am »
Lloyd that is correct.
The problem I had was not fully understanding the requirements and I still don't, but if I had, then a solution would have been highly likely, same in Bob's case.
Made in England