Cad Cam Development

Unmanaged C++ OpenGL Drawing and C# (WinForms/WPF) interoperability

This post describes how to execute unmanaged C++ OpenGL drawing on windows forms and WPF to achieve very fast and reliable graphics rendering over stunning GUI done in WPF or Windows Forms. There other tasks that use this kind of cross-platform rendering like digitall sculpturing programs, CUDA simulations which requires speed, sophisticated graphics performance or special usage of special technology like CUDA and nice UI that would allow for controlling the process that is going in behind. So it’s important to know how to combine those technologies and really worth doing! Two solutions to this problem have been meticulously described and discussed.


When two strings are equal on Windows

Despite the fact that we’re writing in C#/.NET and it seems to be quite easy or just program some wchar_t * operations on win32 API we must know how to properly handle strings management and string comparisons. Badly written code will expose our application for unwilling exploits and crushes or will not work at all if we sell it to another country. This post explains how to correctly handle string comparisons and conversions between various of formats which is not obvious and what mechanism are staying behind Windows UNICODE string management

It’s easy to create second CEREC like dental milling machine

Together with my collegues I study with, I had to program a dental milling machine like those from CEREC. This was our task the teacher asked for. So at first it seemed as a very hard work and almost impossible to complete but in fact it wasn’t as bad as it seemed to be. The most mathematical part of this process – the conversion between teeth coordinates and milling machines coordinates is shown in this post.

Debugging memory leaks in VS C++

Short method for C/C++ unmanaged memory leaks detection has been presented that is easy to implement in C/C++ and Visual Studio

Basic 3C UGS NX CAM tutorial

The article displays the process of creating basic 3C CNC paths and milling with some comments.