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

Python implementation #9

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

julianschill
Copy link

I reimplemented the script in Python. This could also be used for a small app or a Web App.
It is not thoroughly tested yet, but should work.

tempOffset = -20
tempSteps = 3 #If Steps = 1 "Fill Mode" is used

comment = "Ender3"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion, Call this input field "printerType" or "printerModel" to reflect the intent of this comment field

endTemp = startTemp+(tempSteps-1)*tempOffset # Don't change

#outputFilename = "esb.gcode"
outputFilename = "{}_{}-{}mm3_{}-{}C.gcode".format(comment,startFlow,endFlow,startTemp,endTemp)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion, include the "printerModel" name in the output file for those with multiple printers.

blobHeight = 10
extrusionAmount = 200

direction = -1 #1=front to back, -1=back to front

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default in the original source code is 1,
Suggestion, rename this field to "X-direction" to clarify the intent of this direction field

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

Successfully merging this pull request may close these issues.

2 participants