Skip to main content

Mouette is a small python library for handling point clouds, polylines, surface and volume meshes. It also contains various geometry processing algorithm, like shortest-paths, old-school parametrization or frame field computations.

Mouette (French for seagull) stands for Maillages, OUtils Et Traitement auTomatique de la géométriE (French for "Meshes, Tools and Geometry Processing").

Installation

Using pip: pip install mouette

Overview

Mouette allows to easily load data from various file format and access geometrical primitives

Import and export made simple

import mouette as M

mesh = M.mesh.load("path/to/my/mesh/mesh.obj")
print(mesh.vertices[0])
print(mesh.faces[2])
M.mesh.save(mesh,"path/to/export/mesh.obj")

Define quantities over meshes and work with it

It is possible to define any quantity on mesh elements

my_v_attribute = mesh.vertices.create_attribute("my_attribute", float) # an attribute storing one floating-point number per vertex
my_v_attribute[3] = 4.

my_f_attribute = mesh.faces.create_attribute("my_attribute", 2, int) # an attribute storing two integers per face
m_f_attribute[2] = [1,3]

Attributes can store booleans, integers, floating-point numbers, complex numbers and strings, using the provided python types bool, int, float, complex and str.

Call geometry processing algorithms

ff = framefield.SurfaceFrameField(mesh, "vertices", order=4, verbose=True)
ff.run()
ffmesh = ff.export_as_mesh()
M.mesh.save(ffmesh, "framefield.mesh")

And much more

See full documentation at https://gcoiffier.github.io/mouette/

Run tests

python -m pytest tests/

Metadata

Release files for mouette 1.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mouette 1.2.8
File Size Uploaded
mouette-1.2.8.tar.gz 171.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mouette 1.2.8
File Interpreter ABI Platform
mouette-1.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 394.4 kB

Release files / mouette-1.2.8.tar.gz

Download URL mouette-1.2.8.tar.gz
Size 171.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0b8386ba2467ba3897e3f7414bad4747f6381a39f4b5871d2c8a1ed30d92a5ea
BLAKE2b-256 checksum
How to use checksums
a7955c70c92d98ae5487fb1787d7d2fcae7518e422a855790272ea4b6cc272b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / mouette-1.2.8-py3-none-any.whl

Download URL mouette-1.2.8-py3-none-any.whl
Size 223.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fa3164ff6a9b84ef0f04670ef1e442716799ddf2c26413f46b080b98aafb6ba
BLAKE2b-256 checksum
How to use checksums
9fa9272acbaef85c954732a003211db8193df3a3c19e555711d319c55d7104af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.2.8 This release

2 release files

1.2.7.1

1 release file

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page