Skip to main content

Matter and Form - THREE - Library

Project description

Matter and Form THREE Library

Overview

The Matter and Form THREE library provides a comprehensive API for controlling and interacting with the Matter and Form THREE scanner. This library allows developers to build custom integrations, automate tasks, and create new front-end systems for 3D scanning.

Project Home

Github Project HERE.

Examples

Using Premade Examples

To connect to the scanner, you can use the provided examples. For instance, to run the connection example, execute:

python examples/connect.py

Simple Example

Here is an example of how to use the library to connect to the scanner and control the projector:

from matter_and_form_three import Scanner

# Create and connect to the scanner
scanner = Scanner(OnTask=None, OnMessage=None, OnBuffer=None)
# Use the Zeroconf address or replace with the ip
scanner.Connect("ws://matterandform.local:8081")

# Simple request to list all projects
projectTask = scanner.list_projects()

# Check the output from the task for errors
if projectTask.Error:
    print('Error:', projectTask.Error)
    return
# Do something with the output
for project_obj in projectTask.Output:
    project = Project.Brief(**project_obj)
    print('Project index:', project.index, ' - Name:', project.name)

More Examples

The library comes with several pre-made examples. You can find them in the examples directory.

To run a specific example, use:

python three/examples/<example_name>.py

Documentation

For detailed documentation, visit the TODO -> official documentation.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

mfthree-11.7.2.tar.gz (68.8 kB view details)

Uploaded Source

Built Distribution

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

mfthree-11.7.2-py3-none-any.whl (228.3 kB view details)

Uploaded Python 3

File details

Details for the file mfthree-11.7.2.tar.gz.

File metadata

  • Download URL: mfthree-11.7.2.tar.gz
  • Upload date:
  • Size: 68.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mfthree-11.7.2.tar.gz
Algorithm Hash digest
SHA256 1ad89ab9016c63dd260bfe23ff839843f4bf955903badca11ea17a2ab2c96016
MD5 0a8f14865274b9813022301f4bc403cf
BLAKE2b-256 9ab06cfbb22ce57890ab5105d07bfb3dd8afc2f4c46602f8536b834609d4a142

See more details on using hashes here.

File details

Details for the file mfthree-11.7.2-py3-none-any.whl.

File metadata

  • Download URL: mfthree-11.7.2-py3-none-any.whl
  • Upload date:
  • Size: 228.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mfthree-11.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66770a80ed636bf38cc40d325d5764c0c58983600d692ba0fbbe360861e86fec
MD5 dc96d9b5219cf0b0d2f4ef9511acf5d6
BLAKE2b-256 d8fbf3d1f089c3c1021fb1de3a492a89d8c1183c5d87cd30ba5e7b6c074e3a88

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