Re: different ways to emboss braille

Sure, assign it as a default shape such as a small cube or cylinder and programatically generate the necessary code for it. The more common scripting language for 3D printers is [G-Code], it might take a bit to figure out the code and handle edge cases like function compability across different printers and such, but it shouldn't be too difficult to put something together, hopefully.

Interestingly there's already an openscad script [here] for converting text into braille STL models for printing, although it would still need to be converted via a slicer. I've already been mulling over putting together a program for streamlining the batch conversion of text/images into braille stl models for printing, with an accessible slicer or something like it down the line.

Also for the curious, here's an example of what generated g-code script looks like for a small 2mm cube:

M140 S60.000000
M109 T0 S250.000000
T0
M190 S60.000000
;Sliced at: Sun 08-04-2018 01:56:54
;Basic settings: Layer height: 0.2 Walls: 1 Fill: 30
;Print time: #P_TIME#
;Filament used: #F_AMNT#m #F_WGHT#g
;Filament cost: #F_COST#
;M190 S60 ;Uncomment to add your own bed temperature line
;M109 S250 ;Uncomment to add your own temperature line
G21        ;metric values
G90        ;absolute positioning
M82        ;set extruder to absolute mode
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 F9000 ;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 F9000
;Put printing message on LCD screen
M117 Printing...

