TorchTableToolChainTesting: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
== simple test part == | == simple test part == | ||
[[file:164_plate.png]] | [[file:164_plate.png|400px]] | ||
rectangular outline in escad: | |||
<pre> | |||
/* 164_plate.escad */ | |||
p164_wd = 13.5; | |||
p164_ln = 30.32; | |||
square([p164_wd, p164_ln]); | |||
</pre> | |||
run implicitCAD's extopenscad program | |||
<pre> | |||
extopenscad 164_plate.escad out.svg | |||
</pre> | |||
producing | |||
<pre> | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" | |||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"><g stroke="rgb(0,0,255)" stroke-width="1" fill="none"><polyline points="0.0e0,3.032e1 1.35e1,3.032e1 1.35e1,0.0e0 0.0e0,0.0e0 0.0e0,3.032e1 " /></g></svg> | |||
</pre> |
Revision as of 23:36, 2 December 2012
Tool chain experiments for Torch Table programming
Initial tests ChuckH 22:52, 2 December 2012 (CET)
- environment: Windows XP SP3 laptop
- software installation
- inkscape download inkscape 0.48.2, standard Windows exe installer to Program Files/Inkscape
- 'gcodetools download gcodetools v1.7 here and unpack into Inkscape subdirectory per instructions.
- implicitCAD
- Haskell Platform download installer here. Some Haskell packages are not too happy with Windows path name conventions, particularly spaces inside filenames. I installed at C:\Haskell_Platform instead of the default C:\Program Files\Haskell_Platform. However, this may not be necessary.
- download implicitCAD using cabal (see [instructions]), but it does not build properly. (Unfortunately I did not record exactly my sequence of steps here.)
- patch implicitCAD files to enable Windows install. File:ImplicitCADWindowsPatch0.docThis patch made it compile for me, at the cost of disabling PNG output (not necessary for our toolchain) and disabling file includes (probably painful; need workaround).
simple test part
rectangular outline in escad:
/* 164_plate.escad */ p164_wd = 13.5; p164_ln = 30.32; square([p164_wd, p164_ln]);
run implicitCAD's extopenscad program
extopenscad 164_plate.escad out.svg
producing
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"><g stroke="rgb(0,0,255)" stroke-width="1" fill="none"><polyline points="0.0e0,3.032e1 1.35e1,3.032e1 1.35e1,0.0e0 0.0e0,0.0e0 0.0e0,3.032e1 " /></g></svg>