@@ -155,19 +155,19 @@ jobs:
155155
156156 echo "Animation frames generated"
157157
158- - name : Create animation GIF (if imagemagick available)
159- continue-on-error : true
158+ - name : Create animation GIF
160159 run : |
161160 sudo apt-get install -y imagemagick
162161 cd LifeTrac-v25/mechanical_design/output/animations
163162
164- if command -v convert &> /dev/null; then
165- echo "Creating animation GIF..."
166- convert -delay 10 -loop 0 frames/frame_*.png lifetrac_v25_animation.gif
167- echo "Animation GIF created"
168- else
169- echo "ImageMagick not available, skipping GIF creation"
170- fi
163+ echo "Creating animation GIF of arm movement..."
164+ convert -delay 10 -loop 0 frames/frame_*.png lifetrac_v25_animation.gif
165+
166+ # Copy to parent directory for easy access
167+ cp lifetrac_v25_animation.gif ../../lifetrac_v25_animation.gif
168+
169+ echo "✓ Animation GIF created successfully"
170+ ls -lh ../../lifetrac_v25_animation.gif
171171
172172 - name : Generate summary report
173173 run : |
@@ -190,8 +190,8 @@ jobs:
190190 - Module examples (5 modules)
191191
192192 ### Animations
193- - 36 animation frames
194- - Animation GIF (if ImageMagick available )
193+ - 36 animation frames (1280x720 PNG)
194+ - Animated GIF showing arm movement (lifetrac_v25_animation.gif )
195195
196196 ### CNC Files
197197 - assembly.png (3D render of complete assembly)
@@ -200,10 +200,11 @@ jobs:
200200 ## Next Steps
201201
202202 1. Review rendered images in the artifacts
203- 2. Use cnclayout.svg for CNC plasma cutting
204- 3. Use animation frames to create videos
205- 4. Export DXF files for individual parts using export_all_cnc_parts.sh
206- 5. Check the Structural Analysis workflow for design validation results
203+ 2. View lifetrac_v25_animation.gif to see arm movement
204+ 3. Use cnclayout.svg for CNC plasma cutting
205+ 4. Use animation frames to create videos
206+ 5. Export DXF files for individual parts using export_all_cnc_parts.sh
207+ 6. Check the Structural Analysis workflow for design validation results
207208
208209 ---
209210 Generated by GitHub Actions
@@ -225,24 +226,24 @@ jobs:
225226 path : LifeTrac-v25/mechanical_design/output/animations/
226227 retention-days : 90
227228
228- - name : Commit and push assembly.png and cnclayout.svg
229+ - name : Commit and push rendered outputs
229230 run : |
230231 cd LifeTrac-v25/mechanical_design
231232 git config --global user.name 'github-actions[bot]'
232233 git config --global user.email 'github-actions[bot]@users.noreply.github.com'
233234
234235 # Add the generated files
235- git add assembly.png cnclayout.svg
236+ git add assembly.png cnclayout.svg lifetrac_v25_animation.gif
236237
237238 # Check if there are changes
238239 if ! git diff --staged --quiet; then
239- git commit -m "Update assembly.png and cnclayout.svg [skip ci]"
240+ git commit -m "Update rendered outputs ( assembly, layout, animation) [skip ci]"
240241 git push --force-with-lease origin HEAD || {
241242 echo "INFO: git push failed. This is expected on PRs from forks."
242243 echo "The files are available as workflow artifacts."
243244 }
244245 else
245- echo "No changes to assembly.png or cnclayout.svg "
246+ echo "No changes to rendered output files "
246247 fi
247248 env :
248249 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -280,6 +281,7 @@ jobs:
280281 ### Generated Outputs
281282 - 📸 Preview renders (main, front, side, top views)
282283 - 🎬 Animation frames (36 frames)
284+ - 🎞️ Animated GIF of arm movement (lifetrac_v25_animation.gif)
283285 - 🔧 Module examples
284286 - 🖼️ Assembly image and CNC layout (assembly.png, cnclayout.svg)
285287
@@ -288,8 +290,11 @@ jobs:
288290 - \`openscad-renders\` - Preview images
289291 - \`openscad-animations\` - Animation frames and GIF
290292
291- ### CNC Files
292- - \`assembly.png\` and \`cnclayout.svg\` committed to repository
293+ ### Committed Files
294+ The following files have been committed to the repository:
295+ - \`assembly.png\` - 3D assembly render
296+ - \`cnclayout.svg\` - 2D CNC cutting layout
297+ - \`lifetrac_v25_animation.gif\` - Animation showing arm movement
293298
294299 _Note: Check the **OpenSCAD Structural Analysis** workflow for design validation and structural analysis results._
295300
0 commit comments