Monday, August 12, 2013

New blog

After the 1.7.8 release we decided to move the blog to the NaroCAD website, so from now on you can follow us on

Thursday, August 1, 2013

Released NaroCAD 1.7.8 Beta

Today we released NaroCAD 1.7.8 Beta:

Generated and fixed a new wrapper set for OpenCascade 6.5.5
Fixed Cut to depth for negative values
Reimplemented Cut through All
Improved Undo and Redo functionality
Fixed Spline display and editing
Fixed display issues

You can download it here

Tuesday, July 30, 2013

Fillet and chamfer bug fixes and Spline investigation

Today I fixed two bugs related to Fillet and Chamfer 3D which caused errors when performing two fillet operations on the same solid or when trying to cut through a solid resulted after Fillet or Chamfer was applied:

I've also investigated Split and Combine spline, which in some cases don't have any effect because the coordinate for the mouse position doesn't match the spline nodes, even if the sphere gizmo is highlighted.

Thursday, July 25, 2013

Bug fixes

Over the past few days I've worked on fixing some bugs found during testing (some that we had in the previous versions and some new):
- Undo needed to be pressed twice to work
- Undo after cut didn't show the sketch shapes that were used for cut
- After trying to redo when there were no more redo steps, the application sometimes crashed
- Cut to depth with negative values didn't work
- Cut through all for solids resulted in wrong shapes
- Pressing Cancel in the Chamfer window when the chamfer operation wasn't possible caused the selected shape to disappear

The bug I'm working on now causes some letters to disappear from the hinter text:

Cut through all fix

Today I updated the code for Cut through all to use a vector-based prism to create the object that is used to cut through all the objects on the scene:

The old method, which used a prism built using the direction, with infinite length, caused the Occ operation of cut to fail in some cases (without an error), so I've replaced it with the equivalent of a mid-plane prism with a big depth.

Thursday, July 11, 2013

Interface changes and Cut Through All bug

I've updated the interface to eliminate the black overlay problem mentioned in the previous post and this is how the current interface looks like:

I also updated the installer to use the new dlls added to OpenCascade 6.5.5 and checked that everything works correctly after installation.

Cut through all and Cut to depth work in most cases, with Redo and Undo functionality. The bug I'm working on now is when the cutting sketch contains a circle - in this case, the cutting is not performed. Cutting with complex shapes, on planes that aren't parallel to xOy or through solids works correctly:

The Cut to depth tool works correctly in all tested cases, including cutting with a circle.

Thursday, July 4, 2013

Display fix for Splines and 3D solids

Today I fixed the display issues for coordinates and Hinter messages for the three types of splines and the 3D solids:

I've also updated the property grids for some of the tools, removing the property lock icon for the ellipse tool and 3D solids. The locking wasn't correct because the underlying constraints are not implemented and after applying the lock it wasn't possible to remove it anymore. I will add them and the needed constraints when I work on improving the tools.

The next issue to be solved is another display issue which sometimes causes a part of the layout to be black instead of transparent: