Skip to content

Minor initial setup cleanup#1

Open
bklarson wants to merge 76 commits into
nbrookins:masterfrom
bklarson:master
Open

Minor initial setup cleanup#1
bklarson wants to merge 76 commits into
nbrookins:masterfrom
bklarson:master

Conversation

@bklarson

Copy link
Copy Markdown

Clean up the documentation a bit in a couple spots that caused some
initial confusion. Fix the python code to not crash if the output/
directory doesn't exist.

Comment thread utility.py
def write_file(data, filename):
''' write bytes to file '''
print(" writing %s bytes to %s" %(len(data), filename))
os.makedirs(os.path.dirname(filename), exist_ok=True)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API requires Python 3.2. I'm not sure if you have a minimum supported version, or if this is ok? There are other solutions using a try/except block if we need to support < 3.2

@bklarson

Copy link
Copy Markdown
Author

Thank you so much for creating this project and opening it up! I am looking to create a prosthetic after an unfortunate table saw accident late last year. My printer is pretty basic, so I might have some questions in the future about small tweaks that could help me out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants