Commit graph

7605 commits

Author SHA1 Message Date
Jelle Spijker
c6fb3fe59c
Merge branch 'main' into CURA-10475_engineplugin 2023-08-07 09:05:15 +02:00
c.lamboo
cc1b42e2fa Merge branch 'main' into CURA-7913 2023-08-04 16:21:07 +02:00
saumya.jain
f9981d3df1 Clicking Show all connected printers shows all cloud printers offline and online
CURA-10770
2023-08-04 14:14:08 +02:00
c.lamboo
f07faac422 Add copy, paste, cut functionality
CURA-7913
2023-08-04 13:24:06 +02:00
Casper Lamboo
ae8240659c
Merge pull request #16305 from Ultimaker/CURA-10722_plugins_can_has_settings
[CURA-10722] backend plugins are always (potential) additional setting definition providers
2023-08-03 14:12:50 +02:00
Casper Lamboo
4f2b038a59
Use "PLUGIN" as default appender_type 2023-08-03 13:04:14 +02:00
Jelle Spijker
730dec8d86
Merge branch 'main' into CURA-10475_engineplugin 2023-08-01 15:58:02 +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
Remco Burema
7c810eeca8 Ease of use; each backend-plugin can now provide additional settings.
Any overriding cals that does so, should just add 'self.definition_file_paths' to load their additional settings. However, at the moment of this commit, you should still suppy setting_definitions_appender in the list of __init__.register for the plugin.

part of CURA-10722
2023-07-28 14:52:56 +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
Jaime van Kessel
1e240e3229
Let intent selection use the quality_definition instead of direct def
The issue was that sometimes intents are also shared.

CURA-10788
2023-07-21 10:57:39 +02:00
Jelle Spijker
982ba7e36b
Add log statement when starting plugin
Revert =

Contributes CURA-10475 and CURA-10625
2023-07-18 11:17:15 +02:00
Jelle Spijker
289b71cd9f
Use common cmdline practices for named args
Contributes CURA-10475 and CURA-10625
2023-07-18 11:11:27 +02:00
Jelle Spijker
3713207040
Merge branch 'main' into CURA-10475_engineplugin 2023-07-18 08:12:00 +02:00
Jaime van Kessel
62d3e1cf40
Automatically scroll down in crash handler
It was reaaaaaly annoying me that people would post screenshots all the time.
Those screenshots would never include the info you need, because it would only
capture the top of the exception / logs.
2023-07-17 12:55:52 +02:00
Jaime van Kessel
3037320b03
Send slotID's for backend_plugins
CURA-10717
2023-07-11 15:18:52 +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
bbcc626537 Bump SDK version to 8.4.0 2023-06-15 22:28:31 +02:00
Remco Burema
d7b76e991e
Merge pull request #15739 from Ultimaker/CURA-10643_filter_extruder_by_material_prop
[CURA-10643] filter extruder by material prop
2023-06-15 15:30:15 +02:00
c.lamboo
fec5ebb709 Don't crash on NotADirectoryError or PermissionError when trying to load custom intent icons
CURA-9709
2023-06-14 13:52:47 +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
Casper Lamboo
f73154a2c5
Use camelCase for python function definition
CURA-10599

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2023-06-12 14:35:11 +02:00
c.lamboo
731a2d10ed Merge branch '5.4' into CURA-10599_fix_exclude_materials
# 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-06-12 13:37:34 +02:00
c.lamboo
c049595fe3 Don't crash when file is not found for intent profiles
CURA-9709
2023-06-12 11:51:07 +02:00
Jelle Spijker
c8c6b59a08
Merge branch '5.4' into CURA-10599_fix_exclude_materials 2023-06-08 12:35:02 +02:00
Jelle Spijker
22134f2d3c
Merge branch '5.4' into CURA-9709_custom_icons_with_profiles
# Conflicts:
#	cura/Machines/Models/IntentSelectionModel.py
2023-06-07 16:20:48 +02:00
c.lamboo
da589e2f00 Fix exclude materials
CURA-10599
2023-06-07 16:20:09 +02:00
Jaime van Kessel
e2ac1ef810
Add anealing description and icon
CURA-10633
2023-06-06 12:42:09 +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
Remco Burema
6a5a9e70af Fix whole output of nest2d was translated.
By default, the alignment would cause the entire mass of objects to have its center of gravity to be at the origin, including any fixed object. So there was an unwanted 'whole space' translation that we didn't take into account could occur beforehand. Fortunately, there's an option to just set it not to re-translate the whole space. It's unlcear to me how this would've worked in 5.2.2 and prior (and it did ... somehow), since we didn't change anything, including that default, as far as I can see. Anyway, the arrange function can handle 'fixed' objects again (as in loading them in one by one, or loading in a whole bunch of files instead of just 'arrange all').

