mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-14 02:30:35 +05:00
Deleted Study parameter
This commit is contained in:
parent
818b9c811f
commit
60b8076080
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 = [
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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])
|
||||
|
@ -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")
|
||||
|
||||
|
@ -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")
|
||||
|
||||
|
@ -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 -
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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")
|
||||
|
||||
|
@ -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.)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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")
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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")
|
||||
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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")
|
||||
|
||||
|
@ -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")
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user