fossgis/3dmr

API info request should no longer return rotation/translation/scale

開放

#64 建立於 2025年9月11日

 (5 則留言) (0 個反應) (0 位負責人)Python (10 個分叉)auto 404
backendgood first issue

倉庫指標

星標
 (12 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Even though there is no longer a way to enter this information when uploading a model, API calls such as https://3dmr.eu/api/info/4 still return information for the rotation, translation and scale properties.

Ideally, such a change would be rolled out at the same time as an update to the 15 existing models which use non-default values for these properties:

2: scale=0.02
3: rotation=320.0 translation=[50.0, 9.0, 0.0]
4: rotation=45.0
5: scale=50.0
7: rotation=308.5 scale=0.034 translation=[610.0, -50.0, 0.0]
9: scale=0.7
10: translation=[1.0, 8.0, 0.0]
12: translation=[-6.11, 2.82, 0.0]
13: translation=[5.58, -1.93, 0.0]
14: translation=[-0.26, 3.31, 0.0]
15: rotation=180.0 translation=[0.0, -8.5, 0.0]
22: rotation=357.9 translation=[0.54, 22.79, -3.43]
27: scale=100.0
32: rotation=217.0
35: rotation=180.0

Given that the number of affected models is manageable, I might be able to update them manually if necessary.

貢獻者指南