Skip to content

divyashree-21/3D-Table-Fan-Assembly-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌀 3D Table Fan Assembly Simulation

📌 Project Overview

This project simulates the assembly of a table fan using Data Structures and basic 3D visualization.

It demonstrates how different parts of a table fan are assembled step-by-step using programming concepts.


🎯 Objectives

  • To understand real-world assembly using programming
  • To implement Data Structures like Stack and Queue
  • To visualize fan assembly in 3D using OpenGL

🧠 Concepts Used

  • Queue (for assembly order)
  • Stack (for undo operation)
  • OpenGL (for 3D visualization)
  • C Programming

⚙️ Features

  • Step-by-step fan assembly
  • Undo last assembled part
  • Automatic animation of fan
  • Keyboard and mouse controls
  • Screenshot saving feature

🎮 Controls

  • Mouse Drag → Rotate fan
  • Scroll → Zoom in/out
  • A → Auto assembly
  • 1–6 → Jump to steps
  • R → Reset
  • S → Save screenshot
  • ESC → Exit

🛠️ Technologies Used

  • C Language
  • OpenGL
  • GLFW
  • GLU

▶️ How to Run

  1. Open MSYS2 MinGW64 terminal
  2. Navigate to project folder:
cd /c/Users/YourPath/3D-Table-Fan-Assembly-simulation
  1. Compile:
gcc tablefan.c -o tablefan.exe -lglfw3 -lglu32 -lopengl32 -lgdi32 -lm
  1. Run:
./tablefan.exe

📁 Project Structure

Tablefan_normal.c   → DSA logic
tablefan.c          → 3D simulation
table.html          → basic visualization
stb_image_write.h   → image saving

👩‍💻 Author

Divya Shree B.E CSE Student


🌟 Conclusion

This project successfully combines Data Structures with real-time visualization, helping in understanding both programming and real-world system design.

About

3D Table Fan Assembly Simulation using C, implementing Stack and Queue (DSA) with OpenGL visualization for step-by-step assembly and animation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors