We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32b4b89 commit 97c5df5Copy full SHA for 97c5df5
bladex/cylinder_shaft.py
@@ -1,10 +1,10 @@
1
-import OCC.Core.TopoDS
+""" Cylinder Shaft """
2
from OCC.Display.SimpleGui import init_display
3
from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeCylinder
4
from OCC.Core.gp import gp_Pnt, gp_Dir, gp_Ax2
5
6
7
-class CylinderShaft(object):
+class CylinderShaft:
8
"""
9
Cylinder shaft construction.
10
@@ -50,4 +50,4 @@ def display(self):
50
shaft_solid = self.generate_solid()
51
display, start_display = init_display()[:2]
52
display.DisplayShape(shaft_solid, update=True)
53
- start_display()
+ start_display()
0 commit comments