„README.md“ ändern

This commit is contained in:
Manuel Weiser 2022-02-11 19:50:05 +00:00
parent 3f67b934f8
commit ebb323d764
1 changed files with 25 additions and 11 deletions

View File

@ -1,17 +1,31 @@
Example Extension
=================
Cura Material Print Temperature Correction Plugin
=================================================
This is an example extension plug-in for Uranium. Uranium is the underlying framework used in Ultimaker Cura and NinjaKittens.
Das Problem:
Temperaturen für ein Material werden in den Materialeinstellungen gesetzt. Wählt man ein anderes Material vom gleichen Materialtyp (zB PLA aber von anderem Hersteller) wird die Temperatur im Profil übernommen. Das geht aber nur solange,
wie man die Temperatur im Profil nicht selber ändert und das Profil speichert. Dann bleibt der eingegebene Wert fest,
auch wenn man das Material wechselt.
The extension type plug-in is a "generic" type of plug-in that just gets some object constructed upon loading the plug-in for the first time. Using the initialisation of that class as starting point for your code, you can access all of the application.
Nun passen die Temperaturen für ein Material nicht zu jedem Profil, weil es zB Profile gibt, in denen schneller,
langsamer, mit größerer Layerhöhe etc. gedruckt wird. Nun möchte man nicht für jedes Material und Einstellung zusätzlich ein Profil erstellen.
There are two typical use cases for extensions:
1. Modifying some behaviour in the application or modifying current functionality. This is done by listening to the desired event, such as the changing of the current machine or on start-up. When that event happens, some code can be executed that adds on the behaviour.
2. Adding a dialogue that provides additional functionality. There is a handy built-in method that allows you to add a menu item easily, and what should happen when the user clicks on it.
Da hilft dieses Plugin. Es lässt sich im Profil in einem Extrafeld ein differenz Wert setzen, der dann zur Drucktemperatur
hinzugefügt oder abgezogen wird und man kann so das eigentliche Temperaturfeld unberührt lassen. Damit funktionert das
gleiche Profil für verschiedene Materialen.
This plug-in shows an example of both use cases.
--------------------------
Packaging
---------
Cura Material Print Temperature Correction Plugin
=================================================
To package your plug-in, compress your plug-in folder in a .zip archive and rename that archive to get the `.plugin` extension. These .plugin files can be dropped into any Uranium application to be installed.
The problem:
Temperatures for a material are set in the material settings. If you select another material of the same material type (e.g. PLA but from a different manufacturer), the temperature is taken over in the profile. But this only works as long
as long as you do not change the temperature in the profile yourself and save the profile. Then the entered value remains fixed,
even if you change the material.
Now the temperatures for a material do not fit to every profile, because there are e.g. profiles, in which faster,
slower, with a greater layer height, etc. Now you don't want to create an additional profile for each material and setting.
This plugin helps. You can set a difference value in the profile in an extra field, which is then added to or subtracted from the print temperature.
and you can leave the actual temperature field untouched. This way the
same profile for different materials.