DiscussionsIssue archiveDraw Harness and Samples

Archived discussion

Beginner: how to show bottle from example?

Draw Harness and SamplesThu, 03/27/2008 - 13:166 replies

Browse this forum
QuestionAuthor

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?

Discussion

6 archived replies

Posts are displayed in their archived order.

01Author

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

02Commenter-1

I need to!
Can anyone help us?

03Commenter-2

Hi everyone

did someone manage to show the bottle ?

thanks for helping

FR

04Commenter-3

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

05Commenter-4

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.

06Commenter-5

See our opencascade c# wrappers

MakeBottle

Best regards,​ Commenter-5