jneilliii / OctoPrint-BedLevelVisualizer

MIT License
373 stars 83 forks source link

0.1.13 not working after turning on bilinear subdivision #226

Closed lolejar closed 4 years ago

lolejar commented 4 years ago

Hello, I have trouble with visualizing Bbilinear data after I turned on Subdivision. Previously it was working ok but as soon as I turned on CATMUL subdivision system mesh can't be displayed properly (I get just spinning wheel).

I guess it's due to added Fade height ouput line ?

My gcode

@BEDLEVELVISUALIZER
M420 V

Output

Send: M420 V
Recv: Bilinear Leveling Grid:
Recv:       0      1      2      3      4
Recv:  0 +0.090 +0.118 +0.151 +0.166 +0.201
Recv:  1 +0.022 +0.049 +0.076 +0.080 +0.098
Recv:  2 -0.049 +0.013 +0.018 +0.025 +0.043
Recv:  3 -0.033 -0.023 -0.004 -0.023 -0.050
Recv:  4 +0.031 +0.036 +0.052 +0.022 -0.006
Recv: 
Recv: Subdivided with CATMULL ROM Leveling Grid:
Recv:         0        1        2        3        4        5        6        7        8        9       10       11       12
Recv:  0 +0.09050 +0.09967 +0.10883 +0.11850 +0.12963 +0.14126 +0.15100 +0.15672 +0.16056 +0.16650 +0.17659 +0.18880 +0.20100
Recv:  1 +0.06756 +0.07622 +0.08489 +0.09411 +0.10500 +0.11644 +0.12559 +0.13011 +0.13233 +0.13648 +0.14460 +0.15465 +0.16470
Recv:  2 +0.04461 +0.05278 +0.06096 +0.06972 +0.08038 +0.09162 +0.10018 +0.10349 +0.10411 +0.10646 +0.11262 +0.12051 +0.12841
Recv:  3 +0.02150 +0.03067 +0.03983 +0.04900 +0.05906 +0.06911 +0.07650 +0.07893 +0.07869 +0.08000 +0.08480 +0.09115 +0.09750
Recv:  4 -0.00509 +0.00877 +0.02263 +0.03433 +0.04299 +0.04949 +0.05431 +0.05659 +0.05719 +0.05922 +0.06419 +0.07057 +0.07696
Recv:  5 -0.03185 -0.01180 +0.00825 +0.02333 +0.03024 +0.03218 +0.03385 +0.03631 +0.03851 +0.04200 +0.04774 +0.05478 +0.06181
Recv:  6 -0.04900 -0.02641 -0.00381 +0.01250 +0.01824 +0.01770 +0.01750 +0.01961 +0.02206 +0.02550 +0.03050 +0.03650 +0.04250
Recv:  7 -0.05185 -0.03394 -0.01603 -0.00276 +0.00299 +0.00410 +0.00452 +0.00524 +0.00526 +0.00559 +0.00666 +0.00802 +0.00939
Recv:  8 -0.04509 -0.03550 -0.02591 -0.01785 -0.01149 -0.00666 -0.00435 -0.00556 -0.00930 -0.01359 -0.01798 -0.02294 -0.02789
Recv:  9 -0.03300 -0.02978 -0.02656 -0.02250 -0.01572 -0.00811 -0.00450 -0.00748 -0.01446 -0.02250 -0.03096 -0.04048 -0.05000
Recv: 10 -0.01522 -0.01389 -0.01256 -0.00980 -0.00311 +0.00500 +0.00852 +0.00419 -0.00472 -0.01452 -0.02424 -0.03484 -0.04544
Recv: 11 +0.00789 +0.00929 +0.01068 +0.01335 +0.01975 +0.02742 +0.03026 +0.02475 +0.01441 +0.00374 -0.00586 -0.01579 -0.02572
Recv: 12 +0.03100 +0.03246 +0.03393 +0.03650 +0.04261 +0.04983 +0.05200 +0.04530 +0.03354 +0.02200 +0.01252 +0.00326 -0.00600
Recv: 
Recv: echo:Bed Leveling ON
Recv: echo:Fade Height OFF
Recv: ok
lolejar commented 4 years ago

well it looks like it's working after all just takes more to process as before. sorry closing