Added Arch example file

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

Binary file not shown.

View File

@ -5,6 +5,7 @@ SET(Examples_Files
EngineBlock.FCStd
PartDesignExample.FCStd
RobotExample.FCStd
ArchDetail.FCStd
)
ADD_CUSTOM_TARGET(Example_data ALL

View File

@ -6,7 +6,8 @@ data_DATA = \
EngineBlock.FCStd \
PartDesignExample.FCStd \
RobotExample.FCStd \
Schenkel.stp
Schenkel.stp \
ArchDetail.FCStd
EXTRA_DIST = \
$(data_DATA) \

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():

View File

@ -39,6 +39,7 @@
<File Id="ExampleFile2" Name="PartDesignExample.FCStd" />
<File Id="ExampleFile3" Name="RobotExample.FCStd" />
<File Id="ExampleFile4" Name="Schenkel.stp" />
<File Id="ExampleFile5" Name="ArchDetail.FCStd" />
</Component>
</Directory>
<Directory Id="DataMod" Name="Mod" FileSource="../../data/Mod" >
@ -95,6 +96,7 @@
<File Id="StartPage24" Name="ShipExample.png" />
<File Id="StartPage25" Name="Ship.png" />
<File Id="StartPage26" Name="Ship.py" />
<File Id="StartPage27" Name="LoadArchExample.py" />
</Component>
</Directory>
</Directory>