Merge pull request #270 from pppalain/master

bl_info bug
pull/277/head
Alain Pelletier 2024-08-20 09:47:34 -03:00 zatwierdzone przez GitHub
commit d8fed9b0a6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 6 dodań i 7 usunięć

Wyświetl plik

@ -184,7 +184,6 @@ bl_info = {
"name": "BlenderCAM - G-code Generation Tools",
"author": "Vilem Novak & Contributors",
"version":(1,0,26),
"blender": (3, 6, 0),
"location": "Properties > render",
"description": "Generate Machining Paths for CNC",

Wyświetl plik

@ -301,7 +301,7 @@ def solve_pde_multigrid(F, U, vcycleiterations, linbcgiterations, smoothiteratio
IU.append(None)
VF.append(None)
PLANAR.append(None)
VF[0] = numpy.zeros((xmax, ymax), dtype=numpy.float)
VF[0] = numpy.zeros((xmax, ymax), dtype=numpy.float64)
# numpy.fill(pix)!? TODO
RHS[0] = F.copy()
@ -315,10 +315,10 @@ def solve_pde_multigrid(F, U, vcycleiterations, linbcgiterations, smoothiteratio
# calculate size of next level
sx = int(sx/2)
sy = int(sy/2)
PLANAR[k+1] = numpy.zeros((sx, sy), dtype=numpy.float)
RHS[k+1] = numpy.zeros((sx, sy), dtype=numpy.float)
IU[k+1] = numpy.zeros((sx, sy), dtype=numpy.float)
VF[k+1] = numpy.zeros((sx, sy), dtype=numpy.float)
PLANAR[k+1] = numpy.zeros((sx, sy), dtype=numpy.float64)
RHS[k+1] = numpy.zeros((sx, sy), dtype=numpy.float64)
IU[k+1] = numpy.zeros((sx, sy), dtype=numpy.float64)
VF[k+1] = numpy.zeros((sx, sy), dtype=numpy.float64)
# restrict from level k to level k+1 (coarser-grid)
restrictbuf(PLANAR[k], PLANAR[k+1])
@ -600,7 +600,7 @@ def imagetonumpy(i):
x = 0
y = 0
count = 0
na = numpy.array((0.1), dtype=float)
na = numpy.array((0.1), dtype=float64)
size = width*height
na.resize(size*4)