Skip to content

fix(cadpy): 修复Windows平台UTF-8编码崩溃 + 测试模块与3D模型示例#146

Open
jiuhaj wants to merge 21 commits into
earthtojake:developfrom
jiuhaj:main
Open

fix(cadpy): 修复Windows平台UTF-8编码崩溃 + 测试模块与3D模型示例#146
jiuhaj wants to merge 21 commits into
earthtojake:developfrom
jiuhaj:main

Conversation

@jiuhaj

@jiuhaj jiuhaj commented Jul 9, 2026

Copy link
Copy Markdown

修:cadpy编码问题 + 新增测试/模型示例 + TypeScript基础设施

github-actions Bot added 21 commits May 30, 2026 05:38
Source ref: develop
Source commit: 58d3a86
Target branch: main
Previous target: d2765f8
Release base: d2765f8

Included commits since origin/main:
58d3a86 Prepare develop branch for v0.1.16
Source ref: develop
Source commit: e68dbd1
Target branch: main
Previous target: cf36ed5
Release base: cf36ed5
Previous source: 58d3a86

Included commits since previous source:
e68dbd1 Merge pull request earthtojake#35 from earthtojake/codex/release-ci-cleanup
c49a75f Preserve release source ancestry
49bcf52 Fix release CI version and publish flow
daa1f61 Merge pull request earthtojake#34 from earthtojake/release/0.2.0
c4d7317 Release 0.2.0
0c7497f Merge pull request earthtojake#30 from earthtojake/codex/move-python-tests-root
d218964 Stabilize async STEP metadata test
65bf8aa Exclude test files from bundle copies
01332ef Move Python tests to root tests tree
2d07f76 Merge pull request earthtojake#33 from earthtojake/codex/viewer-version-upgrade-nudge-wt
5b24760 Merge develop into viewer update PR
74fdc7e Add viewer update nudge and workspace routing
957a883 Merge pull request earthtojake#31 from earthtojake/codex/fix-issue-17-animation
9d61b14 Merge branch 'develop' into codex/fix-issue-17-animation
af3c762 Merge pull request earthtojake#23 from arronzhang/fix/assembly-leaf-product-name
557db3b Propagate leaf shape label to STEP product name
e983d8d Merge pull request earthtojake#32 from earthtojake/codex/vercel-production-deploys
7e9fd2a Move Vercel production deploys into publish workflow
6aceab6 Fix STEP animation playback crash
b99de0b Merge pull request earthtojake#28 from earthtojake/codex/vercel-catalog-ignore-dir
d1704ba Merge branch 'develop' into codex/vercel-catalog-ignore-dir
ebb25dd Merge pull request earthtojake#26 from earthtojake/codex/fix-windows-snapshot-single-process
2263edd Fix Windows snapshot Chromium launch
20fc753 Fix hosted viewer catalog mode
Source ref: develop
Source commit: a2f46ca
Target branch: main
Previous target: f585031
Release base: f585031
Previous source: e68dbd1

Included commits since previous source:
a2f46ca Merge pull request earthtojake#36 from earthtojake/codex/fix-publish-resume-vercel
39f7fed Fix publish resume and Vercel cwd
Source ref: develop
Source commit: 483de77
Target branch: main
Previous target: 418872d
Release base: 418872d
Previous source: a2f46ca

Included commits since previous source:
483de77 Release 0.2.1
4252b1a Install implicitjs dependencies during publish
76787a8 Split implicit CAD runtime into implicitjs
bdf9636 Merge pull request earthtojake#37 from earthtojake/codex/remove-sourcefingerprint
a563953 Unify STEP artifact generation suppression
8f6f395 Harden STEP artifact regeneration retries
7251160 Gate STEP artifact warnings behind failed regeneration
ace310d Document venv bootstrap for worktrees
a020f4e Keep STEP topology usable during artifact warnings
85314c7 Tighten STEP GLB regeneration freshness
6ce53f7 Trim CAD runtime import overhead
d8ed1fb Use STEP hashes for artifact staleness
Source ref: develop
Source commit: 53b4fa8
Target branch: main
Previous target: 99b3cec
Release base: 99b3cec
Previous source: 483de77

