Skip to main content

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

malla-0.1.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file malla-0.1.4.tar.gz.

File metadata

  • Download URL: malla-0.1.4.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.10 Linux/6.2.12-arch1-1

File hashes

Hashes for malla-0.1.4.tar.gz
Algorithm Hash digest
SHA256 23c94a1f2fa0b1a4f008a0e15df9df28dce7b09a0aecebeed3fce4f8a46fb967
MD5 faf9e407755684b04e8bc9629a7af896
BLAKE2b-256 72090e44e1bff2778d98a193913dfa6a26944529f6444f4fe4d1a7c95de2f6d1

See more details on using hashes here.

File details

Details for the file malla-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: malla-0.1.4-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.10.10 Linux/6.2.12-arch1-1

File hashes

Hashes for malla-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 71bc1f18f0f32c3fceacc465e29c39c878b7b81cc345671e91207359cf069593
MD5 5a64768371e5c262ae37c8dfa5cf884d
BLAKE2b-256 3093386c90c79b43107b8ca2b43bb4deb4f730d0c3dd7078286349b2d88602c3

See more details on using hashes here.

Supported by

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