Remco Burema
5e7eb2fc93
No need for leading 0 in load-image num-fields.
...
fixes #8906
2020-12-11 17:18:23 +01:00
Ghostkeeper
d53568c5db
Fix linear-scaling height map thickness
...
Previously it was using this 'peak_height' which is the total height of the model in scale_vector.y. However it was then multiplying the height map with that scale vector and adding the base height again a second time. So the scaling part was too thick and included the base height, and the total height of the mesh was also too big.
I also reduced an unnecessary re-calculation of the height_from_base parameter. And as a result we don't need the peak_height variable at all any more.
Fixes #8902 .
2020-12-09 12:16:56 +01:00
Kostas Karmas
03dc8d00fe
Up the SDK version to 7.4.0
...
In preparation for release of the 4.8.
CURA-7795
2020-10-22 11:29:25 +02:00
Kostas Karmas
bd54ef8d5a
Update the SDK version to 7.3.0 for 4.7
...
CURA-7641
2020-08-07 11:12:27 +02:00
Michal Schulz
0a8f94f82e
Correctly select the color mode from GUI - this fixes bug #8040
2020-07-07 12:02:01 +02:00
Nino van Hooff
5a3bcb6161
Fix image reader peak height
...
CURA-7429
2020-05-07 14:29:30 +02:00
Nino van Hooff
7302e8ba7f
Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
...
CURA-7383
2020-04-21 11:46:12 +02:00
Ghostkeeper
4f50f42796
Merge branch '4.6'
2020-04-02 17:21:03 +02:00
Jaime van Kessel
6df2f84c07
Prevent crash when releasing released lock
...
CURA-C2
2020-04-02 16:51:32 +02:00
Ghostkeeper
869f26a5ba
Fix crash when entering nonsense numbers like '-'
...
We shouldn't accept those in the input field at all in my opinion but that is for another time.
Fixes Sentry issue CURA-F5.
2020-04-01 16:34:49 +02:00
Ghostkeeper
96482398f5
Code style
2020-03-05 23:58:12 +01:00
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