需要 CMake 版本满足 3.21 ≤ cmake < 3.25(OpenSceneGraph 3.6.x 在 cmake ≥ 3.25
下构建失败,实测踩坑)。pyproject.toml 的 build-system 已固定 cmake==3.24.3
(构建隔离环境自动安装,无需改动机器上的系统 cmake)。
构建脚本
chcp 65001 && uv build --wheel --out-dir dist
cython 测试
python -m cython --cplus -3 --fast-fail -I "src/alosg" -o "test_manual.cxx" "src/alosg/alosg.pyx"
创建入口代理节点
import alosg
# # 仅分析,返回根瓦片绝对路径列表
# roots = alosg.find_osgb_roots(r"D:\数据\倾斜模型")
# 全量扫描(原行为)
roots = alosg.find_osgb_roots(r"D:\模型")
# Bentley / iTwin 类数据
roots = alosg.find_osgb_roots(r"D:\模型", mode="bentley", sub_path="Data")
# 大疆智图
roots = alosg.find_osgb_roots(r"D:\模型", mode="dji")
# 生成入口
ok, roots = alosg.create_preview_entry(
r"D:\模型",
r"D:\模型\preview_entry.osgb",
mode="dji",
)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alosg-0.2.1-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: alosg-0.2.1-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
835076b299d84492aafe0d94dd1f27816414e57b0991a87e8155ece2fa9cecd7
|
|
| MD5 |
20d8e8e408778ecc6765a21fddcac408
|
|
| BLAKE2b-256 |
36ec329cc38d38918ba3085ef5749cc54319c4dde46be5c24e47e146b5a62a1e
|
File details
Details for the file alosg-0.2.1-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: alosg-0.2.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f0177e75fbad7fe9ca37354d3461005dfeb28fd791408c1e4c9be087a151915
|
|
| MD5 |
5ca6eb11230c0ab3e424f30d19eb8955
|
|
| BLAKE2b-256 |
2beb2ecf45f63618007b5c69fe0d3d326b03eeec8a940e6bec27a50a2b9a6e4c
|
File details
Details for the file alosg-0.2.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: alosg-0.2.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3187d7020e2c058f591735aa67f5a2f0b83ee75fd48a4e72cd79465f77162bd2
|
|
| MD5 |
8f711d4d39fc4ca00e4f6a8284323c8b
|
|
| BLAKE2b-256 |
ec74dff3614f377757c2e22c8618a215ad8490d9425d58af4b4af5ae166decc4
|
File details
Details for the file alosg-0.2.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: alosg-0.2.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bf619c5a386d0751ec010b59b9fff4ec927be75ad47a8a6f364965bce5af214
|
|
| MD5 |
e64b89993bb5eff62263c9b413ee48ff
|
|
| BLAKE2b-256 |
4c56dc05dca638230aee614447e5bdca36316b2bb1f700139d2519486c3b2b41
|