Included commits since previous source:
53b4fa8 Release 0.2.2 (earthtojake#54)
35fcdbb [codex] Add build123d assembly helper and labels (earthtojake#39)
0e4d1f1 [codex] Add viewer default workspace dir (earthtojake#53)
01ca2d1 Fix implicit snapshot browser launch (earthtojake#50)
0081c57 Add implicit CAD to docs skill tables
Source ref: develop
Source commit: 16de87f
Target branch: main
Previous target: 9847096
Release base: 9847096
Previous source: 53b4fa8

Included commits since previous source:
16de87f Release 0.2.3
3cd691e Fix hosted robot asset loading
Source ref: develop
Source commit: 9a06869
Target branch: main
Previous target: 7349fed
Release base: 7349fed
Previous source: 16de87f

Included commits since previous source:
9a06869 Add shared agent environment setup
f0c4f8c Add agent setup and Tom GLB update
827f3c7 Add flying car fixture and expand error issues
2abcad5 Release 0.2.4
2209b97 Release 0.2.4
5d31ef8 Keep docs hero assets out of LFS
aa57984 Hydrate docs LFS assets in checks
b7f9871 Allow release PR workflow to use push token
730a533 Add model assets and publish upload flow
fba6207 Verify CAD Viewer link targets exist before returning links (earthtojake#55)
Source ref: develop
Source commit: 6ef2646
Target branch: main
Previous target: f803f95
Release base: f803f95
Previous source: 9a06869

Included commits since previous source:
6ef2646 Merge pull request earthtojake#62 from earthtojake/codex/bump-version-0.2.5
6f3204a Bump version to 0.2.5
d75d79a Merge pull request earthtojake#61 from earthtojake/codex/fix-viewer-tree-breadcrumbs
589f236 Fix viewer tree breadcrumbs and isolation
9a375e2 Merge pull request earthtojake#60 from earthtojake/codex/fix-cadpy-symlink-runtime
18a9644 Tidy CAD skill cadpy runtime
f57c5c4 Suppress hosted Python source path warnings
Source ref: develop
Source commit: 1cda66f
Target branch: main
Previous target: 956804c
Release base: 956804c
Previous source: 6ef2646

Included commits since previous source:
1cda66f Merge pull request earthtojake#64 from earthtojake/release/0.2.6
a8fb186 Release 0.2.6
87df214 Merge pull request earthtojake#63 from earthtojake/codex/cad-script-layout
8675f07 Flatten CAD skill script layout
Source ref: develop
Source commit: 0c3436e
Target branch: main
Previous target: 3249bb4
Release base: 3249bb4
Previous source: 1cda66f

Included commits since previous source:
0c3436e Release 0.2.7 (earthtojake#68)
64a99ed Enforce Vercel protection settings
eb70896 Fix Vercel production URL protection
Source ref: develop
Source commit: f1590b7
Target branch: main
Previous target: 61ca9d1
Release base: 61ca9d1
Previous source: 0c3436e

Included commits since previous source:
f1590b7 Add release orchestration and viewer refinements
5174a55 Merge pull request earthtojake#80 from earthtojake/feat/juno-routine-animation
d125cd1 Merge branch 'develop' into feat/juno-routine-animation
4223919 Split juno routine into three animations; make the dance an Elvis
0317973 Merge pull request earthtojake#78 from earthtojake/claude/fix-inspect-assembly-kind
bf6ecbc Merge branch 'develop' into claude/fix-inspect-assembly-kind
eafa810 Merge pull request earthtojake#79 from earthtojake/claude/cranky-lederberg-bfbc8d
c3df999 Order juno animations most exciting first
e0ed396 Split DXF workflow into a dedicated dxf skill
be54965 Add juno routine animation: karate kick, handstand, dance
a5da51d Fix assembly kind reporting in CAD inspect facts
be54793 Merge pull request earthtojake#77 from earthtojake/release/0.2.8
de3d379 Release 0.2.8
a69545a Merge pull request earthtojake#76 from earthtojake/claude/exciting-chandrasekhar-46f0b8
827be7c Tighten CAD skill: dedupe guidance, design strategy, multi-modal briefs
8fc81ca Merge pull request earthtojake#75 from earthtojake/claude/sweet-meninsky-d0d925
9ae091b Merge origin/develop and regenerate cad snapshot runtime
6259dd4 Retune workbench theme light/dark modes and remove studio preset
6948057 Merge pull request earthtojake#69 from earthtojake/codex/exploded-view-mode
9ff71a3 Add exploded view and auto zoom controls
f3747ec Tune auto zoom transition speeds
bd397e8 Add viewer auto zoom behavior
5b57055 Refine exploded view controls
fa1b971 Add exploded display setting
fa96d15 Merge pull request earthtojake#73 from earthtojake/feat/qdd-actuator-viewer-animation
592514a Merge pull request earthtojake#74 from earthtojake/feat/juno-robot-description
aae7349 Add juno URDF/SRDF, per-link meshes, and viewer gait animations
8851513 Add QDD actuator viewer animation step module
3c3c536 Merge pull request earthtojake#72 from earthtojake/claude/exciting-antonelli-0fef75
9b64d4d Fix parseAgentStartArgs test snapshot for jsonResult field
65dbad5 Add --json flag to agent:start for Claude Preview integration
2177e26 Add CAD Viewer GLB artifacts for juno and qdd_actuator
92560c2 Merge pull request earthtojake#71 from earthtojake/feat/qdd-actuator
20a85cf Merge pull request earthtojake#70 from earthtojake/claude/optimistic-gauss-5989b8
ff471fb Remove launch.json from repo
0e0bfcc Remove render PNGs from tracked files
60eb1de Add QDD actuator parametric CAD model
9b20882 Remove renders from juno model directory
d2a376d Add juno compact humanoid CAD concept
Source ref: develop
Source commit: ab9b4f1
Target branch: main
Previous target: df3bb05
Release base: df3bb05
Previous source: f1590b7

Included commits since previous source:
ab9b4f1 Release 0.2.9 (earthtojake#82)
75af726 Release 0.2.9
0add8c8 Merge pull request earthtojake#81 from earthtojake/claude/xenodochial-brahmagupta-4a66b1
62c94c9 Include response detail in Vercel Blob catalog read errors
d4764cb Stop hosted viewer catalog reads from tripping Blob abuse mitigation
Source ref: develop
Source commit: d6e79a0
Target branch: main
Previous target: 520526c
Release base: 520526c
Previous source: ab9b4f1

Included commits since previous source:
d6e79a0 Merge pull request earthtojake#83 from earthtojake/release/0.3.0
e8c1051 Release 0.3.0
Source ref: develop
Source commit: 573c73a
Target branch: main
Previous target: 1ad925e
Release base: 1ad925e
Previous source: d6e79a0

Included commits since previous source:
573c73a Merge pull request earthtojake#88 from earthtojake/release/0.3.1
7dccebf Release 0.3.1
5208153 Merge pull request earthtojake#87 from earthtojake/claude/cool-brown-561c7c
6e7aef5 Open the lyra pose tour with an overlapping finger-ripple wave
8b806db Fix thumb-finger interpenetration in lyra grip poses and animation paths
0c472dc Add lyra dexterous humanoid hand fixture (16-DOF, STEP+URDF/SRDF+pose animations)
cdafa1e Merge pull request earthtojake#84 from earthtojake/claude/xenodochial-brahmagupta-4a66b1
94f1404 Merge branch 'develop' into claude/xenodochial-brahmagupta-4a66b1
f6c1061 Carry forward remote artifact statuses for skipped LFS pointer assets
Source ref: develop
Source commit: 4488ba7
Target branch: main
Previous target: e4f900f
Release base: e4f900f
Previous source: 573c73a

Included commits since previous source:
4488ba7 Merge pull request earthtojake#91 from earthtojake/release/0.3.2
9fadb41 Release 0.3.2
8b1fbe7 Merge pull request earthtojake#90 from earthtojake/feat/implicit-viewer-parity
2cf9389 Merge branch 'develop' into feat/implicit-viewer-parity
7299e73 Stop implicit animation playback from thrashing React updates
e943be1 Merge pull request earthtojake#89 from earthtojake/claude/youthful-booth-2704cc
76b310c Move implicit model load work off the main thread
ef89dcc Fix implicit viewer load stalls, dark shading, and missing reset control
5df9b93 Match implicit viewer lighting and auto-zoom to the mesh viewer
c3ccaf4 Consolidate release CI/CD into one Release workflow with standalone app actions
c450bff Fix implicit GLSL literal normalizer corruption and surface page errors
Source ref: develop
Source commit: 9c5a08a
Target branch: main
Previous target: 1bca36b
Release base: 1bca36b
Previous source: 4488ba7

Included commits since previous source:
9c5a08a Merge pull request earthtojake#100 from earthtojake/release/0.3.3
27fd49b Release 0.3.3
104b877 Merge pull request earthtojake#93 from earthtojake/claude/condescending-torvalds-719c61
2a27dc2 Reuse dist viewer across branches
f53e46d Stabilize STEP color serialization
7df3847 Refresh CAD snapshot runtime
2d8db80 Organize tom variants
330bfdb Add 2t lead-in to tom v2 link bracket flange
b7a796d Compensate tom v2 link bracket top width
13b9537 Add bottom yoke to tom v2 link assembly
864dd09 Update tom v2 brackets to ALU-080
01dd77d Use shared tom v2 roll link brackets
6bc15c0 Fix CAD snapshot focus rendering
e473418 Align tom v2 roll link brackets
650dba2 Update tom v2 bracket assembly
d2ebe3e Add tom v2 link design study: brackets and joinery between two STS3250s
9f9f94d Merge pull request earthtojake#99 from earthtojake/codex/pr86-pr-head-linear
091a8e3 Refine CAD viewer display controls
36fb293 Add pelican-on-bicycle implicit CAD sample model
Source ref: develop
Source commit: d0a291c
Target branch: main
Previous target: e86fd16
Release base: e86fd16
Previous source: 9c5a08a

Included commits since previous source:
d0a291c Merge pull request earthtojake#102 from earthtojake/release/0.3.4
0191bd1 Release 0.3.4
deeadcc Merge pull request earthtojake#101 from earthtojake/codex/restore-orthographic-projection
ebc842a Merge branch 'develop' into codex/restore-orthographic-projection
76a9bb2 Fix CAD viewer production bundle symlinks
c2f7592 Preserve orthographic view on resize
cb7efe6 Fix workbench floor and grid defaults
cff2daa Pose TOM v2 STEP elbow home
c374a6b Tune viewer orbit controls
eda5a4e Fix orthographic centering with sidebars
13ad734 Restore CAD viewer display controls
9d83a87 Update TOM v2 named poses
4591d4d Restore orthographic projection mode
e7d6a2e Add TOM v2 SRDF semantics
Source ref: develop
Source commit: 29ee4ae
Target branch: main
Previous target: 2512c50
Release base: 2512c50
Previous source: d0a291c

Included commits since previous source:
29ee4ae Merge pull request earthtojake#107 from earthtojake/release/0.3.5
8046404 Release 0.3.5
15123dd Merge pull request earthtojake#106 from earthtojake/codex/fix-tree-explorer-layered-selection
45fe309 Merge branch 'develop' into codex/fix-tree-explorer-layered-selection
ba8be7b Refine CAD viewer assembly inspection UX
b207ea5 Merge pull request earthtojake#103 from earthtojake/codex/fix-viewer-orbit-speed
53e11e8 Merge pull request earthtojake#104 from earthtojake/codex/fix-srdf-gripper-update-loop
6c165dd Fix SRDF group state control loops
2cfa937 Fix viewer orbit preview speed
c39fe4c Simplify agent worktree startup
baa412b Use safe hosted catalog cache key
66905dc Bypass hosted catalog edge cache
8472c42 Shorten hosted catalog cache TTL
Source ref: develop
Source commit: fe754c0
Target branch: main
Previous target: a00c8f0
Release base: a00c8f0
Previous source: 29ee4ae

Included commits since previous source:
fe754c0 Merge pull request earthtojake#112 from earthtojake/release/0.3.6
08ede41 Release 0.3.6
0f7a8eb Merge pull request earthtojake#111 from earthtojake/codex/remove-viewer-refs-query
56b1183 Remove viewer refs query param
736170e Merge pull request earthtojake#110 from earthtojake/codex/link-bracket-slot-sample
ccbf9bc Add printable link shell and viewer fixes
1359cd7 Remove automatic worktree symlink setup
Source ref: develop
Source commit: 550b457
Target branch: main
Previous target: 7da1c64
Release base: 7da1c64
Previous source: fe754c0

Included commits since previous source:
550b457 Merge pull request earthtojake#117 from earthtojake/release/0.3.7
861b3f2 Release 0.3.7
74e20cc Merge pull request earthtojake#116 from earthtojake/codex/discord-community-links
7cb112f Make Discord links configurable
6ae2f97 Restore README capability badges
1dafc51 Add Discord community links
Source ref: develop
Source commit: eef7332
Target branch: main
Previous target: 8548266
Release base: 8548266
Previous source: 550b457

Included commits since previous source:
eef7332 Merge pull request earthtojake#124 from earthtojake/release/0.3.8
2ef99af Release 0.3.8
908e9be Merge pull request earthtojake#122 from Marcus-QL-Zhu/codex/preserve-glb-material-opacity
fa1f8c6 Preserve GLB material opacity in CAD viewer
d900f35 Merge pull request earthtojake#113 from earthtojake/codex/fix-orbit-speed
9f035e6 Merge branch 'develop' into codex/fix-orbit-speed
7afc13c Fix mesh preview orbit spinning too fast at high refresh rates
28b3289 Set preview orbit to sixty seconds
1c44f68 Stabilize preview orbit render loop
acd8641 Slow viewer orbit retune
6d231db Retune viewer orbit speed
e8fe65e Preserve orbit timing on slow frames
96707b2 Reduce implicit orbit preview cost
4e3af9f Test implicit orbit render quality
699a255 Smooth viewer orbit preview
f51ae63 Fix orbit timing across renderers
270ad00 Slow viewer orbit preview
2bf20b9 Slow orbit render defaults
@jiuhaj jiuhaj closed this Jul 9, 2026
@jiuhaj jiuhaj reopened this Jul 9, 2026
@jiuhaj

jiuhaj commented Jul 9, 2026

Copy link
Copy Markdown
Author

概述

修复cadpy在Windows上的编码兼容性问题,补充测试基础设施和3D模型示例。

变更内容

Bug修复

  • cadpy metadata.py UTF-8编码崩溃 — read_text()在Windows默认GBK,导致含中文注释的脚本ast.parse崩溃

新功能

  • 为cadjs/implicitjs/viewer添加TypeScript类型声明基础设施(213个.d.ts)
  • 新增测试模块框架
  • 新增两个build123d模型:6203轴承(19零件) + 卧式保鲜柜(30+零件)

代码风格

  • ruff全项目格式化

影响范围

packages/cadpy/src/cadpy/metadata.py — 1行修改,低风险;其余为新增文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant