Update constants references

pull/277/head^2
Rob 2024-12-15 11:12:32 -05:00
rodzic 9d3ec3dcba
commit 1f52788e9d
4 zmienionych plików z 11 dodań i 12 usunięć

Wyświetl plik

@ -42,3 +42,9 @@ if sys.version > "3":
PY3 = True
else:
PY3 = False
OCL_SCALE = 1000.0
PYTHON_BIN = None
_PREVIOUS_OCL_MESH = None

Wyświetl plik

@ -20,13 +20,10 @@ except ImportError:
import mathutils
from ..constants import OCL_SCALE, _PREVIOUS_OCL_MESH
from ..simple import activate
from ..exception import CamException
from ..async_op import progress_async
OCL_SCALE = 1000.0
_PREVIOUS_OCL_MESH = None
from ..operators.async_op import progress_async
def get_oclSTL(operation):

Wyświetl plik

@ -19,17 +19,13 @@ except ImportError:
import bpy
from ..constants import BULLET_SCALE
from ..constants import BULLET_SCALE, OCL_SCALE, PYTHON_BIN
from ..simple import activate
from .. import utils
from ..cam_chunk import CamPathChunk
from ..async_op import progress_async
from ..operators.async_op import progress_async
from .oclSample import get_oclSTL, ocl_sample
OCL_SCALE = 1000.0
PYTHON_BIN = None
def pointSamplesFromOCL(points, samples):
"""Update the z-coordinate of points based on corresponding sample values.

Wyświetl plik

@ -20,7 +20,7 @@ from . import (
utils,
)
from .constansts import DT
from .constants import DT
def finger(diameter, stem=2):