Floorplan Scene
毫米制户型数据结构与语义 SVG、FPI、Legend 转换。仅依赖本包和声明的第三方库,不含 CAD 前处理、模型调用、任务服务、Facts、动线、采光、通风或训练功能。
from floorplan_scene import svg_to_scene, scene_to_rich_svg, export_fpi
scene = svg_to_scene(svg_text, scene_id="plane-1")
preview_svg = scene_to_rich_svg(scene)
diagnostics = []
fpi, legend = export_fpi(scene, diagnostics=diagnostics)
export_fpi 不修改输入 Scene。目标格式无法表示的信息、默认值与几何近似记录在 diagnostics 中;格式转换成功不表示识别准确或建筑合理。房间完整轮廓保留在 Scene/SVG,FPI 导出房间标签。FPI 回读时房间轮廓需要调用方提供对应 Graph,本包不调用服务取得 Graph。
公开发布前需由维护者确定代码与资源的发布许可。
Metadata
Release files for floorplan-scene 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| floorplan_scene-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for floorplan_scene-0.1.0-py3-none-any.whl |
Release files / floorplan_scene-0.1.0-py3-none-any.whl
| Download URL | floorplan_scene-0.1.0-py3-none-any.whl |
|---|---|
| Size | 64.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4af17dbb91041f04d20f7d86ee8fba87d95edd22c0d100d6215841b296132ef0
|
|
BLAKE2b-256 checksum How to use checksums |
e77b3d9797ae84eae64e459a5d0e89183df701429b54df881f139a5895ee4216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for floorplan-scene 0.1.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.