mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +01:00
Added default line to gcode
This commit is contained in:
parent
700b27e6e0
commit
da3ab2b0e6
@ -1 +1,2 @@
|
|||||||
export const PRECISION = 0.01;
|
export const PRECISION = 0.01;
|
||||||
|
export const VERSION = '0.0.18';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Vector2 } from 'three/src/math/Vector2.js';
|
import { Vector2 } from 'three/src/math/Vector2.js';
|
||||||
import { PRECISION } from '../../constants.js';
|
import { PRECISION, VERSION } from '../../constants.js';
|
||||||
|
|
||||||
export const MOVE = 'G';
|
export const MOVE = 'G';
|
||||||
export const M_COMMAND = 'M';
|
export const M_COMMAND = 'M';
|
||||||
@ -14,7 +14,7 @@ export default class {
|
|||||||
constructor(nozzleToFilamentRatio) {
|
constructor(nozzleToFilamentRatio) {
|
||||||
this._nozzleToFilamentRatio = nozzleToFilamentRatio;
|
this._nozzleToFilamentRatio = nozzleToFilamentRatio;
|
||||||
|
|
||||||
this._gcode = [];
|
this._gcode = [`; Generated with Doodle3D Slicer V${VERSION}`];
|
||||||
this._currentValues = {};
|
this._currentValues = {};
|
||||||
this._nozzlePosition = new Vector2(0, 0);
|
this._nozzlePosition = new Vector2(0, 0);
|
||||||
this._extruder = 0.0;
|
this._extruder = 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user