mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
c3c952bd26
- **Benchmark tool:** - (Add) Reference machine Intel® Core™ i9-13900K @ 5.5 GHz - (Improvement) Layout and arrangement - **Windows MSI:** - (Improvement) Move registry keys from HKCU to HKLM - (Improvement) Sign MSI package - (Upgrade) Windows MSI: Wix 3 to 4 - (Fix) SL1: Change `SupportPillarWideningFactor` from ushort to float - (Fix) PCB exposure: Implement G02 and G03 arcs (#692) - (Upgrade) .NET from 6.0.15 to 6.0.16 - (Upgrade) openCV from 4.6.0 to 4.7.0
UVtools Python Scripting
Requirements
- Python 3.x
- Pythonnet 3.x:
pip install pythonnet - .NET 6.0 SDK
- UVtools:
- Windows: Must install MSI
- Linux and macOS: Need to register
UVTOOLS_PATH(Environment Variable)
- Near your .py script:
- UVtoolsBootstrap.py
wget https://raw.githubusercontent.com/sn4k3/UVtools/master/Scripts/UVtools.Python/UVtoolsBootstrap.py
- UVtoolsBootstrap.py
Bootstrap
#!/usr/bin/env python
"""print_layers.py: Print all layers from a file."""
__author__ = "Someone"
__copyright__ = "Copyright 2022, Planet Earth"
from UVtoolsBootstrap import *
# Your code here
Documentation
- Must explore UVtools.Core code, functions and arguments are the same as source.
- See code samples
Support
https://github.com/sn4k3/UVtools/discussions/categories/scripts
Contribute with your scripts
If you make a usefull script and want to contribute you can share and publish your script under Github - Discussions - Scripts.
