348 Commits

Author SHA1 Message Date
Erwan MATHIEU
a74fb5fee0 Merge remote-tracking branch 'origin/main' into CURA-12250_refactor-the-post-processing-like-algorithms 2024-12-19 08:51:33 +01:00
Erwan MATHIEU
7c556dd31f Handle the new Roof feature type
CURA-12250
2024-11-26 21:04:11 +01:00
HellAholic
9bc6abc5eb
Merge branch 'main' into CURA-12192_replay-preview-at-last-layer 2024-11-21 11:07:13 +01:00
Erwan MATHIEU
0991c3c01d Loop back to the beginning when ending simulation playback
CURA-12192
2024-11-11 16:14:32 +01:00
Remco Burema
a6a223bcc1 Prevent 'too small' starts from not rendering.
Not actually part of CURA-12188 but I was in the neighbourhood anyway.
2024-10-24 09:50:03 +02:00
Erwan MATHIEU
b583711c70 Handle segments with null feed rate
CURA-12213
2024-10-18 16:13:15 +02:00
Saumya Jain
3e1ee4b266 Updated shader for support seams
Added changes in shader to show the start of the support walls too along with the model walls

CURA-11227
2024-04-23 14:28:35 +02:00
c.lamboo
1046b24ee5 Fix crash in similation view
CURA-11758
2024-03-20 11:14:16 +01:00
Remco Burema
d441130e3b Defensive programming: Fix current path can be None.
should fix CURA-11741 (sentry cura '708')
2024-03-19 10:43:11 +01:00
Remco Burema
778bd11a71
Review comments to add a comment.
Done as part of CURA-11521
2024-03-13 11:13:03 +01:00
Remco Burema
5dcab95358
Code review: change name to 'vertex_distance_ratio'.
To be better in line with the other variables.

Done as part of CURA-11521

Co-authored-by: Saumya Jain <70144862+saumyaj3@users.noreply.github.com>
2024-03-13 11:10:04 +01:00
Remco Burema
d6295171dd Add the last line (when time-sim active) as a separate batch instead.
part of CURA-11521
2024-03-13 08:43:41 +01:00
Remco Burema
6e75eb34af Make lines update in real-time in the simulation-view too.
This approach does suffer from returning to exactly the same point, which can mess up the view.

part of CURA-11521
2024-03-12 23:38:09 +01:00
Erwan MATHIEU
c944903029 Fix crash after re-slicing
CURA-11438
2024-01-24 12:49:17 +01:00
c.lamboo
18302d6213 attempt to fix binary search 2024-01-07 11:10:22 +01:00
saumya.jain
ee7ecc1acc offset removed
CURA-7647
2024-01-03 09:16:04 +01:00
saumya.jain
0bb1f0b7c3 Case of simulation with multiple extruders
CURA-7647
2024-01-02 12:05:55 +01:00
saumya.jain
632c10db51 Guard against index for edge case
CURA-7647
2023-12-27 10:12:40 +01:00
c.lamboo
7fab301866 Guard against index out of bound
CURA-7647
2023-12-22 18:02:23 +01:00
saumya.jain
411b40d78c Simulation speed made 3X
case where no polygon in layer is also addressed

CURA-11289
2023-12-22 10:37:51 +01:00
Saumya Jain
152cb27232
Update plugins/SimulationView/SimulationView.py
review fix

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2023-12-21 14:30:43 +01:00
saumya.jain
0de4f612b3 fixing review comments. Cache only for the current layer
CURA-7647
2023-12-21 14:13:16 +01:00
saumya.jain
3f8908f53a cleanup
CURA-7647
2023-12-21 10:42:52 +01:00
saumya.jain
e2e94b7f6b fps made 15 for lower GPU load
- reinitialisation of cummulative_time for new model

