parameters: (self)
docstring: Move and rotate the grid according to the current working plane.
docstring_summary: Move and rotate the grid according to the current working plane.
docstring_tokens: Move and rotate the grid according to the current working plane .
function: def set(self):
          """Move and rotate the grid according to the current working plane."""
          self.reset()
          Q = FreeCAD.DraftWorkingPlane.getRotation().Rotation.Q
          P = FreeCAD.DraftWorkingPlane.position
          self.trans.rotation.setValue([Q[0], Q[1], Q[2], Q[3]])
          self.trans.translation.setValue([P.x, P.y, P.z])
          self.displayHumanFigure()
          self.setAxesColor()
          self.on()
function_tokens: def set ( self ) : self . reset ( ) Q = FreeCAD . DraftWorkingPlane . getRotation ( ) . Rotation . Q P = FreeCAD . DraftWorkingPlane . position self . trans . rotation . setValue ( [ Q [ 0 ] , Q [ 1 ] , Q [ 2 ] , Q [ 3 ] ] ) self . trans . translation . setValue ( [ P . x , P . y , P . z ] ) self . displayHumanFigure ( ) self . setAxesColor ( ) self . on ( )