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.8.tar.gz (225.4 kB view details)

Uploaded Source

Built Distribution

geomie3d-0.0.8-py3-none-any.whl (243.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geomie3d-0.0.8.tar.gz
  • Upload date:
  • Size: 225.4 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.8.tar.gz
Algorithm Hash digest
SHA256 65c902986f7cb3dc96f3af9ddf0bddb929d5bf12239bffdc88b39cca5417d18e
MD5 1c3eb4fd05bbb062cf0b87ac57984069
BLAKE2b-256 ae05e354036aebfd3ead8ec4d847dbc26e06527821a89afce250a64004f010a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geomie3d-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 243.3 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 13572d5f0d02487fe669854bf1c0b34ac531d1e4f695a4dddec6fa72eed2d32b
MD5 988ef2bd8697642fff751700a4b1fa46
BLAKE2b-256 332fa28c386b8163c94aff9413963b583c693b6adb559fbbb631ce8d08a134db

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