find-object-art/config.py

33 lines
1.4 KiB
Python
Raw Normal View History

2025-04-17 08:08:36 +00:00
import enum
psd_standard_width = 3000
psd_standard_height = 2000
psd_standard_width2 = 2000
2025-05-06 10:12:24 +00:00
psd_standard_height2 = 2910
2025-04-17 08:08:36 +00:00
class error_log(enum.Enum):
psd_name_error = 'psd名称格式不正确'
psd_size_error = 'psd尺寸大小不正确'
exit_repeat_layer = '存在重复图层'
psd_item_name_error = 'titem分组下存在不是titem的图层'
item_group_not_exit = 'titem分组不存在'
psd_not_exit_base = '不存在base底图'
exit_more_base = '存在多个base图层'
psd_not_full = '没有item对应的full'
psd_not_fullcolor = '没有item对应的fullcolor'
psd_not_itemcolor = '没有item对应的itemcolor'
item_or_full_num_error = 'itemfull或itemcolor,fullcolor的个数不全部相同'
name_contains_spaces = '该图层名字中包含空格'
psd_mask_not_full = '没有mask对应的full'
2025-04-22 06:10:30 +00:00
not_find_mask_full = '没有找到mask或者full'
2025-04-17 08:08:36 +00:00
layer_not_need = '图层第一级有不属于我们需要的图层'
2025-04-22 06:10:30 +00:00
psd_cmyk = 'psd是CMYK的色彩空间'
exit_repeat_group = '存在重复的分组'
group_name_error = '分组的名字错误'
child_layer_is_group = '子层级是个分组'
child_layer_unknown = '子层级名字未知'
2025-05-06 10:12:24 +00:00
child_layer_not_in_group = '子层级名字和分组名字没有对应上'
group_tfull_not_exit = '分组下没有full图层'
group_lack = '缺少这个group'