diff --git a/src/Mod/Start/StartPage/CMakeLists.txt b/src/Mod/Start/StartPage/CMakeLists.txt index 7a798c98e4..b4233676a9 100644 --- a/src/Mod/Start/StartPage/CMakeLists.txt +++ b/src/Mod/Start/StartPage/CMakeLists.txt @@ -26,6 +26,9 @@ SET(StartPage_DATA web.png blank.png complete.jpg + Ship.py + Ship.png + ShipExample.png ) INSTALL(FILES ${StartPage_SRCS} diff --git a/src/Mod/Start/StartPage/Makefile.am b/src/Mod/Start/StartPage/Makefile.am index 57ffd74ee3..c23b289a92 100644 --- a/src/Mod/Start/StartPage/Makefile.am +++ b/src/Mod/Start/StartPage/Makefile.am @@ -30,7 +30,10 @@ data_DATA = \ ArchExample.png \ web.png \ blank.png \ - complete.jpg + complete.jpg \ + Ship.py \ + Ship.png \ + ShipExample.png EXTRA_DIST = \ $(data_DATA) $(python_DATA) diff --git a/src/Mod/Start/StartPage/Ship.png b/src/Mod/Start/StartPage/Ship.png new file mode 100644 index 0000000000..533b3fcc53 Binary files /dev/null and b/src/Mod/Start/StartPage/Ship.png differ diff --git a/src/Mod/Start/StartPage/Ship.py b/src/Mod/Start/StartPage/Ship.py new file mode 100644 index 0000000000..371ca2d696 --- /dev/null +++ b/src/Mod/Start/StartPage/Ship.py @@ -0,0 +1,3 @@ +import FreeCADGui +FreeCADGui.activateWorkbench("ShipWorkbench") +App.newDocument() diff --git a/src/Mod/Start/StartPage/ShipExample.png b/src/Mod/Start/StartPage/ShipExample.png new file mode 100644 index 0000000000..be89b2f74a Binary files /dev/null and b/src/Mod/Start/StartPage/ShipExample.png differ diff --git a/src/Mod/Start/StartPage/StartPage.py b/src/Mod/Start/StartPage/StartPage.py index 03b4458600..015aeda6af 100644 --- a/src/Mod/Start/StartPage/StartPage.py +++ b/src/Mod/Start/StartPage/StartPage.py @@ -73,6 +73,9 @@ text48 = translate("StartPage","A blog dedicated to teaching FreeCAD, maintained text49 = translate("StartPage","Getting started") text50 = translate("StartPage","The FreeCAD interface is divided in workbenches, which are sets of tools suited for a specific task. You can start with one of the workbenches in this list, or with the complete workbench, which presents you with some of the most used tools gathered from other workbenches. Click to read more about workbenches on the FreeCAD website.") text51 = translate("StartPage","http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Workbench_Concept") +text52 = translate("StartPage","Ship Design") +text53 = translate("StartPage","Designing and calculating ships") +text54 = translate("StartPage","The Ship Design module offers several tools to help ship designers to view, model and calculate profiles and other specific properties of ship hulls.") # here is the html page skeleton @@ -366,6 +369,13 @@ def getWorkbenches(): onMouseout="show('')" href="ArchDesign.py">""" + text25 + """ +
+ \
+ """ + text54 + """
""" + text21 + """ \ + :
')"
+ onMouseout="show('')"
+ href="Ship.py">""" + text52 + """
+
\
""" + text27 + """
""" + text28 + """
')"