Download models/button.py from Minecraft3193092-organization/minecraft-python: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/Minecraft3193092-organization/minecraft-python/resolve/8ebbcd63745b2e1364c50841ebcdff05c2323a8f/models/button.py
- Command line
-
hf download hf://Minecraft3193092-organization/minecraft-python@8ebbcd63745b2e1364c50841ebcdff05c2323a8f/models/button.py
-
curl -L -o button.py https://huggingface.co/Minecraft3193092-organization/minecraft-python/resolve/8ebbcd63745b2e1364c50841ebcdff05c2323a8f/models/button.py
1.18 kB
| transparent = True | |
| is_cube = False | |
| glass = False | |
| colliders = [] | |
| vertex_positions = [ | |
| [ 0.5, 0.0, 0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.0, -0.5], # right | |
| [-0.5, 0.0, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.0, 0.5], # left | |
| [ 0.5, 0.0, 0.5, 0.5, 0.0, -0.5, -0.5, 0.0, -0.5, -0.5, 0.0, 0.5], # top | |
| [-0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5], # bottom | |
| [-0.5, 0.0, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, 0.5, 0.0, 0.5], # front | |
| [ 0.5, 0.0, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, 0.0, -0.5], # back | |
| ] | |
| tex_coords = [ | |
| [0.0, 0.5, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.5, 0.0], | |
| [0.0, 0.5, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.5, 0.0], | |
| [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0], | |
| [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0], | |
| [0.0, 0.5, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.5, 0.0], | |
| [0.0, 0.5, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.5, 0.0], | |
| ] | |
| shading_values = [ | |
| [0.6, 0.6, 0.6, 0.6], | |
| [0.6, 0.6, 0.6, 0.6], | |
| [1.0, 1.0, 1.0, 1.0], | |
| [0.4, 0.4, 0.4, 0.4], | |
| [0.8, 0.8, 0.8, 0.8], | |
| [0.8, 0.8, 0.8, 0.8], | |
| ] |