mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +01:00
Update README.md
This commit is contained in:
parent
4ae00e00fd
commit
13c1333ce8
@ -18,7 +18,7 @@ var slicer = new SLICER.Slicer();
|
|||||||
|
|
||||||
slicer.setGeometry(geometry);
|
slicer.setGeometry(geometry);
|
||||||
slicer.onfinish = function (gCode) {
|
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);
|
slicer.slice(settings);
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user