Source code for cam.constants

"""Fabex 'constants.py'

Package to store all constants of Fabex.
"""

# PRECISION is used in most operations
[docs] PRECISION = 5
[docs] CHIPLOAD_PRECISION = 10
[docs] MAX_OPERATION_TIME = 3200000000 # seconds
[docs] G64_INCOMPATIBLE_MACHINES = ["GRBL"]
# Upscale factor for higher precision from Bullet library - (Rigidbody Collision World)
[docs] 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.
[docs] CUTTER_OFFSET = (-5 * BULLET_SCALE, -5 * BULLET_SCALE, -5 * BULLET_SCALE)
[docs] EPS = 1.0e-32
[docs] NUMPYALG = False
[docs] SHAPELY = True
# DT = Bit diameter tolerance
[docs] DT = 1.025
[docs] USE_PROFILER = False
[docs] was_hidden_dict = {}
[docs] _IS_LOADING_DEFAULTS = False
[docs] TOLERANCE = 1e-9
[docs] BIG_FLOAT = 1e38
[docs] PY3 = True
[docs] OCL_SCALE = 1000.0
[docs] PYTHON_BIN = None
[docs] _PREVIOUS_OCL_MESH = None