Hi, I need to create an app that transforms texts into GCodes. Example:
Can someone help me?
Thank you
Can someone help me?
Thank you
A GCode has nothing to do with objects, it is pure text.Yes I know. I have to write the codes, but I do not know how to transform a letter into an object and work with the points of that object.
;Print time: #P_TIME#
;Filament used: #F_AMNT#m #F_WGHT#g
;Filament cost: #F_COST#
;M190 S80 ;Uncomment to add your own bed temperature line
;M109 S220 ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F3000 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F3000
;Put printing message on LCD screen
M117 Printing...
;Layer count: 40
;LAYER:0
M107
G0 F3000 X95.98 Y95.23 Z0.20
;TYPE:SKIRT
G1 F1200 X96.82 Y94.44 E0.04788
G1 X97.69 Y93.68 E0.09582
G1 X98.58 Y92.95 E0.14377
G1 X99.50 Y92.25 E0.19170
G1 X100.44 Y91.58 E0.23965
G1 X101.40 Y90.94 E0.28763
G1 X102.38 Y90.34 E0.33555
G1 X103.38 Y89.77 E0.38343
...
Everybody in this thread has answered your initial question. It seems this is the question you should have asked from the very beginning.I need to find the coordinates of the points of the letters that were typed
How to ask a questionIf it were that easy, I would have done it