예제 #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 Cube_Prusa()
        {
            // Arrange
            var machine = MachineProfilesFactoryFFF.Prusa.Create_i3Mk3();
            var part    = new PartProfileFFF()
            {
                GenerateSupport = false,
                LayerHeightMM   = 0.3
            };

            part.CarefulExtrudeSpeed = 20 * 60;

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

            // Act
            print.GenerateFile();

            // Assert
            print.CompareResults();
        }
예제 #3
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();
        }
예제 #4
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();
        }