public MachineTask(WorkPath shape, KnifeToolInstance drill) { Tool = drill; Path = shape; Layout = new PathLayout(); CompleteOrByPath = true; }
public void UpdateKnifeTool(KnifeToolInstance tool) { Matrix4 translate = GlobalInstance.MatrixBuilder.MakeTranslate(tool.Position - tool.Direction * tool.ZSafeHeight); VisualNode.SetTransform(translate); }