• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

height map off set to negative ?

Scheduled Pinned Locked Moved
Tuning and tweaking
3
15
652
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Phaedrux Moderator @ap742
    last edited by 28 Jan 2023, 18:28

    @ap742 said in height map off set to negative ?:

    +x moves to the left from the end stop which is 0
    +y moves to the front from the end stop which is 0

    Ok that's fine. That just means your coordinates are rotated 180 degrees from standard, which isn't going to cause problems, though you may notice your prints coming out rotated from how the slicer preview shows.

    From your photo it looks like your probe offsets are reversed though.

    G31 P25 X-41 Y9.44 Z2.121

    X-41 would mean the probe is closer to the low end of the axis to the right of the nozzle. Your photo shows the probe to the left, which in your case would be X+41. This would cause the heightmap to be incorrect.

    I can't quite tell if the probe is in front or behind the nozzle though. But the same rule applies, if it's closer to the low end, the value would be negative.

    Z-Bot CoreXY Build | Thingiverse Profile

    undefined 1 Reply Last reply 28 Jan 2023, 20:27 Reply Quote 0
    • undefined
      ap742 @Phaedrux
      last edited by 28 Jan 2023, 20:27

      @Phaedrux

      Thank You for that

      so I got that changed

      G31 P25 X41 Y-9.44 Z2.121

      how about define the mesh

      M557 X41:280 Y20:340 S38 if I do this it doesn't probe high end all the way

      0f8cd797-0b46-48ea-9877-2fc8ff585865-image.png

      undefined 1 Reply Last reply 28 Jan 2023, 20:40 Reply Quote 0
      • undefined
        Phaedrux Moderator @ap742
        last edited by 28 Jan 2023, 20:40

        @ap742 said in height map off set to negative ?:

        M557 X41:280 Y20:340 S38

        That's because you're telling it to only probe between x41 and x280.

        The easiest way to define the heightmap size is just to make it equal to your actual bed size. Then it will use the probe offsets in G31 to only probe the areas it can actually reach. Just make sure your G31 offsets are correct first.

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 1 Reply Last reply 28 Jan 2023, 21:43 Reply Quote 0
        • undefined
          ap742 @Phaedrux
          last edited by 28 Jan 2023, 21:43

          @Phaedrux
          Thank you 🙂
          so I'm going to lean towards mechanical stuff . because its doing exactly the same thing as it did before

          my starting gcode loads G29 S1 - assuming it should compensate

          M106 S0 ; turn off cooling fan
          G28
          G29 S1
          G92 E0 ; Reset Extruder
          G1 Z10.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
          G1 X344.5 Y300 Z0.28 F5000.0 ;Move to start position
          G1 X344.5 Y90.0 Z0.28 F1500.0 E15 ;Draw the first line
          G1 X344.7 Y90.0 Z0.28 F5000.0 ;Move to side a little
          G1 X344.7 Y300 Z0.28 F1500.0 E30 ;Draw the second line

          G92 E0 ; reset extrusion distance
          G1 Z15.0 F6000 ;Move the nozzle up 15mm
          G92 E0 ; Reset the extruder's origin

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 29 Jan 2023, 00:05

            What does your heightmap look like now?

            What does the resulting print look like?

            If the heightmap isn't correcting as expected, that usually means there is some tilt or the print head that changes at different XY positions, or there is some skew in the XY motion plane.

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 29 Jan 2023, 02:29 Reply Quote 0
            • undefined
              ap742 @Phaedrux
              last edited by 29 Jan 2023, 02:29

              @Phaedrux

              so before I tear down and re check all the bearings and stuff " all new but we all know there's always chance "

              here's what map looks like not perfect but.....
              a658913f-b4a7-4e80-9100-523c6c1466e5-image.png

              this is the front of the bed between 275 & 300

              bd3ba0a9-0da8-48ad-bc7b-faa60c264a59-image.png

              this one is the back between 50 and 75

              5ccbcd4c-3c8c-4d40-b640-1fda3feaded3-image.png

              Thank You

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 29 Jan 2023, 04:46

                Can you describe your Z axis?

                Do you do automatic or manual bed leveling?

                Do you use bed.g?

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 1 Reply Last reply 29 Jan 2023, 12:53 Reply Quote 0
                • undefined
                  ap742 @Phaedrux
                  last edited by 29 Jan 2023, 12:53

                  @Phaedrux

                  Z is typical ender 5 plus config nothing really changed there.
                  its 2mm pitch 4mm lead
                  10mm linear rods all lubed with synthetic lube
                  z is pretty smooth

                  driven by two steppers 0.8A 1.8 degree

                  d0235c0f-7363-4c99-a95b-77f7c83f06a3-image.png

                  here's my bed config

                  ; bed.g
                  ; called to perform automatic bed compensation via G32
                  ;
                  ; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Apr 16 2021 19:18:05 GMT-0400 (Eastern Daylight Time)
                  M561 ; clear any bed transform
                  G29 ; probe the bed and enable compensation

                  so the way do it is

                  home all use 0.1 mm spacer to to get nozzle down to bed.
                  and repeat all this few times around all corners and center

                  than I run G31 S-1 few times to get average number for G31

                  after that I run G29

                  undefined 1 Reply Last reply 30 Jan 2023, 14:15 Reply Quote 0
                  • undefined
                    Adamfilip @ap742
                    last edited by 30 Jan 2023, 14:15

                    I have run into this before myself with portions being in the negative. what I did was basically try and home (if probing) to the low spot on the bed. making that area = 0 and the rest is just higher.

                    not a fix really but it worked for me lol

                    undefined 1 Reply Last reply 31 Jan 2023, 00:15 Reply Quote 0
                    • undefined
                      ap742 @Adamfilip
                      last edited by ap742 31 Jan 2023, 00:15

                      @Adamfilip
                      what do you mean make that area 0? how?

                      did you just edit heghtmap.csv and correct the numbers?

                      undefined 1 Reply Last reply 31 Jan 2023, 04:52 Reply Quote 0
                      • undefined
                        Adamfilip @ap742
                        last edited by Adamfilip 31 Jan 2023, 04:52

                        @ap742 no. for example

                        if i do a mesh, and an area at X50 and Y50 is reading the lowest point at Z-1
                        I will set my Z probe to home at X50 and Y50, that way it will set the lowest part of the bed to be the zero point and everything else should be higher, when I remeasure the mesh

                        undefined 1 Reply Last reply 31 Jan 2023, 18:49 Reply Quote 0
                        • undefined
                          Phaedrux Moderator @Adamfilip
                          last edited by 31 Jan 2023, 18:49

                          @Adamfilip It shouldn't really matter since the compensation can go up or down, but it can help to match the Z homing G30 point to one of the probe points of the mesh.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 1
                          13 out of 15
                          • First post
                            13/15
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA