Added Arch example file

This commit is contained in:
Yorik van Havre
2012-11-17 12:59:07 -02:00
parent ea77af035a
commit c8af7bdad2
9 changed files with 13 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ SET(StartPage_Resources
StartPage/LoadPartDesignExample.py
StartPage/LoadDrawingExample.py
StartPage/LoadRobotExample.py
StartPage/LoadArchExample.py
StartPage/Background.jpg
StartPage/FreeCAD.png
StartPage/ArchDesign.png

View File

@@ -13,6 +13,7 @@ SET(StartPage_DATA
LoadMRU0.py
LoadMRU1.py
LoadMRU2.py
LoadArchExample.py
Mesh.py
PartDesign.py
Background.jpg

View File

@@ -0,0 +1,3 @@
import FreeCAD,FreeCADGui
FreeCAD.open(FreeCAD.getResourceDir()+"examples/ArchDetail.FCStd")
FreeCADGui.activeDocument().sendMsgToViews("ViewFit")

View File

@@ -18,6 +18,7 @@ data_DATA = \
LoadMRU0.py \
LoadMRU1.py \
LoadMRU2.py \
LoadArchExample.py \
Mesh.py \
PartDesign.py \
Background.jpg \

View File

@@ -76,6 +76,7 @@ text51 = translate("StartPage","http://sourceforge.net/apps/mediawiki/free-cad/i
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.")
text55 = translate("StartPage","Load an Architectural example model")
# here is the html page skeleton
@@ -319,6 +320,7 @@ def getExamples():
<li><img src="FreeCAD.png" style="width: 16px">&nbsp;<a href="LoadPartDesignExample.py">""" + text11 + """</a></li>
<li><img src="FreeCAD.png" style="width: 16px">&nbsp;<a href="LoadDrawingExample.py">""" + text12 + """</a></li>
<li><img src="FreeCAD.png" style="width: 16px">&nbsp;<a href="LoadRobotExample.py">""" + text13 + """</a></li>
<li><img src="FreeCAD.png" style="width: 16px">&nbsp;<a href="LoadArchExample.py">""" + text55 + """</a></li>
</ul>"""
def getLinks():