Skip to content

hdrpano/watchmaking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3.13 PyQt5 license MIT platform Windows platform MacOS

Watchmaking Gear Simulator

This is part of my new project and book Watchmaking with Python

Watchmaking with Python

Modern Engineering for Mechanical Watches

Mechanical watchmaking has evolved far beyond traditional design methods. Today, numerical simulation, data analysis and software engineering have become essential tools in the development of high-performance mechanical movements.

Python for Watchmaking bridges the gap between classical horology and modern engineering. Using practical Python examples, the book demonstrates how physical principles can be modelled, analysed and optimised with professional software tools.

The book is available in English, German and French, making it accessible to readers throughout the international watchmaking industry.

What You Will Learn in this book

The book covers a wide range of engineering topics, including:

  • Python programming for engineering applications
  • Mechanical watch theory
  • Gear trains and escapements
  • FFT analysis of timing variations
  • Dynamic balancing
  • Hertzian contact pressure
  • Signal processing and data analysis
  • Design of Experiments (DOE)
  • Monte Carlo simulation
  • Reliability and Weibull analysis
  • Silicon hairprings
  • Numerical optimisation
  • Modern graphical user interfaces with PyQt
  • Automatic report generation
  • Engineering software architecture

➡️ Available here: watchmaking

Watchmaking Gear Simulator

Professional analysis tools for Swiss watch gear trains.

The Watchmaking Gear Simulator is a collection of applications for analysing, editing and converting traditional watch wheel and pinion profiles based on the Belot geometry format.

The software has been developed with a strong focus on practical watchmaking applications, including contact analysis, efficiency calculations, Hertzian pressure, manufacturing tolerances and CAD integration.

Contact Analyses

Features

Watchmaking Gear Simulator

  • Graphical contact analysis
  • Active contact zone calculation
  • Gear mesh efficiency
  • Torque ripple analysis
  • Hertzian contact pressure
  • Contact window calculation
  • Wheel and pinion drive simulation
  • Contact path visualisation
  • Monte Carlo tolerance simulation
  • Batch processing
  • Automatic PDF reports
  • SVG and PNG graphics export
  • Fusion 360 MCP export

Profile Editor

The Profile Editor allows direct modification of Belot gear profiles.

Features include:

  • Interactive profile editing
  • Wheel and pinion support
  • Profile mirroring
  • Contact analysis comparison
  • Material selection
  • Immediate simulation of edited geometry

Profile Editor

Profile Converter

The Converter supports conversion between different watch gear profile formats.

Supported formats include:

  • Belot TXT
  • DXF
  • ENO
  • EGR
  • NIHS 20-30

The converter preserves the original geometry whenever possible and supports exact arc and line reconstruction.

DXF

NIHS Generator

The NIHS Generator creates standard NIHS 20-30 watch gear profiles.

Features include:

  • Wheel generation
  • Pinion generation
  • Automatic Belot export
  • Direct compatibility with the Gear Simulator

HIHS to Belot

Belot Parser Source Code

This repository also includes the complete source code of

Debug.py

The parser demonstrates how Belot profile files are read and interpreted.

It is intended as a reference implementation for developers who want to

  • read Belot files
  • build their own applications
  • generate custom profiles
  • integrate Belot geometry into CAD or CAM software

Supported Operating Systems

Precompiled applications are available for:

  • Windows 11 (64-bit)
  • macOS (Apple Silicon)

The macOS applications are digitally signed.

Installation

Download the latest release from the Releases section.

Unzip the package.

Start the desired application:

  • Watchmaking Gear Simulator
  • Profile Editor
  • Profile Converter
  • NIHS Generator

No Python installation is required.

Typical Workflow

  1. Generate or import wheel and pinion profiles.
  2. Inspect and edit the geometry.
  3. Run contact analysis.
  4. Evaluate efficiency and Hertzian pressure.
  5. Perform Monte Carlo tolerance simulations.
  6. Export geometry for Fusion 360.

Documentation

Additional documentation, tutorials and theory papers are available in the project documentation.

The generated PDF reports explain the calculated results in detail.

License

The applications are distributed as freeware binaries.

The included parser source code is released under the MIT License.

Please see the LICENSE file for details.

❤️ Support the Project

The Watchmaking Gear Simulator is developed as an open-source project and is available free of charge for private, educational and commercial use.

If you or your company benefit from this software, please consider supporting its continued development through GitHub Sponsors.

Your sponsorship helps fund new features, testing, documentation and long-term maintenance.

➡️ Sponsor this project

Contributing

Bug reports and feature suggestions are always welcome.

If you discover incorrect geometry, unsupported profile formats or calculation issues, please open an Issue.

Contributions improving documentation are also appreciated.

Disclaimer

The software is intended for engineering, educational and research purposes.

Although every effort has been made to verify the calculations, users remain responsible for validating results before applying them to production components.

Acknowledgements

The project builds upon many years of practical experience in Swiss watchmaking, gear geometry and escapement development.

Special thanks to everyone who has provided valuable feedback during testing.

Screenshots

  • Gear Simulator
  • Contact Analysis
  • Monte Carlo Simulation
  • Profile Editor
  • Converter
  • Fusion Export

Monte Carlo Fusion MCP Fusion MCP

Example Applications

(Add example images here.)

  • Escape wheel
  • Fourth wheel
  • Third wheel
  • Centre wheel
  • Pinion profiles
  • NIHS examples

Contact

Questions, suggestions and bug reports are welcome through the GitHub Issues page.

Releases

Packages

Contributors

Languages