优化skill,添加特征树、编辑窗口

This commit is contained in:
2026-08-07 17:44:12 +08:00
parent 35e18ca956
commit 5fbcf2c0b8
70 changed files with 13076 additions and 465 deletions
+51
View File
@@ -98,5 +98,56 @@ Load these files only when their trigger applies:
- `references/parameters.md` — parameterizing or animating a STEP model: source parameters, `.step.js` sidecar modules, viewer controls, and animation design.
- `references/supported-exports.md` — secondary STL/3MF/native GLB sidecar workflows.
- `references/repair-loop.md` — diagnosis and repair procedures.
- `references/part-families/bearing-housing.md` — bearing housings and seats: bearing housing, bearing seat, bearing support, pillow block, flanged bearing housing, cartridge bearing holder, `轴承座`, `轴承支座`, `带座轴承`.
- `references/part-families/cup.md` — drinking vessels and mugs: cup, mug, water cup, tumbler, handled cup, travel mug, `水杯`, `杯子`, `马克杯`, `茶杯`.
<!-- cad-skillx:start:skill-pack-curated-20260807 -->
- Pack: `skill-pack-curated-20260807`
Use CAD-SkillX references only after the core build123d references are loaded.
For a matching request, read one Planning skill first, then add only the
Functional and Atomic skills required by the requested geometry. Do not read
the whole pack by default.
Planning skills:
- `references/cad-skillx/planning/bearing-housing-or-seat.planning.md` — bearing housing, bearing seat, bearing block, bushing seat, pillow block, `轴承座`, `轴承支座`, `带座轴承`.
- `references/cad-skillx/planning/flange.planning.md` — flange, circular flange, pipe flange, coupling flange, flanged sleeve, `法兰`, `法兰盘`.
- `references/cad-skillx/planning/hexagonal-nut.planning.md` — hex nut, hexagonal nut, threaded nut, internal threaded bore, `六角螺母`, `螺母`.
- `references/cad-skillx/planning/mounting-bracket.planning.md` — mounting bracket, support bracket, L/U/T bracket, bracket with holes, web/lug/tab/boss, `安装支架`, `支架`.
- `references/cad-skillx/planning/mounting-plate.planning.md` — mounting plate, base plate, adapter plate, fixture plate, flat plate with holes, `安装板`, `安装底板`, `安装版`.
- `references/cad-skillx/planning/simple-shaft-or-cylindrical-rod.planning.md` — simple shaft, cylindrical rod, pin, standoff, stepped shaft, end hole, `轴`, `阶梯轴`, `圆柱杆`, `销轴`.
Functional skills:
- `references/cad-skillx/functional/axisymmetric-revolve-strategy.functional.md` — read for axisymmetric/turned bodies, stepped shafts, bushings, washers, sleeves, flange hubs, grooves, or revolved cuts.
- `references/cad-skillx/functional/bearing-bore-seat.functional.md` — read with bearing housing/seat requests where a shaft clearance bore, bearing pocket, shoulder, or seat depth is required.
- `references/cad-skillx/functional/flange-bolt-circle.functional.md` — read with flange requests containing bolt circle, pitch circle, PCD, circular bolt pattern, or evenly spaced flange holes.
- `references/cad-skillx/functional/mounting-plate-hole-layout.functional.md` — read with mounting/base/adapter plates containing rectangular hole grids, edge margins, slots, threaded holes, counterbores, or countersinks.
- `references/cad-skillx/functional/slotted-adjustment-feature.functional.md` — read when the model needs slots, slotted holes, elongated holes, guide slots, or adjustment slots.
- `references/cad-skillx/functional/standard-hole-wizard.functional.md` — read whenever standard clearance holes, threaded/tapped holes, counterbores, countersinks, dowel holes, or screw-seat holes are required.
- `references/cad-skillx/functional/symmetric-feature-layout.functional.md` — read when holes, bosses, tabs, slots, cutouts, or ribs are mirrored, centered, or symmetric about a centerline/midplane.
Atomic skills:
- `references/cad-skillx/atomic/coaxial-bore-rule.atomic.md` — read when bore, pocket, hub, sleeve, bearing seat, shaft clearance, pilot diameter, or counterbore must share one axis.
- `references/cad-skillx/atomic/counterbored-hole-creation.atomic.md` — read for counterbored holes, socket head/cap screw seats, flush screw-head recesses.
- `references/cad-skillx/atomic/extrude-base-profile.atomic.md` — read when the base body is an extruded rectangle, circle, annulus, hexagon, block, plate blank, bracket base, or simple cylinder.
- `references/cad-skillx/atomic/fillet-chamfer-last.atomic.md` — read when finishing edges with chamfers, fillets, deburring, lead-ins, or stress-relief rounds.
- `references/cad-skillx/atomic/pattern-holes-from-datum.atomic.md` — read for repeated holes controlled by pitch, angle, symmetry, linear pattern, circular pattern, mirror pattern, or bolt pattern.
- `references/cad-skillx/atomic/revolve-profile-around-axis.atomic.md` — read for individual revolve/revolved-cut operations around a construction axis.
- `references/cad-skillx/atomic/threaded-hole-creation.atomic.md` — read for internal threaded/tapped holes such as M3/M4/M5/M6/M8/M10.
- `references/cad-skillx/atomic/through-hole-cut.atomic.md` — read for plain through holes, clearance holes, central holes, circular openings, or bore-through cuts.
Recommended CAD-SkillX combinations:
- Bearing housing / `轴承座`: planning bearing housing + functional bearing bore seat + atomic coaxial bore; add standard hole wizard, pattern holes, counterbore/threaded/through-hole, and fillet-chamfer-last only if those features are requested.
- Flange / `法兰`: planning flange + functional flange bolt circle + atomic coaxial bore + pattern holes from datum; add axisymmetric revolve when the flange has a hub, sleeve, steps, grooves, or turned profile.
- Mounting plate / `安装板`: planning mounting plate + functional mounting plate hole layout; add standard hole wizard, symmetric feature layout, slots, pattern holes, counterbored/threaded/through holes, and fillet-chamfer-last as needed.
- Mounting bracket / `安装支架`: planning mounting bracket; add standard hole wizard, symmetric feature layout, slotted adjustment, extrude base profile, pattern holes, and fillet-chamfer-last as needed.
- Simple shaft / cylindrical rod / `轴`: planning simple shaft or cylindrical rod; add axisymmetric revolve or revolve-profile-around-axis for steps/shoulders/grooves, threaded-hole creation for centered end holes, and fillet-chamfer-last for end edge breaks.
- Hexagonal nut / `六角螺母`: planning hexagonal nut + atomic threaded-hole creation + fillet-chamfer-last; add revolve-profile-around-axis only when using a revolved blank or revolved thread/counterbore.
<!-- cad-skillx:end:skill-pack-curated-20260807 -->
Final responses should include generated files, returned `$cad-viewer` viewer links, verification snapshots, validation actually run, assumptions, and caveats. Use `references/inspection-and-validation.md` for report structure.