geom/doc/salome/gui/GEOM/input/tui_3dsketcher.doc

20 lines
425 B
Plaintext
Raw Normal View History

2009-02-13 17:16:39 +05:00
/*!
\page tui_3dsketcher_page 3D Sketcher
\code
import geompy
import salome
gg = salome.ImportComponentGUI("GEOM")
# create a 3D sketcher (wire) of the given points coordinates
sketcher1 = geompy.Make3DSketcher([ 0,0,0, 50,50,50, 0,50,0, 50,0,50, 10,20,100, 0,0,0 ])
# add object in the study
id_sketcher1 = geompy.addToStudy(sketcher1,"Sketcher1")
# display the sketcher
gg.createAndDisplayGO(id_sketcher1)
\endcode
*/