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

Uploaded Source

Built Distribution

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

mfthree-9.0.1-py3-none-any.whl (197.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mfthree-9.0.1.tar.gz
  • Upload date:
  • Size: 60.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mfthree-9.0.1.tar.gz
Algorithm Hash digest
SHA256 bf9fb32c715d9bd10bb7cbcdb58f3ab0e0f7f7aee60dc474869364771aa0c9c0
MD5 b037f5e54c14bd0a4993f452cf94fd99
BLAKE2b-256 5b97748dcca88b848035225999ad27e7a68522c57bed1b5ad68bf391c8100587

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mfthree-9.0.1-py3-none-any.whl
  • Upload date:
  • Size: 197.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mfthree-9.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16dbb5cfabcd2b77c38f9767acf40d5f4012b5cad9532d8ceb9e5aea498c3679
MD5 d96dfa2424070dc2ef0f59babd5ad37f
BLAKE2b-256 ee7e7ee156826c4a9b0d760e93def9a41de78f4eb988f7bdab8d4e242194eba6

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