Merge multi-study removal branch.

This commit is contained in:
rnv 2017-06-13 12:57:14 +03:00
parent 61e3f7e90a
commit a79bb58153
418 changed files with 1844 additions and 2697 deletions

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# Create a 3D sketcher (wire) on the given points coordinates

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# a box

View File

@ -5,7 +5,7 @@ salome.salome_init()
# --- geom Python interface
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# --- Create a box and publish it into the salome study
Box_1 = geompy.MakeBoxDXDYDZ(200, 200, 200)
@ -13,4 +13,4 @@ geompy.addToStudy( Box_1, 'Box_1' )
# --- update the study object browser
if salome.sg.hasDesktop():
salome.sg.updateObjBrowser(True)
salome.sg.updateObjBrowser()

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create PipeTShape object

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create DividedDisk object

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create DividedCylinder object

View File

@ -1,6 +1,6 @@
import salome, GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a could of points
points = [

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
OX = geompy.MakeVectorDXDYDZ(10, 0,0)

View File

@ -5,7 +5,7 @@ salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
Circle_1 = geompy.MakeCircle(None, None, 100)
Box_1 = geompy.MakeBoxDXDYDZ(200, 200, 200)
@ -22,4 +22,4 @@ geompy.PutListToFolder([Box_1, Cylinder_1], Primitives)
if salome.sg.hasDesktop():
salome.sg.updateObjBrowser(True)
salome.sg.updateObjBrowser()

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices and vectors

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
import SALOMEDS

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
import SALOMEDS

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import SALOMEDS
# create a box and a cylinder

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import SALOMEDS
# create a box and partigion it by two planes

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
# create a box

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a box and a sphere

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a box
check_box = geompy.MakeBoxDXDYDZ(200, 200, 200)
@ -20,4 +20,4 @@ for chain in listChains:
ii = ii + 1
pass
salome.sg.updateObjBrowser(True)
salome.sg.updateObjBrowser()

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a box
box = geompy.MakeBoxDXDYDZ(100,30,100)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
# create a box

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create boxes

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a box
box = geompy.MakeBoxDXDYDZ(100,100,100)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a box
box = geompy.MakeBoxDXDYDZ(100,100,100)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a box
box = geompy.MakeBoxDXDYDZ(100,30,100)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
mindeg = 2

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
Wire_1 = geompy.MakeSketcher("Sketcher:F 0 0:TT 100 0:R 0:C 100 90:T 0 200", [0, 0, 0, 0, 0, 1, 1, 0, -0])

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
gg = salome.ImportComponentGUI("GEOM")

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import salome
gg = salome.ImportComponentGUI("GEOM")

View File

@ -3,7 +3,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
def MakeHelix(radius, height, rotation, direction):
# - create a helix -

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# Create a box
Box_1 = geompy.MakeBoxDXDYDZ(200, 200, 200)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# Create Vertexes for curve
Vertex_1 = geompy.MakeVertex(0, 0, 0)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create box

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a box
box = geompy.MakeBoxDXDYDZ(100,100,100)

View File

@ -3,7 +3,7 @@
import salome
salome.salome_init()
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a shape
box1 = geompy.MakeBox(0, 0, 0, 100, 100, 100)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create solids
box = geompy.MakeBoxDXDYDZ(100, 100, 100)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import tempfile, os

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a box
box = geompy.MakeBoxDXDYDZ(100,30,100)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# Create two curves with three closest points
Vertex_1 = geompy.MakeVertex(0, 0, 0)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
# create a box

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import salome_notebook
gg = salome.ImportComponentGUI("GEOM")

View File

@ -5,7 +5,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a point
point = geompy.MakeVertex(15., 23., 80.)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -6,7 +6,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices, an edge, an arc, a wire, a face and a prism

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a box

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices and vectors

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome, math
salome.salome_init()
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create base points

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create boxes

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create boxes
@ -30,4 +30,4 @@ geompy.addToStudy(glue1, "Glue all edges")
geompy.addToStudy(glue2, "Glue two edges")
if salome.sg.hasDesktop():
salome.sg.updateObjBrowser(True)
salome.sg.updateObjBrowser()

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# import initial topology with bad tolerances (more than 1e-07)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# Variant 1: using DivideEdge()
@ -40,4 +40,4 @@ edge = geompy.GetEdgeNearPoint( box, p1, theName="edge to split")
div = geompy.DivideEdgeByPoint( box, edge, [p1, p2], theName="box (edge divided)")
salome.sg.updateObjBrowser(True)
salome.sg.updateObjBrowser()

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create vertices
p1 = geompy.MakeVertex(0, 0, 0)
@ -49,4 +49,4 @@ for wire in wires:
ii = ii + 1
pass
salome.sg.updateObjBrowser(True)
salome.sg.updateObjBrowser()

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create solids with some coincident faces
Box_1 = geompy.MakeBoxDXDYDZ(200, 200, 200)
@ -23,4 +23,4 @@ geompy.addToStudy(Partition_1, 'Partition_1')
Joined_1 = geompy.RemoveInternalFaces(Partition_1)
geompy.addToStudy(Joined_1, 'Joined_1')
salome.sg.updateObjBrowser(True)
salome.sg.updateObjBrowser()

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a box
box = geompy.MakeBoxDXDYDZ(100,30,100)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
#

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
#create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
#create vertices

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a box

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a vertex and a vector

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
gg = salome.ImportComponentGUI("GEOM")

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
import math
gg = salome.ImportComponentGUI("GEOM")

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a box

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a box and a sphere

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a box and a sphere

View File

@ -3,7 +3,7 @@
import salome
salome.salome_init()
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
# create a cylindric face and a curve(edge)
cylinder = geompy.MakeCylinderRH(100, 300)

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create vertices and vectors

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
import math

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create a face in OXY plane

View File

@ -4,7 +4,7 @@ import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
geompy = geomBuilder.New()
gg = salome.ImportComponentGUI("GEOM")
# create box

Some files were not shown because too many files have changed in this diff Show More