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.3.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.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rotate_stl_with_aimtool-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 02c615af93e4d8654046b40b5386e9e886a83dd758427b2793bde4460283babc
MD5 b6ef20b81590baa5cd987e121cf548f1
BLAKE2b-256 599635c33ed75a23299a2edb5fbe6ec9451637c3d45d8f84e30745cbfe1e40e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rotate_stl_with_aimtool-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9b885b26c4e6f3a865bbdf3b788e98f893b197b82034f9a33b76143db45444b8
MD5 b08cd1f352abd2d59c3488d093740278
BLAKE2b-256 82b803623e5a230cea3e54afcb6260f4b47b7bf277ab2575fcce6231fe22f72d

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