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

Sphereoid lamp #755

Open
JolienF opened this issue Feb 1, 2025 · 7 comments
Open

Sphereoid lamp #755

JolienF opened this issue Feb 1, 2025 · 7 comments

Comments

@JolienF
Copy link

JolienF commented Feb 1, 2025

Hey,

So I made this lampshade (its not perfect yet, but the prototypes are looking good). Its a sphere like shape that can be cut from flexible material like cardboard or plastic sheets. The amount of gores (https://en.wikipedia.org/wiki/Gore_(segment)) is variable. The pattern is not generated (yet).

So my question is would this be a project to put on boxes.py? It's not the standard wooden boxy type thing. But it is generated and very lasercuttable
I'd love to give it a go to integrate it in this codebase, but I could definitely use some tips.

Image

Image

@JolienF
Copy link
Author

JolienF commented Feb 1, 2025

Image this is the type of pattern it generates

@florianfesti
Copy link
Owner

Yes, of course. There are a lot of things in there already that are not quite boxes.

@ccrome
Copy link
Contributor

ccrome commented Feb 3, 2025

Love it! I'm happy to give it a try!

@florianfesti
Copy link
Owner

A little more gore, what's not to like...?

@JolienF
Copy link
Author

JolienF commented Feb 4, 2025

Alright, I'll get started then!

@JolienF
Copy link
Author

JolienF commented Feb 4, 2025

Love it! I'm happy to give it a try!

I'd like to try myself first, if you don't mind. I do appreciate some help though

@florianfesti
Copy link
Owner

Generally Boxes.py is not that suited for rounded shapes. I does offer very little geometry support. The gears module uses drawPoints() which does kerf correction and draws a polyline from coordinates instead of lengths and turns.

An alternative could be using curveTo which draws Bezier curves but looks like it is missing burn correction although it is in a place in the API where it should actually do that. If this gets an issue I can fix that, though.

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

No branches or pull requests

3 participants