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 / pythonCascade / Technical information I.

Technical information I.

Technical information I.
Sandor_ Racz 2002/05/30 16:13
Thanks for all the mails and inquiries regarding the pythonCascade project. By now the first working version is able to wrap OpenCASCADE classes automatically and some of the resulting pythonCascade modules are fully tested. Some technical information will be published here regularly about the structure and capabilities of this new Python library.

Any question, comment and suggestion will be greatly appreciated.

The Python version of Open CASCADE is organized into packages like gp, WNT, V3d, AIS etc. Packages contain Python modules. Each and every Open CASCADE C++ class has an equivalent Python module.

In the current version all the Open CASCADE enumerations are collected into one separate module. This might change in the future. An alternative solution would be to create a separate module of enumerations for each package (that contains just those enumerations that belong to a specific package).

Examples:

E:\pythoncascade>python
Python 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> from enum import *
>>> x = Quantity_NOC_MATRABLUE
>>> x
1
>>> y = Quantity_NOC_LIGHTBLUE
>>> y
271
>>> Aspect_TOL_DOTDASH
3
>>>


Sandor Racz
 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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