feat: 初始化Easy Patch插件及依赖文件

- 添加Blender插件核心文件:__init__.py、ui.py、property.py、preference.py
- 添加插件工具模块:g.py、loop.py、generate_loop.py、const.py、op.py
- 添加翻译工具:utils/trans.py
- 添加PuLP线性规划库及其依赖文件,包括CBC求解器二进制文件
- 添加.gitignore和VSCode配置文件
This commit is contained in:
2026-03-03 19:24:57 +08:00
commit ab91b120e6
44 changed files with 17551 additions and 0 deletions

8
const.py Normal file
View File

@@ -0,0 +1,8 @@
addon_prefix = "easy_patch"
draw_path_threshold = 2 # 绘制路径的最小间隔
hover_threshold = 20 # 触发鼠标悬浮的最小间隔
mouse_move_threshold = 2 # px
snap_vertex_threshold = 30