Quote:
Originally Posted by blackize5
Rusty I'd love some for instances of stuff you'd like computers to do for you that you haven't had time to tackle. I think maybe I'm just inclined to accept whatever imperfect but good enough solution already exists for most things
OK, well, here's some stuff off the top of my head.
I have a few hobbyist type CNC machines, and I write a lot of my own code for them. There are CAD/CAM packages but using them is usually seriously the long way around for things.
One of the things you find yourself having to do a lot is take an existing "drawing" (say, a collection of lines and arcs), and calculate an offset from your drawing. Do you see what I mean? Say you're cutting a 2" square with a 1/4" router bit. If you cut from -2, 2, to 2, 2 and then to 2, -2 and so forth, your square will be too small by the radius of the router bit. So you have to offset "outward" by 1/8"
I use a common library for doing geometry type stuff in python (shapely, which is based off libgeos). It has a function for doing this, and it even includes rounding corners where appropriate. "Great!", I thought
Except... it has a bunch of weird oddities. Recently I've been having problems where it will *reverse the direction* of my polygons, which makes all offseting operations backwards after that. And sometimes it doesn't close them properly. And sometimes it will change the "start" point of the polygon, which can be a problem if I'm counting on it starting from a specific place, which I often am. And, it makes curves by interpolation, which is both not great for CNC, and wasteful of time/memory/space/whatever.
I'd like a solution that works entirely on lines and arcs. I want to be able to scale and offset from a (probably closed) set of lines and arcs. I have something that sort of almost but not quite works.
And I don't really have time to fix it, because the shapely thing *mostly* works if I don't poke it too hard. But I can't give it away or use it blindly, because of it's oddities.
That turned out way more long winded that I expected. I actually have a lot of projects in the CNC space that need doing. I have a CNC simulator that I wrote, which mostly works fine but could really use some improvement.
I write a lot of software related to athletic training. Most of it is highly specific to me, though, I'm not sure anyone else would find much interest in it. Mostly I use them to plan my upcoming weeks, and evaluate performance over the training season.
I wrote some code to take timelapses with Canon cameras. It works pretty good but I need something to process the RAW files and produce more linear changes in exposure.
Looking at my projects those are the only things I'd kind of like to have working, that I don't currently have time for.