Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GXplugin script for a two-nozzle printer. #3

Open
KeltE opened this issue Apr 8, 2021 · 8 comments
Open

GXplugin script for a two-nozzle printer. #3

KeltE opened this issue Apr 8, 2021 · 8 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@KeltE
Copy link

KeltE commented Apr 8, 2021

Hello!
Because on dual-nozzle printers, Cura adds the Gcode T0 command before it starts, and the printer recognizes it as an invalid code. Is it possible to make a script that checks before the start of Gcode T0 for existence and if necessary removes it? And would that be possible at all?
Many thanks! Egon

@ronoaldo
Copy link
Owner

Hi KeltE Did you already contributed a fix for this or you need help with the gcode manipulation?

@KeltE
Copy link
Author

KeltE commented Apr 20, 2021

Hello! Unfortunately, I do not have the appropriate skills. Then yes please help. I made a Flashforge dreamer NX for the Cura profile which is now part of Cura 4.9. And as a side project, I also made a profile concept for Flashforge Dreamer. As testing revealed, Cura adds the T0 command to the G-code of the two-tool printer before starting G-code.
The GXwriter plugin in your profile also works with other Flashforge printers, so the idea came that maybe it is possible to add a snippet of code that checks and, if necessary, removes the T0 command from the beginning of the program.

Flashforge Dreamer Gcode start With my profile.
;TIME:5212
;Filament used: 2.23152m, 0m
;Layer height: 0.1
;MINX:-14.113
;MINY:-22.05
;MINZ:0.3
;MAXX:22.023
;MAXY:22.05
;MAXZ:34.6
;Generated with Cura_SteamEngine 4.8.0
T0 (This is te problem line)
M82 ;absolute extrusion mode
;Start Gcode
G90 ;absolute positioning
M140 S60 T0 ;Heat bed up to first layer temperature
M104 S200 T0 ;Set nozzle temperature to first layer temperature
M107 ;start with the fan off
G90
G28
M132 X Y Z A B ;Load Offsets From EEPROM
G1 Z50.000 F420
G161 X Y F3300 ;Move Axes to Maximum
M7 T0
M6 T0
M651
M907 X100 Y100 Z40 A80 B80 ;Digital potentiometer value
M108 T0 ;Select Active Extruder
;Purge line
G1 X-110.00 Y-60.00 F4800
G1 Z0.3 F420
G1 X-110.00 Y60.00 E17,4 F1200
;Purge line end

Many thanks!

@ronoaldo
Copy link
Owner

The printer you have supports/uses the .gx file extension? If yes, I can try to detect this instruction when you select the .gx mode and drop that particular g-code.

@ronoaldo ronoaldo added the enhancement New feature or request label Apr 20, 2021
@ronoaldo
Copy link
Owner

Sorry @KeltE I see you already can work with the GXWriter and the other printers. That is great then! I can detect for this model and make it work. For me to test can you tell me how I add the printer in Cura? If you have the profiles I apreciate!

@KeltE
Copy link
Author

KeltE commented Apr 21, 2021

Since Dreamer NX is part of Cura 4.9 then I have other profiles made around it. Must copy the Dreamer profile on my github page to the Recourses directory. And your profile may no longer be visible under Cura 4.9 at Flashforge. I recommend changing the manufacturer's name a bit (for example Flashforge1).

@ronoaldo ronoaldo self-assigned this Aug 17, 2022
@ronoaldo ronoaldo added this to the Version 2.4 milestone Mar 21, 2023
@StevenVDurm
Copy link

Hey Ronoaldo,

I was wondering if there is already some progress on this

@ronoaldo
Copy link
Owner

Hi @StevenVDurm , unfortunately no. I had done some planning but could not start coding/testing as my Finder got a nozzle issue, so I'm avoiding doing changes before fixing that part.

@StevenVDurm
Copy link

Thank you for letting me know.
If you need to do some testing for the flashforge Dreamer, then I'll gladly try it out for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants