feat : design overall print 新增平铺间距和旋转角度
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped

This commit is contained in:
zcr
2026-01-07 17:03:02 +08:00
parent 2a50e7040e
commit e04636ce21

View File

@@ -60,7 +60,7 @@ def design(request_data: DesignModel):
]
},
"layer_order": true,
"preview_submit": "submit",
"preview_submit": "preview",
"scale_bag": 0.7,
"scale_earrings": 0.16,
"self_template": true,
@@ -69,16 +69,14 @@ def design(request_data: DesignModel):
},
"items": [
{
"businessId": 2377945,
"color": "209 196 171",
"image_id": 189410,
"businessId": 2115382,
"color": "",
"image_id": 61686,
"offset": [
0,
0
],
"path": "aida-collection-element/89/Sketchboard/53d38bd5-f77b-4034-ada2-45f1e2ebe00c.png",
"transpose": "top_bottom",
"rotate": 45,
"path": "aida-sys-image/images/female/dress/0628000564.jpg",
"print": {
"element": {
"element_angle_list": [],
@@ -87,85 +85,30 @@ def design(request_data: DesignModel):
"location": []
},
"overall": {
"location": [],
"print_angle_list": [],
"print_path_list": [],
"print_scale_list": []
},
"single": {
"location": [],
"print_angle_list": [],
"print_path_list": [],
"print_scale_list": []
}
},
"priority": 12,
"resize_scale": [
1.0,
1.0
],
"seg_mask_url": "aida-clothing/mask/mask_8e96ddb0-e466-11f0-8de2-0242ac130002.png",
"type": "Outwear"
},
{
"businessId": 2377946,
"color": "122 152 139",
"image_id": 81868,
"offset": [
0,
0
],
"path": "aida-sys-image/images/female/blouse/0825001443.jpg",
"print": {
"element": {
"element_angle_list": [],
"element_path_list": [],
"element_scale_list": [],
"location": []
},
"overall": {
"location": [],
"print_angle_list": [],
"print_path_list": [],
"print_scale_list": []
},
"single": {
"location": [],
"print_angle_list": [],
"print_path_list": [],
"print_scale_list": []
}
},
"priority": 11,
"resize_scale": [
1.0,
1.0
],
"seg_mask_url": "aida-clothing/mask/mask_8f0fab78-e466-11f0-8de2-0242ac130002.png",
"type": "Blouse"
},
{
"businessId": 2377947,
"color": "111 78 63",
"gradient": "aida-gradient/517c3a4d-aed7-4423-aa99-7b60d3577df1.png",
"image_id": 116494,
"offset": [
0,
0
],
"path": "aida-sys-image/images/female/skirt/0825000219.jpg",
"print": {
"element": {
"element_angle_list": [],
"element_path_list": [],
"element_scale_list": [],
"location": []
},
"overall": {
"location": [],
"print_angle_list": [],
"print_path_list": [],
"print_scale_list": []
"location": [
[
53.0,
118.5
]
],
"print_angle_list": [
0.0
],
"print_path_list": [
"aida-users/89/print/02d57aa8-f342-4e1d-b02c-b278f94dcfe6-3-89.png"
],
"print_scale_list": [
[
0.5,
0.5
]
],
"gap": [
[
10,
10
]
]
},
"single": {
"location": [],
@@ -179,8 +122,8 @@ def design(request_data: DesignModel):
1.0,
1.0
],
"seg_mask_url": "aida-clothing/mask/mask_8f6191fe-e466-11f0-8de2-0242ac130002.png",
"type": "Skirt"
"seg_mask_url": "aida-clothing/mask/mask_9698b428-eb93-11f0-9327-0242c0a80003.png",
"type": "Dress"
},
{
"body_path": "aida-sys-image/models/female/2e4815b9-1191-419d-94ed-5771239ca4a5.png",