BlinkenArea - GitList
Repositories
Blog
Wiki
dxfngc
Code
Commits
Branches
Tags
Search
Tree:
1030916
Branches
Tags
master
dxfngc
src
glinear.cpp
license CC-BY-SA --> GPL (more suitable for source code)
Stefan Schuermans
commited
1030916
at 2013-05-27 17:35:02
glinear.cpp
Blame
History
Raw
/* drawing (DXF) to G-code (NGC) converter * Copyright 2013 Stefan Schuermans <stefan@schuermans.info> * Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html */ #include <iostream> #include "gcmd.h" #include "glinear.h" #include "optdbl.h" /// virtual destructor GLinear::~GLinear() { } /// output G-code command to stream void GLinear::toStrm(std::ostream &strm) const { strm << "G1"; mX.toStrm(strm, " X"); mY.toStrm(strm, " Y"); mZ.toStrm(strm, " Z"); strm << std::endl; }