CamBam

Resources => Scripts and Plugins => Topic started by: BaNoBi on January 05, 2015, 15:19:45 pm



Title: Custom CAM Toolbar buttons
Post by: BaNoBi 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.


Title: Re: Custom CAM Toolbar buttons
Post by: dh42 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


Title: Re: Custom CAM Toolbar buttons
Post by: BaNoBi 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.


Title: Re: Custom CAM Toolbar buttons
Post by: dh42 on January 05, 2015, 15:51:25 pm
Thanks for the sources ;)

++
David


Title: Re: Custom CAM Toolbar buttons
Post by: Bubba on January 05, 2015, 17:15:06 pm
Thanks for great addition. ;) :D


Title: Re: Custom CAM Toolbar buttons
Post by: EddyCurrent on January 05, 2015, 17:53:06 pm
Useful, thanks


Title: Re: Custom CAM Toolbar buttons
Post by: lloydsp 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


Title: Re: Custom CAM Toolbar buttons
Post by: Garyhlucas 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.


Title: Re: Custom CAM Toolbar buttons
Post by: lloydsp 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