CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 30, 2020, 13:41:04 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Custom CAM Toolbar buttons  (Read 5724 times)
BaNoBi
Droid
**
Offline Offline

Posts: 51


View Profile
« 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.


* CAMToolbarAddins.png (55.29 KB, 1023x655 - viewed 676 times.)
* CAMToolbarAddins_v1.0.zip (3.04 KB - downloaded 429 times.)
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5840



View Profile WWW
« Reply #1 on: January 05, 2015, 15:32:25 pm »

Hello,

Thanks for this plugin, and welcome in Cambam world  Wink

What language are you using to do the plugin ?

++
David
Logged
BaNoBi
Droid
**
Offline Offline

Posts: 51


View Profile
« 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.

* CAMToolbarAddins-source.zip (52.69 KB - downloaded 253 times.)
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5840



View Profile WWW
« Reply #3 on: January 05, 2015, 15:51:25 pm »

Thanks for the sources Wink

++
David
Logged
Bubba
CNC Jedi
*****
Offline Offline

Posts: 2864



View Profile
« Reply #4 on: January 05, 2015, 17:15:06 pm »

Thanks for great addition. Wink Cheesy
Logged

My 2ยข

Win 10, CB [1.0} rc 1, Mach3, ESS, G540
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 4207



View Profile
« Reply #5 on: January 05, 2015, 17:53:06 pm »

Useful, thanks
Logged

Made in England
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 8172



View Profile
« 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
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
Garyhlucas
CNC Jedi
*****
Offline Offline

Posts: 1342


View Profile
« 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.
Logged

Gary H. Lucas

Have you read my blog?
 http://a-little-business.blogspot.com/
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 8172



View Profile
« 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
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.146 seconds with 19 queries.

Copyright © 2018 HexRay Ltd. | Sitemap