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

Uploaded Source

Built Distribution

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

mfthree-8.20.7-py3-none-any.whl (195.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mfthree-8.20.7.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for mfthree-8.20.7.tar.gz
Algorithm Hash digest
SHA256 3e7dd5b9bc0a048da3d07644c706ddc7b316f8c23fc975e30d9ce73a5b653719
MD5 2c3798c4b4485fb7801d6f5c19b8fa92
BLAKE2b-256 550a29cf9fd6694e3f8f3b576f142394814096b8f14e0e254882493d2caa3fd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mfthree-8.20.7-py3-none-any.whl
  • Upload date:
  • Size: 195.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for mfthree-8.20.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1c5226767d5c5433080260759405620d7a696fc2d35dfa1e39f6d19b0db5e193
MD5 2cd8152ca47ce155abf274e9f1f68b7e
BLAKE2b-256 b22357dd2dbefb5dff6087341b8efa9cc19c5bfeb99fa5067e5980c102a22a20

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