feat : design overall print 新增平铺间距和旋转角度
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped
This commit is contained in:
@@ -60,7 +60,7 @@ def design(request_data: DesignModel):
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"layer_order": true,
|
"layer_order": true,
|
||||||
"preview_submit": "submit",
|
"preview_submit": "preview",
|
||||||
"scale_bag": 0.7,
|
"scale_bag": 0.7,
|
||||||
"scale_earrings": 0.16,
|
"scale_earrings": 0.16,
|
||||||
"self_template": true,
|
"self_template": true,
|
||||||
@@ -69,16 +69,14 @@ def design(request_data: DesignModel):
|
|||||||
},
|
},
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"businessId": 2377945,
|
"businessId": 2115382,
|
||||||
"color": "209 196 171",
|
"color": "",
|
||||||
"image_id": 189410,
|
"image_id": 61686,
|
||||||
"offset": [
|
"offset": [
|
||||||
0,
|
0,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"path": "aida-collection-element/89/Sketchboard/53d38bd5-f77b-4034-ada2-45f1e2ebe00c.png",
|
"path": "aida-sys-image/images/female/dress/0628000564.jpg",
|
||||||
"transpose": "top_bottom",
|
|
||||||
"rotate": 45,
|
|
||||||
"print": {
|
"print": {
|
||||||
"element": {
|
"element": {
|
||||||
"element_angle_list": [],
|
"element_angle_list": [],
|
||||||
@@ -87,85 +85,30 @@ def design(request_data: DesignModel):
|
|||||||
"location": []
|
"location": []
|
||||||
},
|
},
|
||||||
"overall": {
|
"overall": {
|
||||||
"location": [],
|
"location": [
|
||||||
"print_angle_list": [],
|
[
|
||||||
"print_path_list": [],
|
53.0,
|
||||||
"print_scale_list": []
|
118.5
|
||||||
},
|
]
|
||||||
"single": {
|
],
|
||||||
"location": [],
|
"print_angle_list": [
|
||||||
"print_angle_list": [],
|
0.0
|
||||||
"print_path_list": [],
|
],
|
||||||
"print_scale_list": []
|
"print_path_list": [
|
||||||
}
|
"aida-users/89/print/02d57aa8-f342-4e1d-b02c-b278f94dcfe6-3-89.png"
|
||||||
},
|
],
|
||||||
"priority": 12,
|
"print_scale_list": [
|
||||||
"resize_scale": [
|
[
|
||||||
1.0,
|
0.5,
|
||||||
1.0
|
0.5
|
||||||
],
|
]
|
||||||
"seg_mask_url": "aida-clothing/mask/mask_8e96ddb0-e466-11f0-8de2-0242ac130002.png",
|
],
|
||||||
"type": "Outwear"
|
"gap": [
|
||||||
},
|
[
|
||||||
{
|
10,
|
||||||
"businessId": 2377946,
|
10
|
||||||
"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": []
|
|
||||||
},
|
},
|
||||||
"single": {
|
"single": {
|
||||||
"location": [],
|
"location": [],
|
||||||
@@ -179,8 +122,8 @@ def design(request_data: DesignModel):
|
|||||||
1.0,
|
1.0,
|
||||||
1.0
|
1.0
|
||||||
],
|
],
|
||||||
"seg_mask_url": "aida-clothing/mask/mask_8f6191fe-e466-11f0-8de2-0242ac130002.png",
|
"seg_mask_url": "aida-clothing/mask/mask_9698b428-eb93-11f0-9327-0242c0a80003.png",
|
||||||
"type": "Skirt"
|
"type": "Dress"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"body_path": "aida-sys-image/models/female/2e4815b9-1191-419d-94ed-5771239ca4a5.png",
|
"body_path": "aida-sys-image/models/female/2e4815b9-1191-419d-94ed-5771239ca4a5.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user