Loading
leemes

Universal Case Generator with Example Case for Cubieboard

by leemes Apr 7, 2013
Download All Files

Thing Apps Enabled

Please Login to Comment

I want a case for my Geiger counter, but I'm horrible at using autocad. Could you help, or show me how to get to the case generator?

Why is there no compiled version of the generator and why did you hardcode the "description" of the board? This is useless in this state.

Nice work! It didn't take me long to get the source building, and take the measurements from a mechanical drawing for an STM32F429i Discovery board and get a case going!
I may have to manually edit the file later on to:

  • add some board clips (no screw holes in this board)
  • make some space for some extra components that are not on the board,
  • Create a clip lock or some alignment pins/holes to hold the case closed without glue
    Still, this got me off to an excellent start, and I thank you! (I will create a derivative thing once I have the case checked out for fit and share my scad and .h files).

I'm glad my project helped you build the case for your board!
I hope the process was not too complicated for you, as that was the goal of the project: creating a new case for a board in a short amount of time. I think there is plenty room for improvement of how the source code is organized.
(The ultimate solution would be a web interface similar to the MakerBot Customizer, but I guess I don't have time for that.)

Greetings sir,

Thanks for the effort. I would venture to say a Raspberry Pi case would be pretty popular. Are there any efforts in that area? Another idea I would like to see is the Raspberry Pi to Arduino casing that could work with the "Arduino to Raspberry Pi Mount V1.0
by imaginationlabs, published Jan 9, 2013"

i look for cases from media players such as mede8er and lacie , cann you do that to please

A noble project, which I would find immensely useful if only it was more accessible - I'm not about to learn C++ and OOML just to design a case for my PCB, lol. But hey, if you made it into a desktop application with a GUI and it worked well I (and probably others) would pay money for it :)

could you share the cpp files?

I did not read the description. They are there!. Great project!! Let me know if you want to include it into the OOML library. It would be a nice Part

Nice that you like it. Great idea! However, let me first finish this project up to a point at which it's generic enough to be worth imported into a library. The current code base is still too specific. I'm striving for a better separation of, and interface between the board description and the generator algorithm (called "case factory" in the code). For this, I want to introduce an abstract case factory base-class. The issue #1 on the bitbucket issue tracker explains another thing: If the generated case for some board isn't perfect, you might want to modify it. So currently you have two choices: modifying the board description or the case factory. But there are cases in which both isn't perfect. A good example is my most recent feature: wall support. It adds thicker walls (which go inside the case) where the walls would otherwise break very easily. It's an issue caused by the multiplication of the board description and the case factory, so not only one of them causes the issue. Not sure how to solve this nicely.

:)
If you feel that adding some features to the OOML instead of including this directly on your project might help you can just make a pull resquest into the OOML git repo.
In any case, maybe it could help adding models of some standard things like the USB port, etc. to the OOML. I have made this for the Futaba, the IR Sensors, Battery of 9 volts, and others, and now it is quite easy to use them in my models.

By the way. There is a feature not explained yet in the tutorials, the "attach". If you check the doxygen doc you will find it. By that you define links on a Component, and then "attach" other components to the links. In that way is very easy to make a parametric thing.

I had a glance at the internal workings of OOML. Nicely designed architecture, by the way! The attach feature together with a library of standard ports will be a very good idea. My idea for the future is to let the user model the board which is then turned into a case by using it as a "negative" model. [The point about my project is to provide N board models and M case factories resulting in N*M possible case models.] However, some things are tricky. Such as the information on "how thick" a cable might be when plugged in. For example: the audio jacks on the Cubieboard don't "stand out" very much, so a big audio plug intersects with an only 2mm thick case design. This is why my "board description" includes an "outset" parameter which can be used to add a 45 deg diagonal cut along the outline of the port. Another "special case" are the screw holes which will be used by most case designs in a special way. Maybe we can put everything together in one nice and stable interface to describe some arbitrary electronic device?

That sounds great. I myself have no expertise with electronic boards, but as a "consumer" all you say sounds fantastic. I can help you with the OOML when you want. You can write me to my personal mail alberto.valero.gomez@gmail.com