]> SALOME platform Git repositories - modules/shaper.git/blob - src/PythonAPI/model/sketcher/__init__.py
Salome HOME
Merge remote-tracking branch 'remotes/origin/master' into BR_coding_rules
[modules/shaper.git] / src / PythonAPI / model / sketcher / __init__.py
1 """Package for Sketch plugin for the Parametric Geometry API of the Modeler.
2 """
3
4 # DEBIAN 6.0 WORKAROUND START
5 """
6   Following code is used to support Debian 6.0.
7   It is kept, because SketchPlugin should be loaded before SketchAPI is first used.
8   Otherwise, the runtime error will be generated while some static inline methods are broken.
9 """ 
10 from ModelAPI import ModelAPI_Session
11 aSession = ModelAPI_Session.get()
12 aSession.forceLoadPlugin("SketchPlugin")
13 # DEBIAN 6.0 WORKAROUND FINISH
14
15 from SketchAPI import addSketch
16 from tools import addPolyline, addPolygon