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 case images and design files, if there are any #55

Open
DeflateAwning opened this issue Nov 18, 2023 · 3 comments
Open

Add case images and design files, if there are any #55

DeflateAwning opened this issue Nov 18, 2023 · 3 comments

Comments

@DeflateAwning
Copy link

I'm assuming you also had a 3d-printed case or similar? You should post info about it! If not, my mistake!

@bschwind
Copy link
Owner

Yes, I did make a case for it! In fact it's still a work in progress which I recently picked up again.

This is quite obscure, but the code for it is currently in this repository:

https://github.com/bschwind/opencascade-rs/blob/keyboard-case-v2/examples/src/keyboard_case.rs

I actually started that project just to be able to define the case in Rust code, but it has turned into its own project which I also want to flesh out.

Here are some previews of it:

Screen Shot 2023-11-18 at 10 53 37 PM Screen Shot 2023-11-18 at 10 53 25 PM

Once the code in opencascade-rs gets further along and more mature, I'll move the code for the keyboard case into this repo. Currently I often need new features added to opencascade-rs, so I add those alongside development of the keyboard case.

@DeflateAwning
Copy link
Author

Very neat project, very awesome!

I'm sure you know about OpenSCAD, but check out BOSL2 for OpenSCAD. It has a really nice API (e.g., anchor argument for zcyl, etc.), and could potentially be used as a model as least somewhat for the opencascade-rs project!

@bschwind
Copy link
Owner

Could you explain anchor arguments a bit more and what you like about the API? I think I kind of understand them.

For positioning right now my library mostly uses workplanes, which you can construct directly on a typical plane like XY, or they can be constructed from the face of an object.

I still need to figure out a good API for attaching objects together with constraints though.

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

No branches or pull requests

2 participants