1388 Commits

Author SHA1 Message Date
saumya.jain
d0560ae790 restoring qmlregistersingletons in Cura
adding wrapper for deprecation warning

CURA-7812
2024-01-10 17:54:02 +01:00
saumya.jain
d01b5c1767 Renmoved singleton Um.Application
CURA-7812
2024-01-08 17:46:04 +01:00
saumya.jain
11aa71a5df Singleton management in Cura
-QualityManagementModel, MaterialManagementModel, SimpleModeSettingsManager, MachineActionManager and CustomQualityProfilesDropDownMenuModel *deleted*
-QualityProfilesDropDownmenuModel changed to RegisterType

CURA-7812
2024-01-08 14:41:41 +01:00
saumya.jain
a309c9efdb Error is displayed on Cura screen
CURA-11289
2023-12-21 17:26:11 +01:00
saumya.jain
608c2344c5 on_error takes multiple args
CURA-11289
2023-12-21 16:25:12 +01:00
Saumya Jain
581d1bf3b9
Merge branch 'main' into CURA-11288 2023-12-19 10:17:15 +01:00
c.lamboo
84d56367f4 Also listen to the "/" appended string for url schemes
Windows adds a slash for some reason

CURA-11288
2023-12-06 13:33:57 +01:00
saumya.jain
30e4c61620 review comments fix
CURA-11166
2023-12-06 12:39:10 +01:00
c.lamboo
568fc4ca76 Revert "Fix opening files on windows"
This reverts commit d6a73a5976067078c7e7e63e2d6a12b89573d566.
2023-12-06 08:49:37 +01:00
c.lamboo
d6a73a5976 Fix opening files on windows
`_open_url_queue` is expecting a list of strings, not a `QUrl` instance

CURA-11288
2023-12-06 07:57:45 +01:00
c.lamboo
b46f6e8e09 Add support for CLI file opening with 'cura' and 'slicer' schemes
CURA-11288
2023-12-05 18:24:44 +01:00
saumya.jain
ce0cdd0b91 Model translations while changing build plates
while importing models, coordinate translations shouldn’t matter and the object should be organized on the plate where it finds space.

CURA-11166
2023-12-04 17:07:43 +01:00
c.lamboo
cf6874c984 Use the HttpRequestManager to avoid blocking the main thread
CURA-11289
2023-12-01 10:53:30 +01:00
c.lamboo
a442228f38 Open file on url scheme
CURA-11289
2023-11-30 22:45:18 +01:00
c.lamboo
ad871c627e Don't open file on open file event
CURA-11288
2023-11-30 13:42:48 +01:00
c.lamboo
87caa0307a Display message on open file event
CURA-11288
2023-11-30 13:28:33 +01:00
Saumya Jain
f31980d595
Merge branch 'main' into object-reload-refactor 2023-11-01 13:22:07 +01:00
Jelle Spijker
16249e490e Allow sideloading of resources via env
`CURA_DATA_ROOT` and `URANIUM_DATA_ROOT`
This allows the conanfile.py to point to `venv/share/cura`

This functionality is disabled in sys.frozen

Contributes to CURA-10561
2023-10-29 14:25:06 +01:00
c.lamboo
6f1adaad43 Make Conan/Python installs available for whole project and not just the AboutDialog
Generation of dependency list now happens in
Also cleaned up the AboutDialog.qml

CURA-10561
2023-10-19 18:39:08 +02:00
Fernando Pietchaki
93f2171146
Merge branch 'main' into object-reload-refactor 2023-10-12 23:41:49 -03:00
Remco Burema
fbd5569089 Merge remote-tracking branch 'origin/main' into CURA-10951_gh_build_curapackage 2023-09-08 18:39:27 +02:00
Remco Burema
c716ff8dfe Merge branch 'main' into CURA-9494_nightly 2023-09-07 13:09:49 +02:00
c.lamboo
d2cd759e51 Merge branch 'main' into CURA-10951_gh_build_curapackage 2023-08-30 20:23:40 +02:00
Remco Burema
fa08848152
Merge pull request #15496 from Ultimaker/CURA-7951_lock_rotation
Add option to arrange in grid
2023-08-30 13:31:42 +02:00
Jelle Spijker
81b2aeaf4e
Merge branch 'main' into CURA-9494_nightly 2023-08-29 22:52:54 +02:00
Fernando Pietchaki
6aeb59eb15 Refactor object reload to handle 3mf files
Refactor object reload to better handling of 3mf files

Make a single file read for all objects from that file, and then
replace the objects in scene to the new ones, matching by name.

This is also required for an Uranium update to handle the automatic
file reload when a file change is detected.

