kopia lustrzana https://github.com/fellesverkstedet/gcc-laserpro-driver
Update worklog & README
rodzic
cd8bc330ff
commit
3cfa9cd1f8
26
README.md
26
README.md
|
@ -1,11 +1,33 @@
|
|||
|
||||
Open driver for GCC Spirit LS
|
||||
Open drivers for GCC Spirit LS
|
||||
===============================
|
||||
|
||||
The driver for Fabmodules can be found here:
|
||||
https://github.com/jonnor/fabmodules
|
||||
|
||||
Status
|
||||
--------
|
||||
Proof-of-concept in progress
|
||||
Can cut/engrave paths with correct proportions,
|
||||
including upload to printer.
|
||||
PPI, speed and power settings are respected.
|
||||
|
||||
TODO (prioritized):
|
||||
|
||||
- Fix laser being turned on before the first point (critical)
|
||||
- Fix output being flipped vertically (workaround: flip input image)
|
||||
- Verify job offset being applied correctly
|
||||
- Fix/enable relative job origin
|
||||
- Fix hardcoded scaling factor with correct logic
|
||||
- Add more workflows in Fabmodules (especially from .svg)
|
||||
- Add automated tests: .svg/.path -> .gcc
|
||||
- Document usage/setup
|
||||
- Upstream the support to fabmodules project
|
||||
|
||||
Later/maybe:
|
||||
|
||||
- Implement native raster support
|
||||
- Integrate support in Lasersaur app
|
||||
|
||||
|
||||
Worklog
|
||||
--------
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="New document 1">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.979899"
|
||||
inkscape:cx="185.20586"
|
||||
inkscape:cy="912.7023"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1278"
|
||||
inkscape:window-height="779"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="19"
|
||||
inkscape:window-maximized="0" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.00125;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985"
|
||||
width="217.14285"
|
||||
height="102.85714"
|
||||
x="51.42857"
|
||||
y="55.219326" />
|
||||
</g>
|
||||
</svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 1.8 KiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 56 KiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 26 KiB |
36
worklog.md
36
worklog.md
|
@ -2,16 +2,14 @@
|
|||
Monday 1 September 2014
|
||||
-------------------------
|
||||
|
||||
Done
|
||||
Set up and print a test pieces using existing driver from Adobe Illustrator
|
||||
Connect machine to Linux, see what device it shows up as. [/dev/usb/lp0](./data/udevinfo.txt)
|
||||
|
||||
* Set up and print a test pieces using existing driver from Adobe Illustrator
|
||||
* Connect machine to Linux, see what device it shows up as. [/dev/usb/lp0](./data/udevinfo.txt)
|
||||
Attempted to send .uni file directly to /dev/usb/lp0 using cat. No go, shows empty file on
|
||||
|
||||
* Attempted to send .uni file directly to /dev/usb/lp0 using cat. No go, shows empty file on
|
||||
|
||||
* Attempt to set up the laser with CUPS
|
||||
Shows up as "GCC EXPLORER"
|
||||
Used Generic driver settings, PCL 5.0. Set name to "laser" (expected by fabmodules)
|
||||
Attempt to set up the laser with CUPS.
|
||||
Shows up as "GCC EXPLORER".
|
||||
Used Generic driver settings, PCL 5.0. Set name to "laser" (expected by fabmodules).
|
||||
Used defaults for settings, except used manual area and set scaling to "crop".
|
||||
|
||||
Attempting to send an .uni file (produced with fabmodules) resulted in no activity
|
||||
|
@ -21,21 +19,15 @@ Attempting to send an .epi file results in a job/file showing up "01" (no name)
|
|||
Job started but showed PCL command error, then HPGL command error.
|
||||
After 10 seconds the head moved but the laser was seemingly not fireing
|
||||
|
||||
Sending the file from within fabmodules also works as expected
|
||||
Sending the file from within fabmodules also works as expected.
|
||||
|
||||
Added a skeleton GCC driver, based on the exiting one for Epilog
|
||||
|
||||
TODO:
|
||||
Modified and tweaked the driver to be able to cut paths.
|
||||
|
||||
* Add skeleton .gcc driver, based on existing epi
|
||||
* Modify driver according to spec
|
||||
* Test test test
|
||||
Dumped some output files from existing driver to figure out how pen intensity/speed/ppi was encoded.
|
||||
Using "FILE" as the port of the Windows printer, as found under Preferences on the printer setup,
|
||||
was a very easy way to do this.
|
||||
Turned out to be 4-character 0-padded ascii values, for each of the 16 pens.
|
||||
|
||||
* Video of a first cutting job
|
||||
* Add end-to-end automated tests.
|
||||
Input=dxf file, output=.gcc.
|
||||
Initially Simple geometric shapes
|
||||
|
||||
Later:
|
||||
|
||||
* Test fabmodules with existing driver+printer.
|
||||
Not possible, requires Universal or Epilog access?
|
||||
Recorded a short video of current status.
|
||||
|
|
Ładowanie…
Reference in New Issue