3 Copyright (C) 2006-2019 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, or (at your option) any later version.
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 <parameter name="a" type="GEOM_Object" ref="/Geometry/Box_1"/>
43 <parameter name="b" type="GEOM_Object" ref="/Geometry/Sphere_1"/>
45 <inline name="PyScript0">
46 <script><code><![CDATA[x=a
49 <inport name="a" type="GEOM_Object"/>
50 <inport name="b" type="GEOM_Object"/>
51 <outport name="x" type="GEOM_Object"/>
52 <outport name="y" type="GEOM_Object"/>
54 <service name="SalomeNode0">
55 <component>GEOM_Superv</component>
56 <load container="DefaultContainer"/>
57 <method>MakeFuse</method>
58 <inport name="theShape1" type="GEOM_Object"/>
59 <inport name="theShape2" type="GEOM_Object"/>
60 <outport name="return" type="GEOM_Object"/>
62 <outnode name="StudyOutNode0" kind="study">
63 <parameter name="a" type="GEOM_Object" ref="/Geometry/YacsFuse"/>
65 <control> <fromnode>StudyInNode0</fromnode> <tonode>PyScript0</tonode> </control>
66 <control> <fromnode>PyScript0</fromnode> <tonode>SalomeNode0</tonode> </control>
67 <control> <fromnode>SalomeNode0</fromnode> <tonode>StudyOutNode0</tonode> </control>
68 <datalink control="false">
69 <fromnode>StudyInNode0</fromnode> <fromport>a</fromport>
70 <tonode>PyScript0</tonode> <toport>a</toport>
72 <datalink control="false">
73 <fromnode>StudyInNode0</fromnode> <fromport>b</fromport>
74 <tonode>PyScript0</tonode> <toport>b</toport>
76 <datalink control="false">
77 <fromnode>PyScript0</fromnode> <fromport>x</fromport>
78 <tonode>SalomeNode0</tonode> <toport>theShape1</toport>
80 <datalink control="false">
81 <fromnode>PyScript0</fromnode> <fromport>y</fromport>
82 <tonode>SalomeNode0</tonode> <toport>theShape2</toport>
84 <datalink control="false">
85 <fromnode>SalomeNode0</fromnode> <fromport>return</fromport>
86 <tonode>StudyOutNode0</tonode> <toport>a</toport>