3DWriter icon indicating copy to clipboard operation
3DWriter copied to clipboard

Feature suggestion: option to manually set offset

Open prostolyubo opened this issue 1 year ago • 2 comments

It is quite cumbersome to measure exactly where I want my text to go on a sheet of paper. To make it easy, I've written a small portion of GCode that allows me to prepare text in 3DWriter without any offsets, then while printing it prompts user to position the head in a desired origin (in my case, bottom left corner of a small piece of paper that I use to label things) and continues print from there.

M18 ;Disable Steppers
M300 S440 P200 ;Beep
M0 Set offset and click
M17 ;Enable Steppers
M428 ;Offset HERE
G92 X0 Y0 Z0 ;Set temporary Workspace Offset
;Code HERE

;CODE ABOVE ^^^^
G92.1 ;Restore Workspace Offset

I only set lowered pen position to -0.1mm so I get some pressure (my pen holder has a spring so it won't damage anything).

I wanted to do a PR and add a toggle on the website, but this is not HTML version and I can't find a repository for it. Are you @boy1dr open to contributions to the .io page version of the program? I really like it and would love to add more features.

prostolyubo avatar Mar 22 '23 20:03 prostolyubo