parameters: (self, obj)
docstring: Set orthogonal properties only if they don't exist.
docstring_summary: Set orthogonal properties only if they don't exist.
docstring_tokens: Set orthogonal properties only if they don t exist .
function: def set_ortho_properties(self, obj):
          """Set orthogonal properties only if they don't exist."""
          properties = obj.PropertiesList
  
          if "NumberX" not in properties:
              _tip = QT_TRANSLATE_NOOP("App::Property",
                                       "Number of copies in X direction")
              obj.addProperty("App::PropertyInteger",
                              "NumberX",
                              "Orthogonal array",
                              _tip)
              obj.NumberX = 2
  
          if "NumberY" not in properties:
              _tip = QT_TRANSLATE_NOOP("App::Property",
                                       "Number of copies in Y direction")
              obj.addProperty("App::PropertyInteger",
                              "NumberY",
                              "Orthogonal array",
                              _tip)
              obj.NumberY = 2
  
          if "NumberZ" not in properties:
              _tip = QT_TRANSLATE_NOOP("App::Property",
                                       "Number of copies in Z direction")
              obj.addProperty("App::PropertyInteger",
                              "NumberZ",
                              "Orthogonal array",
                              _tip)
              obj.NumberZ = 1
  
          if "IntervalX" not in properties:
              _tip = QT_TRANSLATE_NOOP("App::Property",
                                       "Distance and orientation "
                                       "of intervals in X direction")
              obj.addProperty("App::PropertyVectorDistance",
                              "IntervalX",
                              "Orthogonal array",
                              _tip)
              obj.IntervalX = App.Vector(50, 0, 0)
  
          if "IntervalY" not in properties:
              _tip = QT_TRANSLATE_NOOP("App::Property",
                                       "Distance and orientation "
                                       "of intervals in Y direction")
              obj.addProperty("App::PropertyVectorDistance",
                              "IntervalY",
                              "Orthogonal array",
                              _tip)
              obj.IntervalY = App.Vector(0, 50, 0)
  
          if "IntervalZ" not in properties:
              _tip = QT_TRANSLATE_NOOP("App::Property",
                                       "Distance and orientation "
                                       "of intervals in Z direction")
              obj.addProperty("App::PropertyVectorDistance",
                              "IntervalZ",
                              "Orthogonal array",
                              _tip)
              obj.IntervalZ = App.Vector(0, 0, 50)
function_tokens: def set_ortho_properties ( self , obj ) : properties = obj . PropertiesList if "NumberX" not in properties : _tip = QT_TRANSLATE_NOOP ( "App::Property" , "Number of copies in X direction" ) obj . addProperty ( "App::PropertyInteger" , "NumberX" , "Orthogonal array" , _tip ) obj . NumberX = 2 if "NumberY" not in properties : _tip = QT_TRANSLATE_NOOP ( "App::Property" , "Number of copies in Y direction" ) obj . addProperty ( "App::PropertyInteger" , "NumberY" , "Orthogonal array" , _tip ) obj . NumberY = 2 if "NumberZ" not in properties : _tip = QT_TRANSLATE_NOOP ( "App::Property" , "Number of copies in Z direction" ) obj . addProperty ( "App::PropertyInteger" , "NumberZ" , "Orthogonal array" , _tip ) obj . NumberZ = 1 if "IntervalX" not in properties : _tip = QT_TRANSLATE_NOOP ( "App::Property" , "Distance and orientation " "of intervals in X direction" ) obj . addProperty ( "App::PropertyVectorDistance" , "IntervalX" , "Orthogonal array" , _tip ) obj . IntervalX = App . Vector ( 50 , 0 , 0 ) if "IntervalY" not in properties : _tip = QT_TRANSLATE_NOOP ( "App::Property" , "Distance and orientation " "of intervals in Y direction" ) obj . addProperty ( "App::PropertyVectorDistance" , "IntervalY" , "Orthogonal array" , _tip ) obj . IntervalY = App . Vector ( 0 , 50 , 0 ) if "IntervalZ" not in properties : _tip = QT_TRANSLATE_NOOP ( "App::Property" , "Distance and orientation " "of intervals in Z direction" ) obj . addProperty ( "App::PropertyVectorDistance" , "IntervalZ" , "Orthogonal array" , _tip ) obj . IntervalZ = App . Vector ( 0 , 0 , 50 )