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,
        rank_idx=2
    ),
    "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.4.tar.gz (4.3 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.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rotate_stl_with_aimtool-0.1.4.tar.gz
  • Upload date:
  • Size: 4.3 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.4.tar.gz
Algorithm Hash digest
SHA256 883a7836e4b1ed6561effc4094b18b1f4676a0d1b3c3e43fdea44a7deeb61b5c
MD5 1350ee022902ac8f8f8b3b3158fa8bb3
BLAKE2b-256 bc69bea7be90d56540b82817f02975c58cd294ca3031778fe45b97e147ca4bd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rotate_stl_with_aimtool-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 919baf43debfbe1f08c17a3f6b1e2e22ba9003327ac5608e2848dfbc3d5af52d
MD5 64d37b040694e2dba2a4f112bc42fd56
BLAKE2b-256 36353ba622450007f7c80b1ebc66da527192e1700754ebdd3a04139e7c1a96fb

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