mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-26 07:24:57 +01:00
Update README.md
This commit is contained in:
parent
a196f92329
commit
f1e6328f6f
@ -18,7 +18,7 @@ var slicer = new SLICER.Slicer();
|
||||
|
||||
slicer.setGeometry(geometry);
|
||||
slicer.onfinish = function (gCode) {
|
||||
document.getElementById('gcode').innerHTML = gCode.replace(/(?:\r\n|\r|\n)/g, '<br />');
|
||||
document.write(gCode.replace(/(?:\r\n|\r|\n)/g, '<br />'));
|
||||
};
|
||||
slicer.slice(settings);
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user