1 # -*- coding: utf-8 -*-
4 from .geomsmesh import geompy
5 from .geomsmesh import geomPublish
6 from .geomsmesh import geomPublishInFather
9 # --- origine et vecteurs de base
18 definitions globales du triedre de reference,
19 objets partages par plusieurs methodes
25 O = geompy.MakeVertex(0, 0, 0)
26 OX = geompy.MakeVectorDXDYDZ(1, 0, 0)
27 OY = geompy.MakeVectorDXDYDZ(0, 1, 0)
28 OZ = geompy.MakeVectorDXDYDZ(0, 0, 1)
30 if not geompy.myStudy.FindObjectByName( 'OX', geompy.ComponentDataType() ):
31 geomPublish(initLog.debug, O, 'O' )
32 geomPublish(initLog.debug, OX, 'OX' )
33 geomPublish(initLog.debug, OY, 'OY' )
34 geomPublish(initLog.debug, OZ, 'OZ' )