A program for controlling a miniturized additive friction stir deposition (AFSD) machine.
Project description
mini_afsd is a program for controlling a miniturized additive friction stir deposition (AFSD) machine.
For Python 3.7+
Open Source: BSD 3-Clause License
Source Code: https://github.com/RyTheGuy355/MiniAFSDCode
Introduction
To be added.
Installation
Dependencies
mini_afsd requires Python version 3.7 or later and the following Python libraries:
matplotlib (>=3.4)
All of the required Python libraries should be automatically installed when installing mini_afsd using any of the installation methods below.
The LJM driver from LabJack must also be installed, which can be downloaded from https://labjack.com/support/software/installers/ljm.
Installing Python
Python can be installed multiple ways:
If on Windows, the easiest way is to use WinPython. The recommended installation file (as of June 10, 2022) is WinPython64-3.10.4.0 (or WinPython64-3.10.4.0dot if you don’t want any preinstalled libraries).
Use Anaconda, which comes with many libraries preinstalled.
Install from Python’s official source, https://www.python.org/. Follow the instructions listed at https://packaging.python.org/en/latest/tutorials/installing-packages/#requirements-for-installing-packages to ensure Python and the Python package manager pip are correctly installed.
Stable Release
mini_afsd can be installed from pypi using pip, by running the following command in the terminal:
pip install mini_afsd
Development Version
The sources for mini_afsd can be downloaded from the GitHub repo. To install the current version of mini_afsd from GitHub, run:
pip install https://github.com/RyTheGuy355/MiniAFSDCode/zipball/main
Optional Dependencies
While not needed, an Arduino IDE (available from https://www.arduino.cc/en/software) can be used when connected to the serial port of the mill to get more detailed feedback on the messages sent to and from the port.
Quick Start
For default usage, mini_afsd can be ran from the a terminal (the command line if Python was install universally, from an Anaconda terminal if Python was installed with Anaconda, or from the WinPython Command Prompt if Python was installed using WinPython) using:
python -m mini_afsd
To list out the various options when using mini_afsd from the terminal, simply do:
python -m mini_afsd -h
Alternatively, mini_afsd can be used from a Python file by doing the following:
from mini_afsd import Controller
Controller().run()
Contributing
Contributions are welcomed and greatly appreciated. For information on submitting bug reports, pull requests, or general feedback, please refer to the contributing guide.
Changelog
Refer to the changelog for information on mini_afsd’s changes.
License
mini_afsd is all rights reserved. For more information, refer to the license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mini_afsd-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 736362310ae519417688b1f731cf514b005bc2f6a69e9bc337b5eacb35d3dc30 |
|
MD5 | 00287c27547814dc070bae8c53cd4a26 |
|
BLAKE2b-256 | 69b79542f2d3d0b78a4e8b44b78913f04fb7fee9356962a01c71488da2f7950b |