Author Topic: Custom CAM Toolbar buttons  (Read 7362 times)

Offline BaNoBi

  • Droid
  • **
  • Posts: 51
    • View Profile
Custom CAM Toolbar buttons
« on: January 05, 2015, 15:19:45 pm »
I developed a new plugin which adds all the not default machining operation types (for example: Thread Mill, Lathe and V-Engrave) to the CAM toolbar.

I hope it helps someone.

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6680
    • View Profile
    • Cambam V1.0 French Doc
Re: Custom CAM Toolbar buttons
« Reply #1 on: January 05, 2015, 15:32:25 pm »
Hello,

Thanks for this plugin, and welcome in Cambam world  ;)

What language are you using to do the plugin ?

++
David

Offline BaNoBi

  • Droid
  • **
  • Posts: 51
    • View Profile
Re: Custom CAM Toolbar buttons
« Reply #2 on: January 05, 2015, 15:47:52 pm »
Thanks David.

I'm using C#. My starter code is the View Toolbar plugin code (http://www.cambam.info/ref/plugin.viewtoolbaraddins).

Please find in attach the source code of my plugin.

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6680
    • View Profile
    • Cambam V1.0 French Doc
Re: Custom CAM Toolbar buttons
« Reply #3 on: January 05, 2015, 15:51:25 pm »
Thanks for the sources ;)

++
David

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3184
    • View Profile
Re: Custom CAM Toolbar buttons
« Reply #4 on: January 05, 2015, 17:15:06 pm »
Thanks for great addition. ;) :D
My 2ยข

Win10 (64 bit, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, Endurance Laser.

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4847
    • View Profile
Re: Custom CAM Toolbar buttons
« Reply #5 on: January 05, 2015, 17:53:06 pm »
Useful, thanks
Made in England

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8541
    • View Profile
Re: Custom CAM Toolbar buttons
« Reply #6 on: January 05, 2015, 23:00:00 pm »
And... BaNoBi...Welcome to the group.  I like that you shared the code.  We have a tendency to do that more than not, here.

I _also_ like very much that you dove right in and started writing plugins even before you'd had much interaction here.  (Self-motivation AND sharing!  Can't beat it!)

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

Offline Garyhlucas

  • CNC Jedi
  • *****
  • Posts: 1424
    • View Profile
Re: Custom CAM Toolbar buttons
« Reply #7 on: January 06, 2015, 18:18:54 pm »
Yes it is very nice. I wish I still had the programming skills for this stuff.  Gave it up back when Borland's Paradox database went OOP in Windows and completely confused the hell out of me.  I still program PLCs with boolean logic but that is so much like a wiring diagram that I have no trouble following the logic even when I step away for long periods.
Gary H. Lucas

Have you read my blog?
 http://a-little-business.blogspot.com/

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8541
    • View Profile
Re: Custom CAM Toolbar buttons
« Reply #8 on: January 06, 2015, 23:04:48 pm »
Gary,
I was away from C (Borland, yup!) for over 20 years before I took it back up in the CamBam environment with C#.

Is it like the old stuff?  Naw.  Can you re-learn and re-apply your old skills?  Yep.

OOP is still causing me many "oops".  But what's changed since I was doing procedural programming is the wealth of help, advice, and examples available now on the web.

You (I) can muddle through, even if you (I) don't fully understand.

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

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 4155
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: Custom CAM Toolbar buttons
« Reply #9 on: June 29, 2021, 22:46:27 pm »
Has there been an update that allows for adding the thread mill icon to 1.0? 
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 driedeker

  • Storm Trooper
  • ***
  • Posts: 156
    • View Profile
Re: Custom CAM Toolbar buttons
« Reply #10 on: June 30, 2021, 07:14:22 am »
I thought that the thread mill icon was working in v 1.0 as it appears in my mop list in the top bar
Made in England in 53

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6680
    • View Profile
    • Cambam V1.0 French Doc
Re: Custom CAM Toolbar buttons
« Reply #11 on: June 30, 2021, 15:16:51 pm »
Hello

I just installed it on CB 1.0 and the thread MOP is here ....

(plugin V 1.0.5483.25515 - date: 05 January 2015)

++
David