|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import { app } from "../../ApplicationServices/Application";
|
|
|
|
|
import { Board } from "../../DatabaseServices/Entity/Board";
|
|
|
|
|
import { PositioningClampSpace } from "../../DatabaseServices/Template/Positioning/PositioningClampSpace";
|
|
|
|
|
import { GetDeepestTemplate } from "../../DatabaseServices/Template/TempateUtils";
|
|
|
|
|
import { TemplateRecord } from "../../DatabaseServices/Template/TemplateRecord";
|
|
|
|
@ -45,6 +46,13 @@ export class DrawWineRack implements Command
|
|
|
|
|
wineRack.HParam.expr = space.Size.z;
|
|
|
|
|
|
|
|
|
|
await wineRack.UpdateTemplateTree();
|
|
|
|
|
|
|
|
|
|
let brs = wineRack.Objects.map(id => id.Object as Board);
|
|
|
|
|
let dcs = space.DrawCS;
|
|
|
|
|
for (let br of brs)
|
|
|
|
|
{
|
|
|
|
|
br.ApplyMatrix(dcs);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|