Tuesday, December 30, 2008


Succeeded to remake the GUI of NaroCad with flexible layout, property grid and tree list view. Remaking the layout was problematic because of the WeifenLuo controls that need to be used as forms with dock parameter passed, the SCSF architecture concept works with user controls.

The application is still unstable, crashes during usage. Will work today and tomorrow at making it work properly.

Thursday, December 18, 2008

GUI work

Modified the CompositeUI to handle Forms instead of controls. Added the property grid and the layout control to the project.
Tomorrow will work at making the existent code to use these new controls, to populate the grid, render open cascade content on the windows. Will also work at closing the iteration 0.0.4.

Tuesday, December 16, 2008

GUI remake

Today decided on how to remake the layout and integrated the layout control into the project. Because the controls that will be introduced are not user controls (they are derived from Form) will need to implement a custom Workspace used to handle this type of SmartParts.
Played with the latest version of Google Sketchup and looked also at Rhino to see how they organized their workspace and what are the helpers used when using the application.

Finished the projection

Finished implementing the projection of the 3D object in the 2D plane where the Sketcher draws. It needs enhancements like projecting all the objects from the space.

Will continue with adding the layout control and the object property control. Task estimated to take 2-3 days. On the layout will be added also a command line window where some command usage helper can be introduced.

Monday, December 15, 2008

New wrapper update

Wrapped 3 more packages (Contap, HLRTopoBRep, HLRBRep) and made a new wrapper release. Uploaded everything on SVN

Implemented at Naro the projection code, obtained the projection TopoDS_Shape on the drawing plane, now looking for a way to represent TopoDS_Shapes as AIS2D_InteractiveObjects.

Friday, December 12, 2008

Wrapper update, made some fixes

Made a wrapper release with some fixes especially at the views. Now projection information can be gathered form the view.
Uploaded also the new modules wrapped but didn't include them in the wrapper release. Next week will make some hardware upgrade and will try to make a new release that includes the new wrappers.

Today will work at finishing the projection implementation and also start working at the GUI changes. Probably will not close the iteration today (Friday), will close it on Sunday trying to finish these 2 tasks.

Tuesday, December 9, 2008

Still working at wrappers

Yesterday and today worked at compiling/linking the wrappers. My colleague helped me and split the wrappers project into smaller modules and improved a lot the compiling speed. This task took a lot of time and seems to take more time. Will stop working at the compiling improvements and will finish making a new wrapper release with the previous project that holds all the generated files, estimated to close this task in one more day of work.
After finishing this task this will start integrating the layout control and a property grid control into the project and try to finish this GUI improvement on the current iteration.

Friday, December 5, 2008

Compiled the new wrappers

Finished solving the compiling errors at the new packages wrapped and started working at solving the linking errors. In parallel with this worked at implementing the 3D to 2D projection.

Thursday, December 4, 2008

Package wrapping

Wrapped 28 new packages covering the IGES functionality, helper packages like ElCLib, Geom2dAPI. Fixed also the V3d wrappers to enable getting info about the view: reading the projection vector, reading the view point position, reading the high point position. This info will be needed to make 2D projections.

Now working at compiling the new wrapper by adjusting the generated code, task estimated to take at least 2-4 hours.

Projection (2)

Got stuck at implementing the projection functionality. The wrappers need some modifications to allow getting from the 3D view projection information. Started improving the wrappers. Will also add support for step and iges.

Tuesday, December 2, 2008


Yesterday started working at making a projection of the 3D model on the Sketcher's 2D plane and also put the working plane in the middle of the work area. Not finished yet but hoping to finish today this feature.
After that will continue with adding wrappers for step and iges, task estimated to take 1 day and start remaking the GUI.