Interactive canvas for editing 3D geometry, using matplotlib.pyplot
Project description
xyz_canvas
Interactive canvas for editing 3D geometry, using matplotlib.pyplot
This is a demo of xyz_canvas (pre-release, V0.2.1), a Python library to add, edit, and connect 3D wire-frame objects using only Matplotlib. The idea is that this will be called by code that needs the user to define / edit these objects in 3D space.
Currently, only lines are supported but the plan is to include at least lines, rectangles, arcs (circles) and helices. Shape types are seleced via the buttons next to the geometry display. The clear button is implemented, as is Exit & Close and List, but the others are placeholders.
To add a line, click two points within the axis space (note that no feedback is given for the first click).
The view may be rotated at any time by clicking and dragging just oustide the axis space.
Currently, endpoints / vertices are pinned to the 'closest' backplane (shaded & gridded). Methods to move vertices into general 3D space by clicking and typing co-ordinates, snapping to a 3D grid / other objects, will be added soon.
Installation
Install with pip:
pip install xyz_canvas
Demo Screenshot
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 xyz_canvas-0.2.1.tar.gz.
File metadata
- Download URL: xyz_canvas-0.2.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
097657de8031e29224b25cab8ce670727e58c74fd347412b82408ba3b559cfc9
|
|
| MD5 |
390b4947b16d5aec0355bff8248d578c
|
|
| BLAKE2b-256 |
84b31b062a5dc9d23e40e44f98102f2802daa7af299de700eaf3ebbaedabee89
|
File details
Details for the file xyz_canvas-0.2.1-py3-none-any.whl.
File metadata
- Download URL: xyz_canvas-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
586d428f21b099a322bcd9d4067bff5d4cfbb3aade71d0392c2c6924b93b692c
|
|
| MD5 |
efdce0bad71ab811aed2d13b99da9e8b
|
|
| BLAKE2b-256 |
318d1d2480df7f26340bb28ef1abeff5c69155bf1a1337fd657421a303054fc0
|