add cam inner first routing option. add engine sample persistence
This commit is contained in:
parent
0b0f24fb16
commit
01b1349127
7 changed files with 23 additions and 3 deletions
|
|
@ -126,6 +126,10 @@ class Engine {
|
|||
return this;
|
||||
}
|
||||
|
||||
setTopOffset(offset = 0) {
|
||||
this.topOffset = offset;
|
||||
}
|
||||
|
||||
setOrigin(x, y, z) {
|
||||
this.settings.origin = { x, y, z };
|
||||
return this;
|
||||
|
|
@ -152,6 +156,7 @@ class Engine {
|
|||
}
|
||||
|
||||
slice() {
|
||||
this.widget.setTopZ(this.settings.stock.z - (this.topOffset || 0));
|
||||
return new Promise((accept, reject) => {
|
||||
client.clear();
|
||||
client.sync([this.widget]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue