24910 Commits

Author SHA1 Message Date
Kostas Karmas
383e599f4e Add notes under the scene_example_scene_graph.jpg
CURA-7502
2021-02-01 09:34:35 +01:00
Kostas Karmas
48d4488eb1 Mention the Scene Graph before the class diagram
CURA-7502
2021-01-29 17:49:49 +01:00
Kostas Karmas
6b194a8193 Fix image not showing up correctly
CURA-7502
2021-01-29 17:33:39 +01:00
Kostas Karmas
1db4cbe5f0 Add images and text about the 3D scene graph
CURA-7502
2021-01-29 17:22:49 +01:00
Remco Burema
06666bddca
Fix recent files hint when file opens via dialoges. 2021-01-29 14:49:32 +01:00
Remco Burema
f2088d7fc8
Don't take snapshot if no main window present.
You'll need the Uranium branch of the same (fix_is_visible) name if you don't want this to crash on slicing!
2021-01-29 07:59:54 +01:00
Ghostkeeper
a9bf3ed934
Revert "Small fix for slice before main window visible."
This reverts commit 35d6aad6cd7e8a16fbb829dcf8f0b70db12d0028.
This is causing a very weird crash when autoslice is enabled:
2021-01-28 12:12:35,379 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [66]: An uncaught error has occurred!
2021-01-28 12:12:35,379 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: Traceback (most recent call last):
2021-01-28 12:12:35,379 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:   File "/home/trin/Gedeeld/Projects/Cura/plugins/CuraEngineBackend/CuraEngineBackend.py", line 270, in slice
2021-01-28 12:12:35,380 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:     self._createSnapshot()
2021-01-28 12:12:35,380 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:   File "/home/trin/Gedeeld/Projects/Cura/cura/Utils/Threading.py", line 31, in _call_on_qt_thread_wrapper
2021-01-28 12:12:35,380 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:     return func(*args, **kwargs)
2021-01-28 12:12:35,380 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:   File "/home/trin/Gedeeld/Projects/Cura/plugins/CuraEngineBackend/CuraEngineBackend.py", line 254, in _createSnapshot
2021-01-28 12:12:35,380 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:     if not CuraApplication.getInstance().isVisible:
2021-01-28 12:12:35,380 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: AttributeError: 'CuraApplication' object has no attribute 'isVisible'

The property exists all right. It's in the dir() of the CuraApplication instance. PyCharm's debug mode also gives a traceback when trying to evaluate the property. It clearly thinks it's there, but then it's not or something. Very weird. We need to take a better look at this than this quick fix.
2021-01-28 12:23:01 +01:00
Ghostkeeper
678516186e
Revert "Don't call @property function"
This reverts commit 3921cc86d1e3b9e86c5cd0a27cdc83be01b25106.
2021-01-28 12:22:47 +01:00
Ghostkeeper
3921cc86d1
Don't call @property function
It directly returns the boolean. No need to call it. Calling it crashes saying that a bool object can't be called.
2021-01-28 11:48:18 +01:00
Remco Burema
35d6aad6cd
Small fix for slice before main window visible. 2021-01-28 11:41:46 +01:00
Jaime van Kessel
f85cad37cf
Expand the logging for the auth data a bit more
We're getting some reports that people are suddenly logged out. The working
theory is that they are mixing staging & production builds. This logging
should tell us enough to find out if that is the case!
2021-01-28 10:31:47 +01:00
Remco Burema
2991881145
Merge branch 'OpusMcN-master' 2021-01-27 12:28:59 +01:00
Remco Burema
fd1b816981
Clean up: No max value needed, remove cache file.
CURA-7956
2021-01-27 12:28:05 +01:00
Remco Burema
0ddb2d5ea8
Merge branch 'master' of https://github.com/OpusMcN/Cura into OpusMcN-master 2021-01-27 12:14:17 +01:00
Jaime van Kessel
b219f57b22
Merge branch 'dev' of https://github.com/BasF0/Cura 2021-01-27 10:56:35 +01:00
Jaime van Kessel
4586a50af2
Merge branch 'master' of github.com:Ultimaker/Cura 2021-01-26 10:39:28 +01:00
Jaime van Kessel
464c19f592
Show print weight with single decimal in the details view
Fixes #9176
CURA-7992
2021-01-26 10:29:55 +01:00
Konstantinos Karmas
c64ab40fb8
Merge pull request #9069 from HUNIBEST-HyVISION/master
[CUBICON] Add device(Style NEO-A31) & Update start gcode.
2021-01-25 17:00:38 +01:00
Ghostkeeper
b864c8e026
Specify 'adhesion structures' rather than just adhesion
After changing this with fvrmr together I read back on the commit and realised that the sentence was literally saying that it affects adhesion, and then that it doesn't affect adhesion. I hope this clarifies that a bit better by giving examples.
2021-01-25 11:06:36 +01:00
fvrmr
d92b126b09 Initial layer speed does not affect build plate adhesion 2021-01-25 11:01:14 +01:00
Remco Burema
9197a1ca51
Fix crash on open project from term or by file.
Opening a .3mf file or other project would cause a crash if the preference for always opening as a project (as opposed to importing models or 'always ask') was set. Traced back to a typo.

CURA-7987
2021-01-23 12:02:57 +01:00
Remco Burema
e681a6d32d
Fix camera not found on pre-slice snapshot/thumbnail. 2021-01-22 18:07:59 +01:00
Ghostkeeper
63deea4721
Fix model to use for comboboxes to check if they are empty
This was checking against the wrong model, it seems.

