73 Commits

Author SHA1 Message Date
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Tim Kuipers
a7e4d76d05 make lithophane alpha channel control total final width multiplier.
That way the picture is not always square. We can use the alpha channel to encode the actual shape
2019-12-16 13:31:11 +01:00
Nino van Hooff
90f580494b Change default image reader algorithm from logarithmic to linear
The log curve might have some benefits but is also harder to understand
and configure, so let's keep the default at linear.

CURA-6540
2019-11-01 10:31:34 +01:00
Tim Kuipers
1c13402670 rename single letter variable 2019-10-25 11:17:28 +02:00
Tim Kuipers
a01f91d4e3 omit irrelevant log base 2019-10-25 11:16:32 +02:00
Tim Kuipers
76a538322d simplify formula to make it more numerically stable 2019-10-25 11:16:13 +02:00
Nino van Hooff
8a963a0c4e Merge remote-tracking branch 'origin/log_litho' into log_litho
# Conflicts:
#	plugins/ImageReader/ConfigUI.qml
#	plugins/ImageReader/ImageReader.py
2019-10-25 10:26:12 +02:00
Nino van Hooff
6e65fe5772 Only show the transmittance input when the color model is Translucency
CURA-6540
2019-10-25 09:57:39 +02:00
Tim Kuipers
03f7fab124 lil fix 2019-10-24 17:26:28 +02:00
Tim Kuipers
449ad19822 based transmittance on measurements on print
ratio of luminance of 1.4mm thickness to luminance at 0.4mm
2019-10-24 17:26:28 +02:00
Tim Kuipers
5915947a7a fix litho thickness computation 2019-10-24 17:26:28 +02:00
Tim Kuipers
364483f653 explain litho transmittance better 2019-10-24 17:26:28 +02:00
Tim Kuipers
a8b3d7e49d make naming of Logarithmic Conversion Function intelligible 2019-10-24 17:26:28 +02:00
Tim Kuipers
2b55b85a12 fix luminance computation 2019-10-24 17:26:28 +02:00
Tim Kuipers
b88183f4a1 fix translucency model using new permittance setting 2019-10-24 17:26:28 +02:00
Tim Kuipers
88b424d36a feat: use logarithmic conversion for lithophanes 2019-10-24 17:26:28 +02:00
Tim Kuipers
b3d7887d4d fix luminance computation 2019-10-24 17:26:28 +02:00
Nino van Hooff
2e43f63adb Merge branch 'master' into log_litho 2019-10-24 15:26:11 +02:00
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +02:00
Tim Kuipers
e59641eb67 based transmittance on measurements on print
ratio of luminance of 1.4mm thickness to luminance at 0.4mm
2019-05-20 20:19:29 +02:00
Tim Kuipers
236b7574c0 fix litho thickness computation 2019-05-20 14:58:26 +02:00
Tim Kuipers
3e0b756a6d explain litho transmittance better 2019-05-20 14:37:14 +02:00
Tim Kuipers
5b9a18f5df make naming of Logarithmic Conversion Function intelligible 2019-05-20 14:27:51 +02:00
Tim Kuipers
beaa5e0b7a fix luminance computation 2019-05-20 14:22:27 +02:00
Tim Kuipers
9066f5f6d4 fix translucency model using new permittance setting 2019-05-20 14:22:19 +02:00
Tim Kuipers
3168328750 feat: use logarithmic conversion for lithophanes 2019-05-20 13:10:54 +02:00
Tim Kuipers
ba878ccff0 fix luminance computation 2019-05-20 12:08:16 +02:00
Tim Kuipers
32d79451cc fix color inversion and make variable naming descriptive 2019-03-22 11:42:31 +01:00
Tim Kuipers
bdf102ea64 make description of color invert explanatory, rather than purely descriptive. 2019-03-22 11:30:58 +01:00
Tim Kuipers
709321fc0c Change image import options for standard lithophanes 2019-03-22 11:22:30 +01:00
Lipu Fei
6992fd2991 Update plugin versions to match package versions
CURA-6019
2018-12-17 13:03:21 +01:00
Ghostkeeper
c235f339ae
Increment API version to 6
All plug-ins now have to re-check whether they are still compatible with the current version of Cura.

Contributes to issue CURA-6019.
2018-12-14 17:29:02 +01:00
Ghostkeeper
1bcd134f85
Fix code style
Most stuff here was recently changed. Some of it was where I found a pattern in something that was likely copy-pasted from somewhere else, so I did a global search and replace on that.

Contributes to issue CURA-5784.
2018-10-18 14:30:33 +02:00
Ghostkeeper
314b966cc9
Improvements to translated strings
These strings were recently found to have been confusing to the translators. Improvements are:
- Pulling the (untranslated) error message out of the message sentence. We really want the error message to be at the end so we'll force the translators to translate it as a prefix.
- Remove extra spaces at the end.
- Remove Python logic from within the i18nc call, since gettext doesn't understand that.

Contributes to issue CURA-5741.
2018-10-08 15:03:21 +02:00
Aleksei S
fe9cada459 Increase plugin API version to 5
CURA-5627
2018-08-27 13:59:00 +02:00
Jaime van Kessel
b4f59a7822 Removed unneeded application reference in construction of meshreaders 2018-06-29 09:25:38 +02:00
Diego Prado Gesto
ddd7b056f3 CURA-5164 Make the mesh readers compliant with the new signature of the mesh reader. Also adapt the tests. 2018-05-23 17:17:41 +02:00
Jack Ha
62487e8ea2 CURA-4525 cleanups and change comment and added new-lines 2018-01-03 15:41:08 +01:00
Jack Ha
5152b2ae65 Solved merge conflicts. CURA-4525 2017-12-21 10:52:51 +01:00
Ghostkeeper
2236e0016d
Merge branch '3.1' 2017-12-01 14:41:41 +01:00
Diego Prado Gesto
21d61ce21e Fix an error that makes Cura crash when introducing commas in the
textfields in the ImageReader panel. Now it's possible to use commas xor
dots for separating decimal values.
2017-12-01 14:26:53 +01:00
ChrisTerBeke
11f50f1cd3 Update machine action and image reader dialogs with new component creation method - CURA-4568 2017-11-28 14:55:35 +01:00
Jack Ha
e21acd1a07 CURA-4525 first multi slice + multi layer data, added filter on build plate, added option arrange on load, visuals like convex hull are now correct 2017-11-09 17:03:20 +01:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
fieldOfView
c5fd0e6c80 Use screenScaleFactor to consistently adapt sizes to display pixel ratio 2017-09-25 22:07:12 +02:00
Ghostkeeper
cd4bffb380
Set author to Ultimaker B.V. instead of Ultimaker
To be consistent with the rest of the plug-ins and with the material files.

Contributes to issue CURA-3857.
2017-06-28 13:50:37 +02:00
Lipu Fei
4ea8cc448a Use semantic versioning for all plugin.json
CURA-3712
2017-06-22 08:57:47 +02:00
Lipu Fei
73f598ff9f Fix code style
CURA-3712
2017-06-22 08:54:04 +02:00
Jaime van Kessel
e3629cec39 Replaced catalog metadata entry with i18n-catalog
CURA-3712 & Cura-3856
2017-06-21 14:24:00 +02:00
Jaime van Kessel
44125d3275 Moved certain meta data entries to seperate file
CURA-3856 & CURA-3712
2017-06-21 11:22:35 +02:00