G29 P parameter



  • hi all,

    does the "P" parameter still work when trying to load different bed maps?
    ive tried different filename lengths, with comma's, without comma's, tried M375 with the "P" parameter too. i cant get the command to work for different bed maps

    regards
    gav


  • administrators

    It should still work but I haven't tested it recently. The filename must be enclosed in double quotes.



  • is there any prerequisites before using this command that ive missed?



  • my file name is mapabs.csv and G29 P"mapabs.csv" is what im using and the printer says:

    "G29: must home printer before bed probing"

    i hope thats correct

    edit: it wouldnt have anything to do with my machine being CoreXZ?


  • administrators

    @gavatron3000 said in G29 P parameter:

    my file name is mapabs.csv and G29 P"mapabs.csv" is what im using and the printer says:

    "G29: must home printer before bed probing"

    i hope thats correct

    edit: it wouldnt have anything to do with my machine being CoreXZ?

    That command says you want to probe the bed and save the height map to file mapabs.csv. You need to home the printer first to do that. If you want to load that height map file, you must include the S1 parameter in the G29 command as usual.



  • Ahh ok no problem. I'll have another go after work this afternoon. Wiki is a little unclear in the regard including both S and P parameters together, thanks again



  • @gavatron3000 said in G29 P parameter:

    Wiki is a little unclear in the regard including both S and P parameters together, thanks again

    I extended the Gcode wiki in this regard. Hope this is clearer now.



  • thank you for that. G29 S1 P"mapabs.csv" is correct right?

    also if i use a custom name for the map will the DWC show it when i press view heightmap? or is it specifically looking for the default file?



  • @gavatron3000 said in G29 P parameter:

    thank you for that. G29 S1 P"mapabs.csv" is correct right?

    Yes, this is correct if you want to load a file with that name.

    also if i use a custom name for the map will the DWC show it when i press view heightmap? or is it specifically looking for the default file?

    AFAICT DWC will only load a file named heightmap.csv when you press on the button in the Machine Control section.
    But it allows you to load the 3D view also from Settings -> System Editor section if I get it right (I currently have no heightmap at all, so I cannot test this).



  • cheers thanks again


Log in to reply