Improving the looks

I have added the remaining two funcitons for scripting as well which enables the drawing of Arc and Text entities.

For now arc entity can be created by passing three points through which an arc will pass.

E.g. cad.arc(120,130,233,321,456,546); // arc entity passing through three points

And the text entity can be drawn as:

cad.text(420,520,”hello”); //  text entity at position(420,520) with text ‘hello’

If you want to write a multiline comment then you can pass the third parameter as “helloneveryone”. This will draw text entity as:

hello
everyone

Now I’m going to improve the looks of the eCAD. I’ve started working on the Qt Stylesheet which will decide the overall looks of the software.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s