333 Commits

Author SHA1 Message Date
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
casper
264ce3bdd1 Make texts fields selectable by mouse for various components
This enables mouse-selectable for
- The image reader dialog
- Layer view text field (in simulation view)
- The TextField with unit component (for instace used to set the scale
 of models)
- Rename dialog(s)
- Currency text field
- The settings filter text field

CURA-8684
2022-01-31 10:28:00 +01:00
casper
ac080f3cd7 Provide height in the line type combobox of the simulation view
CURA-8684
2022-01-30 23:22:58 +01:00
casper
2290b46bf3 Use the Cura Combobox Component in simulation view
CURA-8684
2022-01-28 09:47:44 +01:00
casper
200e4df025 Fix issues in simulation view
- Correctly display text in LayerType dropdown menu
- Use UM.Label component to reduce code duplication
- Don't display QtControls default dropdown icon

CURA-8684
2022-01-26 10:25:20 +01:00
casper
8cc1604b2f Update Buttons to QtControls 2.0 in the simulation view expend menu bar
CURA-8684
2022-01-21 14:07:41 +01:00
Jaime van Kessel
b614cabae6 Put back import 2022-01-14 13:05:07 +01:00
Jaime van Kessel
2aa931cbca Remove unneded styles import 2022-01-04 09:48:02 +01:00
Jaime van Kessel
f11d728c6b Merge branch 'master' of github.com:Ultimaker/Cura into replace_controls_1_for_controls_2 2022-01-03 15:32:58 +01:00
Remco Burema
6dc6020217
Qt5->Qt6: GUI-attributes and flips params register singletons.
part of CURA-8591
2021-12-28 18:36:28 +01:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
fieldOfView
bec12c124f Add a description to the Simulation View plugin that better explains its purpose 2021-12-19 11:48:52 +01:00
Ghostkeeper
9140b71b19
Merge branch 'libArachne_rebased'
Conflicts:
	plugins/SimulationView/SimulationPass.py -> Reverted layer view optimisation in Master while some whitespace changed in Arachne.
	resources/definitions -> Bunch of conflicts with profile updates.
	resources/quality -> Bunch of conflicts with profile updates.
	resources/texts/change_log.txt -> Removed the Arachne change log (as they are internal versions). It'll have to be re-added when we release this version as stable.
2021-12-14 11:48:58 +01:00
Ghostkeeper
41ebd593c5
Revert "Merge branch 'bremco-graphics_buffer_update'"
This reverts commit 5e60cc6208c16d966505e7a97d9bbbb0644d2716, reversing
changes made to c9feace0fbe02beb2089ec0af7be35127d7420f7.
2021-12-08 12:02:49 +01:00
Ghostkeeper
0da37ae6e7
Revert "Workaround for if layer is None somehow."
This reverts commit f0cb9dd39ef996225ebd6d7b8d5ffc986c90e2f0.
2021-12-08 12:02:42 +01:00
Remco Burema
ac8d5fc12c
More explicit float's in shader just to be sure.
CURA-8714
2021-11-23 09:27:25 +01:00