Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc4c02
)
Update 'TestRectangle.py' in respect to the new version
author
azv
<artem.zhidkov@opencascade.com>
Fri, 9 Apr 2021 09:32:33 +0000
(12:32 +0300)
committer
azv
<artem.zhidkov@opencascade.com>
Fri, 9 Apr 2021 09:32:33 +0000
(12:32 +0300)
src/SketchPlugin/Test/TestRectangle.py
patch
|
blob
|
history
diff --git
a/src/SketchPlugin/Test/TestRectangle.py
b/src/SketchPlugin/Test/TestRectangle.py
index 5c0a3f0a5dc12ea0a764c8fe1fdacf9f2695cbfd..9ad9fc582a112bef2302af71f60cc871787c97be 100644
(file)
--- a/
src/SketchPlugin/Test/TestRectangle.py
+++ b/
src/SketchPlugin/Test/TestRectangle.py
@@
-70,6
+70,7
@@
aSession.finishOperation()
#=========================================================================
aSession.startOperation()
aRectangle = aSketchFeature.addFeature("SketchRectangle")
+aRectangle.string("RectangleType").setValue("RectangleTypeByCorners")
aStartCorner = geomDataAPI_Point2D(aRectangle.attribute("RectStartPoint"))
aEndCorner = geomDataAPI_Point2D(aRectangle.attribute("RectEndPoint"))
aStartCorner.setValue(10., 10.)