Automated CAD
bytecruft.com
bytecruft.com
I've been playing around with using geometric constraint solving with FreeCAD's "sketcher" mode, but the GUI interface on that is awful, I'd love to experiment with it using a proper GDL of some sort.
Edit: Nevermind, it sounds like it does. I should have read the whole discussion.
http://weitz.de/eclm2008/Selvaag%20Bluethink%20House%20Desig...
Of possible interest to those reading this, I worked on a project in college that did a similar thing with AutoCAD for full-size water treatment plants. A web interface[1] accepts input which is sent to design scripts, where equations of fluid dynamics and other physical constraints are used to scale components appropriately for the size requested. From there, the AutoCAD command prompt is accessed to generate a 3D model and various construction-oriented section views.
Another alternative that I've found, and like a lot, is OpenJSCAD. Very similiar to OpenSCAD but with javascript:
I found that it works for most thing but can produce broken STLs occasionally.
I'm so glad to see this stuff all taking off. For the longest time, I was shocked at how hard it was to do, and now that I'm back into it, it has gotten much much easier!
What's neat is that you can generate a set of parts once (in code). You then assemble those parts (functions, really) into 3D shapes for visualization. And you lay out those same parts in a plane for 2D fabrication.
The main difficulty I had was that it seems to be necessary to calculate everything. As a simple example, suppose I've got a triangle-shaped part, and stick the flat side of it on a square part. What's the distance from the tip of triangle to the opposite flat side of the square? OpenSCAD knows, in some sense, because it drew it. But inside my OpenSCAD script, I don't, and I have to calculate the geometry in my code.
If there was some way to specify and capture the position of that point (or whatever), then it would be much easier to connect parts together.
This is usually done by a constraint solver. The most popular one in the industry is D-Cubed 3D DCM by Seimens: http://www.plm.automation.siemens.com/en_us/products/open/d-...
I do not know any open source equivalents for 3D constraint solving. There is a few 2D ones that are open source I understand.
OpenSCAD on the other hand immediately clicked - at least for me as a programmer. I just had to look up the available primitives and combine them to my liking. This totally jibes with my mental model of the thing I want to build and parametrizing your models is pretty easy.
My main gripe with OpenSCAD is that it is missing good features to generate more "organic" shapes, i.e. beveled edges and rounded corners require a lot of work. They are possible (i.e. with Minkowski sums) but the resulting complex shapes quickly bring the engine to its knees.
Interesting questions are raised. Is there a limit to topping counts? Is there an implied order to toppings? If toppings have a cost, do you calculate that as the supplier or leave that to the consumer? How do you make sure an order is vegetarian? What do you do if you can't fulfill an order due to topping shortage?
Also, if it's that kind of party, people will start making their own food order generators, raising another set of interesting questions.
We've love to integrate this into https://Clara.io in some way.
Disclosure: found of P2P
I wasn't thinking of it in that way, when I wrote the title, I was thinking of the second "design" as "the thing", and the "CAD" part of it as the name of the technology area. The more I think about it, the more I think it is a little awkwardly titled.