Added Ship module to the StartPage
This commit is contained in:
@@ -26,6 +26,9 @@ SET(StartPage_DATA
|
||||
web.png
|
||||
blank.png
|
||||
complete.jpg
|
||||
Ship.py
|
||||
Ship.png
|
||||
ShipExample.png
|
||||
)
|
||||
|
||||
INSTALL(FILES ${StartPage_SRCS}
|
||||
|
||||
@@ -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)
|
||||
|
||||
BIN
src/Mod/Start/StartPage/Ship.png
Normal file
BIN
src/Mod/Start/StartPage/Ship.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 838 B |
3
src/Mod/Start/StartPage/Ship.py
Normal file
3
src/Mod/Start/StartPage/Ship.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import FreeCADGui
|
||||
FreeCADGui.activateWorkbench("ShipWorkbench")
|
||||
App.newDocument()
|
||||
BIN
src/Mod/Start/StartPage/ShipExample.png
Normal file
BIN
src/Mod/Start/StartPage/ShipExample.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
@@ -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 <b>Ship Design</b> 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 + """</a>
|
||||
</li>
|
||||
<li><img src="Ship.png">
|
||||
<a onMouseover="show('<h3>""" + text53 + """</h3> \
|
||||
<p>""" + text54 + """</p><p><small>""" + text21 + """ \
|
||||
:</small></p><img src=ShipExample.png>')"
|
||||
onMouseout="show('')"
|
||||
href="Ship.py">""" + text52 + """</a>
|
||||
</li>
|
||||
<li><img src="Mesh.png">
|
||||
<a onMouseover="show('<h3>""" + text26 + """</h3> \
|
||||
<p>""" + text27 + """</p><p>""" + text28 + """</p>')"
|
||||
|
||||
Reference in New Issue
Block a user