9802 Commits

Author SHA1 Message Date
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
Jelle Spijker
5744371f38 Add anonymous user tracking to slice message
User tracking has been added to the 'slice_message' method in the 'StartSliceJob.py' file. A unique, anonymous UUID is generated for each user, stripping away identifiable data with a bitmask operation. The user's Cura version is also included in the message. This facilitates more robust analysis of crash reports and user behaviors.

Contributes to CURA-11482
2023-12-17 17:44:30 +01:00
Jelle Spijker
a6218c3f54
Use cura sentry id and version
Contribute to CURA-11482
2023-12-15 18:08:46 +01:00
c.lamboo
a071795f9e Fix monitor page
CURA-11426
2023-12-15 12:43:54 +01:00
Dmitry Gribenchuk
aff37dae3f
fix comment space 2023-12-14 11:00:06 +02:00
Dmitry Gribenchuk
8116df6c21
cleanup unused import and fix comment space 2023-12-13 20:10:28 +02: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
88d7d65622
Merge branch 'main' into CURA-7647-play-simulation-time-dependent 2023-12-07 12:59:08 +01:00
Saumya Jain
28f55e05fa
Merge branch 'main' into CURA-7647-play-simulation-time-dependent 2023-12-04 10:52:42 +01:00
Casper Lamboo
1dc350012d
Merge branch 'main' into CURA-11364_add_sentry_engine 2023-11-30 09:29:47 +01:00
Casper Lamboo
c1bd5e2356
Merge branch 'main' into remove-luts 2023-11-29 12:30:15 +01:00
c.lamboo
cf27163934 Update bot to reference 2023-11-29 12:25:51 +01:00
Jaime van Kessel
593e959dd5
Use cleaner notation for use_sentry env variable
CURA-11364

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2023-11-29 10:42:12 +01:00
GregValiant
d251d4c042 Update DisplayInfoOnLCD.py
Added M73 options.  Verbiage changes.
2023-11-28 16:38:52 +01:00
c.lamboo
a9dcfaa032 specify bot id type 2023-11-27 15:32:55 +01:00
Jaime van Kessel
d5574f36c0
Merge branch 'CURA-11377' of github.com:Ultimaker/Cura 2023-11-27 14:44:56 +01:00
c.lamboo
0225f92ae0 Fix local cloud printing for um printers
CURA-11390
2023-11-27 13:47:08 +01:00
Jaime van Kessel
344d648445
Merge branch '5.6' of github.com:Ultimaker/Cura 2023-11-27 12:40:56 +01:00
c.lamboo
495079f3d9 Clean up bot LUT
We had a lot of Look up Tables scattered around in the cura repository. This can be solved by adding a `bot_id` entry to metadata of the various makerbot extruders/materials/definitions
2023-11-24 16:49:31 +01:00
Casper Lamboo
b3d9b22ec0
Add labs extruder to lookuptable 2023-11-24 16:08:45 +01:00
c.lamboo
e66a3cda67 Only extend file formats for um3
This was a mistake in the previous implementation. The relevant piece of code was adding ufp support for um3 printers. This is legacy support for this printer since the printer didn't know it supported ufp, but through the digital factory it could support ufp files. However, with the addition of method printers we should have added an additional check where we also check if the printer is an um3. Instead an additional check was added that did the same for makerbot printers. Because of this check didn't have a "is method" check support for makerbot format is also added to s-line printers and legacy um printers.

(fyi @saumyaj3)

CURA-11377
2023-11-24 15:40:11 +01:00
c.lamboo
31976e591f All method printers are cloud connected
CURA-11377
2023-11-24 15:35:31 +01:00
Remco Burema
ad9b11a256
Merge branch 'main' into DisplayInfoOnLCD 2023-11-24 13:59:45 +01:00
c.lamboo
4ce092837e Merge branch '5.6'
# Conflicts:
#	conanfile.py
2023-11-24 10:24:52 +01:00
Jaime van Kessel
60bf2fbc2c
Add preference to disable sentry engine crash reporting
CURA-11364
2023-11-21 14:01:58 +01:00
Casper Lamboo
afe3f54167
Remove debug statements
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2023-11-17 11:00:50 +01:00
c.lamboo
36f2deea1d Fix some more parsing issues
Example of issues we had is that parsing floating point numbers would parse the dot as an attribute syntax and trying to retrieve both sides of the attributes to the get_value resolve. E.g `3.14` would be interpreted as getting the `14` property of the object `3`, which ofcourse throws an error.

CURA-11347
2023-11-16 14:45:46 +01:00
c.lamboo
036516b8f9 Re-add support for post slice data variables in start/end gcode
With previous implementation we lost support for these variables in start/end gcode
"filament_cost", "print_time", "filament_amount", "filament_weight", "jobname"

CURA-11347
2023-11-16 13:53:43 +01:00
Jelle Spijker
efafe1503d
Merge branch '5.6'
# Conflicts:
#	conanfile.py
#	resources/definitions/ultimaker_methodx.def.json
#	resources/definitions/ultimaker_methodxl.def.json
2023-11-15 13:53:39 +01:00
Jaime van Kessel
02bcd9f857
Merge pull request #17283 from dudecc/patch-1
Copy version info to miracle_config
2023-11-14 17:00:12 +01:00
Casper Lamboo
e2c6955a8e
Merge pull request #17241 from Ultimaker/CURA-11166-3mf-file-saving-center-allign
Center alligning in case of 3mf write
2023-11-14 10:58:18 +01:00
c.lamboo
c4573ba855 Add extruder start/end gcode duration settings
CURA-11099
2023-11-13 10:46:44 +01:00
Chris Moore
c61c896619
Copy version info to miracle_config
Only fields in miracle_config get sent to analytics by method firmware.  I don't know if anything else in our codebase expects to also see these fields at the top level, so I put one copy at the top level and one copy down in miracle_config.
2023-11-10 14:13:58 -05:00
Jelle Spijker
052c37ae6f
Merge branch 'main' into CURA-11078_python_312_spike 2023-11-09 12:29:25 +01:00
Saumya Jain
f58500ddb1
Merge branch 'main' into CURA-7647-play-simulation-time-dependent 2023-11-08 13:33:09 +05:30
saumya.jain
457cecba59 using numpy for array calculation
CURA-7647
2023-11-08 13:29:47 +05:30