Added Arch example file
This commit is contained in:
parent
18ab30cdda
commit
906a6efb30
BIN
data/examples/ArchDetail.FCStd
Normal file
BIN
data/examples/ArchDetail.FCStd
Normal file
Binary file not shown.
|
@ -5,6 +5,7 @@ SET(Examples_Files
|
||||||
EngineBlock.FCStd
|
EngineBlock.FCStd
|
||||||
PartDesignExample.FCStd
|
PartDesignExample.FCStd
|
||||||
RobotExample.FCStd
|
RobotExample.FCStd
|
||||||
|
ArchDetail.FCStd
|
||||||
)
|
)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(Example_data ALL
|
ADD_CUSTOM_TARGET(Example_data ALL
|
||||||
|
|
|
@ -6,7 +6,8 @@ data_DATA = \
|
||||||
EngineBlock.FCStd \
|
EngineBlock.FCStd \
|
||||||
PartDesignExample.FCStd \
|
PartDesignExample.FCStd \
|
||||||
RobotExample.FCStd \
|
RobotExample.FCStd \
|
||||||
Schenkel.stp
|
Schenkel.stp \
|
||||||
|
ArchDetail.FCStd
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(data_DATA) \
|
$(data_DATA) \
|
||||||
|
|
|
@ -42,6 +42,7 @@ SET(StartPage_Resources
|
||||||
StartPage/LoadPartDesignExample.py
|
StartPage/LoadPartDesignExample.py
|
||||||
StartPage/LoadDrawingExample.py
|
StartPage/LoadDrawingExample.py
|
||||||
StartPage/LoadRobotExample.py
|
StartPage/LoadRobotExample.py
|
||||||
|
StartPage/LoadArchExample.py
|
||||||
StartPage/Background.jpg
|
StartPage/Background.jpg
|
||||||
StartPage/FreeCAD.png
|
StartPage/FreeCAD.png
|
||||||
StartPage/ArchDesign.png
|
StartPage/ArchDesign.png
|
||||||
|
|
|
@ -13,6 +13,7 @@ SET(StartPage_DATA
|
||||||
LoadMRU0.py
|
LoadMRU0.py
|
||||||
LoadMRU1.py
|
LoadMRU1.py
|
||||||
LoadMRU2.py
|
LoadMRU2.py
|
||||||
|
LoadArchExample.py
|
||||||
Mesh.py
|
Mesh.py
|
||||||
PartDesign.py
|
PartDesign.py
|
||||||
Background.jpg
|
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 \
|
LoadMRU0.py \
|
||||||
LoadMRU1.py \
|
LoadMRU1.py \
|
||||||
LoadMRU2.py \
|
LoadMRU2.py \
|
||||||
|
LoadArchExample.py \
|
||||||
Mesh.py \
|
Mesh.py \
|
||||||
PartDesign.py \
|
PartDesign.py \
|
||||||
Background.jpg \
|
Background.jpg \
|
||||||
|
|
|
@ -76,6 +76,7 @@ text51 = translate("StartPage","http://sourceforge.net/apps/mediawiki/free-cad/i
|
||||||
text52 = translate("StartPage","Ship Design")
|
text52 = translate("StartPage","Ship Design")
|
||||||
text53 = translate("StartPage","Designing and calculating ships")
|
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.")
|
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
|
# 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="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="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="LoadRobotExample.py">""" + text13 + """</a></li>
|
||||||
|
<li><img src="FreeCAD.png" style="width: 16px"> <a href="LoadArchExample.py">""" + text55 + """</a></li>
|
||||||
</ul>"""
|
</ul>"""
|
||||||
|
|
||||||
def getLinks():
|
def getLinks():
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
<File Id="ExampleFile2" Name="PartDesignExample.FCStd" />
|
<File Id="ExampleFile2" Name="PartDesignExample.FCStd" />
|
||||||
<File Id="ExampleFile3" Name="RobotExample.FCStd" />
|
<File Id="ExampleFile3" Name="RobotExample.FCStd" />
|
||||||
<File Id="ExampleFile4" Name="Schenkel.stp" />
|
<File Id="ExampleFile4" Name="Schenkel.stp" />
|
||||||
|
<File Id="ExampleFile5" Name="ArchDetail.FCStd" />
|
||||||
</Component>
|
</Component>
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory Id="DataMod" Name="Mod" FileSource="../../data/Mod" >
|
<Directory Id="DataMod" Name="Mod" FileSource="../../data/Mod" >
|
||||||
|
@ -95,6 +96,7 @@
|
||||||
<File Id="StartPage24" Name="ShipExample.png" />
|
<File Id="StartPage24" Name="ShipExample.png" />
|
||||||
<File Id="StartPage25" Name="Ship.png" />
|
<File Id="StartPage25" Name="Ship.png" />
|
||||||
<File Id="StartPage26" Name="Ship.py" />
|
<File Id="StartPage26" Name="Ship.py" />
|
||||||
|
<File Id="StartPage27" Name="LoadArchExample.py" />
|
||||||
</Component>
|
</Component>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user