- 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
#!/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- Must explore UVtools.Core code, functions and arguments are the same as source.
- See code samples
https://github.com/sn4k3/UVtools/discussions/categories/scripts
If you make a usefull script and want to contribute you can share and publish your script under Github - Discussions - Scripts.
