prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.68k stars 1.93k forks source link

Toolpath outside the print area in Z with with 210mm height 3d models #3730

Open pilattebe opened 4 years ago

pilattebe commented 4 years ago

Version

2.1.1 (slicing for MK3 with 0.15 layer height)

Behavior

It doesn't slice because although the model is 21cm heigh and the layer height is .15, since the first layer height is 0.2, it makes 1399 layer at 0.15 and 1 layer at 0.2, it total, that is 21.05cm.

Screen Shot 2020-02-27 at 20 54 52 Screen Shot 2020-02-27 at 20 55 26

So I thought OK, I will make my layer height 0.1499642602, and guess what ! It WORKED !

Screen Shot 2020-02-27 at 21 06 47 Screen Shot 2020-02-27 at 21 06 39
bubnikv commented 4 years ago

How about the Z-hop to move away from the print at the end of the print? I suppose the Z-hop will not fit into your Z space.

čt 27. 2. 2020 v 21:13 odesílatel Ben notifications@github.com napsal:

Version

2.1.1 (slicing for MK3 with 0.15 layer height) Behavior

  • Toolpath outside the print area (in the Z axis) when the model fits in Z
  • Steps needed to reproduce the problem
    • Make a model that is 21cm heigh
    • Slice it with 0.2 first layer height, 0.15 layer height
  • Expected Results: It slices
  • Actual Results: It doesn't slice (Toolpath outside the print area)
    • Screenshots from PrusaSlicer preview are preferred

It doesn't slice because although the model is 21cm heigh and the layer height is .15, since the first layer height is 0.2, it makes 1399 layer at 0.15 and 1 layer at 0.2, it total, that is 21.05cm.

[image: Screen Shot 2020-02-27 at 20 54 52] https://user-images.githubusercontent.com/34147102/75481497-6d820400-59a3-11ea-939a-26bacba3f6f9.png

[image: Screen Shot 2020-02-27 at 20 55 26] https://user-images.githubusercontent.com/34147102/75481537-81c60100-59a3-11ea-9cd5-b0a3073d440e.png

So I thought OK, I will make my layer height 0.1499642602, and guess what ! It WORKED !

[image: Screen Shot 2020-02-27 at 21 06 47] https://user-images.githubusercontent.com/34147102/75482465-314fa300-59a5-11ea-8860-0e8ce665f1f0.png

[image: Screen Shot 2020-02-27 at 21 06 39] https://user-images.githubusercontent.com/34147102/75482471-33196680-59a5-11ea-9fc6-006421247ac3.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/3730?email_source=notifications&email_token=ABMPSIYYOHU3GFXYBZXMJM3RFANH5A5CNFSM4K5COQA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IQ5CXGA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPSI2EM6YRFTZY5CHN5WTRFANH5ANCNFSM4K5COQAQ .

pilattebe commented 4 years ago

It just won't do the hop, the hop is conditional and only done if possible.

bubnikv commented 4 years ago

It just won't do the hop, the hop is conditional and only done if possible.

I am not talking about the final lift of the print head, but about the Z-hop between extrusions on the same layer.

pilattebe commented 4 years ago

Great question, the only thing I can tell you is that it printed ok.

On Tue, Mar 3, 2020, 08:40 Vojtěch Bubník notifications@github.com wrote:

It just won't do the hop, the hop is conditional and only done if possible.

I am not talking about the final lift of the print head, but about the Z-hop between extrusions on the same layer.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/3730?email_source=notifications&email_token=AIEQWHXJBDZPATTIVRESP63RFSX6LA5CNFSM4K5COQA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENSNNZY#issuecomment-593811175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIEQWHRT35ABUGXXDUUWO6DRFSX6LANCNFSM4K5COQAQ .

pilattebe commented 4 years ago

@bubnikv Found why !

Screen Shot 2020-03-15 at 00 10 19
bubnikv commented 4 years ago

so is your problem solved?

pilattebe commented 4 years ago

No, I only answered your question from 12 days ago. The problem in the first post was that the last layer of a 21cm object has 50% chance of being outside the print area.

bubnikv commented 4 years ago

so it will work for you if you increase the build volume maximum Z to 21cm plus 0.1mm?

pilattebe commented 4 years ago

Yes, it slices ! (Haven't tried printing this though)

pilattebe commented 4 years ago

Maybe it should compute the last layer height to arrive at the right total height ? Maybe it's not a real issue and should be closed, I don't know. But it took me a while to find what the issue was.

bubnikv commented 4 years ago

this is an everyday's nemesis of somebody working with floating point arithmetics. We may add an epsilon to the max print height to avoid these issues.