kopia lustrzana https://github.com/vilemduha/blendercam
- property operation.changed now working - this detects if the operation parameters changed after last computation. This can save time when exporting e.g. chain gcode, since then only export is performed.
rodzic
8d0d0b77a6
commit
f5de173232
|
@ -515,7 +515,7 @@ class PathsSimple(bpy.types.Operator):
|
|||
o.onlycurves=False;
|
||||
o.warnings=''
|
||||
utils.getPaths(context,o)
|
||||
|
||||
o.changed=False
|
||||
return {'FINISHED'}
|
||||
|
||||
class PathsAll(bpy.types.Operator):
|
||||
|
|
|
@ -3794,6 +3794,7 @@ def addBridges(ch,o,z):
|
|||
for pi in range(len(insertpoints)-1,-1,-1):
|
||||
ch.points.insert(insertpoints[pi][0],insertpoints[pi][1])
|
||||
#this is the main function.
|
||||
|
||||
def getPaths(context,operation):#should do all path calculations.
|
||||
|
||||
t=time.clock()
|
||||
|
@ -4376,6 +4377,7 @@ def reload_paths(o):
|
|||
ob=s.objects[oname]
|
||||
ob.location=(0,0,0)
|
||||
o.path_object_name=oname
|
||||
o.changed=False
|
||||
#unpickle here:
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue