key-ripper icon indicating copy to clipboard operation
key-ripper copied to clipboard

Add case images and design files, if there are any

Open DeflateAwning opened this issue 2 years ago • 3 comments

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

DeflateAwning avatar Nov 18 '23 07:11 DeflateAwning

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.

bschwind avatar Nov 18 '23 13:11 bschwind

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!

DeflateAwning avatar Nov 19 '23 01:11 DeflateAwning

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.

bschwind avatar Nov 19 '23 01:11 bschwind