Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

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

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

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.