­
2009-03 - Open CASCADE notes

Unnoticeable memory leaks. Part 2

17:35 / BY Roman Lygin
(Continued...)As there are multiple objects referencing each other there is no single one to check a reference count of. So I had to choose a slightly different approach which you can reuse in your cases. I have created Standard_Transient* pointers to the objects I wanted to track counts of. Using Handles is non-applicable as assignment increases a ref count and therefore prevents destroying...

Continue Reading

Unnoticeable memory leaks. Part 1

16:03 / BY Roman Lygin
(I have been relatively silent for several last days to respond to comments here on the blog and on the forum. My apologies if this frustrated you. At Intel, we are approaching a release cycle of Intel Parallel Studio and this requires a good deal of efforts to synchronize among multiple teams to ensure that something important is not overlooked. In addition to...

Continue Reading

Distributing your software

22:52 / BY Roman Lygin
Many software developers often prefer to focus on code design and development. They find writing technical specifications, fixing bugs, composing documentation or making installers too boring for their creative minds. Yes, developing with the Open Source free CAD/CAM/CAE kernel can be fascinating, but productization is a mandatory part of any successful software product.Let me share with you a relatively easy way how to...

Continue Reading

What is your Open CASCADE-based project about ?

15:45 / BY Roman Lygin
People on the Open CASCADE forum are focused on technical stuff asking for help in particular algorithms usage. I'm often curious what their problem domains are. I have witnessed OpenCASCADE being used in so different areas (medicine, ship building, CAM/CNC, geology and what not) and every time these looked impressive. So, where do *you* apply Open CASCADE ?If you want to promote your...

Continue Reading

Topology and Geometry in Open CASCADE. Part 6

15:06 / BY Roman Lygin
Continued...Back referencesAs you likely noticed using OpenCASCADE or analyzing the diagram in Part1, shapes refer to their sub-shapes and not the other way round. This is understandable as the same (sub-)shape can belong to multiple parent shapes. For instance, any shared edge will belong to at least two faces.However it is sometimes needed to trace parent shape back from a child. To do...

Continue Reading