3 Copyright (C) 2006-2008 CEA/DEN, EDF R&D
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 <type name="Bool" kind="bool"/>
24 <type name="Double" kind="double"/>
25 <type name="Int" kind="int"/>
26 <type name="String" kind="string"/>
27 <objref name="GEOM_Object" id="IDL:GEOM/GEOM_Object:1.0"/>
28 <objref name="file" id="file"/>
29 <container name="DefaultContainer">
30 <property name="container_name" value="FactoryServer"/>
31 <property name="cpu_clock" value="0"/>
32 <property name="hostname" value="localhost"/>
33 <property name="isMPI" value="false"/>
34 <property name="mem_mb" value="0"/>
35 <property name="nb_component_nodes" value="0"/>
36 <property name="nb_node" value="0"/>
37 <property name="nb_proc_per_node" value="0"/>
38 <property name="parallelLib" value=""/>
39 <property name="workingdir" value=""/>
41 <datanode name="StudyInNode0" kind="study">
42 <property name="StudyID" value="1"/>
43 <parameter name="a" type="GEOM_Object" ref="/Geometry/Box_1"/>
44 <parameter name="b" type="GEOM_Object" ref="/Geometry/Sphere_1"/>
46 <inline name="PyScript0">
47 <script><code><![CDATA[x=a
50 <inport name="a" type="GEOM_Object"/>
51 <inport name="b" type="GEOM_Object"/>
52 <outport name="x" type="GEOM_Object"/>
53 <outport name="y" type="GEOM_Object"/>
55 <service name="SalomeNode0">
56 <component>GEOM_Superv</component>
57 <load container="DefaultContainer"/>
58 <method>MakeFuse</method>
59 <inport name="theShape1" type="GEOM_Object"/>
60 <inport name="theShape2" type="GEOM_Object"/>
61 <outport name="return" type="GEOM_Object"/>
63 <outnode name="StudyOutNode0" kind="study">
64 <property name="StudyID" value="1"/>
65 <parameter name="a" type="GEOM_Object" ref="/Geometry/YacsFuse"/>
67 <service name="SalomeNode1">
68 <node>SalomeNode0</node>
69 <method>SetStudyID</method>
70 <inport name="theStudyID" type="Int"/>
72 <control> <fromnode>StudyInNode0</fromnode> <tonode>PyScript0</tonode> </control>
73 <control> <fromnode>StudyInNode0</fromnode> <tonode>SalomeNode1</tonode> </control>
74 <control> <fromnode>PyScript0</fromnode> <tonode>SalomeNode0</tonode> </control>
75 <control> <fromnode>SalomeNode0</fromnode> <tonode>StudyOutNode0</tonode> </control>
76 <control> <fromnode>SalomeNode1</fromnode> <tonode>SalomeNode0</tonode> </control>
77 <datalink control="false">
78 <fromnode>StudyInNode0</fromnode> <fromport>a</fromport>
79 <tonode>PyScript0</tonode> <toport>a</toport>
81 <datalink control="false">
82 <fromnode>StudyInNode0</fromnode> <fromport>b</fromport>
83 <tonode>PyScript0</tonode> <toport>b</toport>
85 <datalink control="false">
86 <fromnode>PyScript0</fromnode> <fromport>x</fromport>
87 <tonode>SalomeNode0</tonode> <toport>theShape1</toport>
89 <datalink control="false">
90 <fromnode>PyScript0</fromnode> <fromport>y</fromport>
91 <tonode>SalomeNode0</tonode> <toport>theShape2</toport>
93 <datalink control="false">
94 <fromnode>SalomeNode0</fromnode> <fromport>return</fromport>
95 <tonode>StudyOutNode0</tonode> <toport>a</toport>
98 <tonode>SalomeNode1</tonode><toport>theStudyID</toport>
99 <value><int>1</int></value>
101 <canvas width="2913" height="1343" left="139" top="0" xscale="0.665121" yscale="0.665121"/>
102 <presentation name="StudyInNode0" x="47" y="196" z="2" width="266" height="150"/>
103 <presentation name="PyScript0" x="395" y="66" z="2" width="266" height="150"/>
104 <presentation name="StudyOutNode0" x="1089" y="207" z="2" width="266" height="128"/>
105 <presentation name="SalomeNode0" x="743" y="174" z="2" width="266" height="194"/>
106 <presentation name="SalomeNode1" x="396" y="314" z="2" width="266" height="172"/>
107 <prslink fromnode="StudyInNode0" fromport="a" tonode="PyScript0" toport="a">
108 <point x="379" y="151"/>
109 <point x="379" y="281"/>
110 <point x="327" y="281"/>
112 <prslink fromnode="StudyInNode0" fromport="b" tonode="PyScript0" toport="b">
113 <point x="379" y="173"/>
114 <point x="360" y="173"/>
115 <point x="360" y="303"/>
116 <point x="327" y="303"/>
118 <prslink fromnode="StudyInNode0" fromport="Gate" tonode="PyScript0" toport="Gate">
119 <point x="389" y="201"/>
120 <point x="355" y="201"/>
121 <point x="355" y="331"/>
122 <point x="318" y="331"/>
124 <prslink fromnode="StudyInNode0" fromport="Gate" tonode="SalomeNode1" toport="Gate">
125 <point x="390" y="471"/>
126 <point x="390" y="331"/>
127 <point x="318" y="331"/>
129 <prslink fromnode="PyScript0" fromport="x" tonode="SalomeNode0" toport="theShape1">
130 <point x="727" y="303"/>
131 <point x="708" y="303"/>
132 <point x="708" y="151"/>
133 <point x="675" y="151"/>
135 <prslink fromnode="PyScript0" fromport="y" tonode="SalomeNode0" toport="theShape2">
136 <point x="727" y="325"/>
137 <point x="675" y="325"/>
138 <point x="675" y="173"/>
140 <prslink fromnode="SalomeNode0" fromport="return" tonode="StudyOutNode0" toport="a">
141 <point x="1073" y="292"/>
142 <point x="1023" y="292"/>
143 <point x="1023" y="303"/>
145 <prslink fromnode="SalomeNode0" fromport="Gate" tonode="StudyOutNode0" toport="Gate">
146 <point x="1083" y="320"/>
147 <point x="1050" y="320"/>
148 <point x="1050" y="353"/>
149 <point x="1014" y="353"/>
151 <prslink fromnode="SalomeNode1" fromport="Gate" tonode="SalomeNode0" toport="Gate">
152 <point x="737" y="353"/>
153 <point x="704" y="353"/>
154 <point x="704" y="471"/>
155 <point x="667" y="471"/>