Author Topic: Optimizing cut-directions and order  (Read 22185 times)

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8988
    • View Profile
Optimizing cut-directions and order
« on: March 26, 2018, 18:33:39 pm »
This isn't to share a file, but to share my experience with some router files.

I've been 'fighting the clock' trying to get enough out each day to meet the theme park needs.  So I visited my files with the goal of optimizing the toolpaths.  I started with some 5-shot 'all-fire' plates we make a LOT of.

A LOT of time is wasted just moving between features, so I re-organized the points-list I'm using, and figured that might improve timing.  The goal was simply to minimize the air-cut distance between actual cuts.

It was amazing!  On this one item I'm experimenting with, I've now shaved over 35 minutes off the time to do a sheet.  From 4-hours, 17-minutes, to about 3.75 hours.  I see more improvements.

The method was to get rid of the 'paired' items (always two in a set) that I was using, and go to a single item.  Then, to change the points-list to match the fact that I had only one.  They're not evenly spaced in Y by individual items, only by pairs, because of parting lines between pairs.  So, it was a minor bit of figuring to space the new points-list to match the necessary spacing.

But the savings are great.  And I see more savings to come (as above).

Just a 'note' to try to help others who have actual 'production' work to get out.  It takes a lot of 'tweaking'.

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

Offline kvom

  • CNC Jedi
  • *****
  • Posts: 1612
    • View Profile
Re: Optimizing cut-directions and order
« Reply #1 on: March 26, 2018, 19:14:54 pm »
In cases where time is more important than tooling costs it seems that trying to get spindle load to 100% or more is important emphasizing MRR.  As a hobbyist making mostly 1-off parts I tend to baby the tooling, but in a production environment I wouldn't hesitate to break a few endmills trying to cut process times down.

Clearly toolpaths also make a big difference as you're finding.

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 4492
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: Optimizing cut-directions and order
« Reply #2 on: March 26, 2018, 22:40:17 pm »
One thing I did on a lot of 3D work was to reduce the height of the clearance plain.  On some big jobs it saved me hours.  On simpler jobs it might still save minutes.  

Yes, it will scare the heck out of you the first time you see that cutter raping across your part at 5 hundredths of an inch clearance.  With coolant on you can't even tell if tis going to hit something you forgot about until you hear the snap.  

Its one reason why I have asked if we could have a part clearance height and a MOP clearance height setting. 
« Last Edit: March 26, 2018, 22:42:30 pm by Bob La Londe »
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 Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2656
    • View Profile
Re: Optimizing cut-directions and order
« Reply #3 on: March 27, 2018, 07:42:57 am »
And this is the reason I asked some time before for 'item selection order' option in optimization list. Because, frankly speaking, CB optimization is far from good an often does strange rapid jumps while the nearest item is millimeters from the current. Sometimes I make separate identical MOPs just to define the order I want it to move.

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3356
    • View Profile
Re: Optimizing cut-directions and order
« Reply #4 on: March 27, 2018, 11:09:06 am »
To help with efficiency I often rearrange the entity numbers in Primitive ID's space. It works for me.
My 2ยข

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline lernincnc

  • Storm Trooper
  • ***
  • Posts: 106
    • View Profile
Re: Optimizing cut-directions and order
« Reply #5 on: March 27, 2018, 14:02:55 pm »
To help with efficiency I often rearrange the entity numbers in Primitive ID's space. It works for me.

This is interesting.  You also turn off Optimization, correct?  I rearranged primitive ID's with Optimization on and didn't notice any change in the cut order. 

I learned something new today!  Thanks. 

   

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8988
    • View Profile
Re: Optimizing cut-directions and order
« Reply #6 on: March 27, 2018, 14:48:48 pm »
Yes, Learnin', 

On most of my 'production' designs, I have optimization off, and manually re-order primitives ids to get the most-efficient cuts.

Optimization is great for one-off jobs, but if you do a lot of one thing, you want to save every minute you can.

Lloyd

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

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8988
    • View Profile
Re: Optimizing cut-directions and order
« Reply #7 on: March 27, 2018, 14:53:57 pm »
PS,
I should have added that although I have many dozens of .cb designs I occasionally do for customers, about 80% of my day-to-day work is with around 7 or 8 files.  So, it's not that big of a deal to manually optimize them.

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

Offline lernincnc

  • Storm Trooper
  • ***
  • Posts: 106
    • View Profile
Re: Optimizing cut-directions and order
« Reply #8 on: March 27, 2018, 15:19:59 pm »
Lloyd - Thanks for the further explanation.  I'm on this forum everyday and sucking up as much CamBam info as I can.  It's been a huge help.

Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2656
    • View Profile
Re: Optimizing cut-directions and order
« Reply #9 on: March 27, 2018, 16:39:17 pm »
LLoyd,
I can't recall right now the details but turning off optimization also turned off some other useful features.
I hope David can refresh my memory, please  ::)

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8988
    • View Profile
Re: Optimizing cut-directions and order
« Reply #10 on: March 27, 2018, 17:47:29 pm »
Fly,
I don't recall seeing any detriment to doing it, once you have a 'finished' design, and are simply trying to minimize the time-to-mill.  But, then, all my production designs are simple 2.5D things.

I'd like to hear David's take on that, though.

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

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7422
    • View Profile
    • Cambam V1.0 French Doc
Re: Optimizing cut-directions and order
« Reply #11 on: March 27, 2018, 17:51:14 pm »
LLoyd,
I can't recall right now the details but turning off optimization also turned off some other useful features.
I hope David can refresh my memory, please  ::)

Hello

Yes, it also turn off the start point (start of the cut) ; when optimization is off, the machining of a shape start at the polyline start point (you can use "polyline/start point" to change that). "Cut ordering" is always depth first. With a pocket, the cut start at the external side of the shape instead of in the center. In a MOP that use multiple shapes, the shapes are cut in the same order than the shape selection order.

++
David
« Last Edit: March 27, 2018, 17:53:10 pm by dh42 »

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8988
    • View Profile
Re: Optimizing cut-directions and order
« Reply #12 on: March 27, 2018, 18:21:41 pm »
Ahh!  Well, I also adjust the start-points of my polylines to optimize milling time.  That wouldn't directly affect me.  And since there are no complex pockets or 3D shapes in any of my 'daily' designs, it's pretty simple to manually-optimize a run.  It's all pretty-much straight-line milling or drilling! <grin>

Now, when I'm making molds or other more-complex shapes for a customer, I most certainly DO turn on optimization!

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

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7422
    • View Profile
    • Cambam V1.0 French Doc
Re: Optimizing cut-directions and order
« Reply #13 on: March 27, 2018, 18:33:19 pm »
Optimization to none is also interesting for text engraving ; in this case, the chars are engraved with the same order they are written in the text object.

++
David

Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2656
    • View Profile
Re: Optimizing cut-directions and order
« Reply #14 on: March 27, 2018, 20:10:55 pm »
David, thanks for the refreshment!  ;)