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
Disable sketch input fields unconditionally.
[modules/shaper.git]
/
src
/
SketchPlugin
/
Test
/
TestSplit.py
diff --git
a/src/SketchPlugin/Test/TestSplit.py
b/src/SketchPlugin/Test/TestSplit.py
index aa86ac4000a93697f73941c83bea87337ad30309..36a03f97f11b075f014f037f45936afbb1d22e5e 100644
(file)
--- a/
src/SketchPlugin/Test/TestSplit.py
+++ b/
src/SketchPlugin/Test/TestSplit.py
@@
-71,7
+71,7
@@
for index in range(Sketch_3_feature.numberOfSubs()):
assert(idList.count(SketchArcId) == 2)
assert(idList.count(SketchPointId) == 2)
assert(idList.count(SketchArcId) == 2)
assert(idList.count(SketchPointId) == 2)
-assert(idList.count(SketchConstraintCoincidenceId) ==
2
)
+assert(idList.count(SketchConstraintCoincidenceId) ==
4
)
assert(idList.count(SketchConstraintTangentId) == 1)
# Test end
assert(idList.count(SketchConstraintTangentId) == 1)
# Test end
@@
-100,8
+100,7
@@
assert(idList.count(SketchConstraintTangentId) == 1)
# Test split on arc with two points
Sketch_5 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
# Test split on arc with two points
Sketch_5 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
-#SketchArc_5_1 = Sketch_5.addArc(50, 50, 6.69872981078, 75, 93.30127018922, 75, True)
-SketchArc_5_1 = Sketch_5.addArc(50, 50, 0, 50, 93.30127018922, 75, True)
+SketchArc_5_1 = Sketch_5.addArc(50, 50, 93.30127018922, 75, 0, 50, False)
Sketch_5.setFixed(SketchArc_5_1.startPoint())
Sketch_5.setFixed(SketchArc_5_1.endPoint())
Sketch_5.setRadius(SketchArc_5_1, 50)
Sketch_5.setFixed(SketchArc_5_1.startPoint())
Sketch_5.setFixed(SketchArc_5_1.endPoint())
Sketch_5.setRadius(SketchArc_5_1, 50)
@@
-127,4
+126,4
@@
assert(idList.count(SketchConstraintTangentId) == 2)
model.end()
model.end()
-
#
assert(model.checkPythonDump())
+assert(model.checkPythonDump())