--- /dev/null
+import salome, GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New(salome.myStudy)
+
+# create a could of points
+points = [
+ geompy.MakeVertex( 0,0,0 ),
+ geompy.MakeVertex( 9,0,0 ),
+ geompy.MakeVertex( 0,9,0 ),
+ geompy.MakeVertex( 9,9,0 ),
+ geompy.MakeVertex( 3,3,1 ),
+ geompy.MakeVertex( 6,6,2 )]
+
+# create SmoothingSurface object
+smoothingsurface = geompy.MakeSmoothingSurface( points )
+
+# add object in the study
+id_smoothingsurface = geompy.addToStudy(smoothingsurface,"SmoothingSurface")
+
+# display smoothingsurface
+gg = salome.ImportComponentGUI("GEOM")
+gg.createAndDisplayGO(id_smoothingsurface)
+
+
\page create_complex_obj_page Creating Complex Objects
-<b>New entity -> Generation</b> submenu allows creating new geometric
+<b>New entity -> Generation</b> sub-menu allows creating new geometric
objects by modification and multiplication of the existing objects:
<li>\subpage create_pipe_path_page "Restore Path" of a pipe-like shape.</li>
</ul>
+<b> New entity -> Advanced </b> sub-menu allows creating new geometric
+objects using advanced algorithms:
+
+<ul>
+<li>\subpage create_smoothingsurface_page "Smoothing surface" from a
+ cloud of points. </li>
+</ul>
+
*/
\anchor tui_creation_smoothingsurface
<br><h2>Creation of SmoothingSurface</h2>
-
-\code
-import geompy
-import salome
-gg = salome.ImportComponentGUI("GEOM")
-
-# create SmoothingSurface object
-smoothingsurface = geompy.MakeSmoothingSurface([value])
-
-# add object in the study
-id_smoothingsurface = geompy.addToStudy(smoothingsurface,"SmoothingSurface")
-
-# display smoothingsurface
-gg.createAndDisplayGO(id_smoothingsurface)
-\endcode
+\tui_script{advanced_geom_objs_smoothingsurface.py}
<!--@@ insert new functions before this line @@ do not remove this line @@-->
*/