Ejemplo n.º 1
0
        private void modelAxesPresetComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            ModelAxesPreset modelAxesPreset = (ModelAxesPreset)modelAxesPresetComboBox.SelectedItem;

            leftAxisComboBox.SelectedIndex = (Int32)modelAxesPreset.LeftAxis;
            upAxisComboBox.SelectedIndex   = (Int32)modelAxesPreset.UpAxis;
        }
Ejemplo n.º 2
0
        private static void createModelAxesPresets()
        {
            ModelAxesPresets = new List<ModelAxesPreset>();

            ModelAxesPreset modelAxesPreset = new ModelAxesPreset();
            modelAxesPreset.Name = "Default";
            modelAxesPreset.UpAxis = Axes.Y;
            modelAxesPreset.LeftAxis = Axes.X;
            ModelAxesPresets.Add(modelAxesPreset);

            modelAxesPreset = new ModelAxesPreset();
            modelAxesPreset.Name = "Autodesk® 3ds Max";
            modelAxesPreset.UpAxis = Axes.Z;
            modelAxesPreset.LeftAxis = Axes.Y;
            ModelAxesPresets.Add(modelAxesPreset);
        }
Ejemplo n.º 3
0
        private static void createModelAxesPresets()
        {
            modelAxesPresets = new List <ModelAxesPreset>();

            ModelAxesPreset modelAxesPreset = new ModelAxesPreset();

            modelAxesPreset.Name     = "Default";
            modelAxesPreset.UpAxis   = Axes.Y;
            modelAxesPreset.LeftAxis = Axes.X;
            modelAxesPresets.Add(modelAxesPreset);

            modelAxesPreset          = new ModelAxesPreset();
            modelAxesPreset.Name     = "Autodesk® 3ds Max";
            modelAxesPreset.UpAxis   = Axes.Z;
            modelAxesPreset.LeftAxis = Axes.Y;
            modelAxesPresets.Add(modelAxesPreset);
        }