1 """Package for Sketch plugin for the Parametric Geometry API of the Modeler.
4 # DEBIAN 6.0 WORKAROUND START
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.
10 from ModelAPI import ModelAPI_Session
11 aSession = ModelAPI_Session.get()
12 aSession.forceLoadPlugin("SketchPlugin")
13 # DEBIAN 6.0 WORKAROUND FINISH
15 from SketchAPI import addSketch
16 from tools import addPolyline, addPolygon