Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpaviot/pythonocc-generator
SWIG wrapper generator for pythonocc from OpenCascade Technology C++ source code
https://github.com/tpaviot/pythonocc-generator
cad python pythonocc-core swig
Last synced: 20 days ago
JSON representation
SWIG wrapper generator for pythonocc from OpenCascade Technology C++ source code
- Host: GitHub
- URL: https://github.com/tpaviot/pythonocc-generator
- Owner: tpaviot
- License: gpl-3.0
- Created: 2015-05-21T06:26:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T07:03:21.000Z (6 months ago)
- Last Synced: 2024-10-15T20:23:49.936Z (about 1 month ago)
- Topics: cad, python, pythonocc-core, swig
- Language: Python
- Homepage:
- Size: 599 KB
- Stars: 22
- Watchers: 6
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
[![Build Status](https://dev.azure.com/tpaviot/pythonocc-generator/_apis/build/status/tpaviot.pythonocc-generator?branchName=master)](https://dev.azure.com/tpaviot/pythonocc-generator/_build/latest?definitionId=11)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/512945885d214293995c482e31efd0d7)](https://www.codacy.com/gh/tpaviot/pythonocc-generator/dashboard?utm_source=github.com&utm_medium=referral&utm_content=tpaviot/pythonocc-generator&utm_campaign=Badge_Grade)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 pullHow 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.pyRequirements
------------
The current developments target opencascade 7.7.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.