Skip to main content

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])

Metadata

Release files for scapula-predict 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scapula-predict 0.0.10
File Size Uploaded Provenance
scapula_predict-0.0.10.tar.gz 5.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for scapula-predict 0.0.10
File Interpreter ABI Platform
scapula_predict-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / scapula_predict-0.0.10.tar.gz

Download URL scapula_predict-0.0.10.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5a668383f7c6637353264f8a6cb6e038fb0ac4aeff520589acaf6dea82e7e4a0
BLAKE2b-256 checksum
How to use checksums
e95bbdf293eeb9b1d543d93f7f7933868aa8d5b9dbc67370f29b6c7c39558fd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Release files / scapula_predict-0.0.10-py3-none-any.whl

Download URL scapula_predict-0.0.10-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
330f0dd1b2677221685b3af1c9428bac950a455010f0eca42c2253bd867e5710
BLAKE2b-256 checksum
How to use checksums
4f5ac05a619d9d9ef58b19323b23282db9dc74e630621d62ac06544cc6e29b33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Security for scapula-predict 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page