Jyers / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
http://marlinfw.org
GNU General Public License v3.0
2.13k stars 386 forks source link

[BUG] in the latest Jyers firmware Layer height starts at 0 not 1 #1684

Open Geo112178 opened 2 years ago

Geo112178 commented 2 years ago

Hi i am running the latest firmware of Jyers E3V2-UBL-BLTouch-10x10-v4.2.2-v2.0.1.bin and i fount a bug i was printing with 2 colors and i told Cura to stop printing on layer 41 and it stopped at 40 and didnt understand why i thought i put the number in wrong but i didnt so i just hit continue and it was doing what the other color was supposed to do so i just stopped it. Today i was starting another print I realized that the Layer height started at 0 and not 1 i have it displayed on my screen. Now i know why from before why it stopped at 40 instead of 41 there must be a bug so please fix this issue thank you. <!--

Have you read Marlin's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/.github/code_of_conduct.md

Do you want to ask a question? Are you looking for support? Please don't post here. Instead use one of the following options:

Before filing an issue be sure to test the latest "bugfix" branch to see whether the issue is already addressed.

-->

Description

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Additional Information

Geo112178 commented 2 years ago

i was my fault i figured it out thank you

On Mon, Dec 13, 2021 at 11:38 AM tititopher68-dev @.***> wrote:

@Geo112178 https://github.com/Geo112178 Github sent me your response by email which you must have deleted afterwards. Let us consider Cura (4.10) for example, if you open the produced gcode with a text editor, you can observe that it is indeed the slicer which numbers the layers and that it starts with layer 0 (1st printed layer) and not 1... It remains to define, according to your choice, whether the operation should be done before the layer change or after...

Example (Cura) :

; Ender 3 Custom Start G-code G92 E0 ; Reset Extruder M280 P0 S160 ; BLTouch alarm release G4 P100 ; delay for BLTouch G28 ; home M420 S1 G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line G92 E0 ; Reset Extruder G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish G92 E0 G92 E0 G1 F2700 E-5 ;LAYER_COUNT:260 ;LAYER:0 M107 G0 F6000 X108.673 Y69.044 Z0.2 ;TYPE:SKIRT G1 F2700 E0 G3 X111.339 Y66.194 I7.684 J4.516 E0.13670 F1500 G3 X115.427 Y64.680 I5.373 J8.231 E0.28953

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Jyers/Marlin/issues/1684#issuecomment-992660828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4WZPDUOA2FV6ESRVYPU63UQYOQHANCNFSM5J5IHWFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.