Skip to content

Releases: Duet3D/dsf-python

dsf-python-3.5.0

21 May 17:32
Compare
Choose a tag to compare

Release Notes

There is no notable changes since 3.5.1rc1
However since this version, dsf-python is also available as a deb package from the Duet APT repository.

Compatible versions:

  • Python 3.7 or newer
  • RepRapFirmware 3.5.1
  • DuetSoftwareFramework 3.5.1

New features:

  • Update the Object Model to match DSF 3.5.1:
    • Added missing measured_height member to probe
    • Added board.free_ram
    • Added board.inductive_sensor key
    • Added accelerometer.orientation key
    • Added fan.tacho_ppr key
    • Extended the list of supported axis letters (Added g to z)
    • Modified move_segmentation.segments_per_sec to return float instead of int
    • Added plugin_manifest.sbc_config_files key
    • Added dsf.is64bit key
    • Added offset_adj and slope_adj keys to analog_sensor
  • Added auto_evaluate_expression optional parameter to InterceptConnection class

Downloads

Installation

On the DuetPi image (Debian Bookworm based), run: sudo apt install python3-dsf-python

To install the latest version : sudo pip3 install dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade dsf-python
To install this specific version : pip install dsf-python==3.5.0

dsf-python-3.5.1rc1

06 May 17:55
Compare
Choose a tag to compare
dsf-python-3.5.1rc1 Pre-release
Pre-release

Release Notes

Compatible versions:

  • Python 3.7 or newer
  • RepRapFirmware 3.5.1
  • DuetSoftwareFramework 3.5.1

New features:

  • Update the Object Model to match DSF 3.5.1:
    • Added missing measured_height member to probe
    • Added board.free_ram
    • Added board.inductive_sensor key
    • Added accelerometer.orientation key
    • Added fan.tacho_ppr key
    • Extended the list of supported axis letters (Added g to z)
    • Modified move_segmentation.segments_per_sec to return float instead of int
    • Added plugin_manifest.sbc_config_files key
    • Added dsf.is64bit key
    • Added offset_adj and slope_adj keys to analog_sensor
  • Added auto_evaluate_expression optional parameter to InterceptConnection class

Downloads

Installation

To install the latest version : sudo pip3 install --pre dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade --pre dsf-python
To install this specific version : pip install dsf-python==3.5.1rc1

dsf-python-3.5.0.2rc2

21 Jan 13:28
Compare
Choose a tag to compare
dsf-python-3.5.0.2rc2 Pre-release
Pre-release

Release Notes

Compatible versions:

  • Python 3.7 or newer
  • RepRapFirmware 3.5.0-rc2
  • DuetSoftwareFramework 3.5.0-rc2

New features:

  • Added new object model fields introduced by RepRapFirmware/DuetSoftwareFramework
  • Add DeprecationWarning where applicable

Bug fixes:

  • Do not time out the connection for zero-byte payloads as DSF may send it to check if the socket is still open
  • Raise IPCSocketBrokenException when the IPC socket is closed on the remote server

Downloads

Installation

To install the latest version : sudo pip3 install --pre dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade --pre dsf-python
To install this specific version : pip install dsf-python==3.5.0.2rc2

dsf-python-3.5.0rc2

15 Jan 18:24
Compare
Choose a tag to compare
dsf-python-3.5.0rc2 Pre-release
Pre-release

Release Notes

Compatible versions:

  • Python 3.9 or newer
  • RepRapFirmware 3.5.0-rc2
  • DuetSoftwareFramework 3.5.0-rc2

New features:

  • Added new object model fields introduced by RepRapFirmware/DuetSoftwareFramework
  • Add DeprecationWarning where applicable

Bug fixes:

  • Do not time out the connection for zero-byte payloads as DSF may send it to check if the socket is still open
  • Raise IPCSocketBrokenException when the IPC socket is closed on the remote server

Downloads

Installation

To install the latest version : sudo pip3 install --pre dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade --pre dsf-python
To install this specific version : pip install dsf-python==3.5.0rc2

dsf-python-3.4.6.post4

04 Jan 16:51
Compare
Choose a tag to compare

Release Notes

  • Fix: Raise an IPCSocketBrokenException when the IPC socket is closed on the remote server
  • Make use of the timeout argument for connections

Downloads

Installation

To install the latest version : sudo pip3 install dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade dsf-python
To install this specific version : pip install dsf-python==3.4.6.post4

dsf-python-3.4.6.post3

18 Nov 21:31
Compare
Choose a tag to compare

Release Notes

  • Improve compatibility with Python 3.7
  • Fix: remove CodeChannel File2 which doesn't exists yet for DSF 3.4.6 (added in 3.5)

Downloads

Installation

To install the latest version : sudo pip3 install dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade dsf-python
To install this specific version : pip install dsf-python==3.4.6.post3

dsf-python-3.4.6

01 Nov 17:04
Compare
Choose a tag to compare

Release Notes

  • Fix: Do not time out the connection for zero-byte payloads as DSF may send it to check if the socket is still open
  • Fix check if code parameter is an expression
  • Removed obsolete OM field state.restore_point.spindle_speeds
  • Fixed unit of sensors.probes[].travelSpeed
  • Fixed typo with priority_codes parameter to code interceptor API
  • Replace CodeResult by Message
  • Refactor commands.Code into separate modules and add class arguments in the constructor as well as their docstring
  • Improve docstrings

Downloads

Installation

To install the latest version : sudo pip3 install dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade dsf-python
To install this specific version : pip install dsf-python==3.4.6

dsf-python 3.4.5.post2

02 Jan 22:18
Compare
Choose a tag to compare

Release Notes

Fix Kinematics names to read the object model

Downloads

Installation

To install the latest version : sudo pip3 install dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade dsf-python
To install this specific version : pip install dsf-python==3.4.5.post2

dsf-python 3.4.5.post1

31 Dec 22:16
Compare
Choose a tag to compare

Release Notes

Bug fix: Make ObjectModel patching to work (Implement ModelCollection and ModelDictionary + various minor fixes)

Downloads

Installation

To install the latest version : sudo pip3 install dsf-python
To upgrade to the latest version : sudo pip3 install --upgrade dsf-python

dsf-python-3.4.5

15 Dec 18:30
Compare
Choose a tag to compare

Release Notes

  • Add ObjectModel implementation
  • Change modules architecture to better match DSF API
  • Bring API protocol up to date with DSF 3.4.5 such as :
    • Remove stuff related to MachineModel and use ObjectModel instead
    • Add evaluate_expression method to BaseCommandConnection
    • Remove origin_port parameter for add_user_session command
    • Add parameter to get_file_info command to get thumbnail content
    • Add invalidate_channel() generic command
    • Add StartPlugins and StopPlugins API calls
    • Added new API command to reload plugin manifest
    • Added new IPC command to invalidate codes and files
    • Added new API command to enable or disable network protocols
    • Added new API command to install system packages on demand

Downloads

Installation