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.7.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.7-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: malla-0.1.7.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

Hashes for malla-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9c3f3712af602168e25cecc587d715d271a0c8b25101f0ee3e323a5010c94138
MD5 eec28ac35f51a59a0fe79ff3691cc0f5
BLAKE2b-256 4633b873bc9d5877770b410202ab9de9e26fe394d14ed5dc3b0607c33d632180

See more details on using hashes here.

File details

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

File metadata

  • Download URL: malla-0.1.7-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

Hashes for malla-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8ae3e321f4d0475cb1d37b89c1dc659bea2969f1836b9c27a241322d57a1e973
MD5 0686367dc2d5b7b01a4d9bf82e479d5e
BLAKE2b-256 88e3e8698a6f99d0b661acd83f0a61a07654048c51158de3536c73f42ff61574

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