Scapula Predict
Project description
Scapula Predict
这是一个用于RTSA术式术前辅助设计的包。
它提供了关节盂平面确定、入钉位置计算两个功能。
这两个功能通过如下步骤实现:
- 读入3D模型文件。
import scapula_predict
s = scapula_predict.scapula('2.ply')
- 选择关节盂平面并计算圆心。
s.select_points()
s.computer_circle()
- 将圆心移动至O点,并计算平面法向量。
s.move_center_to_O()
s.find_vector()
- 计算最合适的钉子位置
s.find_nail()
print (s.location)
- 计算导板面的模式
s.find_guide()
我们同时提供了一个模型可视化的代码,它通过传递一个包含需要可视化模型的列表实现。
s.show([s.mesh, s.cylinder, s.guide_mesh])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scapula_predict-0.0.10.tar.gz
.
File metadata
- Download URL: scapula_predict-0.0.10.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a668383f7c6637353264f8a6cb6e038fb0ac4aeff520589acaf6dea82e7e4a0 |
|
MD5 | d8166b1d96c5b4af4c838356180a0a21 |
|
BLAKE2b-256 | e95bbdf293eeb9b1d543d93f7f7933868aa8d5b9dbc67370f29b6c7c39558fd2 |
File details
Details for the file scapula_predict-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: scapula_predict-0.0.10-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 330f0dd1b2677221685b3af1c9428bac950a455010f0eca42c2253bd867e5710 |
|
MD5 | affcae6baa7c6ed0d5cfc5b633ed1a4e |
|
BLAKE2b-256 | 4f5ac05a619d9d9ef58b19323b23282db9dc74e630621d62ac06544cc6e29b33 |