kopia lustrzana https://github.com/vilemduha/blendercam
code reorganisation
rodzic
c4208ab8ba
commit
fda9c3570e
|
|
@ -27,6 +27,8 @@ from bpy_extras.object_utils import object_data_add
|
|||
from bpy.props import *
|
||||
import bl_operators
|
||||
from bpy.types import Menu, Operator, UIList
|
||||
#from . import patterns
|
||||
#from . import chunk_operations
|
||||
from . import utils#, post_processors
|
||||
import numpy
|
||||
import Polygon
|
||||
|
|
@ -1316,7 +1318,7 @@ class CAM_OPERATION_PROPERTIES_Panel(bpy.types.Panel):
|
|||
if len(scene.cam_operations)>0:
|
||||
ao=scene.cam_operations[scene.cam_active_operation]
|
||||
if ao.valid:
|
||||
layout.prop(ao,'axes')
|
||||
#layout.prop(ao,'axes')
|
||||
if ao.axes=='3':
|
||||
layout.prop(ao,'strategy')
|
||||
elif ao.axes=='4':
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ import numpy
|
|||
import random,sys, os
|
||||
import pickle
|
||||
import string
|
||||
#from . import post_processors
|
||||
from . import patterns
|
||||
#import multiprocessing
|
||||
|
||||
BULLET_SCALE=1000 # this is a constant for scaling the rigidbody collision world for higher precision from bullet library
|
||||
|
|
@ -345,7 +345,7 @@ def getBounds(o):
|
|||
|
||||
def getPathPatternParallel(o,angle):
|
||||
#minx,miny,minz,maxx,maxy,maxz=o.min.x,o.min.y,o.min.z,o.max.x,o.max.y,o.max.z
|
||||
ob=o.object
|
||||
#ob=o.object
|
||||
zlevel=1
|
||||
pathd=o.dist_between_paths
|
||||
pathstep=o.dist_along_paths
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue