kopia lustrzana https://github.com/vilemduha/blendercam
Update constants references
rodzic
9d3ec3dcba
commit
1f52788e9d
|
|
@ -42,3 +42,9 @@ if sys.version > "3":
|
|||
PY3 = True
|
||||
else:
|
||||
PY3 = False
|
||||
|
||||
OCL_SCALE = 1000.0
|
||||
|
||||
PYTHON_BIN = None
|
||||
|
||||
_PREVIOUS_OCL_MESH = None
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ from . import (
|
|||
utils,
|
||||
)
|
||||
|
||||
from .constansts import DT
|
||||
from .constants import DT
|
||||
|
||||
|
||||
def finger(diameter, stem=2):
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue