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
scapula_predict-0.0.5.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file scapula_predict-0.0.5.tar.gz
.
File metadata
- Download URL: scapula_predict-0.0.5.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5a3669e76d7453ac9508876e765ad615cce884216fe1362b1dee9e08a184e1 |
|
MD5 | 064f099fe908a98b68f7d1b2eaf24ad3 |
|
BLAKE2b-256 | a8cdf04272321aa51e59ebe9cd4dfb390b40e0a1cfc50418cf59a4eaf27cf390 |
File details
Details for the file scapula_predict-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: scapula_predict-0.0.5-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b66405278cc0f3c76d1616e63c5c0fc0ca367e97784775646186c48f30b5eff |
|
MD5 | bc02d69a8a8e567b3c0b334c22cfc983 |
|
BLAKE2b-256 | eb54b3db71e9eba765444252b46ee485a6adc17910fafc2913df07fb5ef44a0b |