Search This Blog

Circle Calculation Tool Based on Three Points

 In this post, I’d like to present my new circle calculation tool that simplifies tasks involving setting out, verifying, and approximating circles based on measured coordinates.


🛠 What Does the Program Do?

The main purpose of the program is to find the center and radius of a circle that passes through any three points from a given list. Unlike basic calculators, this tool:

✅ Iterates through all possible combinations of three points
✅ Calculates the center and radius of each circle
✅ Displays the standard deviation (RMS) of the radii
✅ Shows results in a table and on a graph
✅ Highlights the rows closest to the target radius
✅ Supports file import/export, including Excel-compatible CSV
✅ Uses least squares method to fit a circle through the entire set of points
✅ Allows filtering by point name
✅ Includes a context menu and built-in Help section


🧑‍💻 Who Is It For?

This program is especially useful for:

  • Surveyors — for circle layout verification using coordinates
  • Designers — to control accuracy in circular constructions
  • Construction engineers — when working with round elements (arches, curbs, etc.)
  • CAD specialists — as a support tool in design tasks

📋 How Does It Work?

  1. Enter point coordinates manually or import them from a file (TXT or CSV)
  2. The program generates all possible combinations of three points (e.g., 10 points = 120 triplets)
  3. For each triplet, it calculates:
    • The circle’s center (Xₒ, Yₒ)
    • Radius
  4. If you enter a target radius and tolerance, the program filters triplets that match the criteria
  5. At the bottom, it displays:
    • Average radius among selected circles
    • RMS (how consistent the results are)
    • A circle fitted to all points using the least squares method
  6. Optionally, a graph is generated with:
    • Labeled points
    • All computed circles overlaid

📈 Key Benefits

  • Simplicity: Everything is in a single window — no need for Excel or AutoCAD
  • Instant calculation: Results appear immediately after clicking “Calculate”
  • Flexibility: Works with as few as three and up to dozens of points
  • Exportability: Results can be saved as CSV for further analysis or reporting

📥 Want to Try It?

Download from G-disk (33Mb)

If you enjoyed this program and would like to support the author, you can do so here: https://ko-fi.com/anton57101

No comments:

Post a Comment

комментарий появиться (или нет) после модерации

Popular: