Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Draw and samples / A Simple Example

A Simple Example

A Simple Example
aka 2013/03/15 11:44
Hello, I need a simple example of displaying AIS_Shape with full support for rotating, panning e.t.c.

Please help!
aka 2013/03/15 11:57
So I need control over the window in which the output AIS_Shape. For example, i need HWND of this window.
jelle 2013/03/15 12:04
Occ comes with a number of examples that do just that. Start there.
aka 2013/03/15 12:19
Well, I working with standard examples for 4 days, and I still can't solve my problem.

My problem is:

1. I have AIS_Shape object and and nothing more
2. I need output this object in user-defined area of parent window (create child window with AIS_Shape image)

What steps do I need to do?
jelle 2013/03/15 12:38
      That's a fairly encompassing question. Perhaps the following code provides some insight. https://github.com/tpaviot/pythonocc/blob/master/src/addons/Display/OCCViewer.py#L269
aka 2013/03/15 12:55
Thank you, that's something. Are there any alternatives to the С/C++?

In my C++ code, I run into difficulties because of the intricacies of the various Open Cascade, which to me is not so easy to see from the python example (I don't know python)
aka 2013/04/02 18:57
Can you tell what it is this piece of code?

t = Topo(aShape)
aka 2013/04/02 18:59
Can you tell what it is this piece of code?

t = Topo(aShape) (from http://pythonocc.googlecode.com/svn-history/r999/trunk/src/addons/Utils/DataExchange/STEP.py)
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map