Beispielskripten: Unterschied zwischen den Versionen
Ralfg (Diskussion | Beiträge) |
Ralfg (Diskussion | Beiträge) (→Python version:) |
||
| Zeile 16: | Zeile 16: | ||
=== Python version: === | === Python version: === | ||
<code> | <code> | ||
| − | [http://www.google.com/search?client=safari&rls=en&q=cambam.pixelmaker.eu/pages/phocadownload/scripten/mop-automate.py | + | [http://www.google.com/search?client=safari&rls=en&q=cambam.pixelmaker.eu/pages/phocadownload/scripten/mop-automate.py.zip mop.automate.py]</code> |
=== VB-Script Version: === | === VB-Script Version: === | ||
<code>[http://www.google.com/search?client=safari&rls=en&q=cambam.pixelmaker.eu/pages/phocadownload/scripten/mop-automate.vbs&ie=UTF-8&oe=UTF-8 mop.automate.vbs]</code> | <code>[http://www.google.com/search?client=safari&rls=en&q=cambam.pixelmaker.eu/pages/phocadownload/scripten/mop-automate.vbs&ie=UTF-8&oe=UTF-8 mop.automate.vbs]</code> | ||
</code> | </code> | ||
Version vom 21. April 2013, 14:36 Uhr
MOP Automate VB and Python scripts
This script will automate the process of opening a source file, insert machining operations, set various properties and produce g-code.
These scripts demonstrate:
- opening a CAD file (.dxf in this example)
- drawing some extra shapes into the drawing
- setting machining options
- Call asynchronous CAD functions such as
- Edit -> Join and Edit -> Convert to polyline
- creating a machining operation from objects in a drawing layer
- setting machining operation properties
- saving a drawing and creating g-code