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:
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.