Contributes to issue CURA-7865.
2021-01-22 13:52:27 +01:00
Ghostkeeper
5a99ae168b
Merge branch 'restore_ufp_thumbnail' 2021-01-22 11:51:30 +01:00
Ghostkeeper
f28b90a1a4
Make Line Type the default selection for layer view colour scheme
Implements CURA-7983.
Fixes #9154.
2021-01-22 11:04:59 +01:00
Opus
db61bf0fd2 Made label more descriptive for overhang hole size option 2021-01-21 21:56:23 +13:00
Opus
c55d4f7532 Option for area check when using make overhang printable. Keeps recesses in the base of the model that are smaller than the given size 2021-01-21 21:43:54 +13:00
Remco Burema
9144f38814
Fix wrong import. 2021-01-21 09:04:39 +01:00
Remco Burema
f4ef3b44e3
Properly retrieve snapshot (now made on slice).
Circumvents the snapshot/thumbnail not working when the focus is not on the main window, even if the thread is main. This was an issue when writing a file to Digital Factory becasue that workflow uses a modal window.

Thanks for the idea Jelle!
2021-01-21 08:55:45 +01:00
Remco Burema
4fc0612806
Make a snapshot on slice instead of write.
In some cases, UFP-writing is going to be done when the OpenGL-context is off the main window. This doesn't work. That unfortunately also goes for this commit, but it's a work in progress.
2021-01-21 08:19:17 +01:00
bas
46933693a7 removed hardcoded 0: now using LayerPolygon.MoveCombingType 2021-01-20 21:56:44 +01:00
bas
1033133355 undo irrelevant change 2021-01-20 21:56:33 +01:00
Kostas Karmas
cdedb56a9a Restore arguments in the SaveProjectMenu
Or else the LocalFileOutputDevice will output a mesh 3mf file and not a Cura 3mf project when
being called from the 'File -> Save Project -> To Disk' submenu item.

CURA-7865
2021-01-20 21:13:36 +01:00
Remco Burema
0ba3833995
Merge pull request #9153 from Ultimaker/CURA-7865_Save_file_in_existing_project_mvp
CURA-7865 Save file in existing project mvp
2021-01-20 19:18:39 +01:00
Kostas Karmas
32df06c280 Add TODO comment to explain the commenting out of the snapshot
CURA-7865
2021-01-20 12:51:13 +01:00
Kostas Karmas
a72a58cca1 Comment out the generation of the snapshot
While generating UFP files from outside the main thread, the snapshot generation crashes Cura
due to the OpenGL context.

To avoid that, for the time being, we comment out the generation of the snapshot.

CURA-7865
2021-01-20 11:23:48 +01:00
Kostas Karmas
b7e613a271 Remove file_type argument from the saveWorkspaceDialog
Because we also want to export ufp files, which are not workspace files.

CURA-7865
2021-01-19 21:39:16 +01:00
Ghostkeeper
4380cdbd86
Don't crash on malformed JSON structures
JSON dictionaries need to have a certain structure such as strings as keys. If that's not correct it gives a TypeError. Don't crash on those; give a similar error message as when the values in the JSON are invalid.
2021-01-19 16:31:31 +01:00
Ghostkeeper
a9c8c63442
Catch environment errors removing temporary package files
Could be removed or not having access rights.

Fixes Sentry issue CURA-1K6.
2021-01-19 14:49:47 +01:00
Ghostkeeper
1b8463ba30
Catch TypeError when parsing setting version
Someone had a list in the setting version, which then crashed Cura.
2021-01-19 14:09:46 +01:00
Ghostkeeper
640e038ce7
Catch OSError when authorizing connection
Fixes Sentry issue CURA-1GW.
2021-01-19 11:05:55 +01:00
Jaime van Kessel
888abdac33
Merge branch 'master' of github.com:Ultimaker/Cura 2021-01-19 09:48:51 +01:00
Ghostkeeper
0a7dc34a9c
Update start g-code for BIBO2 Dual
This is a correction supplied by braden0202 in the issue thread #8977.
2021-01-18 18:52:01 +01:00
Kostas Karmas
f1e152955c Correct the Menu title
CURA-7865
2021-01-18 18:00:05 +01:00
Jaime van Kessel
ffccd687ac
Merge branch 'fix_machinesettings_floats' of https://github.com/fieldOfView/Cura 2021-01-18 15:53:57 +01:00
Jelle Spijker
8d4996f60b
Merge pull request #9141 from maihde/feature_snapmaker_definitions
feat: add snapmaker 2.0 definitions
2021-01-18 14:58:44 +01:00
maihde
770dcd1cf0 feat: add snapmaker 2.0 definitions 2021-01-18 07:57:07 -05:00
Jelle Spijker
9e60f6d23b
Merge pull request #9128 from Ultimaker/CURA-7855_Drop_objects_to_buildplate_after_scale
Drop objects to buildplate that have been scaled
2021-01-18 12:32:12 +01:00
Kostas Karmas
fc718892d9 Add default text in the ComboBox
The Cura.ComboBox component can now display a default text when there are no items in its model
and another text when there is no item selected.

CURA-7865
2021-01-18 12:10:15 +01:00
Kostas Karmas
2774ec7bdf Remove unnecessary kwargs
CURA-7865
2021-01-15 17:42:42 +01:00