Loading heightmap error invalid grid
-
Hello everyone,
I have created an heightmap using my own script. When I try to load it via
G29 S1 P “heightmap.csv”
I get the error
Error: G29: Failed to load height map from file 0:/sys/heightmap.csv: invalid grid.
Attached is the heightmap.csv. I am using RepRapFirmware 3.5.2 and a Duet 3 6HC Board. I have also tried the whole thing with a simple heightmap with only zeros and 9 points, with v1 as version, actually pretty much everything. The number of rows and columns are also correct.
What is the problem?
Many thanks in advanceRepRapFirmware height map file v2 axis0,axis1,min0,max0,min1,max1,radius,spacing0,spacing1,num0,num1 X,Y,-50.00,50.00,-50.00,50.00,-1.00,10,10,0,0 -0.0863017, -0.1228113, -0.1059607, -0.1845968, -0.1845968, -0.2435738, -0.2660413, -0.2604244, -0.2435738, -0.2828918, -0.2144243 -0.1119650, 0.7484803, 0.8629480, 0.9865188, 1.1409830, 1.2842130, 1.4077840, 1.6055360, 1.7599030, 1.9161100, -0.2243022 -0.0469837, 0.8600428, 0.9865188, 1.0511130, 1.1859170, 1.3459980, 1.5417170, 1.6564750, 1.8683660, 2.1014660, -0.3222099 0.0990547, 1.1100900, 1.1831090, 1.2196190, 1.4414850, 1.5717380, 1.9133010, 2.0031710, 2.0593400, 2.2671630, -0.1340450 0.0339766, 1.1831090, 1.4080740, 1.5425880, 1.7026690, 1.7588370, 1.9498110, 2.1098910, 2.2640650, 2.4030330, -0.1525419 -0.0245162, 1.4527190, 1.6156070, 1.7363700, 1.8228500, 2.0562400, 2.1997610, 2.2952480, 2.4160100, 2.6210260, -0.0806848 -0.0666427, 1.5257380, 1.7127410, 1.8312760, 1.9722780, 2.1604430, 2.2194200, 2.3738840, 2.5884870, 2.8457010, -0.0975354 0.0046334, 1.6830100, 1.8936420, 2.0705730, 2.2212600, 2.4193990, 2.5002630, 2.6940450, 2.8119990, 3.0338650, -0.0556026 -0.0020488, 1.8374740, 1.9638530, 2.0941060, 2.3618750, 2.4216270, 2.7052790, 2.8513170, 2.8822100, 3.1037860, -0.0610258 -0.0048572, 2.1295500, 2.2390790, 2.3823090, 2.5198260, 2.7889510, 2.8597420, 3.1125010, 3.2248390, 3.3568350, -0.0441752 0.0471472, -0.0245162, -0.0265499, -0.0722595, -0.0554090, -0.1029586, -0.0806848, -0.0722595, -0.0786511, 0.0316524, -0.0111520
-
@Patrick95 You need the number of points on each axis, ie the last two parameters on line 3. Should be
11,11
rather than0,0
.Ian
-
@Patrick95 Also, it's a rather weird looking map! Most of the outer points are negative, then jump to inner points that are positive, at a huge slant. Intentional?
Ian
-
now it works. thank you
-
undefined dc42 marked this topic as a question
-
undefined dc42 has marked this topic as solved