Skip to main content

Python library for processing 3d geometry

Project description

geomie3d

Installation

  • For the core library without visualization
    • pip install geomie3d
  • Core library and 3d visualization
    • pip install geomie3d[viewer3d]

dependencies

  • numpy
  • pyqtgraph
  • pyopengl
  • PyQt6
  • python-dateutil
  • nurbs-python
  • earcut-python

If you want to manually install the library:

  1. Install Python =<3.10 (https://www.python.org/)
  2. Create a virtual environment with 'py -m venv geomie3d' this will create a virtual environment in the directory ray of your current directory (https://realpython.com/python-virtual-environments-a-primer/#deactivate-it)
  3. Activate the environment geomie3d\Scripts\activate, for linux -> source geomie3d/bin/activate
  4. Install VScode
  5. Install geomie3d https://github.com/chenkianwee/geomie3d
  6. Install 'pip install numpy==2.0.1'
  7. install 'pip install pyqtgraph==0.13.7'
  8. install 'pip install PyOpenGL==3.1.7'
  9. install 'pip install PyQt6==6.7.1'
  10. install dateutil 'pip install python-dateutil==2.9.0'

Opengl issue with visualizing 3d geometries on Ubuntu 22.04

if this happen when running geomie3d

Failed to create wl_display (No such file or directory)

go to viz module and change the following

os.environ['QT_QPA_PLATFORM'] = 'wayland-egl' -> os.environ['QT_QPA_PLATFORM'] = 'egl'

If the openGL is giving you issue with the viz function do this to solve the issue

  1. go to /etc/gdm3/custom.conf and uncomment WaylandEnable=false
  2. go to /etc/environment and add this line QT_QPA_PLATFORM=xcb to the file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geomie3d-0.0.9.tar.gz (226.5 kB view details)

Uploaded Source

Built Distribution

geomie3d-0.0.9-py3-none-any.whl (244.8 kB view details)

Uploaded Python 3

File details

Details for the file geomie3d-0.0.9.tar.gz.

File metadata

  • Download URL: geomie3d-0.0.9.tar.gz
  • Upload date:
  • Size: 226.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for geomie3d-0.0.9.tar.gz
Algorithm Hash digest
SHA256 554da1df656daadaf1f124eda90eabc7b2c260861457aff2e94e4df21fbc1c90
MD5 e999c6771987777f9888acd68381b14d
BLAKE2b-256 f56517717bcd967642893f017ccbd7e55ea01c4de02e84b576d167e615216d9b

See more details on using hashes here.

File details

Details for the file geomie3d-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: geomie3d-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 244.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for geomie3d-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f59a5593a12793ead8fc73c88f04108382cc4dac79288bdb725448b1a553141c
MD5 05e2ca30479e615fdf6c1b7467db2c14
BLAKE2b-256 e8feafbc94e69d7873cbb7f0ce2899f5ba2ddd729e5ac2b3dbc7be656d96fd29

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page