Author Topic: MOP Automate scripts  (Read 6604 times)

Offline 10bulls

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 2163
  • Coding Jedi
    • View Profile
    • www.cambam.info
MOP Automate scripts
« 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.

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8988
    • View Profile
Re: MOP Automate scripts
« 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
"Pyro for Fun and Profit for More Than Fifty Years"

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7422
    • View Profile
    • Cambam V1.0 French Doc
Re: MOP Automate scripts
« Reply #2 on: November 29, 2012, 20:38:46 pm »
Hello,

Cool ..... thanks Andy  ;D

++
David