Skip to content

Commit 6e68d90

Browse files
committed
Doc fix, purpose of 'axis' in visualisation clarified, type removed
1 parent 869d5a8 commit 6e68d90

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

SimPyLC/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import os
2828

2929
programName = 'SimPyLC'
30-
programVersion = '3.5.4'
30+
programVersion = '3.5.5'
3131
programNameAndVersion = '{0} {1}'.format (programName, programVersion)
3232
programDir = os.getcwd () .replace ('\\', '/') .rsplit ('/', 3) [-1]
3333

SimPyLC/scene.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ def __call__ (self, angle = 0, shift = (0, 0, 0), color = None, parts = lambda:
143143
self.color = color
144144
glPushMatrix ()
145145
glTranslate (*tAdd (self.center, self.joint)) # Put joint at correct position
146-
glRotate (evaluate (angle), *self.pivot) # Rotate over varying angle parameter, so NOT the fixed self.angle attribute, around self.pivot to move
146+
glRotate (evaluate (angle), *self.pivot) # Rotate over varying angle parameter, so NOT fixed self.angle attribute, around self.pivot to move
147147
glTranslate (*shift) # Put joint at correct position
148148
glTranslate (*tNeg (self.joint)) # Put joint in origin
149149
glPushMatrix ()
150-
glRotate (self.angle, *self.axis) # Rotate over fixed the self.angle attribute, set by the constructor, around self.axis to achieve intial attitude
150+
glRotate (self.angle, *self.axis) # Rotate over fixed self.angle attribute, set by the constructor, around self.axis to achieve intial attitude
151151
glColor (*self.color)
152152
self._draw ()
153153
glPopMatrix ()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def read (*paths):
88

99
setup (
1010
name = 'SimPyLC',
11-
version = '3.5.4',
11+
version = '3.5.5',
1212
description = 'SimPyLC PLC simulator, after its C++ big brother that has controlled industrial installations for more than 20 years now. ARDUINO CODE GENERATION ADDED!',
1313
long_description = (
1414
read ('README.rst') + '\n\n' +

0 commit comments

Comments
 (0)