A simple Python-based Yarn Count Calculator that computes yarn count in Denier, Tex, and English Count systems. This application uses a Tkinter graphical interface, making it easy for users to enter weight and length (when required) to get the yarn count based on the selected system.
- Calculates yarn count in three systems: Denier, Tex, and English Count.
- Automatically adjusts the input fields based on the selected system.
- Provides a straightforward interface for easy data entry and result display.
To run this application, you'll need:
- Python 3.x installed on your machine.
tkinter
library (it comes pre-installed with Python on most platforms).
-
Run the script:
python filename.py
-
In the application:
- Weight: Enter the weight of the yarn in grams (or grains for English Count).
- Length: Only required for English Count; enter length in meters.
- Select Count System: Choose Denier, Tex, or English Count from the dropdown.
-
Click the Calculate button, and the result will be displayed at the bottom.
- Denier: Assumes a fixed length of 9000 meters.
- Tex: Assumes a fixed length of 1000 meters.
- English Count: Uses length (converted to yards) and weight (converted to grains) for calculation.
This project is licensed under the MIT License.