Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Beginner: how to show bottle from example?

Artem Chernetzov's picture

Hello! I'm beginner and this is question:
What is the right way to display bottle from example: http://www.sofa.de/OCasDotNet/Bottle.htm?

How should I create GUI? Is there any standart or ready GUI, as in C++ tutorial?

Artem Chernetzov's picture

And I told about C# wrapper, sorry! Can't edit topic name :(

berenr's picture

I need to!
Can anyone help us?

GOURILLON's picture

Hi everyone

did someone manage to show the bottle ?

thanks for helping


PeterFrank's picture

hi is there an update on this one ?
i'm also interested in programming with this wrapper

Sharjith Naramparambath's picture

See the sample code provided for CSharp in $CASROOT/../samples/standard/CSharp in the installation. The GUI is written using Windows Forms in C#. The C++ part of it is written in the OCC and shell projects. OCC is the C++ wrapper written to connect the Viewer to the C# GUI. You should be able to add the bottle C++ code to this module and call it from the GUI callback in C# as other commands are called.