CURA-10476 -- should fix #14838
2023-05-09 15:44:59 +02:00
Jaime van Kessel
3f83799229
Only show build volume height message if it was changed
Fixes #15373 && CURA-10580
2023-05-08 11:04:27 +02:00
Jaime van Kessel
ed968f85b8
Add more logging to AuthorizationRequestHandler
I don't know why this wasn't there yet. We only had user messages,
which makes it hard to debug this
2023-04-24 13:18:51 +02:00
Jelle Spijker
28d6e993df
Bump up setting version to 22 2023-03-31 07:24:43 +02:00
Caden Gobat
260743d842 Make regex pattern a raw str to prevent "invalid escape sequence" warning 2023-03-17 09:59:45 -06:00
jspijker
4bc11c5138 Merge remote-tracking branch 'origin/5.3'
# Conflicts:
#	conanfile.py
2023-03-06 23:13:21 +01:00
Jaime van Kessel
1ada1b04df
Remove unneeded whitespace
Boyscouting CURA-10342
2023-02-28 10:35:02 +01:00
Joey de l'Arago
2b7eca29af Continue if a printer has no active materials. This was causing a crash when loading the material combinations for a printer with two empty material slots.
CURA-10110
2023-02-22 13:43:06 +01:00
Joey de l'Arago
1133e76e66 Add sign in wall
CURA-10183
2023-02-09 17:41:08 +01:00
jspijker
4164f39916 Bump up SDK evrsion to 8.3.0 2023-02-08 15:51:08 +01:00
jspijker
2d18482782 Bump up the settings version to 21
Contributes to CURA-10077
2023-01-30 11:39:13 +01:00
jspijker
fe4679e4e8 Check before removing
Cura shouldn't crash when the abstract machine isn't in the other_machine_stack
2023-01-13 13:30:09 +01:00
Jelle Spijker
f64b1a6e30 CuraAppDisplayName is already set as Enterprise
Contribute to CURA-9157
2023-01-09 14:37:52 +01:00
c.lamboo
16c64014b2 Resolve formula in Keep or Discard dialog
CURA-10111
2023-01-04 13:17:56 +01:00
Joey de l'Arago
1e6184448c
Apply suggestions from code review
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
2022-12-12 11:44:21 +01:00
Joey de l'Arago
e6f4055df5 Remove part of hack for fixing extrudersCHanged signal at the wrong time.
Other things rely on the extruders changed signal so it is better to just emit it again at the correct time.

CURA-9793
2022-12-08 13:11:14 +01:00
Joey de l'Arago
bcdfa808a8 Switch to checking enabled extruder count for showing print with Component. This is because we want the SingleSettingExtruderBar to be hidden when there are 1 or less extruders, but also when there are 1 or less enabled extruders.
CURA-9793
2022-12-07 17:33:13 +01:00
Joey de l'Arago
443252ae10 Use globalStackExtruderIds instead of extruderIds. extruderIds notifys change before the extruders change when doing a machine swap. Fixing this will take a long time so this is a workaround. If you are reading this 🙏 good luck fixing it 🙏
CURA-9793
2022-12-07 16:57:35 +01:00
Joey de l'Arago
d8cf234a17 Use different signal for triggering update to extrduderIds. **This is a hack**. Actually fixing this problem could take days.
CURA-9793
2022-12-07 12:25:33 +01:00