Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tpaviot/pythonocc-generator

Open more actions menu

Repository files navigation

Build Status Codacy Badge

pythonocc-generator

pythonocc-generator is a subproject of pythonocc, a Python library designed for 3D modeling features. pythonocc is aimed at developers who are developing CAD/PDM/PLM applications.

pythonocc-generator is specifically focused on automatic SWIG (Simple Wrapper Interface Generator) interface file generation from OpenCascade C++ header files. It utilizes CppHeaderParser (https://github.com/robotpy/robotpy-cppheaderparser) to parse .hxx headers and perform code generation.

To use pythonocc-generator, you will need to have OpenCascade C++ library installed, as it relies on its header files for interface generation. You can find more information about pythonocc at (http://github.com/tpaviot/pythonocc-core).

How to create a local copy of the repository?

$ git clone git://github.com/tpaviot/pythonocc-generator.git

How to stay up to date with latest developments?

$ cd pythonocc-generator
$ git pull

How to use ?

Install required dependencies (cppheaderparsr, ply):

$ pip install -r requirements.txt

Edit/Modify the wrapper-generator.conf file then

$ cd src
$ python generate_wrapper.py

Requirements

The current developments target OpenCascade Technology 7.9.0 (http://dev.opencascade.org).

License

You can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

About

SWIG wrapper generator for pythonocc from OpenCascade Technology C++ source code

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.