Stefan Schuermans commited on 2013-01-28 21:55:18
Showing 1 changed files, with 3 additions and 0 deletions.
... | ... |
@@ -130,6 +130,7 @@ bool CmdParser::procCmd_cut_inside(std::istream &strm) |
130 | 130 |
// convert polygons back to layer (containing paths) |
131 | 131 |
Layer newLayer; |
132 | 132 |
newPolys.writeToLayer(newLayer); |
133 |
+ newLayer.improvePaths(mSettings.precision); |
|
133 | 134 |
|
134 | 135 |
// convert layer to G-code |
135 | 136 |
newLayer.toGCode(mSettings, mGCode); |
... | ... |
@@ -161,6 +162,7 @@ bool CmdParser::procCmd_cut_outside(std::istream &strm) |
161 | 162 |
// convert polygons back to layer (containing paths) |
162 | 163 |
Layer newLayer; |
163 | 164 |
newPolys.writeToLayer(newLayer); |
165 |
+ newLayer.improvePaths(mSettings.precision); |
|
164 | 166 |
|
165 | 167 |
// convert layer to G-code |
166 | 168 |
newLayer.toGCode(mSettings, mGCode); |
... | ... |
@@ -192,6 +194,7 @@ bool CmdParser::procCmd_cut_pocket(std::istream &strm) |
192 | 194 |
// convert polygons back to layer (containing paths) |
193 | 195 |
Layer newLayer; |
194 | 196 |
newPolys.writeToLayer(newLayer); |
197 |
+ newLayer.improvePaths(mSettings.precision); |
|
195 | 198 |
|
196 | 199 |
// convert layer to G-code |
197 | 200 |
newLayer.toGCode(mSettings, mGCode); |
198 | 201 |