fossgis/3dmr

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

Ouverte

#64 ouverte le 11 sept. 2025

 (5 commentaires) (0 réaction) (0 personne assignée)Python (10 forks)auto 404
backendgood first issue

Métriques du dépôt

Stars
 (12 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur