Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bladex/cylinder_shaft.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ def __init__(self, radius=1.0, height=1.0, orientation=None, origin=None):

if orientation is None:
self.orientation = [1.0, 0.0, 0.0] # default orientation along X
else:
self.orientation = orientation

if origin is None:
self.origin = [0.0, 0.0, 0.0] # default origin at (0,0,0)
else:
self.origin = origin

def generate_solid(self):
"""
Expand Down
Loading