blendercam/scripts/addons/fabex/constants.py

47 wiersze
826 B
Python

2024-10-25 02:47:11 +00:00
"""Fabex 'constants.py'
2024-10-25 02:47:11 +00:00
Package to store all constants of Fabex.
"""
# PRECISION is used in most operations
PRECISION = 5
CHIPLOAD_PRECISION = 10
MAX_OPERATION_TIME = 3200000000 # seconds
2024-10-25 02:47:11 +00:00
G64_INCOMPATIBLE_MACHINES = ["GRBL"]
# Upscale factor for higher precision from Bullet library - (Rigidbody Collision World)
BULLET_SCALE = 10000
# Cutter object must be present in the scene, so we need to put it aside for sweep collisions,
# otherwise it collides with itself.
CUTTER_OFFSET = (-5 * BULLET_SCALE, -5 * BULLET_SCALE, -5 * BULLET_SCALE)
EPS = 1.0e-32
NUMPYALG = False
SHAPELY = True
# DT = Bit diameter tolerance
DT = 1.025
USE_PROFILER = False
was_hidden_dict = {}
_IS_LOADING_DEFAULTS = False
TOLERANCE = 1e-9
BIG_FLOAT = 1e38
2024-12-19 00:39:13 +00:00
PY3 = True
2024-12-15 16:12:32 +00:00
OCL_SCALE = 1000.0
PYTHON_BIN = None
_PREVIOUS_OCL_MESH = None