Toolkit for VRML parsing and traversing. Includes a standalone VRML parser library and a conversion library for transforming VRML geometry into geometry format such as STL, with modular C++ backends and Python bindings.
Project description
vrmlxpy
Toolkit for VRML parsing and traversing. Includes a standalone VRML parser library and a conversion library for transforming VRML geometry into STL format, with modular C++ backends and Python bindings.
License
This project is licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).
See the LICENSE file for details.
Prerequisites
- You need to have the Boost installed on your system. Please follow instructions here.
- Other third part library used is called CGAL. Follow instructions here.
- For Python bindings creation, the solution uses pybind11. See the steps here.
- The project uses Ninja build system. Please follow the installation instructions of this software based on your system vendor.
- It comes naturally that you should have CMake installed on your system as well.
- C++ compiler.
Build
Linux
-
You can choose to build the library based on two types of build configurations: Debug
cmake --preset Debug -
or Release.
cmake --preset Release -
After necessary files are generated, you are able to build.
-
Note that
out/build/Debugin the following command is folder for Debug built, for Release, useout/build/Release.cmake --build out/build/Debug
Windows
- It is recommended to develop in Visual Studio.
- To open the project, navigate yourself to
File - Open - Cmake...and choose the root CMakeLists.txt. - Visual Studio should handle the process of generating and building the library automatically.
Run C++ executable files
Linux
-
If your system has Valgrind installed, you can run the following commands like this:
valgrind --leak-check=full --show-reachable=yes --track-origins=yes <YOUR PROGRAM> -
You can use CTest which is a program that comes with CMake; it handles running the tests for the project.
-
Before running the command below, make sure that tests have access to configuration file
testConfig.jsonwhich should be insidevrmlxpy\out\build\Release\to_geomfolder (orvrmlxpy\out\build\Debug\to_geom) as one of the tests uses it. The paths in the configuration file should point to directories with test data. -
Run the following command (once again, note that you might need to exchange Debug with Release if you have built for this type):
ctest --test-dir out/build/Debug/vrml_proc -
You might want to use
--verbosefor the command above.
Windows
- TODO
Run Python
- To get the idea how to use the library, have a look at example script.
Troubleshooting
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vrmlxpy-1.0.0a2.tar.gz.
File metadata
- Download URL: vrmlxpy-1.0.0a2.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7e3e6d9a553567005dd40c02b643073b15f534210f179c9036aff39dd3bbfd9
|
|
| MD5 |
e7c2d0040d98cb72d07dcf6b057e2109
|
|
| BLAKE2b-256 |
1442f6eebac6e0bb3fee752f2e54b376f34a425e5f958416ececc63290709b5b
|
File details
Details for the file vrmlxpy-1.0.0a2-py3-none-any.whl.
File metadata
- Download URL: vrmlxpy-1.0.0a2-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77abc760ae8e7dd32fa0e17e6bdc0d232c2ac7ae3a3b5d4b7d13f4e741ca652a
|
|
| MD5 |
52b416b4d62b05d2b5bf367f0d036210
|
|
| BLAKE2b-256 |
f80aeff416c5bc7c05343e42909e6402dd2f3d9647fa83ee751ae08dbc6a5874
|