Salome HOME
projects
/
modules
/
shaper.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PythonAPI] Rename 'modeler' into 'model'
[modules/shaper.git]
/
src
/
PythonAPI
/
Test
/
TestSketcher.py
1
import unittest
2
import model
3
4
class SketcherTestCase(unittest.TestCase):
5
def setUp(self):
6
model.begin()
7
partset = model.moduleDocument()
8
part = model.addPart(partset).document()
9
plane = model.defaultPlane("XOY")
10
self.sketch = model.addSketch(part, plane)
11
12
def tearDown(self):
13
model.end()