Tweak StartPage new file template descriptions and make arch template work with the BIM workbench
This commit is contained in:
@@ -53,5 +53,10 @@ match template_name:
|
||||
StartPage.postStart(False)
|
||||
case "architecture":
|
||||
FreeCADGui.runCommand('Std_New')
|
||||
FreeCADGui.activateWorkbench("ArchWorkbench")
|
||||
try:
|
||||
import BimCommands
|
||||
except Exception:
|
||||
FreeCADGui.activateWorkbench("ArchWorkbench")
|
||||
else:
|
||||
FreeCADGui.activateWorkbench("BIMWorkbench")
|
||||
StartPage.postStart(False)
|
||||
|
||||
@@ -42,15 +42,15 @@ T_NEWFILE = translate("StartPage", "New file")
|
||||
T_TEMPLATE_EMPTYFILE_NAME = translate("StartPage", "Empty File")
|
||||
T_TEMPLATE_EMPTYFILE_DESC = translate("StartPage", "Create an empty FreeCAD file")
|
||||
T_TEMPLATE_IMPORTFILE_NAME = translate("StartPage", "Import File")
|
||||
T_TEMPLATE_IMPORTFILE_DESC = translate("StartPage", "Work on an existing CAD or 3D model file")
|
||||
T_TEMPLATE_IMPORTFILE_DESC = translate("StartPage", "Work on an existing CAD file or 3D model")
|
||||
T_TEMPLATE_PARAMETRICPART_NAME = translate("StartPage", "Parametric Part")
|
||||
T_TEMPLATE_PARAMETRICPART_DESC = translate("StartPage", "Template for a part with the Part Design workbench")
|
||||
T_TEMPLATE_PARAMETRICPART_DESC = translate("StartPage", "Create a part with the Part Design workbench")
|
||||
T_TEMPLATE_CSGPART_NAME = translate("StartPage", "CSG Part")
|
||||
T_TEMPLATE_CSGPART_DESC = translate("StartPage", "Template for a part with the Part workbench")
|
||||
T_TEMPLATE_CSGPART_DESC = translate("StartPage", "Create a part with the Part workbench")
|
||||
T_TEMPLATE_2DDRAFT_NAME = translate("StartPage", "2D Draft")
|
||||
T_TEMPLATE_2DDRAFT_DESC = translate("StartPage", "Template for a 2D draft with the Draft workbench")
|
||||
T_TEMPLATE_ARCHITECTURE_NAME = translate("StartPage", "Architecture")
|
||||
T_TEMPLATE_ARCHITECTURE_DESC = translate("StartPage", "Template for a an architecture project")
|
||||
T_TEMPLATE_2DDRAFT_DESC = translate("StartPage", "Create a 2D draft with the Draft workbench")
|
||||
T_TEMPLATE_ARCHITECTURE_NAME = translate("StartPage", "BIM/Architecture")
|
||||
T_TEMPLATE_ARCHITECTURE_DESC = translate("StartPage", "Create an architecture project")
|
||||
T_RECENTFILES = translate("StartPage", "Recent files")
|
||||
T_TIP = translate("StartPage", "Tip")
|
||||
T_ADJUSTRECENT = translate("StartPage", "Adjust the number of recent files to be shown here in menu Edit -> Preferences -> General -> Size of recent file list")
|
||||
|
||||
Reference in New Issue
Block a user