internal AdvancedPreferences(Managers.UserProfileInfo userProfile, PerformanceSettings performanceSettings) { this.ModelPreferences = new AdvancedModelPreferences(userProfile.Settings_PrintJob_MirrorObjects, userProfile.Settings_PrintJob_FirstSlice_MinAmountOfPixels); this.SupportEnginePreferences = new AdvancedSupportEnginePreferences(userProfile.SupportEngine_Basement_Thickness, userProfile.SupportEngine_Penetration_Depth); this.PerformancePreferences = new AdvancedPerformancePreferences(performanceSettings.PrintJobGenerationMultiThreading); this.LicensesPreferences = new AdvancedLicensesPreferences(userProfile.LicenseServer_ServerName); }
internal DefaultPreferences(Managers.UserProfileInfo userProfile) { this.UserInterface = new UserInterfacePreferences(userProfile.Settings_Studio_UseLargeToolbarIcons, userProfile.Settings_Skip_Welcome_Screen_On_Next_Start, userProfile.Settings_Use_Support_Basement, userProfile.Settings_Lift_Model_OnSupport); this.SoftwareOptions = new SoftwareOptionsPreferences(userProfile.Settings_Studio_AutoUpdateNotification); this.SelectionOptions = new SelectionOptionsPreferences(userProfile.SelectionOptions_Enable_Annotations, userProfile.SelectionOptions_Enable_XYZ_Axis); }