CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 14, 2019, 21:45:08 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: MOP Automate scripts  (Read 2789 times)
10bulls
Administrator
CNC Jedi
*****
Offline Offline

Posts: 2133


Coding Jedi


View Profile WWW
« on: November 29, 2012, 14:58:29 pm »

A new script has been added to the reference section...

www.cambam.info/ref/script.mop-automate

This demonstrates a common task of opening files (such as DXF), creating machining operations, setting parameters etc.

There is a Python and VBScript version available.

I hope you find these examples useful and if anyone spots any problems or has any questions/suggestions, please let me know.
Logged
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 8085



View Profile
« Reply #1 on: November 29, 2012, 15:07:57 pm »

Andy,
Thanks!
I had written a VB routine a year ago to generate a complete .CB project file so I could create a disk with a perforation pattern based upon parameters like the disk o.d., the pattern, i.d., the minimum spacing between holes, and the hole diameter.

This, I like because it can be done from within a CB session.

Could you also show us a simple example in VB of how to access the structure containing the points list for the selected polyline?  (and maybe flesh out the names of the items in a primitive's structure(s)? <G>)

Thanks again,
Lloyd
Logged

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

Posts: 5677



View Profile WWW
« Reply #2 on: November 29, 2012, 20:38:46 pm »

Hello,

Cool ..... thanks Andy  Grin

++
David
Logged
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.095 seconds with 20 queries.

Copyright © 2018 HexRay Ltd. | Sitemap