Wednesday, 4 July 2012

Mged (Command line and GUI)

After installation of BRLCAD you can see in the my program list BRL-CAD>mged
For linux user you can type mged on your terminal or search for BRL-CAD in Application.

$ mged

There will be two windows popping up after you start. One is GUI and another is the command line. For the starting you have to learn few commands.

 Opening a creating new database
$ mged> shape_name.g<ENTER>

To assign a Titile to your datebase
mged> title MyTitle<ENTER>

To select units
mged> units in<ENTER> for inches
or mged> units mm<ENTER> for mm

To make a Sphere form the command line
mged> make shape_name.s sph<ENTER> 
where sph1.s is the name selected for the sphere

To clear the Graphic window 
mged> Z<ENTER>

To recall the previous shapes
mged> draw shape_name.s<ENTER>

To erase a particular item on the Graphical Window
mged> erase shape_name.s<ENTER>

To view the shape's parameters
mged>l shape_name<ENTER> 

To list the contents of a database
mged>ls<ENTER>

To elimate a shape or object forn datatbase
mged>kill shape_name.s<ENTER>

To quit MGED
mged>q<ENTER>


Just use these commands and see what happen. Next we will learn to make something use mged.

Welcome to BRL-CAD



Getting started with a open source CAD software seems to be a very hectic task and even more if you want something near to a Solid works, Catia or Pro E. Being a Solid works designer myself I found BRL CAD as a nearest to the propitiatory CSM software. Though working on it is a total different ball game and you will feel more like a linux programmer than a solid model designer.
Basic made for Army use the added features to it like ray tracing, image processing and sound processing help it cause.

You can get a brief  intro about if from
http://brlcad.survice.com/
There are few articles in the download section. I have tried to reduce them for you.
You can download BRLCAD from sourceforge
http://sourceforge.net/projects/brlcad/