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.6.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file scapula_predict-0.0.6.tar.gz
.
File metadata
- Download URL: scapula_predict-0.0.6.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f73fb930c67c6a5a2ef7d4ae647aef031653b2a7b06df1fbe6048cc263b8a792 |
|
MD5 | b989c5cb91305e0377aab6271b2da90e |
|
BLAKE2b-256 | 28da6c8c79edcba0681dcfb07c9ef7aa58f540a992e34467a5ed6e9882297c4b |
File details
Details for the file scapula_predict-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: scapula_predict-0.0.6-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.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6167f38b0a131f0b7ca7d09d17a8a530675dadd846025e67a03dde0416bc7f40 |
|
MD5 | c3418a2aeb2ea7208af7cf547995facc |
|
BLAKE2b-256 | f543d9bce1e8c7ad3ba59d1b82e514873e5eeac1df302a68ed922cf4a32e2495 |