示例#1
0
        public void Bunny_Printrbot()
        {
            // Arrange
            var machine = MachineProfilesFactoryFFF.Printrbot.CreatePlus();
            var part    = new PartProfileFFF()
            {
                GenerateSupport = false,
            };

            PartProfileFactoryFFF.ApplyMaxMachineSpeeds(part, machine);
            part.CarefulExtrudeSpeed = 20 * 60;

            var print = TestRunnerFactoryFFF.CreateTestRunner("Bunny.Printrbot", new PrintProfileFFF()
            {
                Machine = machine, Part = part,
            });

            // Act
            print.GenerateFile();

            // Assert
            print.CompareResults();
        }
示例#2
0
        public void Benchy_Monoprice()
        {
            // Arrange
            var machine = MachineProfilesFactoryFFF.Monoprice.CreateSelectMiniV2();
            var part    = new PartProfileFFF()
            {
                GenerateSupport = false,
            };

            PartProfileFactoryFFF.ApplyMaxMachineSpeeds(part, machine);
            part.CarefulExtrudeSpeed = 20 * 60;

            var print = TestRunnerFactoryFFF.CreateTestRunner("Benchy.Monoprice", new PrintProfileFFF()
            {
                Part = part, Machine = machine
            });

            // Act
            print.GenerateFile();

            // Assert
            print.CompareResults();
        }
示例#3
0
        public void Frustum_RepRap()
        {
            // Arrange
            var machine = MachineProfilesFactoryFFF.RepRap.CreateGeneric();
            var part    = new PartProfileFFF()
            {
                GenerateSupport = false,
            };

            part.CarefulExtrudeSpeed = 20 * 60;

            PartProfileFactoryFFF.ApplyMaxMachineSpeeds(part, machine);

            var print = TestRunnerFactoryFFF.CreateTestRunner("Frustum.RepRap", new PrintProfileFFF()
            {
                Machine = machine, Part = part
            });

            // Act
            print.GenerateFile();

            // Assert
            print.CompareResults();
        }