Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a bottom to the divider tray. #204

Closed
wants to merge 1 commit into from

Conversation

pokowaka
Copy link

This add support for the generation of a bottom for the divider tray.
The bottom can be generated by passing the --bottom=True flag.

This makes it possible to generate ./static/samples/DividerTray.jpg

This add support for the generation of a bottom for the divider tray.
The bottom can be generated by passing the --bottom=True flag.

This makes it possible to generate ./static/samples/DividerTray.jpg
# Bottom piece.
if self.bottom:
self.rectangularWall(facing_wall_length, side_wall_length, "ffff",
callback=[partial(self.generate_finger_holes, side_wall_length)], move="up")
Copy link
Owner

Choose a reason for hiding this comment

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

This looks a bit fishy. Shouldn't the edge type be "e" for the sides that don't have a side wall attached? As happens when left_wall or right_wall is False?

Copy link
Author

Choose a reason for hiding this comment

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

It looks like you might be right :-).

@florianfesti
Copy link
Owner

Ok, fixed the side edges of the bottom and commited as a0338a5

@florianfesti
Copy link
Owner

Oh, thanks for the patch! There are several people eager to use this new feature:
https://hackaday.io/project/10649-boxespy/discussion-139426

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.

None yet

2 participants