Skip to content

[BUG] duplicated primer procedure #93

@aavogt

Description

@aavogt

Describe the bug
The cura profile draws a doubled back line along the x axis, then fullcontrol adds another one along the y axis. I prefer cura's because I haven't had problems with cura, which leaves a gap between the primer line and the print. Moreover, the generated gcode doesn't repeat identical coordinates, so I can't just comment out the PRIMER PROCEDURE to get rid of it -- I also have to move the Y48.0.

To Reproduce
Steps to reproduce the behavior:

myprinter = fc.GcodeControls(printer_name="Cura/Creality Ender-5 S1")
with open("bug.gcode", "w") as file:
    file.write(fc.transform([fc.Point(x=100,y=100,z=100)], 'gcode', myprinter))

This shows the two primer directions, and how the second one is connected to my print:

Screenshot from 2024-06-24 23-24-33

If I leave out the printer_name, I get this:

Screenshot from 2024-06-24 23-38-46

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions