Skip to main content

Register the specified STL model according to the marker ball positions defined in the aimtool file.

Project description

rotate_stl_with_aimtool

Register the specified STL model according to the marker ball positions defined in the aimtool file.

This project is used to detect spherical structures in an STL model and register them with the center coordinates of the marker balls specified in the aimtool file.

Installation

pip install rotate_stl_with_aimtool

Usage

from rotate_stl_with_aimtool import rotate_stl_with_aimtool

print(
    "maximal error for tool",
    rotate_stl_with_aimtool(
        "./test_data/BONE-1.stl", 
        "./test_data/BONE-1.new.stl",
        "./test_data/BONE-2.aimtool",
        locate_sphere_in_stl_kargs={"max_ball_cnt":4},
        vtk_check=True
    ),
    "mm"
)

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

rotate_stl_with_aimtool-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

rotate_stl_with_aimtool-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file rotate_stl_with_aimtool-0.1.2.tar.gz.

File metadata

  • Download URL: rotate_stl_with_aimtool-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.13.12 Windows/11

File hashes

Hashes for rotate_stl_with_aimtool-0.1.2.tar.gz
Algorithm Hash digest
SHA256 36904a15f50ee8eaa97a5e5f9e6231cecb17fa945b75a45e31a95060aa628f24
MD5 d1290d0862ce5965699930dd0e709659
BLAKE2b-256 92e71b05e12484c565d7f58802847ed33bcd09d617df1e609cb3d6e9ac51c04c

See more details on using hashes here.

File details

Details for the file rotate_stl_with_aimtool-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for rotate_stl_with_aimtool-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5adb4b22c848358ab21fddec7808758e51e02fd4e4ccdf29bcba69619ae6ab82
MD5 abd82f3a749b009b71231b6675018b84
BLAKE2b-256 b2bc36040b9872d22ed1eae4f3f3846f8e9cb3f780903543df895366200e4f5b

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