;Layer count: 10
;LAYER:0
M107
G0 F9000 X104.25 Y104.25 Z0.30
;TYPE:SKIRT
G1 F1200 X115.75 Y104.25 E0.71717
G1 X115.75 Y115.75 E1.43434
G1 X104.25 Y115.75 E2.15151
G1 X104.25 Y104.25 E2.86869
G0 F9000 X104.75 Y104.75
G1 F1200 X115.25 Y104.75 E3.52350
G1 X115.25 Y115.25 E4.17830
G1 X104.75 Y115.25 E4.83311
G1 X104.75 Y104.75 E5.48792
G0 F9000 X105.25 Y105.25
G1 F1200 X114.75 Y105.25 E6.08037
G1 X114.75 Y114.75 E6.67281
G1 X105.25 Y114.75 E7.26526
G1 X105.25 Y105.25 E7.85771
G0 F9000 X105.75 Y105.75
G1 F1200 X114.25 Y105.75 E8.38779
G1 X114.25 Y114.25 E8.91787
G1 X105.75 Y114.25 E9.44796
G1 X105.75 Y105.75 E9.97804
G1 F2400 E5.47804
G0 F9000 X109.75 Y109.75
;TYPE:WALL-INNER
G1 F2400 E9.97804
G1 F1200 X110.25 Y109.75 E10.00922
G1 X110.25 Y110.25 E10.04040
G1 X109.75 Y110.25 E10.07158
G1 X109.75 Y109.75 E10.10277
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F1200 X110.75 Y109.25 E10.19631
G1 X110.75 Y110.75 E10.28985
G1 X109.25 Y110.75 E10.38340
G1 X109.25 Y109.25 E10.47694
;LAYER:1
M106 S255
G0 F9000 X109.75 Y109.75 Z0.50
;TYPE:WALL-INNER
G1 F540 X110.25 Y109.75 E10.49773
G1 X110.25 Y110.25 E10.51852
G1 X109.75 Y110.25 E10.53931
G1 X109.75 Y109.75 E10.56009
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F540 X110.75 Y109.25 E10.62246
G1 X110.75 Y110.75 E10.68482
G1 X109.25 Y110.75 E10.74718
G1 X109.25 Y109.25 E10.80954
;LAYER:2
G0 F9000 X109.75 Y109.75 Z0.70
;TYPE:WALL-INNER
G1 F540 X110.25 Y109.75 E10.83033
G1 X110.25 Y110.25 E10.85112
G1 X109.75 Y110.25 E10.87191
G1 X109.75 Y109.75 E10.89269
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F540 X110.75 Y109.25 E10.95506
G1 X110.75 Y110.75 E11.01742
G1 X109.25 Y110.75 E11.07978
G1 X109.25 Y109.25 E11.14215
;LAYER:3
G0 F9000 X109.75 Y109.75 Z0.90
;TYPE:WALL-INNER
G1 F540 X110.25 Y109.75 E11.16293
G1 X110.25 Y110.25 E11.18372
G1 X109.75 Y110.25 E11.20451
G1 X109.75 Y109.75 E11.22530
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F540 X110.75 Y109.25 E11.28766
G1 X110.75 Y110.75 E11.35002
G1 X109.25 Y110.75 E11.41238
G1 X109.25 Y109.25 E11.47475
;LAYER:4
G0 F9000 X109.75 Y109.75 Z1.10
;TYPE:WALL-INNER
G1 F600 X110.25 Y109.75 E11.49553
G1 X110.25 Y110.25 E11.51632
G1 X109.75 Y110.25 E11.53711
G1 X109.75 Y109.75 E11.55790
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F600 X110.75 Y109.25 E11.62026
G1 X110.75 Y110.75 E11.68262
G1 X109.25 Y110.75 E11.74499
G1 X109.25 Y109.25 E11.80735
;LAYER:5
G0 F9000 X109.75 Y109.75 Z1.30
;TYPE:WALL-INNER
G1 F600 X110.25 Y109.75 E11.82814
G1 X110.25 Y110.25 E11.84892
G1 X109.75 Y110.25 E11.86971
G1 X109.75 Y109.75 E11.89050
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F600 X110.75 Y109.25 E11.95286
G1 X110.75 Y110.75 E12.01522
G1 X109.25 Y110.75 E12.07759
G1 X109.25 Y109.25 E12.13995
;LAYER:6
G0 F9000 X109.75 Y109.75 Z1.50
;TYPE:WALL-INNER
G1 F600 X110.25 Y109.75 E12.16074
G1 X110.25 Y110.25 E12.18152
G1 X109.75 Y110.25 E12.20231
G1 X109.75 Y109.75 E12.22310
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F600 X110.75 Y109.25 E12.28546
G1 X110.75 Y110.75 E12.34783
G1 X109.25 Y110.75 E12.41019
G1 X109.25 Y109.25 E12.47255
;LAYER:7
G0 F9000 X109.75 Y109.75 Z1.70
;TYPE:WALL-INNER
G1 F600 X110.25 Y109.75 E12.49334
G1 X110.25 Y110.25 E12.51413
G1 X109.75 Y110.25 E12.53491
G1 X109.75 Y109.75 E12.55570
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F600 X110.75 Y109.25 E12.61806
G1 X110.75 Y110.75 E12.68043
G1 X109.25 Y110.75 E12.74279
G1 X109.25 Y109.25 E12.80515
;LAYER:8
G0 F9000 X109.75 Y109.75 Z1.90
;TYPE:WALL-INNER
G1 F600 X110.25 Y109.75 E12.82594
G1 X110.25 Y110.25 E12.84673
G1 X109.75 Y110.25 E12.86751
G1 X109.75 Y109.75 E12.88830
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F600 X110.75 Y109.25 E12.95067
G1 X110.75 Y110.75 E13.01303
G1 X109.25 Y110.75 E13.07539
G1 X109.25 Y109.25 E13.13775
;LAYER:9
G0 F9000 X109.75 Y109.75 Z2.10
;TYPE:WALL-INNER
G1 F600 X110.25 Y109.75 E13.15854
G1 X110.25 Y110.25 E13.17933
G1 X109.75 Y110.25 E13.20012
G1 X109.75 Y109.75 E13.22090
G0 F9000 X109.25 Y109.25
;TYPE:WALL-OUTER
G1 F600 X110.75 Y109.25 E13.28327
G1 X110.75 Y110.75 E13.34563
G1 X109.25 Y110.75 E13.40799
G1 X109.25 Y109.25 E13.47035
M107
G1 F2400 E8.97035
G0 F9000 X109.25 Y109.25 Z7.00
;End GCode
M104 S0                     ;extruder heater off
M140 S0                     ;heated bed heater off (if you have it)
G91                                    ;relative positioning
G1 E-1 F300                            ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y0                              ;move X/Y to min endstops, so the head is out of the way
M84                         ;steppers off
G90                         ;absolute positioning
-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Angel via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : joshknnd1982 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : techmaster20 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : joshknnd1982 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : magurp244 via Audiogames-reflector

Reply via email to