CURA-7647
2023-12-21 10:33:05 +01:00
saumya.jain
41efdbabe0 Path change possible by user
- simulation speed increased
- no buffering in between layers
- fps made 30
CURA-7647
2023-12-20 18:16:04 +01:00
saumya.jain
cfec5e0cc1 Proof of concept for simulation
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7647
2023-12-19 10:12:56 +01:00
saumya.jain
84565b7daa removal of magic number
CURA-7647
2023-12-12 16:53:34 +01:00
saumya.jain
a9aba2df74 maintenence.
CURA-7647
2023-12-12 16:06:22 +01:00
saumya.jain
3c0b9a65db removing commented code
CURA-7647
2023-12-12 14:59:41 +01:00
saumya.jain
189a22aa4f refactoring of code for easier access and avoid hanging issues
CURA-7647
2023-12-12 14:56:06 +01:00
Saumya Jain
a19c667106
Update plugins/SimulationView/SimulationViewProxy.py
simplified code

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2023-12-11 14:29:33 +01:00
saumya.jain
7711c15dde removed unnecessary import
CURA-7647
2023-12-08 11:43:38 +01:00
saumya.jain
bf2c8b5a08 Simulation time fed to the timer controlling speed
simulation time is made 10x faster than the actual time, for better visualisation

CURA-7647
2023-12-08 11:41:16 +01:00
saumya.jain
457cecba59 using numpy for array calculation
CURA-7647
2023-11-08 13:29:47 +05:30
saumya.jain
efda0aaba4 updated for every layer
CURA-7647
2023-11-07 18:42:41 +05:30
saumya.jain
6301926885 Calculating time of travel for each line segment
CURA-7647
2023-11-07 18:08:08 +05:30
Remco Burema
5b209161ac Remove wireprinting options.
Wireprinting wasn't actively maintained, and almost an entire different min-engine. It's also rarely used, and presumed broken. Remove it, so it doesn't have to be maintained or clog up other maintanance and/or refactor tasks.

frontend part of CURA-10394
2023-03-28 13:50:20 +02:00
c.lamboo
d5c0fde7f2 Render labels using Text.QtRendering on OSX
Fonts were looking a bit to thick on when using `Text.NativeRendering`, so using `Text.QtRendering` instead. After this the font weight looks identical to figma (as far as I can see).

In this commit I also changed all `Label`'s to `UM.Label`'s and removed default properties where I could.

CURA-9154
2022-05-10 15:40:09 +02:00
c.lamboo
35f5c3f959 Revert "Render labels using Text.QtRendering on OSX"
This reverts commit f0e3c19a34d1fde3b7ec4fd95677fbefa2028b26.
2022-05-10 15:39:02 +02:00
c.lamboo
f0e3c19a34 Render labels using Text.QtRendering on OSX
Fonts were looking a bit to thick on when using `Text.NativeRendering`, so using `Text.QtRendering` instead. After this the font weight looks identical to figma (as far as I can see).

In this commit I also changed all `Label`'s to `UM.Label`'s and removed default properties where I could.

CURA-9154
2022-05-10 15:36:50 +02:00
Remco Burema
0232b4f639 Upgrade SDK version to 8.0.0 for Cura 5.0 2022-04-20 10:57:38 +02:00
Jaime van Kessel
25839c6d97 Fix direction of pointing rectangle
Turns out that using anchors doesn't quite work anymore due to qt6 upgrade. Oh well!
CURA-9137
2022-04-13 17:36:47 +02:00
Jaime van Kessel
ef6f76fc98 Fix parameter injection deprecation warning 2022-04-06 11:24:17 +02:00
j.delarago
00c7c37b34 LinearGradient is not available for 2d shapes in QT6
Replace LinearGradient with Gradient in preview color scheme drop down

CURA-8640
2022-04-06 10:50:33 +02:00
Jaime van Kessel
c88ed076a1 Fix resolving of URL's 2022-04-06 09:57:45 +02:00
Jaime van Kessel
96444dbc09 Use correct keyboard enums 2022-03-31 13:54:24 +02:00
Jaime van Kessel
f436c97abd Roughly strip out the GraphicalEffects
For some reason qt6 that we built still didn't like it.

Since we wanna know if the rest works, yeeting that stuff out for now
2022-03-28 16:11:28 +02:00
j.spijker@ultimaker.com
ff21c93f9b
Qt6 dropped QtGraphicalEffects
https://doc.qt.io/qt-6/qtgraphicaleffects5-index.html

Contributes to CURA-8640
2022-03-28 15:33:43 +02:00
Jelle Spijker
3f8907d02a
Merge branch 'master' into CURA-8640_PyQt6
# Conflicts:
#	cura/CuraApplication.py
#	resources/qml/Preferences/Materials/MaterialsSyncDialog.qml
#	resources/qml/Preferences/Materials/MaterialsView.qml
2022-03-24 11:53:44 +01:00
Jaime van Kessel
6ef28db458 Remove unneeded semicolon
CURA-8684
2022-01-31 17:06:59 +01:00