Skip to main content

A simple way to connect and interact with your 3D printer.

Project description

FlashForge 3D Printer Protocol

A simple way to connect and interact with your 3D printer.

Tested on FlashForge Adventure 4, most likly to be working with other FlashForge printers.

How to use

import ffpp
myPrinter = ffpp.Printer(192.168.0.1, 8899) # Change to the ip of your printer.
myPrinter.connect()

print(f"{myPrinter.machine_status} is {myPrinter.machine_status.value}")

Important note

You need to call the update() to get the current status, temperature and print percent from printer.

myPrinter.update()
print(myPrinter.extruder_temp.value)
myPrinter.update()
print(myPrinter.extruder_temp.value)

Information from 3D printer

This is the information collected from the printer. You'll find the value in the 'value' attribute of each field.

  • myPrinter.machine_type
  • myPrinter.machine_name
  • myPrinter.firmware
  • myPrinter.machine_SN
  • myPrinter.maxX
  • myPrinter.maxY
  • myPrinter.maxZ
  • myPrinter.extruder_count
  • myPrinter.mac_address
  • myPrinter.machine_status
  • myPrinter.move_mode
  • myPrinter.status
  • myPrinter.led
  • myPrinter.current_file
  • myPrinter.extruder_temp
  • myPrinter.extruder_target_temp
  • myPrinter.bed_temp
  • myPrinter.bed_target_temp
  • myPrinter.print_percent

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

ffpp-0.0.8.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

ffpp-0.0.8-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page