3mf Files can have multiple objects in them. When that is the case,
and the file is updated, all objects from that file where being
replaced by the first object in the file.
2023-08-29 15:06:27 -03:00
Jelle Spijker
87b6ad63a7 Merge remote-tracking branch 'origin/main' into CURA-10951_gh_build_curapackage
# Conflicts:
#	conanfile.py
2023-08-29 16:13:39 +02:00
c.lamboo
6e045e8b37 Put back getAnyExtruderPositionWithOrDefault api function
CURA-10685
2023-08-29 14:11:36 +02:00
saumya.jain
ab8b7c3ab5 name changes
CURA-10685
2023-08-25 15:46:30 +02:00
c.lamboo
34aa631531 Re-add arrange to CuraApplication
CURA-7951
2023-08-24 16:13:39 +02:00
c.lamboo
668038c59f Implement factory for Arrange
CURA-7951
2023-08-23 17:58:00 +02:00
saumya.jain
118f49a052 review comments fixed
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-23 15:39:23 +02:00
saumya.jain
b662da732e review comments fixed
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-22 11:51:30 +02:00
saumya.jain
b62725b4f0 copy_paste in a grid
arrange all objects in grid
place in grid

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-22 10:30:51 +02:00
saumya.jain
023dd3a9c5 Merge remote-tracking branch 'origin/main' into CURA-7951_lock_rotation
# Conflicts:
#	resources/i18n/cs_CZ/cura.po
#	resources/i18n/cura.pot
#	resources/i18n/de_DE/cura.po
#	resources/i18n/es_ES/cura.po
#	resources/i18n/fi_FI/cura.po
#	resources/i18n/fr_FR/cura.po
#	resources/i18n/hu_HU/cura.po
#	resources/i18n/it_IT/cura.po
#	resources/i18n/ja_JP/cura.po
#	resources/i18n/ko_KR/cura.po
#	resources/i18n/nl_NL/cura.po
#	resources/i18n/pl_PL/cura.po
#	resources/i18n/pt_BR/cura.po
#	resources/i18n/pt_PT/cura.po
#	resources/i18n/ru_RU/cura.po
#	resources/i18n/tr_TR/cura.po
#	resources/i18n/zh_CN/cura.po
#	resources/i18n/zh_TW/cura.po
2023-08-21 10:10:25 +02:00
Jelle Spijker
6424c26f78
Show warning message when using nightly build
Only shown in builds, for alpha versions

 Contributes to CURA-9494
2023-08-20 19:41:58 +02:00
Jelle Spijker
7efe485f65
Show version in Title bar except for actual releases
Contributes to CURA-9494
2023-08-20 19:24:38 +02:00
Jelle Spijker
e2584ad741
Merge branch 'main' into CURA-10446_modify_gcode_path 2023-08-19 19:46:44 +02:00
Remco Burema
4c82098745 Backend-plugins don't have to register separately for extra setting-defs.
Also they now have their own appender-type (previously it was _always_ 'PLUGIN', now the other plugins are 'EXTRA').

part of CURA-10722
2023-07-28 15:13:48 +02:00
Jaime van Kessel
202d802f61
Move the required plugins list to before it's actually checked
Cuz ya know. If you don't set the data before checking, you will have a baaaad time.
2023-07-28 13:46:04 +02:00
Jelle Spijker
3713207040
Merge branch 'main' into CURA-10475_engineplugin 2023-07-18 08:12:00 +02:00
Jaime van Kessel
f3bc7bf28a
Move backend plugin logic to Cura from Uranium
I was running into abstraction issues when it was defined in Uranium.
Instead of trying to fight those, it's just easier to move it to Cura

CURA-10717
2023-07-11 11:24:28 +02:00
Jelle Spijker
63e78d313c
Add some basic hardware specs to logs
Contributes to CURA-10767
2023-07-10 15:10:14 +02:00
Remco Burema
68231c957d Add settings-function to get an extruder based on a property.
We wanted to select an extruder based on wether or not it has support-material, so that the user doesn't have to think about selecting a support extruder any more and in most cases, can't forget anymore either. The formula present in fdmprinter to do that was not only an unreadable nightmare, but also very slow. We decided to pull most of that functionality into the settings-function machinery instead (but just a bit more generic so other properties can be selected, not just 'material_is_support_material').

done as part of finishing off CURA-10643
2023-06-13 15:59:24 +02:00
c.lamboo
27cc89ff89 Allow for custom descriptions/icons in packaged intents
CURA-9709
2023-05-31 12:54:56 +02:00
c.lamboo
4f9d041ae8 Add rotation lock in arrange and multiply objects
Add rotation lock in
- context menu item arrange and
- checkbox in multiply objects dialog

CURA-7951
2023-05-11 16:14:38 +02:00
Jelle Spijker
28d6e993df
Bump up setting version to 22 2023-03-31 07:24:43 +02:00
Joey de l'Arago
1133e76e66 Add sign in wall
CURA-10183
2023-02-09 17:41:08 +01:00
jspijker
2d18482782 Bump up the settings version to 21
Contributes to CURA-10077
2023-01-30 11:39:13 +01:00
Remco Burema
c74e7be602 Appease reviewers.
- Ditch state in favour of enum.
- Comment explaining 'extraInfo'.

part of CURA-9347
2022-12-02 19:52:37 +01:00