No project description provided
Project description
Simple Directed Edge Python implementation for triangle meshes
directed_edge module
TODO
off module
TODO
Example:
# import modules
from malla import directed_edge as de
from malla import off
from dataclasses import dataclass
# create a class for vertex data
@dataclass
class Vertex:
x: float
y: float
z: float
# read mesh from off file
v, f = off.read('model.off')
# create a mesh
v = [Vertex(*P) for P in v]
m = de.mesh(v, f)
# write mesh to off file
off.write('output-model.off', m)
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
malla-0.1.5.tar.gz
(2.8 kB
view details)
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
malla-0.1.5-py3-none-any.whl
(3.5 kB
view details)
File details
Details for the file malla-0.1.5.tar.gz.
File metadata
- Download URL: malla-0.1.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/6.2.13-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13c267a47987687fd979b7140eec497a9758267d0868ece8bdff855e160c6043
|
|
| MD5 |
6c7aa1801c20193707bfd4da10afdd99
|
|
| BLAKE2b-256 |
ea657f6430354b31e829d63668372e647c8162d9e2aaa8ebc902ec08a49ac5a6
|
File details
Details for the file malla-0.1.5-py3-none-any.whl.
File metadata
- Download URL: malla-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/6.2.13-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc0217c87eacefdc574a92eaff267ce9a27937c11986c90861bd1b4c21bb04b3
|
|
| MD5 |
924a68043ed53670bf8f7b9e86ef1dc6
|
|
| BLAKE2b-256 |
0e995a7bd3675968875378cb8c74b515840e99f6ef16832a359bfa6833fdd7a4
|