Giter Club home page Giter Club logo

collimationcircles's Introduction

Collimation Circles

This program was inspired by Mire De Collimation program written by Gilbert Grillot and Al's Collimation Aid. I combined best features of both and addes some of my own. Purpose of this program is not to reinvent the wheel, but rather to learn new technologies, become better at colimating my telescope and to learn something new.

Main purpose of this program is to help you with aligning optical elements of your telescope such as secondary mirror, primary mirror, focuser, etc.

Collimation Circles is developed with .NET 7 and AvaloniaUI Framework using MVVM architecture patern. Program was tested on Windows 10 and 11, Ununtu Linux 22.04.1 LTS (Wayland) and Raspberry PI OS Bullseye. I'm not able to test it on macOS, but it should work.

Please be gentle. This app is still in beta stage, but It's suitable to be exposed to wider audience. Feel free to report any issues. Suggestions and contributions are welcome!

Features

  • support multiple helper shapes (circle, spider, screw, clip)
  • user interface for managing list of shapes
  • scaling up or down of whole setup
  • rotation of whole setup
  • transparent background
  • fully customizable shapes: radius, thickness, color, spacing, rotation, label
  • support for profile saving and loading (JSON files)
  • precise position control with keyboard
  • multiple platform support (Windows, Linux, macOS)

image

.NET Framework Instalation

Windows 10 and above

https://learn.microsoft.com/en-us/dotnet/core/install/windows?tabs=net70

winget install Microsoft.DotNet.SDK.7

Ubuntu 22.04 and above

https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-2204

sudo apt-get update && sudo apt-get install -y dotnet-sdk-7.0

Raspbian OS Bullseye

https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian

wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update && sudo apt-get install -y dotnet-sdk-7.0

macOS

https://learn.microsoft.com/en-us/dotnet/core/install/macos

Prebuild binaries for Windows

Here are binary files for Windows avaliable for you to download. https://github.com/sajmons/CollimationCircles/releases/

Download latest release as ZIP file, extract it and run EXE.

If main window is not transparent, when you run application, try runing it like this from terminal window:

dotnet .\CollimationCircles.dll

Adwanced way of download and running (works on all platforms)

After installing .NET Framework you type following terminal commands:

sudo apt-get install git
git clone https://github.com/sajmons/CollimationCircles.git
cd ColiminationCircles/ColiminationCircles
dotnet run

Building

For more on building see https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish.

How to use

Read my articles here:

Known issues

Window transparency issues on Linux

Unfortunately on some Linux distros main window is not transparent :(. I have succesfully tested it on Ubuntu that's using Wayland window manager. On Raspberry Pi OS Bullseye window transparency doesn't work out of the box. But luckily there is workaround for that.

Open terminal and type this:

raspi-config

go to advanced settings and enable Compositor. Then run this command:

xcompmgr

and then run the CollimationCircles program again. Main Window should now be transparent!

Moving window arround with arrow keys on Linux

It seams that moving window arround on Linux behaves differently zhan on Windoes. I'll try to fix that in the future. It seams that it's avaloniaUI bug, you can see opened issue here: AvaloniaUI/Avalonia#9972

Images

ย 

collimationcircles's People

Contributors

sajmons avatar simonsander avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.