Skip to content

jasiek/OctoPrint-Cost

Repository files navigation

Important note regarding the maintenance of this project.

I no longer have regular access to a 3D printer to be able to test changes to this plugin. If you're looking for a plugin which is maintained regularly, you should check out: https://github.com/malnvenshorn/OctoPrint-CostEstimation

OctoPrint-Cost

This plugin will display a cost estimate based on the filament length or weight and time to print, like this:

screenshot

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/jasiek/OctoPrint-Cost/archive/master.zip

Configuration

There are three configuration variables:

  • Currency - a free-form string.
  • Cost per time - cost in currency units per one hour of use.
  • Cost per length - cost in currency units per one meter of filament.
  • Cost per weight - cost in currency units per one kilogram of filament.

License (MIT)

Copyright (c) 2016, Jan Szumiec

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.