12129 Commits

Author SHA1 Message Date
Ghostkeeper
9ea0119011
Rename 'exception' to 'error'
Error is a less technical term, so it's more user friendly.
2017-12-13 12:58:24 +01:00
Lipu Fei
6e6dc493f1 Fix material loading for unknown names 2017-12-13 12:27:55 +01:00
Aleksei S
c6c4c5be34 Merge branch 'master' of github.com:Ultimaker/cura 2017-12-13 12:03:06 +01:00
Aleksei S
5c5f08e9ca Do not slice a model if it is only one on a build plane and has setting from non_printing_mesh
CURA-4703
2017-12-13 11:58:59 +01:00
Lipu Fei
7cd3449781 Fix material loading 2017-12-13 11:26:16 +01:00
Lipu Fei
e14d78b32a Generate more possible machine IDs in XML material profile 2017-12-13 10:16:06 +01:00
Ruben D
e36099a380
Draw backside of travel lines inverted
This adds a front-facing primitive towards the back side of every travel line, causing those lines to be visible from both sides regardless of backface culling. This doubles the number of vertices for travel moves, but due to backface culling it comes down to approximately the same performance as the original.
2017-12-13 01:44:05 +01:00
Ruben D
79d7de050e
Enable backface culling for layer view
This effectively doubles the rendering performance of layer view.
2017-12-13 01:42:24 +01:00
Ruben D
3666b35ff3
Fix winding order of 3D tubes
Adding a copy of the first vertex causes the winding order to reverse.
2017-12-13 01:41:36 +01:00
Jack Ha
e10ba065ca CURA-4707 better signal to connect solving this issue 2017-12-12 17:06:23 +01:00
Jack Ha
a85bea4bae CURA-4707 fix extruder setting not triggering reslice 2017-12-12 16:37:21 +01:00
Jack Ha
f28846acb9 Merge branch 'master' into CURA-4234_expand_collapse 2017-12-12 15:43:32 +01:00
Aleksei S
3516d01f3d Move back machine selection
CURA-4234
2017-12-12 15:30:19 +01:00
Diego Prado Gesto
d70bd0ebc9 CURA-4649 Blocking printers that have localhost IP address. 2017-12-12 13:45:35 +01:00
Aleksei S
6968c089db Add sidebar_collapse to the saved preferences, typos, move back machine selection to the top bar
CURA-4234
2017-12-12 11:26:17 +01:00
ChrisTerBeke
ca413e0496 Add extra checks to ensure backend exists, use same state everywhere 2017-12-12 11:16:40 +01:00
ChrisTerBeke
19e459d930 Merge branch 'master' of https://github.com/Ultimaker/Cura 2017-12-12 10:55:05 +01:00
ChrisTerBeke
84aa9367c7 Cleanup 2017-12-12 10:54:54 +01:00
Aleksei S
fb91edd7eb Solve arrange and multiply models issue
CURA-4703
2017-12-12 10:43:19 +01:00
Ghostkeeper
948301c531
Remove duplicate setting definition
I think this was a merge conflict.

Contributes to issue CURA-4523.
2017-12-12 09:28:42 +01:00
Ghostkeeper
9a94e73b63
Merge branch 'master' into feature_tree_support 2017-12-12 08:40:57 +01:00
Aleksei S
00529f37d9 After sidebar expanding the builplate stays in center of the screen
CURA-4234
2017-12-11 18:51:53 +01:00
Ghostkeeper
75df653d47
Merge branch 'feature_local_container_server' 2017-12-11 15:51:17 +01:00
Aleksei S
300f29e11b Add expand button to menu
CURA-4234
2017-12-11 15:30:13 +01:00
Lipu Fei
c6cdc1d1db Container cfg files need to be parsed without interpolation
CURA-4701
2017-12-11 14:35:27 +01:00
Aleksei S
a5cb4cd316 Expand/Collapse sidebar
CURA-4234
2017-12-11 10:53:48 +01:00
Ghostkeeper
097cc72d89
Document why we're only returning full profiles
It's a limitation of the quality manager that would require major refactoring there to fix.

Contributes to issue CURA-4243.
2017-12-11 09:44:56 +01:00
Thomas Karl Pietrowski
79cb1a1293 closeAllWindows seems to take no effect - use exit instead
Looks like it does not work, because there was never a window or any other window on top of QApplication.
.exit() should let us out of the main loop.
2017-12-10 01:08:06 +01:00
Thomas Karl Pietrowski
1cd107965c Close all windows, if there is no main window 2017-12-10 00:39:20 +01:00
Thomas Karl Pietrowski
f1d5bc38dc Adding help arguments manually
.. and also print and exit as it normally does, when enabled.
2017-12-09 23:01:26 +01:00
Thomas Karl Pietrowski
b4aed1da22 Simplify getting known args 2017-12-09 22:27:15 +01:00
Thomas Karl Pietrowski
bcc31fb19b Tell early parser not to add help 2017-12-09 22:26:52 +01:00
Thomas Karl Pietrowski
8e89c1b361 No comment on this.. 2017-12-09 17:40:06 +01:00
Thomas Karl Pietrowski
7e7303a7e3 Code style 2017-12-09 16:00:56 +01:00
Thomas Karl Pietrowski
904f7c53cc Code style 2017-12-09 16:00:34 +01:00
Thomas Karl Pietrowski
37cf78487e headless+invidible: It is all about being hidden
So don't show any gui.
2017-12-09 15:56:52 +01:00
Thomas Karl Pietrowski
4b8d05092d Adding preRun and move last commandline argument check to it. 2017-12-09 15:56:06 +01:00
Thomas Karl Pietrowski
c62b04089f Moving setActiveStage("PrepareStage") to initializeEngine() in UM 2017-12-09 15:43:05 +01:00
Thomas Karl Pietrowski
3e775f71fd Typo 2017-12-09 13:00:41 +01:00
Thomas Karl Pietrowski
bae6f2cfb5 Typo 2017-12-09 12:43:41 +01:00
Thomas Karl Pietrowski
97196190d6 cura_app: Adding help text for debug 2017-12-09 12:04:53 +01:00
Thomas Karl Pietrowski
f9554475be CuraApplication: Allow getting kwargs and pass them to super().__init__() 2017-12-09 11:47:23 +01:00
Thomas Karl Pietrowski
74be22e682 Adding the application name
Maybe it is possible to set this value later. Eg. in Uranium, so we can get the name from .getApplicationName().
2017-12-09 11:26:04 +01:00
Thomas Karl Pietrowski
e578014a2e Passing the already parsed args 2017-12-09 11:25:01 +01:00
Thomas Karl Pietrowski
63acaed0a5 Correcting if clause
We don't want logs, when debugging.
2017-12-09 02:52:51 +01:00
Thomas Karl Pietrowski
2614c8a623 Don't hook to CrashHandler, if we are debugging
Getting an early crash here. Hope that one helps.
2017-12-09 02:40:46 +01:00
Thomas Karl Pietrowski
bc7cb1491d Removing "Embedding" option again 2017-12-09 02:13:47 +01:00
Thomas Karl Pietrowski
ab6508657d Creating an argparser early and add a "debug" option
Makes sure we don't log anything at the moment, when debug is passed. Otherwise early errors are not displayed and passed to log files.
2017-12-09 02:13:31 +01:00
Thomas Karl Pietrowski
61b6831e62 CuraApplication: Making it one line again
Don't know why the pylint marker is here..
2017-12-09 01:21:58 +01:00
Thomas Karl Pietrowski
1a9c152041 CuraApplication: Don't parse -h or --help before last check 2017-12-09 00:08:13 +01:00