New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/tarikcaliskan/3d-printer-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/tarikcaliskan/3d-printer-go

  • v0.0.0-20231119214058-27f11a4b5498
  • Source
  • Go
  • Socket score

Version published
Created
Source

3D Printer Go

This Go program allows you to control your 3D printer using the Marlin firmware. It provides real-time data streaming, logging, and the ability to send commands to your printer.

Table of Contents

  • Introduction
  • Features
  • Getting Started
  • Usage
  • Configuration

Introduction

3D Printer Control is a Go program that interfaces with 3D printers running the Marlin firmware. It allows users to read real-time data from the printer, log the data to a file, and send custom commands.

https://github.com/tarikcaliskan/3d-printer-go/assets/29506704/acc43da0-ad63-4596-885b-7ac5ada2a4d3

Features

  • Real-time data streaming from the 3D printer
  • Logging of printer data to a specified file
  • Sending custom commands to the 3D printer

Getting Started

Prerequisites

Make sure you have the following installed:

  • Go (at least Go 1.x)
  • Marlin firmware on your 3D printer

Installation

Clone the repository and build the program:

git clone https://github.com/tarikcaliskan/3d-printer-go.git
cd 3d-printer-go
go build

Usage

Run the compiled binary with the desired port, baud rate, and log file:

./3d-printer-go --port /dev/tty.usbserial-1234 --baud-rate 115200 --log-file printer_log.txt

This will start the program, allowing you to interact with your 3D printer.


Configuration

You can customize the behavior of the program using command-line arguments. Here are the available options:

  • --port: The serial port name of your 3D printer (default: "/dev/tty.usbserial-1140").
  • --baud-rate: The baud rate for serial communication (default: 250000).
  • --log-file: The name of the log file for storing printer data (default: "printer_log.txt").

FAQs

Package last updated on 19 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc