Skip to main content

Scapula Predict

Project description

Scapula Predict

这是一个用于RTSA术式术前辅助设计的包。

它提供了关节盂平面确定、入钉位置计算两个功能。

这两个功能通过如下步骤实现:

  1. 读入3D模型文件。
import scapula_predict
s = scapula_predict.scapula('2.ply')
  1. 选择关节盂平面并计算圆心。
s.select_points()
s.computer_circle()
  1. 将圆心移动至O点,并计算平面法向量。
s.move_center_to_O()
s.find_vector()
  1. 计算最合适的钉子位置
s.find_nail()
print (s.location)
  1. 计算导板面的模式
s.find_guide()

我们同时提供了一个模型可视化的代码,它通过传递一个包含需要可视化模型的列表实现。

s.show([s.mesh, s.cylinder, s.guide_mesh])

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

scapula_predict-0.0.9.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

scapula_predict-0.0.9-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file scapula_predict-0.0.9.tar.gz.

File metadata

  • Download URL: scapula_predict-0.0.9.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for scapula_predict-0.0.9.tar.gz
Algorithm Hash digest
SHA256 6d33e25d38bb6eba6cf27aa4961aedd64577e227288ca16583cf8c181dacc097
MD5 52f2d6a2d75e68831c2b896ead550ec0
BLAKE2b-256 97f6257fead2d67a5f98cab6c34da18ebda589c255e44aff508d03647d2f0fa1

See more details on using hashes here.

File details

Details for the file scapula_predict-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for scapula_predict-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 de06a0521d9b04a7d8e870fecd2216f9afbeac62839c95875b7c46cdcf03c6ec
MD5 cb0a21c942d225362d08751e1973813b
BLAKE2b-256 e7aef168c0248dff969312f43fb7c76d3d93d41a91b332b395c7192dc7e1ca8f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page