Monday, May 18, 2009

2D shapes drawing in 3D

Started working at making the 2D shape drawing in 3D. Reimplemented the 3D line drawing so that it uses the FacePicker to generate working planes, when the user moves the mouse over a plane/face the generated points are on that plane. In this way the line points can be drawn on the same plane/face or on different planes. Started also making the rectangle drawing code, probably in 1-2 hours will finish it.

Worked also at validating some of the functionality made until now, the extrusion and parametric modeling propagation seems to work well, no more crashes are generated.

Will continue investigating the bug that makes the face picker not detecting faces when rotating with right mouse button. Another important issue would be to study in detail the OpenCascade 2D functionality and decide if this can be replaced only with 3D modeling code so that there is no need to switch between 2D and 3D.

No comments: