executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
prepare-print-model匯出並優化 3D 模型以為 FDM/SLA 印:STL/3MF 匯、網格完整驗、壁厚察、 支持生、切片。自 CAD 或建模軟體匯出以 3D 印、切片前驗 STL/3MF 可印、 解模型切片敗、為強度或表面終光優部位向、保可印性而換模格式時用之。
Independent GitHub snapshot · Automated classification · Original documentation governs
匯出並優化 3D 模型以為加成製造。此技能涵自 CAD/建模軟體匯出至網格修、可印性析、支持生、切片器配之全流。確模型為流形、有足壁厚、為強度與印質適向。
fdm、sla、sls)pla、petg、abs、standard-resin)cura、prusaslicer、orcaslicer、chitubox)匯出 3D 模型以宜印之格:
為 FDM/SLA: If starting from CAD (Fusion 360, SolidWorks) Export as: STL (binary) or 3MF Resolution: High (triangle count sufficient for detail) Units: mm (verify scale)
Example export settings: STL: Binary format, refinement 0.1mm 3MF: Include color/material data if using multi-material printer
得:模型文件以宜解析匯(機械部 0.1mm 弦容差,有機形 0.05mm)。
敗則:察模型已全定(無構造幾何)、無缺面、諸組件可見。
察網格為流形且可印:
# Install mesh repair tools if needed
# sudo apt install meshlab admesh
# Check STL file for errors
admesh --check model.stl
# Look for:
# - Non-manifold edges: 0 (every edge connects exactly 2 faces)
# - Holes: 0
# - Backwards/inverted normals: 0
# - Degenerate facets: 0
常見問題:
得:報示 0 誤,或誤可修。
敗則:自動或手修網格:
# Automatic repair with admesh
admesh --write-binary-stl=model_fixed.stl \
--exact \
--nearby \
--remove-unconnected \
--fill-holes \
--normal-directions \
model.stl
# Or use meshlab GUI for manual inspection/repair
meshlab model.stl
# Filters → Cleaning and Repairing → Remove Duplicate Vertices
# Filters → Cleaning and Repairing → Remove Duplicate Faces
# Filters → Normals → Re-Orient all faces coherently
若自動修敗,返源軟體修建模誤(重合頂點、開邊、疊體)。
驗所擇程之最小壁厚:
程之最小壁厚:
| Process | Min Wall | Recommended Min | Structural Parts |
|---|---|---|---|
| FDM (0.4mm nozzle) | 0.8mm | 1.2mm | 2.4mm+ |
| FDM (0.6mm nozzle) | 1.2mm | 1.8mm | 3.6mm+ |
| SLA (standard) | 0.4mm | 0.8mm | 2.0mm+ |
| SLA (engineering) | 0.6mm | 1.2mm | 2.5mm+ |
| SLS (nylon) | 0.7mm | 1.0mm | 2.0mm+ |
Check wall thickness visually in slicer:
For precise measurement, use CAD software:
得:諸壁達所擇程之最小厚。薄壁標待察。
敗則:返 CAD 增壁,或:
擇向以優強度、表面終光、支持用:
向決矩:
為強度:
為表面終光:
為最少支持:
載向析:
If part experiences:
- Tensile load along axis → print with layers perpendicular to axis
- Compressive load → layers can be parallel (less critical)
- Bending moment → layers perpendicular to neutral axis
- Shear → avoid layer interfaces parallel to shear direction
得:擇向附明確之強度、終光、支持權衡之因。
敗則:若無向滿諸需,依序分優:功能強度 → 尺精 → 表面終光 → 支持最少。
為懸配自動或手支持:
支持角閾:
支持型:
樹支(FDM,建議):
線支(FDM,傳統):
重支(SLA):
介面層:
In slicer (PrusaSlicer example): Print Settings → Support material
得:支生於諸逾閾角之懸,預覽示無浮幾何。
敗則:若自動支不足:
設程適之參:
FDM 層高:
SLA 層高:
諸程之關鍵參:
FDM:
layer_height: 0.2mm
line_width: 0.4mm (= nozzle diameter)
perimeters: 3-4 (structural), 2 (cosmetic)
top_bottom_layers: 5 (0.2mm layers = 1mm solid)
infill_percentage: 20% (cosmetic), 40-60% (functional)
infill_pattern: gyroid (FDM), grid (basic)
print_speed: 50mm/s perimeter, 80mm/s infill
temperature: material-specific (see select-print-material skill)
SLA:
layer_height: 0.05mm
bottom_layers: 6-8 (strong bed adhesion)
exposure_time: material-specific (2-8s per layer)
bottom_exposure_time: 30-60s
lift_speed: 60-80mm/min
retract_speed: 150-180mm/min
得:配以程適之默設,依特定材/模需修。
敗則:若不確參,自切片器之「標準質」默配始於所擇材,再迭。
察切之 G-code 問題:
In slicer:
預覽之紅旗:
得:預覽示連周長、適填、淨行、無顯缺。
敗則:調切片器設並重切。常修:
存切之 G-code 附描述名:
# Naming convention:
# <part_name>_<material>_<layer_height>_<profile>.gcode
# Example: bracket_petg_0.2mm_standard.gcode
# Verify G-code:
grep "^;PRINT_TIME:" model.gcode # Check estimated time
grep "^;Filament used:" model.gcode # Check material usage
head -n 50 model.gcode | grep "^M104\|^M140" # Verify temperatures
# Expected first layer temp:
# M140 S85 (bed temp for PETG)
# M104 S245 (hotend temp for PETG)
印前清單:
得:G-code 文存附嵌元數據、溫已驗、印時/料估合理。
敗則:若印時過(>12 時),考: