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
Tests fix
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
Test
/
TestFillEdgeSolidIntersected.py
diff --git
a/src/FeaturesPlugin/Test/TestFillEdgeSolidIntersected.py
b/src/FeaturesPlugin/Test/TestFillEdgeSolidIntersected.py
index 5756635e1669a9139546d6429922397518def96c..630317d66a8357c8d931b025e321f446b2bc4201 100644
(file)
--- a/
src/FeaturesPlugin/Test/TestFillEdgeSolidIntersected.py
+++ b/
src/FeaturesPlugin/Test/TestFillEdgeSolidIntersected.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 *
@@
-36,12
+37,12
@@
SketchPoint_1 = SketchProjection_1.createdFeature()
SketchConstraintMiddle_1 = Sketch_1.setMiddlePoint(SketchAPI_Point(SketchPoint_1).coordinates(), SketchLine_1.result())
SketchConstraintLength_1 = Sketch_1.setLength(SketchLine_1.result(), 20)
model.do()
SketchConstraintMiddle_1 = Sketch_1.setMiddlePoint(SketchAPI_Point(SketchPoint_1).coordinates(), SketchLine_1.result())
SketchConstraintLength_1 = Sketch_1.setLength(SketchLine_1.result(), 20)
model.do()
-Edge_1 = model.addEdge(Part_1_doc, [model.selection("EDGE", "Sketch_1/
Edge-
SketchLine_1")])
-
Boolean
_1 = model.addFill(Part_1_doc, [model.selection("EDGE", "Edge_1_1")], [model.selection("SOLID", "Cone_1_1")])
+Edge_1 = model.addEdge(Part_1_doc, [model.selection("EDGE", "Sketch_1/SketchLine_1")])
+
Fill
_1 = model.addFill(Part_1_doc, [model.selection("EDGE", "Edge_1_1")], [model.selection("SOLID", "Cone_1_1")])
model.do()
model.do()
-model.checkResult(
Boolean
_1, model, 1, [3], [0], [0], [3], [6])
-model.testHaveNamingSubshapes(
Boolean
_1, model, Part_1_doc)
+model.checkResult(
Fill
_1, model, 1, [3], [0], [0], [3], [6])
+model.testHaveNamingSubshapes(
Fill
_1, model, Part_1_doc)
model.end()
model.end()