Author Topic: Delete - Restore Stock plugin  (Read 1845 times)

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7295
    • View Profile
    • Cambam V1.0 French Doc
Delete - Restore Stock plugin
« on: May 18, 2023, 21:46:21 pm »
Hello

This plugin allow to delete and restore the current stock definition. (only the main stock in the machining folder)

Two items are available in the plugin menu.

- Delete Stock > store the datas of the current stock in memory, then erase all stock data (except the colors)

- Restore Stock > restore the erased values. This item is disabled until a stock as been erased with Delete Stock.

for CamBam 1.0 only ; not tested on linux nor on Windows 64bits version of CamBam, feel free to give some feedback if you test it on one of this versions.

++
David

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5211
  • Made in England
    • View Profile
Re: Delete - Restore Stock plugin
« Reply #1 on: May 19, 2023, 08:36:19 am »
David,

Works fine with 64bits.

Filmed in Supermarionation

Offline pixelmaker

  • CNC Jedi
  • *****
  • Posts: 1944
    • View Profile
    • pixelmaker
Re: Delete - Restore Stock plugin
« Reply #2 on: May 19, 2023, 09:58:29 am »
Thank you for this plugin David.

ralf

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7295
    • View Profile
    • Cambam V1.0 French Doc
Re: Delete - Restore Stock plugin
« Reply #3 on: May 19, 2023, 15:48:52 pm »
Hello

Even if this is not the goal of this plugin, it can also be used to copy a stock from a project to another.

- on the source project, delete then restore the stock so it is saved into the memory.

- without closing CamBam, open the file where you want to copy the stock (or a new blank file), then use "restore" to get a copy of the copied stock in the new file.

++
David

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 4411
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: Delete - Restore Stock plugin
« Reply #4 on: May 27, 2023, 21:54:36 pm »
I finally had a need for it again and tested it.  I've been up to my back side in alligators the last couple weeks or I would have tested sooner.  Equipment problems, vendor problems, mostly just me problems.  I apologize for not trying this sooner.  Especially since you went to the effort to create it for me. 

I notice two things. 

Not related to the plugin:  If stock is set in a part then setting the values to zero DOES set the stock to undefined unlike setting the stock values in the machining parameters. 

About the plugin:  The plugin works perfectly on only the machining parameters for stock.  I am running 64bit CamBam.  No bugs noted so far.   

Thank you, and again I apologize for not trying it and giving feedback sooner. 
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