Difference between revisions of "Free and open-source computer-aided design"

From AdCiv
Jump to: navigation, search
Line 15: Line 15:
 
<div style="float:right; width:49%"> <!-- This margin should be right of the above -->
 
<div style="float:right; width:49%"> <!-- This margin should be right of the above -->
 
{{frame1|Easy scenario and illustrative modelling}}
 
{{frame1|Easy scenario and illustrative modelling}}
{{frame1|Getting a top quality CAD application off the ground}}
+
{{frame1|Creating a high quality open-source CAD application}}
 
{{frame1|What exists already?}}
 
{{frame1|What exists already?}}
 
{{frame1|See also}}
 
{{frame1|See also}}

Revision as of 03:15, 8 January 2007

edit  

Intro

Renault rendered in Blender 3D modelling software

One of the core components necessary for open collaborative design to truly take flight is an advanced free and open-source computer-aided design (CAD) program to allow anyone to easily generate new designs or customise existing ones. The program should include a special browser to enable finding and importing open-source components and machines from the 'universal commons' as well as analytical tools and 'physics engine' 11px-Wikipedia_logo.jpg which allow a significant amount of simulation and testing to be done 'virtually', saving significant amounts of time when it comes to construction.

The availability of user-friendly open source CAD software will be essential to allow the widest number of people to engage in this creative activity, which should help create a more diverse ecosystem of objects, machines and solutions. There is no reason, with thoughtful implementation, why this software shouldn't be intuitive enough for children to use easily. It could explain mechanical and engineering principles along the way if the user wished, and also be a place to store detailed contextual development notes, wiki style, to help others understand the workings and decisions made.

The virtual nature of the designs mean that far-flung people via the internet can easily work together on the same design, either working individually on various sub-assemblies of the whole or collaborating directly on the same part. The restrictions of having to finding people local to yourself with similar interests and desires becomes much less of an issue.

edit  

Sections

edit  

Universal artefact commons

Components.jpg
With many people contributing to open design projects, as happens currently with software, a universal commons will emerge made up of vast libraries of designs for everything from components and sub-assemblies through to complete artefacts, machines and complex systems, available for anyone to download and incorporate into their own designs, or help evolve as part of a wider project.

As in software, it would be useful for components and assemblies to be as 're-usable' as possible in the sense of being able to be incorporated in many different machine designs. To aid this it should be possible to specify the vital dynamic functions of a component or assembly in the CAD software, so that it can easily be modified in shape and scale so it can be incorporated into a new design while ensuring it still works correctly.

This will enable a huge reduction in duplication of effort and allow people to focus their efforts on creating new machines of increasing complexity and building on the work of others.

One interesting side-effect of open collaboration is that it tends to lead to highly modular design. FireFox and Linux are examples of this. Modularity also leads to a high degree of reusability; someone designing a new piece of hardware or software can pick-and-mix parts of existing projects. This works well in software, but may have to be abstracted somewhat to work in physical systems where dimensions are obviously important to fit with other components.

edit  

Virtual environments

edit  

Easy scenario and illustrative modelling

edit  

Creating a high quality open-source CAD application

edit  

What exists already?

Screenshot of 'FreeCAD' parametric CAD program performing boolean operations on 3D shapes
Screenshot of 'FreeCAD' constraints-based parametric sketcher module
FreeCAD robot simulation workbench
OpenSCAD (showing part from RepRap/Hydraraptor)

There are many proprietary CAD programs on the market that range widely in cost and capability, but we are focusing on free and open-source software here.

There are some two-dimensional (2D) open-source CAD programs such as QCAD but these really only replicate the methods that were used to create hand-drawn paper engineering drawings and lack the advantages and power that modern 3D CAD offers.

BRL-CAD is a 3D CAD package that came out American Military ballistics research and can be traced back to the 1970s. It is based on the older constructive solid geometry 11px-Wikipedia_logo.jpg (CSG) paradigm which isn't quite as sophisticated as the 'B-rep'-based 11px-Wikipedia_logo.jpg software used by most modern CAD programs, although it is highly suited to physical analysis, which is what it was originally designed for.

OpenSCAD is procedural geometry construction program using scripting to generate 3D models via CSG or extruded 2D drawings (DXF). Designed for programmers to use. The nice thing about a script-based CAD system is that it is compatible with distributed version control systems 11px-Wikipedia_logo.jpg which many open-source software projects use these days.

The best of both worlds would be a CAD system that could interchangably be used with scripting or Graphical User Interface (where edits using the GUI are captured/simplified as procedural code) and also incorporate visual diffs and deal with merging.

However there is a real need to create (or evolve) a really sophisticated, easy to use, open-source CAD (or more ambitiously product lifecycle management 11px-Wikipedia_logo.jpg) application that is highly intuitive to use, powerful, extendible and importantly hooks in to what should be a rapidly growing ecosystem of designs and physical systems available to all in the 'universal commons'.

FreeCAD is designed to be a feature based parametric CAD modeller and CAE 11px-Wikipedia_logo.jpg platform, employing the OpenCASCADE geometric modelling kernel libraries. Extensions framework and integrated Python interpreter for powerful scripting capabilities. The images on the the right are from FreeCAD. Video overview showing current capabilities (as of early 2012) Film_icon.png here.

HeeksCAD is a 3D modeller initially aimed at designed parts for CNC machining. Also based on OpenCascade. This has the ability to create 3D parts from 2D sketches using the graphical user interface. (Although Dan Heeks has recently indicated it will never be a general purpose parametric CAD platform like FreeCAD).

PythonOCC is a development framework that makes all the OpenCASCADE functionality available for the python programming language, good for prototyping and experimentation

Other open-source modelling programs

The following are capable 3D modelling programs that although they are designed for graphics and animation, it is possible to use them to create parts for physical designs. However they do not possess many features required for advanced mechanical CAD design.

Blender 11px-Wikipedia_logo.jpg is a powerful 3D modelling, animation and rendering program designed primarily to create sophisticated computer graphics rather than being tailored for design and engineering. It is an advanced and capable piece of software, and might well form a good basis for a dedicated open-source CAD application – such are the possibilities when the software is open-source. There have been some attempts to create scripts extending Blender in this direction, but they are either no longer active or do not yet go far enough. The user interface is not known for being particularly intuitive, however those that know their way around it (including the many vital keyboard shortcuts) say it is very effective.

Art of Illusion 11px-Wikipedia_logo.jpg is another interesting open-source 3D modelling and rendering application, although perhaps not quite as advanced as Blender. However the user interface is much more intuitive. Similarly it is designed for creating computer graphics rather than as a CAD program, but the required features could be added. The RepRap open-source 3D printer project are currently using this for their 3D modelling with some additional scripting.

Other interesting modelling programs

TinkerCAD is a web-based program (employing hardware accelerated WebGL canvas which is a new capability in modern open-source browsers - i.e. Firefox and Google Chrome). This is proprietary software but gives a hint at some of the things that are becoming possible. Quite simple and aimed at people who are making geometry for 3D printing. Not a full CAD system that is needed to define sophisticated components and assemblies.

There is an interesting Google Tech talk giving an overview of how it looks but also how it works underneath the hood as a client-server system and the technologies and techniques employed to get it working in a web browser. Film_icon.png See here

edit  

See also

20px-Printer.jpg[print version] 20px-Update.png[update] 20px-Logo.png [site map]