Esempio n. 1
0
        public static int Main(string[] args)
        {
            MessageBox.Show("Please select the CSV file containing the brick orders. Click OK to show file browser.", "Mason");
            string csvFilePath = Program.GetFilePathOfCSV();

            int brickEditionNumber = Program.ShowDialog(
                "Please enter a starting index for the brick edition numbers, e.g. 106",
                "Brick starting number"
                );

            List <BrickInscription> inscriptions = BrickInscription.ParseBrickInscriptionsFromCSV(csvFilePath, brickEditionNumber);

            BrickInscription.PrintInscriptionsToDXFFile(inscriptions);

            MessageBox.Show("Brick inscription generation complete. You can find the brick inscriptions in the following folder: " + Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\generatedDXF", "Mason");

            return(0);
        }