Added Arch example file
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -13,6 +13,7 @@ SET(StartPage_DATA
|
||||
LoadMRU0.py
|
||||
LoadMRU1.py
|
||||
LoadMRU2.py
|
||||
LoadArchExample.py
|
||||
Mesh.py
|
||||
PartDesign.py
|
||||
Background.jpg
|
||||
|
||||
3
src/Mod/Start/StartPage/LoadArchExample.py
Normal file
3
src/Mod/Start/StartPage/LoadArchExample.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import FreeCAD,FreeCADGui
|
||||
FreeCAD.open(FreeCAD.getResourceDir()+"examples/ArchDetail.FCStd")
|
||||
FreeCADGui.activeDocument().sendMsgToViews("ViewFit")
|
||||
@@ -18,6 +18,7 @@ data_DATA = \
|
||||
LoadMRU0.py \
|
||||
LoadMRU1.py \
|
||||
LoadMRU2.py \
|
||||
LoadArchExample.py \
|
||||
Mesh.py \
|
||||
PartDesign.py \
|
||||
Background.jpg \
|
||||
|
||||
@@ -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"> <a href="LoadPartDesignExample.py">""" + text11 + """</a></li>
|
||||
<li><img src="FreeCAD.png" style="width: 16px"> <a href="LoadDrawingExample.py">""" + text12 + """</a></li>
|
||||
<li><img src="FreeCAD.png" style="width: 16px"> <a href="LoadRobotExample.py">""" + text13 + """</a></li>
|
||||
<li><img src="FreeCAD.png" style="width: 16px"> <a href="LoadArchExample.py">""" + text55 + """</a></li>
|
||||
</ul>"""
|
||||
|
||||
def getLinks():
|
||||
|
||||
Reference in New Issue
Block a user