fossgis/3dmr

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

Aperta

#64 aperta il 11 set 2025

 (5 commenti) (0 reazioni) (0 assegnatari)Python (10 fork)auto 404
backendgood first issue

Metriche repository

Star
 (12 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor