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

    Only probe where the part will be printed

    Scheduled Pinned Locked Moved
    Gcode meta commands
    5
    26
    2.3k
    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.
    • Proschi3Dundefined
      Proschi3D @danym21
      last edited by

      @danym21 Do you also have start codes for other slicers?

      Love my Duet 3 Mini.
      https://www.instagram.com/proschi3d
      https://youtube.com/@proschi3d
      https://www.proschi3d.de

      danym21undefined 1 Reply Last reply Reply Quote 0
      • danym21undefined
        danym21 @Proschi3D
        last edited by

        @Proschi78
        no, sorry
        but on S3d maybe have a look to this variables:
        I do not know what is in, but you can test with a smal object and check then the gcode file

        [build_size_x]
        [build_size_y]
        [build_size_z]
        ....
        [next_position_x]
        [next_position_y]
        [next_position_z] 
        

        they are mentioned here:
        https://community.ultimaker.com/topic/11328-simplify3d-hidden-undocumented-placeholders-for-post-processing-scripts/

        Proschi3Dundefined 1 Reply Last reply Reply Quote 1
        • Proschi3Dundefined
          Proschi3D @danym21
          last edited by

          @danym21 thanks I'll test that tomorrow

          Love my Duet 3 Mini.
          https://www.instagram.com/proschi3d
          https://youtube.com/@proschi3d
          https://www.proschi3d.de

          1 Reply Last reply Reply Quote 0
          • Proschi3Dundefined
            Proschi3D @danym21
            last edited by Proschi3D

            @danym21 said in Only probe where the part will be printed:

            @Proschi78
            start G-Code:

            G90 ; use absolute coordinates
            ;M83  ; extruder relative mode
            ;BED_MESH_CALIBRATE AREA_START={first_layer_print_min[0]},{first_layer_print_min[1]} AREA_END={first_layer_print_max[0]},{first_layer_print_max[1]}
            ;MINX:{first_layer_print_min[0]}
            ;MINY:{first_layer_print_min[1]}
            ;MAXX:{first_layer_print_max[0]}
            ;MAXY:{first_layer_print_max[1]}
            M557 X{first_layer_print_min[0]}:{first_layer_print_max[0]} Y{first_layer_print_min[1]}:{first_layer_print_max[1]}
            M82 ; absolute extrusion mode
            M104 S140 T0
            M140 S[first_layer_bed_temperature] ; set bed temp
            M190 S[first_layer_bed_temperature] ; wait for bed temp
            G32 ; home all
            G1 X-14 Y-10 F10000
            ; Reset speed and extrusion rates
            M200 D0 ; disable volumetric e
            M220 S100 ; reset speed
            M221 S100 D0 ; reset extrusion rate
            M109 S{first_layer_temperature[initial_extruder]+extruder_temperature_offset[initial_extruder]} ; wait for extruder temp
            G92 E0.0
            
            ;G1 X150.0 E20  F1000.0 ; intro line
            G1 E20  F1000.0 ; intro line
            G1 X0.0 Y0.0 Z0.1 F1000.0 ; go outside print area
            ;G1 X5 Y0
            G92 E0.0
            G1 X2 Y2 Z0.2 E0 F18000 ; new
            G1 X60 Y2 E9.0 F1800 ;intro Line
            ;G1 X200.0 E30 F500 ; second Part intro Line
            G92 E0.0
            G1 Z5 E-{retract_length[0]} F{retract_speed *60}
            G1 X{first_layer_print_min[0]} Y{first_layer_print_min[1]} Z{first_layer_height} F30000
            G1 E{retract_length[0]} F{retract_speed*60}
            G92 E0.0
            
            

            I do not use a mesh.g this does not exists on my system
            my bed.g:

            ; bed.g
            ; called to perform automatic bed compensation via G32
            ;
            ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun Feb 09 2020 01:08:02 GMT+0100 (Mitteleuropäische Normalzeit)
            M561 ; clear any bed transform
            G4 P100
            G28 ; home
            G0 Z10 F4200
            
            G0 F60000
            G30 P0 X5 Y155 Z-99999						;Orbiter
            G30 P1 X302 Y155 Z-99999 S2					;Orbiter
            G30 P0 X5 Y155 Z-99999						;Orbiter
            G30 P1 X302 Y155 Z-99999 S2					;Orbiter
            G91 										;Relative positioning
            G1 Z5 F1500 								;Raise Z 5mm
            G90 										;Absolute positioning
            
            G0 X45 Y-5 F60000
            G29 										;Probe the heatbed and generate heightmap
            
            G91 										;Relative positioning
            G1 Z5 F1500 								;Raise Z 5mm
            G90 										;Absolute positioning
            
            G4 P100
            G0 X0 Y0 F60000 						;Go to Parking Position
            
            

            some settings in config.g that maybe relevant for:

            ...
            M671 X-52:377 Y155:155 S2.5 					   ; leadscrews at left (connected to Z) and right
            ...
            M557 X10:300 Y10:300 P6:6; S40                     ; define mesh grid ( the normal full size mesh config)
            

            what can I do with this start code so that it is probing in mesh like A5 in normal mesh?
            Best off five ?

            Love my Duet 3 Mini.
            https://www.instagram.com/proschi3d
            https://youtube.com/@proschi3d
            https://www.proschi3d.de

            danym21undefined 1 Reply Last reply Reply Quote 0
            • danym21undefined
              danym21 @Proschi3D
              last edited by

              @Proschi78 said in Only probe where the part will be printed:

              ke A5 in no

              the A5 needs to be in the config.g where you configure the probe type
              look for M558
              https://docs.duet3d.com/User_manual/Reference/Gcodes#m558-set-z-probe-type

              Proschi3Dundefined 1 Reply Last reply Reply Quote 0
              • Proschi3Dundefined
                Proschi3D @danym21
                last edited by Proschi3D

                @danym21
                Hello,
                I know that and I also have it in the config.g
                but if I start a print and it only creates the mesh where the printed part is, then it only runs once in z

                M558 P1 C"io3.in" H5 A5 S0.009 F150 T6000                           ; set Z probe type to unmodulated and the dive height + speeds
                G31 P500 X0 Y0 Z1.730; set Z probe trigger value, offset and trigger height
                M557 X30:330 Y-3:210 P9         
                

                Love my Duet 3 Mini.
                https://www.instagram.com/proschi3d
                https://youtube.com/@proschi3d
                https://www.proschi3d.de

                danym21undefined 1 Reply Last reply Reply Quote 0
                • danym21undefined
                  danym21 @Proschi3D
                  last edited by

                  @Proschi78
                  mhm, this makes no sense for me, do you have a M558 on some other positions? like in the the bed.g or config-override.g?

                  I will test this when I have time for, I normaly use only one probe per point.

                  1 Reply Last reply Reply Quote 0
                  • mherundefined
                    mher
                    last edited by

                    Just want to share the solution I made for this a couple of months ago (posted here)
                    as well.

                    It works with PrusaSlicer/SuperSlicer, Cura and Ideamaker. Instructions are included as well.
                    https://github.com/MaikoHermans/RRF-PAM

                    1 Reply Last reply Reply Quote 2
                    • Proschi3Dundefined
                      Proschi3D
                      last edited by

                      Has anyone managed to do it with simplify v5?

                      Love my Duet 3 Mini.
                      https://www.instagram.com/proschi3d
                      https://youtube.com/@proschi3d
                      https://www.proschi3d.de

                      IndeX4Dundefined 1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined jay_s_uk referenced this topic
                      • System referenced this topic
                      • Phaedruxundefined Phaedrux referenced this topic
                      • Phaedruxundefined Phaedrux pinned this topic
                      • Phaedruxundefined Phaedrux moved this topic from Tuning and tweaking
                      • IndeX4Dundefined
                        IndeX4D @Proschi3D
                        last edited by

                        @Proschi78

                        I would like to know the same 🙂

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined Phaedrux referenced this topic
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA