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)
Release files for malla 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| malla-0.1.7.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| malla-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / malla-0.1.7.tar.gz
| Download URL | malla-0.1.7.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c3f3712af602168e25cecc587d715d271a0c8b25101f0ee3e323a5010c94138
|
|
BLAKE2b-256 checksum How to use checksums |
4633b873bc9d5877770b410202ab9de9e26fe394d14ed5dc3b0607c33d632180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.2.13-arch1-1
|
Release files / malla-0.1.7-py3-none-any.whl
| Download URL | malla-0.1.7-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ae3e321f4d0475cb1d37b89c1dc659bea2969f1836b9c27a241322d57a1e973
|
|
BLAKE2b-256 checksum How to use checksums |
88e3e8698a6f99d0b661acd83f0a61a07654048c51158de3536c73f42ff61574
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.2.13-arch1-1
|