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 narocad.com
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
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5x7vLSU9CTNnQSCfOwIAqSxeW1lh9iTj0x1kikEPfhyyc1QLQ2X2buKGUz85WGtSPPQ2BI3DfF_-ziyrWNGbdGDHDMgk9wT2JlrBWMjiSmJIz3vIxoZfZc5pNXT9l9Y-RHUei_y1r6hJF/s1600/cut-after-two-fillet.png)
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.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5x7vLSU9CTNnQSCfOwIAqSxeW1lh9iTj0x1kikEPfhyyc1QLQ2X2buKGUz85WGtSPPQ2BI3DfF_-ziyrWNGbdGDHDMgk9wT2JlrBWMjiSmJIz3vIxoZfZc5pNXT9l9Y-RHUei_y1r6hJF/s1600/cut-after-two-fillet.png)
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:
- 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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHFCrSZQUIXaIYvvLWRjeX3kzlZxLvmepwUZ1M-ZABqhIRRem2aFGTLhquQBtRgtdQZk-ATMcwDezCyvY8AsNztsTIKOpBohBVa-8vqskml_-63G6BVLRA77KlVeJq4GAgPBBDc9LF-FQc/s1600/missing-letters.png)
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.
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuCj3XclF-583gY4TjM1cky-XV_42Af2YLEdSUELFOLoIo19dJaYCDgD-yj1Fl1oH97noo1BjfarO1f6S7dl18-rlXrcWyh5C5U3tOQkTcSO5fbCMWgqjorNQhVQX_piqF1JGv1qbbsajb/s1000/new-interface.png)
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaMXAG4ODVehXO4gexfstW9mQyW0ps2g_KWekmpv2MTgY52zdYSBYSRBdCQUHJEevVZfcmRkSugJVW5T9oebNJvIKRlQB95dM9j7vDI2ffcv0jnjbPzOcac1cmuLrM3Vdmn07JyoTfNMjf/s400/cut-through-all.png)
The Cut to depth tool works correctly in all tested cases, including cutting with a circle.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuCj3XclF-583gY4TjM1cky-XV_42Af2YLEdSUELFOLoIo19dJaYCDgD-yj1Fl1oH97noo1BjfarO1f6S7dl18-rlXrcWyh5C5U3tOQkTcSO5fbCMWgqjorNQhVQX_piqF1JGv1qbbsajb/s1000/new-interface.png)
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaMXAG4ODVehXO4gexfstW9mQyW0ps2g_KWekmpv2MTgY52zdYSBYSRBdCQUHJEevVZfcmRkSugJVW5T9oebNJvIKRlQB95dM9j7vDI2ffcv0jnjbPzOcac1cmuLrM3Vdmn07JyoTfNMjf/s400/cut-through-all.png)
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm5-pl2ri0EIVUyXEmbas8QceOeP_MTn52RzE_m0qzOMBoXH0buW4JMuOGXNKGtKQcdvFpOmc_439eM-mHZ6qi-1LdjrbClbqz5WhyphenhyphenM13EiZoKsebD_FNOfIXRjOKVnRL0VrP6KW1Ib0vJ/s685/spline-coord.png)
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoF4ErkYocvH_n_3tUoJ9WmoH0UBhRl6D_4SR_LaTrtfgc08iYJJQgMwqS4KudX4g9SuHCSEeNSp4H7edgetkbgsvCG2515FOQ1fwfijnNI3lYcWZNPtZSU8iVZmF7yp4GJSsXkktcA8lE/s784/black-bg.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm5-pl2ri0EIVUyXEmbas8QceOeP_MTn52RzE_m0qzOMBoXH0buW4JMuOGXNKGtKQcdvFpOmc_439eM-mHZ6qi-1LdjrbClbqz5WhyphenhyphenM13EiZoKsebD_FNOfIXRjOKVnRL0VrP6KW1Ib0vJ/s685/spline-coord.png)
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoF4ErkYocvH_n_3tUoJ9WmoH0UBhRl6D_4SR_LaTrtfgc08iYJJQgMwqS4KudX4g9SuHCSEeNSp4H7edgetkbgsvCG2515FOQ1fwfijnNI3lYcWZNPtZSU8iVZmF7yp4GJSsXkktcA8lE/s784/black-bg.png)
Subscribe to:
Posts (Atom)