Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
High level objects history implementation for Translation, Rotation and Scale features.
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
Test
/
TestFillShellConstrPlane.py
diff --git
a/src/FeaturesPlugin/Test/TestFillShellConstrPlane.py
b/src/FeaturesPlugin/Test/TestFillShellConstrPlane.py
index a0bd627ba39a29984d4a83cbfddad0db769d1425..a1e1043fdd3966d6fc234e462b68959f30fb8a52 100644
(file)
--- a/
src/FeaturesPlugin/Test/TestFillShellConstrPlane.py
+++ b/
src/FeaturesPlugin/Test/TestFillShellConstrPlane.py
@@
-1,4
+1,4
@@
-## Copyright (C) 2017 CEA/DEN, EDF R&D
+## Copyright (C) 201
4-201
7 CEA/DEN, EDF R&D
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
@@
-18,6
+18,7
@@
## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
##
## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
##
+# -*- coding: utf-8 -*-
from SketchAPI import *
from SketchAPI import *
@@
-40,14
+41,14
@@
SketchArc_2 = Sketch_1.addArc(38.14157263904823, 16.22495851193372, 56.770542089
SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchArc_2.startPoint())
SketchConstraintTangent_1 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchArc_2.results()[1])
model.do()
SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchArc_2.startPoint())
SketchConstraintTangent_1 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchArc_2.results()[1])
model.do()
-Wire_1 = model.addWire(Part_1_doc, [model.selection("EDGE", "Sketch_1/
Edge-SketchArc_1_2"), model.selection("EDGE", "Sketch_1/Edge-
SketchArc_2_2")])
+Wire_1 = model.addWire(Part_1_doc, [model.selection("EDGE", "Sketch_1/
SketchArc_1_2"), model.selection("EDGE", "Sketch_1/
SketchArc_2_2")])
Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Wire_1_1")], model.selection(), 70, 0)
Shell_1 = model.addShell(Part_1_doc, [model.selection("SHELL", "Extrusion_1_1")])
Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Wire_1_1")], model.selection(), 70, 0)
Shell_1 = model.addShell(Part_1_doc, [model.selection("SHELL", "Extrusion_1_1")])
-
Boolean
_1 = model.addFill(Part_1_doc, [model.selection("SHELL", "Shell_1_1")], [model.selection("FACE", "PartSet/XOZ")])
+
Fill
_1 = model.addFill(Part_1_doc, [model.selection("SHELL", "Shell_1_1")], [model.selection("FACE", "PartSet/XOZ")])
model.do()
model.do()
-model.checkResult(
Boolean
_1,model,1,[0],[0],[3],[12],[24])
-model.testHaveNamingSubshapes(
Boolean
_1,model,Part_1_doc)
+model.checkResult(
Fill
_1,model,1,[0],[0],[3],[12],[24])
+model.testHaveNamingSubshapes(
Fill
_1,model,Part_1_doc)
model.end()
model.end()