fr3ak2402 / GalaxySlicer-Profile-Library

Library for all profiles of the GalaxySlicer for the profile manager
MIT License
8 stars 0 forks source link

Gcode fails on Craftbot flow without prepending a 0. prior to moves or extrudes #15

Open ErrorindriveC opened 10 months ago

ErrorindriveC commented 10 months ago

GalaxySlicer Version

1.0.0beta

OS version

Windows 10

OS architecture

x64

Additional system information

No response

Printer

Craftbot Flow IDEX

How to reproduce

The title is a little vague however an example: G1 Z.21 F6000 (Would fail) G1 Z0.21 F6000 (Would work just fine) This also includes X, Y, Z and E moves where the number is less than 1. Is there a way to prepend the 0. to numbers smaller than 1 rather than using an editor and replacing all of them.

On Prusa Slicer i us the substitution option to modify the Gcode. see attached file.

2023-11-17 16_30_24-_Unbenannt - PrusaSlicer-2 7 0-alpha1 basiert auf Slic3r

Actual results

Syntax Error

Expected results

No Syntax Error

Project file & Debug log uploads

Test.zip GalaxySlicer.zip

Checklist of files to include

ErrorindriveC commented 10 months ago

if it helps i have here a Prusa Profile that works for Craftbot Flow Printers Craftbot-Prusaslicer-main.zip its from @polishx3

fr3ak2402 commented 9 months ago

@ErrorindriveC

Thanks for the tip. I will adjust it accordingly. I will take a look at the profile and record the improvement.

I will create a post-processor for this problem, which will convert the numbers to fit after slicing and Gcode generation. From G1 Z.21 F6000 -> G1 Z0.21 F6000

ErrorindriveC commented 3 months ago

Hi! I hope you are donig well. Is there any progress in this case? If you could give me some advice or a sample file in python, how it should look like, i could try me self.
Thanks for your help