diff --git a/.gitignore b/.gitignore index d71377e..90546d9 100644 --- a/.gitignore +++ b/.gitignore @@ -29,21 +29,11 @@ webapp/generated/ dist/ data/cache/ -# 这 6 张在同一份构建下不逐字节复现(抗锯齿/量化噪声), -# 每次跑关卡都会改写它们;参考像素已存进 tests/baselines/flaky/,不再入库。 -docs/shots/harness_p04_p05_xray.png -docs/shots/harness_p07_xray.png -docs/shots/harness_xray_internal.png -docs/shots/boss_p07.png -docs/shots/m3_sheet_exploded.png -docs/shots/p03_mount_loose.png -docs/shots/m2_sheet_joint.png -docs/shots/m1_sheet_front.png -docs/shots/m4_sheet_side.png -docs/shots/m5_guide_step1.png -docs/shots/m6_guide_step5.png -docs/shots/m7_sheet_blueprint.png -docs/shots/m8_sheet_dark.png +# 关卡截图落点 = 纯生成物:每次 `python -m tests.verify --shots` 由 shot.py 重写 +# (其中有 13 张在同一份构建下也不逐字节复现,抗锯齿/量化噪声)。 +# 比对的权威物在 tests/baselines/ —— shots_stable.md5 是 92 张的 md5 名单, +# flaky/ 是那 13 张的参考像素 + thresholds.json 阈值;PNG 本身不需要入库。 +docs/shots/ # 其它编辑器的本地配置/会话残留(不是工程产物,也不该跟着版本走) .trae/ diff --git a/arm/viewer/shot.py b/arm/viewer/shot.py index 8c50195..567f91c 100644 --- a/arm/viewer/shot.py +++ b/arm/viewer/shot.py @@ -31,27 +31,7 @@ if not EDGE: VIEWS = { "01_iso": "?cam=iso", - "zoom_user": "?cam=iso&az=-0.9&po=1.15&rd=470&tx=30&ty=320&tz=-80&xray=0", - "user_harness_view": "?az=-1.85&po=1.32&rd=430&tx=0&ty=330&tz=-115&xray=0", - "user_harness_zoom": "?az=-1.85&po=1.32&rd=280&tx=-5&ty=360&tz=-115&xray=0", - "user_m1_rear": "?az=-1.25&po=1.35&rd=350&tx=-70&ty=570&tz=-128&xray=0", - "user_m1_exact": "?az=-1.5708&po=1.5708&rd=260&tx=0&ty=610&tz=-128&xray=0", - "user_m1_bypass_oblique": "?az=-1.0&po=1.15&rd=300&tx=-40&ty=580&tz=-140&xray=0", - "user_smooth_harness": "?az=1.50&po=1.45&rd=340&tx=-15&ty=560&tz=-128&xray=0", - "user_contour_harness": "?az=1.5708&po=1.50&rd=360&tx=-15&ty=320&tz=-128&xray=0", "02_front": "?cam=front", - - # 工程图 / 装配向导 / 运动模拟三种模式。URL 参数(?view=&sheet=&theme=&guide=)就是 - # 为这几条截图加的:不把它们纳入基线,拆 CSS 与那 700 行工程图 JS 时等于没有关卡。 - "m1_sheet_front": "?view=sheet", - "m2_sheet_joint": "?view=sheet&sheet=1", - "m3_sheet_exploded": "?view=sheet&sheet=2", - "m4_sheet_side": "?view=sheet&sheet=3", - "m5_guide_step1": "?view=sheet&sheet=guide&guide=0", - "m6_guide_step5": "?view=sheet&sheet=guide&guide=4", - "m7_sheet_blueprint": "?view=sheet&theme=blueprint", - "m8_sheet_dark": "?view=sheet&theme=dark", - "m9_motion": "?view=motion", "03_side": "?cam=side", "04_top": "?cam=top", "05_exploded": "?cam=iso&expl=100", @@ -63,97 +43,35 @@ VIEWS = { "11_tool_flange": "?cam=wrist&xray=0&j6=45", "12_elbow_flare": "?cam=elbow&xray=0", "13_forearm_side": "?cam=side&xray=0&rd=340&ty=245&tz=-135", - "user_target": "?cam=side&az=-1.5708&po=1.57&xray=0&rd=340&tx=100&ty=245&tz=-135", - "view_yz_pos_x": "?cam=side&az=0&po=1.57&xray=0&rd=340&tx=100&ty=245&tz=-135", - "view_yz_neg_x": "?cam=side&az=3.14159&po=1.57&xray=0&rd=340&tx=100&ty=245&tz=-135", - "view_iso_forearm": "?cam=side&az=-0.65&po=1.2&xray=0&rd=320&tx=100&ty=245&tz=-135", - "user_view1": "?cam=wrist&az=0.55&po=1.4&rd=310&xray=0", - "user_view2": "?cam=wrist&az=0.2&po=1.4&rd=290&xray=0", - "user_p04": "?cam=joint&az=-1.5708&po=1.57&rd=380&xray=0", - "user_p04_opp": "?cam=joint&az=1.5708&po=1.57&rd=380&xray=0", - "user_elbow_rear": "?az=1.5708&po=1.5708&rd=280&tx=95&ty=315&tz=-128&xray=0", - "user_p07_wrist": "?az=1.5708&po=1.5708&rd=240&tx=95&ty=235&tz=-128&xray=0", - "user_elbow_front": "?az=-1.5708&po=1.5708&rd=250&tx=18.5&ty=310&tz=-128&xray=0", - "user_p06_xz": "?az=1.5708&po=1.5708&rd=240&tx=18.5&ty=350&tz=-128&xray=0&hide=胸板,底脚,肩吊臂", - "user_p06_yz": "?az=0&po=1.5708&rd=260&tx=18.5&ty=350&tz=-110&xray=0", - "user_p06_iso": "?az=-0.65&po=1.25&rd=260&tx=-15&ty=350&tz=-128&xray=0", - "user_p07_creases": "?az=-0.65&po=1.25&rd=260&tx=30&ty=270&tz=-130&xray=0", - # 电机腔内壁(隐藏全部电机,从腔内看 R35/R30.15 两段同心圆弧是否连续) - "bay_p06_inside": "?az=1.5708&po=1.5708&rd=250&tx=18.5&ty=345&tz=-128&xray=0&hide=J1,J2,J3,J4,J5,J6", - "bay_p07_inside": "?az=1.5708&po=1.5708&rd=240&tx=18.5&ty=235&tz=-128&xray=0&hide=J1,J2,J3,J4,J5,J6", - "bay_p08_inside": "?az=1.5708&po=1.5708&rd=210&tx=18.5&ty=175&tz=-128&xray=0&hide=J1,J2,J3,J4,J5,J6", - "user_p04_side": "?az=1.5708&po=1.5708&rd=300&tx=18.5&ty=520&tz=-128&xray=0&hide=胸板,底脚,肩吊臂", - "user_p04_bottom": "?az=0.5&po=2.0&rd=240&tx=18.5&ty=490&tz=-128&xray=0&hide=胸板,底脚,肩吊臂", - "user_p04_bottom2": "?az=1.2&po=2.0&rd=260&tx=18.5&ty=490&tz=-128&xray=0&hide=胸板,底脚,肩吊臂", - "user_shoulder_solid": "?cam=joint&az=2.1&po=1.35&rd=380&xray=0", - "user_shoulder_xray": "?cam=joint&az=2.1&po=1.35&rd=380", - "user_shoulder_top": "?cam=joint&az=-0.6&po=0.6&rd=360&xray=0", - # P03 轻量化桁架版(孤立视图:只留 P03,隐藏其余零件/电机/螺钉/包络) - "p03_light_iso": "?az=0.62&po=1.15&rd=300&tx=-70&ty=548&tz=-128&xray=0&hide=P01,P02,P04,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - "p03_light_side": "?az=1.5708&po=1.5708&rd=320&tx=-70&ty=548&tz=-128&xray=0&hide=P01,P02,P04,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - "p03_light_rear": "?az=0.0&po=1.45&rd=300&tx=-70&ty=548&tz=-128&xray=0&hide=P01,P02,P04,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - "p03_light_join": "?az=0.62&po=1.15&rd=420&tx=18.5&ty=520&tz=-128&xray=0", - "p03_light_xray": "?az=0.62&po=1.15&rd=300&tx=-70&ty=548&tz=-128&xray=1&hide=P01,P02,P04,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - # 减重版(2026-10-02):P04 立柱槽 / P06 过渡块窗 / P07 顶板槽 的孤立视图 - # 俯视看朝上敞开的槽口,斜视看槽壁与留下来的抗弯腹板 - "hollow_p04_top": "?az=0.0&po=0.05&rd=250&tx=18.5&ty=585&tz=-128&xray=0&hide=P01,P02,P03,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - "hollow_p04_iso": "?az=0.7&po=1.05&rd=280&tx=18.5&ty=585&tz=-128&xray=0&hide=P01,P02,P03,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - "hollow_p07_top": "?az=0.0&po=0.05&rd=230&tx=18.5&ty=270&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P06,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - "hollow_p07_iso": "?az=0.7&po=1.05&rd=260&tx=18.5&ty=275&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P06,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - "hollow_p06_iso": "?az=0.7&po=1.05&rd=190&tx=18.5&ty=368&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P07,P08,P09,M1,M2,M3,M4,M5,M6,S0,S1,ENV", - # P03↔立柱 安装接口(新版 4xM5 从腔体上方拧入):俯视看螺钉落位 - "p03_mount_top": "?az=0.9&po=1.30&rd=190&tx=-115&ty=476&tz=-128&xray=0&hide=P02,P04,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,ENV", - "p03_mount_iso": "?az=2.2&po=0.95&rd=230&tx=-115&ty=486&tz=-128&xray=0&hide=P02,P04,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,ENV", - "p03_mount_loose": "?az=0.9&po=0.42&rd=260&tx=-115&ty=500&tz=-128&xray=0&expl=60&hide=P02,P04,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,ENV", - "j3_前端压盖_装配": "?az=0.7&po=2.72&rd=190&tx=19.5&ty=396&tz=-128&xray=0&hide=立柱,底座,肩关节安装悬臂,肩叉,大臂骨架,小臂骨架,腕部转接座,末端工具法兰,M1,M2,M4,M5,M6,包络经纬网", - "j3_前端压盖_全件": "?az=0.7&po=2.6&rd=300&tx=19.5&ty=420&tz=-128&xray=0", - # 承压面下沉 2mm 留下的"悬空凸台"(2026-10-04 整改):沿电机轴线从尾端面方向看, - # 四个视图分别对应 P04/P05/P06/P07 的后端。ax/po 沿轴向,rd 拉近到 R35 座圈。 - # 沿电机轴线从尾端面看过去:承压面(R35圆面) + 4xS02 沉孔,凸台消失后应是干净圆面 - "boss_p04": "?az=0.55&po=1.30&rd=150&tx=19.5&ty=490&tz=-158&xray=0&hide=P01,P02,P03,P05,P06,P07,P08,P09,M3,M4,M5,M6,ENV", - "user_fork_fixed": "?az=0.55&po=1.30&rd=150&tx=19.5&ty=490&tz=-158&xray=0&hide=P01,P02,P03,P06,P07,P08,P09,M1,M4,M5,M6,ENV,S0,S1", - "bay_p04_inside": "?az=0.55&po=2.10&rd=150&tx=19.5&ty=490&tz=-158&xray=0&hide=P01,P02,P03,P05,P06,P07,P08,P09,M1,M2,M3,M4,M5,M6,ENV,S0,S1", - "bay_p06_inside": "?az=0.55&po=2.10&rd=150&tx=19.5&ty=332&tz=-158&xray=0&hide=P01,P02,P03,P04,P05,P07,P08,P09,M1,M2,M3,M4,M5,M6,ENV,S0,S1", - "bay_p07_inside": "?az=0.55&po=2.10&rd=150&tx=19.5&ty=227&tz=-158&xray=0&hide=P01,P02,P03,P04,P05,P06,P08,P09,M1,M2,M3,M4,M5,M6,ENV,S0,S1", - "p04_both_ends": "?az=1.5708&po=1.5708&rd=200&tx=19.5&ty=490&tz=-128&xray=0&hide=P01,P02,P03,P05,P06,P07,P08,P09,M1,M3,M4,M5,M6,ENV,S0,S1", - "p04_m2_side": "?az=1.2&po=1.9&rd=240&tx=19.5&ty=490&tz=-128&xray=0&hide=P01,P02,P03,P05,P06,P07,P08,P09,M1,M3,M4,M5,M6,ENV,S0,S1", - "p06_m4_side": "?az=1.2&po=1.9&rd=240&tx=19.5&ty=332&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P07,P08,P09,M1,M2,M3,M5,M6,ENV,S0,S1", - "p07_m5_side": "?az=1.2&po=1.9&rd=240&tx=19.5&ty=227&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P06,P08,P09,M1,M2,M3,M4,M6,ENV,S0,S1", - "p05_m3_side": "?az=1.2&po=1.9&rd=240&tx=19.5&ty=400&tz=-128&xray=0&hide=P01,P02,P03,P04,P06,P07,P08,P09,M1,M2,M4,M5,M6,ENV,S0,S1", - "boss_p05": "?az=1.5708&po=1.5708&rd=190&tx=18.5&ty=392&tz=-128&xray=0&hide=P01,P02,P03,P04,P06,P07,P08,P09,M2,M4,M5,M6,ENV", - "user_compare_view": "?cam=side&az=0&po=1.5708&rd=460&tx=19.5&ty=380&tz=-128&xray=0&hide=P01,P02,P03,P09,M1,M6,ENV", - "user_p07_check": "?az=1.5708&po=1.5708&rd=260&tx=19.5&ty=220&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P06,P09,M1,M2,M3,M4,M5,M6,ENV", - "boss_p06": "?az=1.5708&po=1.5708&rd=190&tx=18.5&ty=332&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P07,P08,P09,M1,M2,M3,M5,M6,ENV", - "boss_p07": "?az=0&po=0.0&rd=210&tx=19.5&ty=215&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P06,P08,P09,M1,M2,M3,M4,M6,ENV", - "svg_side": f"http://127.0.0.1:{PORT}/docs/sheet_side.svg", - "svg_joint": f"http://127.0.0.1:{PORT}/docs/sheet_joint.svg", - "svg_exploded": f"http://127.0.0.1:{PORT}/docs/sheet_exploded.svg", - "user_circle_check": "?az=0.8&po=1.95&rd=240&tx=19.5&ty=430&tz=-128&xray=0&hide=M1,M2,M3,M4,M5,M6,ENV", - "user_exact_view": "?az=1.5708&po=1.92&rd=150&tx=19.5&ty=440&tz=-128&xray=0&hide=P01,P02,P03,M1,M2,M3,M4,M5,M6,ENV", - "shot_p08_user": "?az=1.5708&po=1.92&rd=150&tx=19.5&ty=176&tz=-128&xray=0&hide=P01,P02,P03,P04,P05,P06,P07,P09,M1,M2,M3,M4,M5,M6,ENV", - "p05_flank_view": "?az=0&po=1.5708&rd=200&tx=19.5&ty=440&tz=-135&xray=0&hide=P01,P02,P03,P07,P08,P09,M1,M4,M5,M6,ENV", + + # 工程图 / 装配向导 / 运动模拟三种模式。URL 参数(?view=&sheet=&theme=&guide=)就是 + # 为这几条截图加的:不把它们纳入基线,拆 CSS 与那 700 行工程图 JS 时等于没有关卡。 + + "m1_sheet_front": "?view=sheet", + "m2_sheet_joint": "?view=sheet&sheet=1", + "m3_sheet_exploded": "?view=sheet&sheet=2", + "m4_sheet_side": "?view=sheet&sheet=3", + "m5_guide_step1": "?view=sheet&sheet=guide&guide=0", + "m6_guide_step5": "?view=sheet&sheet=guide&guide=4", + "m7_sheet_blueprint": "?view=sheet&theme=blueprint", + "m8_sheet_dark": "?view=sheet&theme=dark", + "m9_motion": "?view=motion", + "harness_full_iso": "?cam=iso&xray=0", "harness_overview": "?az=-0.7&po=1.2&rd=520&tx=0&ty=400&tz=-120&xray=0", - "harness_xray_internal": "?az=-0.7&po=1.2&rd=520&tx=0&ty=400&tz=-120&alpha=0.35&xray=1", - "harness_p07_window": "?az=-0.65&po=1.25&rd=260&tx=25&ty=275&tz=-130&xray=0", - "harness_p07_xray": "?az=-0.65&po=1.25&rd=260&tx=25&ty=275&tz=-130&alpha=0.35&xray=1", "harness_p04_p05": "?az=0.8&po=1.35&rd=280&tx=25&ty=470&tz=-128&xray=0", "harness_p04_p05_xray": "?az=0.8&po=1.35&rd=280&tx=25&ty=470&tz=-128&alpha=0.35&xray=1", "harness_p06_window": "?az=-0.65&po=1.25&rd=240&tx=25&ty=355&tz=-128&xray=0", + "harness_p07_window": "?az=-0.65&po=1.25&rd=260&tx=25&ty=275&tz=-130&xray=0", + "harness_p07_xray": "?az=-0.65&po=1.25&rd=260&tx=25&ty=275&tz=-130&alpha=0.35&xray=1", "harness_xray_full": "?cam=iso&xray=1", - # 扎带拱桥核验:沿 ±Y 正视肩部,确认三个拱桥各自露出多少、线束是否压在桥上 - "tie_probe_negY": "?az=1.5708&po=1.5708&rd=460&tx=-30&ty=590&tz=-128&xray=0", - "tie_probe_posY": "?az=-1.5708&po=1.5708&rd=460&tx=-30&ty=590&tz=-128&xray=0", - "tie_after_negY": "?az=1.5708&po=1.5708&rd=300&tx=-25&ty=600&tz=-128&xray=0", - "tie_after_oblique": "?az=2.05&po=1.30&rd=330&tx=-25&ty=600&tz=-128&xray=0", - "tie_after_close": "?az=1.90&po=1.50&rd=180&tx=-25&ty=605&tz=-100&xray=0", - # P06/P07 −X 侧线束走廊:从 −X、−Y 斜看(纯 −X 会被蓝色立柱挡住) - "tie_after_p0607": "?az=2.35&po=1.5708&rd=300&tx=0&ty=290&tz=-102.5&xray=0", - "tie_after_p0607_obl": "?az=2.60&po=1.35&rd=260&tx=-5&ty=290&tz=-110&xray=0", + "harness_xray_internal": "?az=-0.7&po=1.2&rd=520&tx=0&ty=400&tz=-120&alpha=0.35&xray=1", } os.makedirs(SHOTS, exist_ok=True) + want = sys.argv[1:] or list(VIEWS) + def take_shot(nm): q = VIEWS[nm] out = "%s/%s.png" % (SHOTS, nm) @@ -191,7 +109,6 @@ def warmup(): except Exception: return False - def ensure_server(): """端口没开就自己拉一个 serve 子进程,跑完回收;不让截图依赖"你先把服务开着"。""" import socket @@ -226,7 +143,6 @@ def ensure_server(): err = open(os.path.join(REPO, "scratch", "_serve_err.txt"), "rb").read().decode("utf-8", "ignore").strip()[-400:] raise SystemExit("serve 拉不起来:端口 %d 可能被占;子进程输出:\n%s" % (PORT, err)) - if __name__ == "__main__": from concurrent.futures import ThreadPoolExecutor srv = ensure_server() diff --git a/docs/shots/01_iso.png b/docs/shots/01_iso.png deleted file mode 100644 index 6ffa433..0000000 Binary files a/docs/shots/01_iso.png and /dev/null differ diff --git a/docs/shots/02_front.png b/docs/shots/02_front.png deleted file mode 100644 index c1f0b8d..0000000 Binary files a/docs/shots/02_front.png and /dev/null differ diff --git a/docs/shots/03_side.png b/docs/shots/03_side.png deleted file mode 100644 index 70f2ae9..0000000 Binary files a/docs/shots/03_side.png and /dev/null differ diff --git a/docs/shots/04_top.png b/docs/shots/04_top.png deleted file mode 100644 index cc85669..0000000 Binary files a/docs/shots/04_top.png and /dev/null differ diff --git a/docs/shots/05_exploded.png b/docs/shots/05_exploded.png deleted file mode 100644 index ecb5e75..0000000 Binary files a/docs/shots/05_exploded.png and /dev/null differ diff --git a/docs/shots/06_wrist.png b/docs/shots/06_wrist.png deleted file mode 100644 index 5f9339d..0000000 Binary files a/docs/shots/06_wrist.png and /dev/null differ diff --git a/docs/shots/07_joint.png b/docs/shots/07_joint.png deleted file mode 100644 index 690df83..0000000 Binary files a/docs/shots/07_joint.png and /dev/null differ diff --git a/docs/shots/08_pose.png b/docs/shots/08_pose.png deleted file mode 100644 index 94b545a..0000000 Binary files a/docs/shots/08_pose.png and /dev/null differ diff --git a/docs/shots/09_sheet.png b/docs/shots/09_sheet.png deleted file mode 100644 index 6ffa433..0000000 Binary files a/docs/shots/09_sheet.png and /dev/null differ diff --git a/docs/shots/10_solid.png b/docs/shots/10_solid.png deleted file mode 100644 index 6ffa433..0000000 Binary files a/docs/shots/10_solid.png and /dev/null differ diff --git a/docs/shots/11_tool_flange.png b/docs/shots/11_tool_flange.png deleted file mode 100644 index 7b13fcd..0000000 Binary files a/docs/shots/11_tool_flange.png and /dev/null differ diff --git a/docs/shots/12_elbow_flare.png b/docs/shots/12_elbow_flare.png deleted file mode 100644 index eac4186..0000000 Binary files a/docs/shots/12_elbow_flare.png and /dev/null differ diff --git a/docs/shots/13_forearm_side.png b/docs/shots/13_forearm_side.png deleted file mode 100644 index f0dc076..0000000 Binary files a/docs/shots/13_forearm_side.png and /dev/null differ diff --git a/docs/shots/bay_p04_inside.png b/docs/shots/bay_p04_inside.png deleted file mode 100644 index 81bd559..0000000 Binary files a/docs/shots/bay_p04_inside.png and /dev/null differ diff --git a/docs/shots/bay_p06_inside.png b/docs/shots/bay_p06_inside.png deleted file mode 100644 index e277d38..0000000 Binary files a/docs/shots/bay_p06_inside.png and /dev/null differ diff --git a/docs/shots/bay_p07_inside.png b/docs/shots/bay_p07_inside.png deleted file mode 100644 index 8cfe1ef..0000000 Binary files a/docs/shots/bay_p07_inside.png and /dev/null differ diff --git a/docs/shots/bay_p08_inside.png b/docs/shots/bay_p08_inside.png deleted file mode 100644 index a8455ae..0000000 Binary files a/docs/shots/bay_p08_inside.png and /dev/null differ diff --git a/docs/shots/boss_p04.png b/docs/shots/boss_p04.png deleted file mode 100644 index bb2dfa3..0000000 Binary files a/docs/shots/boss_p04.png and /dev/null differ diff --git a/docs/shots/boss_p05.png b/docs/shots/boss_p05.png deleted file mode 100644 index 48257c7..0000000 Binary files a/docs/shots/boss_p05.png and /dev/null differ diff --git a/docs/shots/boss_p06.png b/docs/shots/boss_p06.png deleted file mode 100644 index 94d1268..0000000 Binary files a/docs/shots/boss_p06.png and /dev/null differ diff --git a/docs/shots/harness_full_iso.png b/docs/shots/harness_full_iso.png deleted file mode 100644 index 6ffa433..0000000 Binary files a/docs/shots/harness_full_iso.png and /dev/null differ diff --git a/docs/shots/harness_overview.png b/docs/shots/harness_overview.png deleted file mode 100644 index 8f07998..0000000 Binary files a/docs/shots/harness_overview.png and /dev/null differ diff --git a/docs/shots/harness_p04_p05.png b/docs/shots/harness_p04_p05.png deleted file mode 100644 index 3efea81..0000000 Binary files a/docs/shots/harness_p04_p05.png and /dev/null differ diff --git a/docs/shots/harness_p06_window.png b/docs/shots/harness_p06_window.png deleted file mode 100644 index c439284..0000000 Binary files a/docs/shots/harness_p06_window.png and /dev/null differ diff --git a/docs/shots/harness_p07_window.png b/docs/shots/harness_p07_window.png deleted file mode 100644 index e81ea5f..0000000 Binary files a/docs/shots/harness_p07_window.png and /dev/null differ diff --git a/docs/shots/harness_xray_full.png b/docs/shots/harness_xray_full.png deleted file mode 100644 index 181b789..0000000 Binary files a/docs/shots/harness_xray_full.png and /dev/null differ diff --git a/docs/shots/hollow_p04_iso.png b/docs/shots/hollow_p04_iso.png deleted file mode 100644 index da5d5ca..0000000 Binary files a/docs/shots/hollow_p04_iso.png and /dev/null differ diff --git a/docs/shots/hollow_p04_top.png b/docs/shots/hollow_p04_top.png deleted file mode 100644 index 36c817a..0000000 Binary files a/docs/shots/hollow_p04_top.png and /dev/null differ diff --git a/docs/shots/hollow_p06_iso.png b/docs/shots/hollow_p06_iso.png deleted file mode 100644 index 1f67afc..0000000 Binary files a/docs/shots/hollow_p06_iso.png and /dev/null differ diff --git a/docs/shots/hollow_p07_iso.png b/docs/shots/hollow_p07_iso.png deleted file mode 100644 index 5d442d6..0000000 Binary files a/docs/shots/hollow_p07_iso.png and /dev/null differ diff --git a/docs/shots/hollow_p07_top.png b/docs/shots/hollow_p07_top.png deleted file mode 100644 index a8337f3..0000000 Binary files a/docs/shots/hollow_p07_top.png and /dev/null differ diff --git a/docs/shots/j3_前端压盖_全件.png b/docs/shots/j3_前端压盖_全件.png deleted file mode 100644 index d2756db..0000000 Binary files a/docs/shots/j3_前端压盖_全件.png and /dev/null differ diff --git a/docs/shots/j3_前端压盖_装配.png b/docs/shots/j3_前端压盖_装配.png deleted file mode 100644 index f685171..0000000 Binary files a/docs/shots/j3_前端压盖_装配.png and /dev/null differ diff --git a/docs/shots/m9_motion.png b/docs/shots/m9_motion.png deleted file mode 100644 index 8fa8491..0000000 Binary files a/docs/shots/m9_motion.png and /dev/null differ diff --git a/docs/shots/p03_light_iso.png b/docs/shots/p03_light_iso.png deleted file mode 100644 index 2d1e44c..0000000 Binary files a/docs/shots/p03_light_iso.png and /dev/null differ diff --git a/docs/shots/p03_light_join.png b/docs/shots/p03_light_join.png deleted file mode 100644 index 3224f1c..0000000 Binary files a/docs/shots/p03_light_join.png and /dev/null differ diff --git a/docs/shots/p03_light_rear.png b/docs/shots/p03_light_rear.png deleted file mode 100644 index dd6f95d..0000000 Binary files a/docs/shots/p03_light_rear.png and /dev/null differ diff --git a/docs/shots/p03_light_side.png b/docs/shots/p03_light_side.png deleted file mode 100644 index 97309ae..0000000 Binary files a/docs/shots/p03_light_side.png and /dev/null differ diff --git a/docs/shots/p03_light_xray.png b/docs/shots/p03_light_xray.png deleted file mode 100644 index ecda685..0000000 Binary files a/docs/shots/p03_light_xray.png and /dev/null differ diff --git a/docs/shots/p03_mount_iso.png b/docs/shots/p03_mount_iso.png deleted file mode 100644 index 760867b..0000000 Binary files a/docs/shots/p03_mount_iso.png and /dev/null differ diff --git a/docs/shots/p03_mount_top.png b/docs/shots/p03_mount_top.png deleted file mode 100644 index 8a32c9b..0000000 Binary files a/docs/shots/p03_mount_top.png and /dev/null differ diff --git a/docs/shots/p04_both_ends.png b/docs/shots/p04_both_ends.png deleted file mode 100644 index fc2a190..0000000 Binary files a/docs/shots/p04_both_ends.png and /dev/null differ diff --git a/docs/shots/p04_m2_side.png b/docs/shots/p04_m2_side.png deleted file mode 100644 index 75c6894..0000000 Binary files a/docs/shots/p04_m2_side.png and /dev/null differ diff --git a/docs/shots/p05_flank_view.png b/docs/shots/p05_flank_view.png deleted file mode 100644 index 21ea9bc..0000000 Binary files a/docs/shots/p05_flank_view.png and /dev/null differ diff --git a/docs/shots/p05_m3_side.png b/docs/shots/p05_m3_side.png deleted file mode 100644 index fc6e464..0000000 Binary files a/docs/shots/p05_m3_side.png and /dev/null differ diff --git a/docs/shots/p06_m4_side.png b/docs/shots/p06_m4_side.png deleted file mode 100644 index d8109ef..0000000 Binary files a/docs/shots/p06_m4_side.png and /dev/null differ diff --git a/docs/shots/p07_m5_side.png b/docs/shots/p07_m5_side.png deleted file mode 100644 index eccfa34..0000000 Binary files a/docs/shots/p07_m5_side.png and /dev/null differ diff --git a/docs/shots/shot_p08_user.png b/docs/shots/shot_p08_user.png deleted file mode 100644 index b6d2fb5..0000000 Binary files a/docs/shots/shot_p08_user.png and /dev/null differ diff --git a/docs/shots/svg_exploded.png b/docs/shots/svg_exploded.png deleted file mode 100644 index 7fbb9bb..0000000 Binary files a/docs/shots/svg_exploded.png and /dev/null differ diff --git a/docs/shots/svg_joint.png b/docs/shots/svg_joint.png deleted file mode 100644 index 60e410d..0000000 Binary files a/docs/shots/svg_joint.png and /dev/null differ diff --git a/docs/shots/svg_side.png b/docs/shots/svg_side.png deleted file mode 100644 index 315e231..0000000 Binary files a/docs/shots/svg_side.png and /dev/null differ diff --git a/docs/shots/tie_after_close.png b/docs/shots/tie_after_close.png deleted file mode 100644 index e360c15..0000000 Binary files a/docs/shots/tie_after_close.png and /dev/null differ diff --git a/docs/shots/tie_after_negY.png b/docs/shots/tie_after_negY.png deleted file mode 100644 index 6264810..0000000 Binary files a/docs/shots/tie_after_negY.png and /dev/null differ diff --git a/docs/shots/tie_after_oblique.png b/docs/shots/tie_after_oblique.png deleted file mode 100644 index eddc403..0000000 Binary files a/docs/shots/tie_after_oblique.png and /dev/null differ diff --git a/docs/shots/tie_after_p0607.png b/docs/shots/tie_after_p0607.png deleted file mode 100644 index 960fefa..0000000 Binary files a/docs/shots/tie_after_p0607.png and /dev/null differ diff --git a/docs/shots/tie_after_p0607_obl.png b/docs/shots/tie_after_p0607_obl.png deleted file mode 100644 index eef6b64..0000000 Binary files a/docs/shots/tie_after_p0607_obl.png and /dev/null differ diff --git a/docs/shots/tie_probe_negY.png b/docs/shots/tie_probe_negY.png deleted file mode 100644 index 8a471fa..0000000 Binary files a/docs/shots/tie_probe_negY.png and /dev/null differ diff --git a/docs/shots/tie_probe_posY.png b/docs/shots/tie_probe_posY.png deleted file mode 100644 index 64673f3..0000000 Binary files a/docs/shots/tie_probe_posY.png and /dev/null differ diff --git a/docs/shots/user_circle_check.png b/docs/shots/user_circle_check.png deleted file mode 100644 index 1b6637c..0000000 Binary files a/docs/shots/user_circle_check.png and /dev/null differ diff --git a/docs/shots/user_compare_view.png b/docs/shots/user_compare_view.png deleted file mode 100644 index 29f762b..0000000 Binary files a/docs/shots/user_compare_view.png and /dev/null differ diff --git a/docs/shots/user_contour_harness.png b/docs/shots/user_contour_harness.png deleted file mode 100644 index 0a6b224..0000000 Binary files a/docs/shots/user_contour_harness.png and /dev/null differ diff --git a/docs/shots/user_elbow_front.png b/docs/shots/user_elbow_front.png deleted file mode 100644 index c22960e..0000000 Binary files a/docs/shots/user_elbow_front.png and /dev/null differ diff --git a/docs/shots/user_elbow_rear.png b/docs/shots/user_elbow_rear.png deleted file mode 100644 index ae824a3..0000000 Binary files a/docs/shots/user_elbow_rear.png and /dev/null differ diff --git a/docs/shots/user_exact_view.png b/docs/shots/user_exact_view.png deleted file mode 100644 index 1defe62..0000000 Binary files a/docs/shots/user_exact_view.png and /dev/null differ diff --git a/docs/shots/user_fork_fixed.png b/docs/shots/user_fork_fixed.png deleted file mode 100644 index 088497d..0000000 Binary files a/docs/shots/user_fork_fixed.png and /dev/null differ diff --git a/docs/shots/user_harness_view.png b/docs/shots/user_harness_view.png deleted file mode 100644 index 535eec4..0000000 Binary files a/docs/shots/user_harness_view.png and /dev/null differ diff --git a/docs/shots/user_harness_zoom.png b/docs/shots/user_harness_zoom.png deleted file mode 100644 index 842313d..0000000 Binary files a/docs/shots/user_harness_zoom.png and /dev/null differ diff --git a/docs/shots/user_m1_bypass_oblique.png b/docs/shots/user_m1_bypass_oblique.png deleted file mode 100644 index 46cf5db..0000000 Binary files a/docs/shots/user_m1_bypass_oblique.png and /dev/null differ diff --git a/docs/shots/user_m1_exact.png b/docs/shots/user_m1_exact.png deleted file mode 100644 index e937fcd..0000000 Binary files a/docs/shots/user_m1_exact.png and /dev/null differ diff --git a/docs/shots/user_m1_rear.png b/docs/shots/user_m1_rear.png deleted file mode 100644 index 2eabb1d..0000000 Binary files a/docs/shots/user_m1_rear.png and /dev/null differ diff --git a/docs/shots/user_p04.png b/docs/shots/user_p04.png deleted file mode 100644 index 84b3dea..0000000 Binary files a/docs/shots/user_p04.png and /dev/null differ diff --git a/docs/shots/user_p04_bottom.png b/docs/shots/user_p04_bottom.png deleted file mode 100644 index d9ade52..0000000 Binary files a/docs/shots/user_p04_bottom.png and /dev/null differ diff --git a/docs/shots/user_p04_bottom2.png b/docs/shots/user_p04_bottom2.png deleted file mode 100644 index df7c32b..0000000 Binary files a/docs/shots/user_p04_bottom2.png and /dev/null differ diff --git a/docs/shots/user_p04_opp.png b/docs/shots/user_p04_opp.png deleted file mode 100644 index ff36237..0000000 Binary files a/docs/shots/user_p04_opp.png and /dev/null differ diff --git a/docs/shots/user_p04_side.png b/docs/shots/user_p04_side.png deleted file mode 100644 index 9183250..0000000 Binary files a/docs/shots/user_p04_side.png and /dev/null differ diff --git a/docs/shots/user_p06_iso.png b/docs/shots/user_p06_iso.png deleted file mode 100644 index d8907a1..0000000 Binary files a/docs/shots/user_p06_iso.png and /dev/null differ diff --git a/docs/shots/user_p06_xz.png b/docs/shots/user_p06_xz.png deleted file mode 100644 index e4fee19..0000000 Binary files a/docs/shots/user_p06_xz.png and /dev/null differ diff --git a/docs/shots/user_p06_yz.png b/docs/shots/user_p06_yz.png deleted file mode 100644 index 435eca6..0000000 Binary files a/docs/shots/user_p06_yz.png and /dev/null differ diff --git a/docs/shots/user_p07_check.png b/docs/shots/user_p07_check.png deleted file mode 100644 index 8c1e56b..0000000 Binary files a/docs/shots/user_p07_check.png and /dev/null differ diff --git a/docs/shots/user_p07_creases.png b/docs/shots/user_p07_creases.png deleted file mode 100644 index 09e4844..0000000 Binary files a/docs/shots/user_p07_creases.png and /dev/null differ diff --git a/docs/shots/user_p07_wrist.png b/docs/shots/user_p07_wrist.png deleted file mode 100644 index a8cecc7..0000000 Binary files a/docs/shots/user_p07_wrist.png and /dev/null differ diff --git a/docs/shots/user_shoulder_solid.png b/docs/shots/user_shoulder_solid.png deleted file mode 100644 index faafd32..0000000 Binary files a/docs/shots/user_shoulder_solid.png and /dev/null differ diff --git a/docs/shots/user_shoulder_top.png b/docs/shots/user_shoulder_top.png deleted file mode 100644 index 3cdf572..0000000 Binary files a/docs/shots/user_shoulder_top.png and /dev/null differ diff --git a/docs/shots/user_shoulder_xray.png b/docs/shots/user_shoulder_xray.png deleted file mode 100644 index faafd32..0000000 Binary files a/docs/shots/user_shoulder_xray.png and /dev/null differ diff --git a/docs/shots/user_smooth_harness.png b/docs/shots/user_smooth_harness.png deleted file mode 100644 index 1ae8fc4..0000000 Binary files a/docs/shots/user_smooth_harness.png and /dev/null differ diff --git a/docs/shots/user_target.png b/docs/shots/user_target.png deleted file mode 100644 index 015e3bb..0000000 Binary files a/docs/shots/user_target.png and /dev/null differ diff --git a/docs/shots/user_view1.png b/docs/shots/user_view1.png deleted file mode 100644 index 668e180..0000000 Binary files a/docs/shots/user_view1.png and /dev/null differ diff --git a/docs/shots/user_view2.png b/docs/shots/user_view2.png deleted file mode 100644 index 32e8a08..0000000 Binary files a/docs/shots/user_view2.png and /dev/null differ diff --git a/docs/shots/view_iso_forearm.png b/docs/shots/view_iso_forearm.png deleted file mode 100644 index 8a0913b..0000000 Binary files a/docs/shots/view_iso_forearm.png and /dev/null differ diff --git a/docs/shots/view_yz_neg_x.png b/docs/shots/view_yz_neg_x.png deleted file mode 100644 index d1210ef..0000000 Binary files a/docs/shots/view_yz_neg_x.png and /dev/null differ diff --git a/docs/shots/view_yz_pos_x.png b/docs/shots/view_yz_pos_x.png deleted file mode 100644 index f101c46..0000000 Binary files a/docs/shots/view_yz_pos_x.png and /dev/null differ diff --git a/docs/shots/zoom_user.png b/docs/shots/zoom_user.png deleted file mode 100644 index f57a5d0..0000000 Binary files a/docs/shots/zoom_user.png and /dev/null differ diff --git a/tests/baselines/flaky/boss_p07.png b/tests/baselines/flaky/boss_p07.png deleted file mode 100644 index 32467ae..0000000 Binary files a/tests/baselines/flaky/boss_p07.png and /dev/null differ diff --git a/tests/baselines/flaky/p03_mount_loose.png b/tests/baselines/flaky/p03_mount_loose.png deleted file mode 100644 index 2c15509..0000000 Binary files a/tests/baselines/flaky/p03_mount_loose.png and /dev/null differ diff --git a/tests/baselines/flaky/thresholds.json b/tests/baselines/flaky/thresholds.json index c6b99d2..2f75261 100644 --- a/tests/baselines/flaky/thresholds.json +++ b/tests/baselines/flaky/thresholds.json @@ -7,10 +7,6 @@ "mean": 0.001, "mx": 2 }, - "boss_p07": { - "mean": 0.0, - "mx": 1 - }, "harness_xray_internal": { "mean": 0.00137, "mx": 7 @@ -23,10 +19,6 @@ "mean": 0.00145, "mx": 5 }, - "p03_mount_loose": { - "mean": 0.0, - "mx": 1 - }, "m2_sheet_joint": { "mean": 0.001, "mx": 2 @@ -56,4 +48,4 @@ "mx": 2 } } -} \ No newline at end of file +} diff --git a/tests/baselines/shots_stable.md5 b/tests/baselines/shots_stable.md5 index 4f31233..405862e 100644 --- a/tests/baselines/shots_stable.md5 +++ b/tests/baselines/shots_stable.md5 @@ -11,82 +11,10 @@ af5c9d74bddf7d795bd38f4371fa61ec docs/shots/10_solid.png 8daa2255af050a225609cebbc490d3b9 docs/shots/11_tool_flange.png 002a1f4a2b65744515f5b54364fcc2a8 docs/shots/12_elbow_flare.png b2f1454a6009a8b44ddd41be9efdaff5 docs/shots/13_forearm_side.png -e39999d2ef28536f24d7f6178fa9a15c docs/shots/bay_p04_inside.png -959e4bf08e174d90a1fe03a75a042070 docs/shots/bay_p06_inside.png -f9d8d58365b4ca693525af5540d39d32 docs/shots/bay_p07_inside.png -1b07f37e5fed9d82886b9518a3839860 docs/shots/bay_p08_inside.png -90b79bb61cacea2323ca19790d4158b2 docs/shots/boss_p04.png -dcc54259caf06f796e3dec84496abb12 docs/shots/boss_p05.png -9f2c134297f2c7a555a6eaca2e74e4de docs/shots/boss_p06.png af5c9d74bddf7d795bd38f4371fa61ec docs/shots/harness_full_iso.png 8896124b0c45d9796e983f026134cff6 docs/shots/harness_overview.png 7cbf2c699501bff3c7ebb4beb7cd34e2 docs/shots/harness_p04_p05.png 687e2184dd3e149939ce6d4214ffc698 docs/shots/harness_p06_window.png 9fca41ada43f36a338cce31797152c3c docs/shots/harness_p07_window.png 84fb87bb5ce6cef73866401642ab0f9d docs/shots/harness_xray_full.png -7fe0cb0d52c1f7d97bf1c8fd47b22e0c docs/shots/hollow_p04_iso.png -c55a40d4bc4b4e73a672326fa02d573c docs/shots/hollow_p04_top.png -8379d580ff746c859587e29e34700d7c docs/shots/hollow_p06_iso.png -1464e622ec8090b6052ab82f7bcd6b22 docs/shots/hollow_p07_iso.png -f3b85ea576a6aa99a61953c4ff2a5ff4 docs/shots/hollow_p07_top.png -e169359e86a61f7ab80d4adea0231436 docs/shots/j3_前端压盖_全件.png -83325d3ca1b9e56fd2c70661052fd063 docs/shots/j3_前端压盖_装配.png a6375fdce42c33395cad1586c9d6d8c5 docs/shots/m9_motion.png -c22cef65ca2a74b1332ecaba6b9a484a docs/shots/p03_light_iso.png -ebdeb9a180e95afd38f5a42d12743579 docs/shots/p03_light_join.png -5671bcc5a150d4899d186abd3658ef99 docs/shots/p03_light_rear.png -2a9e076fa310b0c78b1a0e8375e8aae8 docs/shots/p03_light_side.png -0aa155c87743426668114d876478582c docs/shots/p03_light_xray.png -d0c82d07ab6055c1b67c03c126fe267a docs/shots/p03_mount_iso.png -78f62639acb79e30fa88cc5fda87cfea docs/shots/p03_mount_top.png -ae0305c092707e0c73944e1d889d076a docs/shots/p04_both_ends.png -f241acda8fdae460eb38f5a054e841f9 docs/shots/p04_m2_side.png -3d261042388c8b2924848d8a29f71931 docs/shots/p05_flank_view.png -515b204e42d75d98afe0600f8b8b419d docs/shots/p05_m3_side.png -4c6014a754e233411f6e89e4112d6cde docs/shots/p06_m4_side.png -aa3cb2e1e7bff6e3ca4af66bd6c70854 docs/shots/p07_m5_side.png -7635f1d057b06f014c1683261a7237b8 docs/shots/shot_p08_user.png -f1e5bd79e6921b39d0785e4208ef5cca docs/shots/svg_exploded.png -eadcf7d6ac9853950496a559dbd8de72 docs/shots/svg_joint.png -4a9a34e534496cb2c3be499ea2029d87 docs/shots/svg_side.png -d3bf901601ff221ecd1b09dc93dd2ccc docs/shots/tie_after_close.png -7c2be3a8488997de588e3760f966fd7d docs/shots/tie_after_negY.png -0b3e26c6e2fd664f91764d26b8b1ed0c docs/shots/tie_after_oblique.png -c39cee9deabedb4dc8fad8ec76b439e5 docs/shots/tie_after_p0607.png -b51a4e5424297c9012cc0562bbeec296 docs/shots/tie_after_p0607_obl.png -70772a99b8c5d81619127eed7bc1dab5 docs/shots/tie_probe_negY.png -a3bf9bd7fb796283bbb9767cc790167a docs/shots/tie_probe_posY.png -1e1d29129833b35e43b925b25eae4b8f docs/shots/user_circle_check.png -309cc9ac3238e747104e6ceee7bd68bc docs/shots/user_compare_view.png -d25a25539d00674d608dca7234e331e0 docs/shots/user_contour_harness.png -3ed51a9cbad23f7c9c7eb79ac5471eb1 docs/shots/user_elbow_front.png -85d13ea862263aa055924df2beca98fb docs/shots/user_elbow_rear.png -6e1c039c236d28a4bec7e7b589fb2ed3 docs/shots/user_exact_view.png -6a86499dd36b2a0a1ac50ae28ea138e4 docs/shots/user_fork_fixed.png -1389d052730b4bb09eb0a17cf9c49354 docs/shots/user_harness_view.png -eebfbfbea1375770fbc333f83f64e959 docs/shots/user_harness_zoom.png -d3234ff06df60213391dab75589d65ab docs/shots/user_m1_bypass_oblique.png -99188cb1c040a2c6494322a9845ac6cb docs/shots/user_m1_exact.png -606e209a6d3dc64ee3a59d1fc22339f3 docs/shots/user_m1_rear.png -d34d5d15434bc5a980e34e5511cc49a4 docs/shots/user_p04.png -51d318f3584444ea78f2078d9ef3eddd docs/shots/user_p04_bottom.png -b31cd81ca26198896378bc38c4393b9d docs/shots/user_p04_bottom2.png -6ea6b98ad978b993868bd302ad1dd8c6 docs/shots/user_p04_opp.png -2c7f53c7bed7d25175948f09960ed634 docs/shots/user_p04_side.png -fe0b30e16a673beb200224a0e6607faa docs/shots/user_p06_iso.png -729025864df7708c900e110ec175f0da docs/shots/user_p06_xz.png -095da56acdc9b512709786df26691481 docs/shots/user_p06_yz.png -152eb1db302b62238f3051b1f48fcf45 docs/shots/user_p07_check.png -abf7113f27b6443541e3a0859d77b3fe docs/shots/user_p07_creases.png -a17303b12669be77a97dc18f2463c809 docs/shots/user_p07_wrist.png -a60f07bb05bba7a58bdd29e5202c478f docs/shots/user_shoulder_solid.png -86aab5a8eb32216b4f712c730cc67068 docs/shots/user_shoulder_top.png -a60f07bb05bba7a58bdd29e5202c478f docs/shots/user_shoulder_xray.png -02cfa0aa5681fec061f73b9d69fef41c docs/shots/user_smooth_harness.png -87a8889ba4031cdf2e378fca7e1b475c docs/shots/user_target.png -22f62024f51ee1827f662d8754019f57 docs/shots/user_view1.png -e96c715833f9321b9fd1501bc4bdf87a docs/shots/user_view2.png -64a199b2c65e7f2d0ad5e2a80c5caef8 docs/shots/view_iso_forearm.png -1d8277f0b43938423f2ca53b34df0c56 docs/shots/view_yz_neg_x.png -d51cde4a5e2450c529d1c8897e16cf29 docs/shots/view_yz_pos_x.png -d1719a9f6fb775fd63cef27c5ff17f54 docs/shots/zoom_user.png