Inspiration

As textile students, we often encounter the challenge of fabric shrinkage during production and aftercare. Predicting shrinkage accurately can save time, cost, and ensure better quality control. This inspired us to build a simple yet functional tool that can predict shrinkage based on basic yarn and fabric parameters.

What it does

The Fabric Shrinkage Predictor takes input values like yarn count, GSM, fabric type, and other characteristics. Based on these inputs, it calculates an estimated shrinkage percentage using predefined logic and rules from textile theory.

How we built it

We developed the tool using C programming language for its simplicity and strong control over logical structures. The application runs in a terminal-based interface, making it lightweight and fast. We used modular functions to handle different input sections and calculations, ensuring code readability and maintainability.

Challenges we ran into

  • Converting theoretical textile formulas into working C logic.
  • Designing a user-friendly interface within the command-line environment.
  • Managing input validation and handling various parameter types.

Accomplishments that we're proud of

  • Successfully implemented a working shrinkage prediction logic in C.
  • Created a fully functioning tool within the limited hackathon timeframe.
  • Applied real-world textile knowledge into a coding environment effectively.

What we learned

  • Improved our ability to map domain knowledge (textiles) into programming logic.
  • Strengthened our C programming skills, especially in function usage and data handling.
  • Understood the importance of testing and validating user inputs.

What's next for Fabric Shrinkage Predictor

  • Add a GUI (Graphical User Interface) to make it more user-friendly.
  • Expand the logic to include different types of shrinkage (warp, weft, etc.).
  • Integrate the tool into a web or mobile application for broader accessibility.

Built With

Share this project:

Updates