617 Commits

Author SHA1 Message Date
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
Thomas Karl Pietrowski
b098b167e5 Fixing name 2017-12-08 22:31:04 +01:00
Thomas Karl Pietrowski
044c538887 CuraApplication: Allow unknown arguments 2017-12-08 22:09:49 +01:00
Thomas Karl Pietrowski
35ed042a72 Revert "CuraApplication: Making use of Uranium commandline tools"
This reverts commit 315efae53b68c9530bc2a2c15f46b876081cfd30.
2017-12-08 21:49:00 +01:00
Thomas Karl Pietrowski
9210d38412 Revert "CuraApplication: Getting argparser from Uranium"
This reverts commit 8c74092f48d3b9322dbca3b9abf1c7bdbaf816a2.
2017-12-08 21:31:41 +01:00
Thomas Karl Pietrowski
0967651a49 CuraApplication: Adding last check for unknown arguments into _onEngineCreated
So after everything is loaded, we can blame the user about wrong arguments.
2017-12-08 20:28:46 +01:00
Thomas Karl Pietrowski
315efae53b CuraApplication: Making use of Uranium commandline tools 2017-12-08 20:27:25 +01:00
Thomas Karl Pietrowski
8c74092f48 CuraApplication: Getting argparser from Uranium 2017-12-08 20:18:38 +01:00
Thomas Karl Pietrowski
abc2cdb701 CuraApplication: Adding important note about the argparser 2017-12-08 20:18:11 +01:00
Thomas Karl Pietrowski
b22981d089 It is cls not self! 2017-12-08 16:12:56 +01:00
Thomas Karl Pietrowski
11cf642a6e COM: Prevent splash screen, when Embedding is set.
So when dispatching our service we won't see any splash screen. Just like we want for headless applications.
2017-12-08 15:43:28 +01:00
Thomas Karl Pietrowski
83d8c693bc CuraApplication: Removing superflous check
Imagine that there was no "single_instance" in parsed_command_line, then the second half of the if-clause would automatically crash.
Also we defined single_instance to be False, whenever not set. Therefore it is always there.
Also since no issues ever happened here, let's remove this check.
2017-12-08 15:23:35 +01:00
Thomas Karl Pietrowski
00a77da9d4 COM: Adding missing argument for DCOM 2017-12-08 15:19:28 +01:00
ChrisTerBeke
9bf954643c Use new method of setting active stage when needing to switch to monitor 2017-12-07 11:56:52 +01:00
ChrisTerBeke
ee643610e5 Fix sidebar loading and unloading depending on active stage 2017-12-06 17:46:18 +01:00
ChrisTerBeke
a57a5aab6b Make sidebar view working for active stage 2017-12-06 12:23:41 +01:00
ChrisTerBeke
0e1c9146cf Implement stage model in top bar 2017-12-06 09:58:50 +01:00
ChrisTerBeke
f1b9a17611 Remove sidebar controller implementation in favor of stages 2017-12-06 09:44:30 +01:00
ChrisTerBeke
e33288b7c8 Move sidebar target for plugins to only middle section 2017-12-05 10:56:59 +01:00
ChrisTerBeke
caf56587fe Implement switching sidebar views 2017-12-04 19:37:03 +01:00
ChrisTerBeke
3c863fc388 Get default settings view to work as sidebar component 2017-12-04 16:28:35 +01:00
ChrisTerBeke
5eeb98bbcf Move sidebar controller init 2017-12-04 13:20:16 +01:00
ChrisTerBeke
4ef39ca313 Add sidebar views menu item and expose model to QML 2017-12-04 12:47:08 +01:00
ChrisTerBeke
f2b4cbe182 Register sidebar controller in application, start with default sidebar view 2017-12-04 11:37:49 +01:00
Lipu Fei
320330b788 Take DebugMode flag from CuraVersion
CURA-4539
2017-11-29 14:36:00 +01:00
Lipu Fei
b7fed81fc1 Pass "is_debug_mode" flag to Application
CURA-4539
2017-11-29 14:01:19 +01:00
Lipu Fei
f18cb951fc Use workspaceLoaded signal instead of projectFileLoaded
CURA-4581
2017-11-21 13:49:25 +01:00
Diego Prado Gesto
b6e997c88d CURA-4526 Delete LayerView plugin because it will be replaced with the
SimulationView.
This commit also adapts the code in order to accept the messages coming
from the engine, with information about feedrates and line thicknesses.
Add also some changes in the GCodeReader that reads feedrates and
line thickness from the gcode file.
2017-11-21 10:47:29 +01:00
ChrisTerBeke
657a91c525 Merge pull request #2685 from Ultimaker/container_stack_improvements
Container stack improvements
2017-11-20 17:42:26 +01:00
Thomas Karl Pietrowski
b2da4894b1
CuraApplication: Rename file --> file_name
'file' is a built-in function!
2017-11-15 01:21:08 +01:00
Mark
3ba7db1420 Merge branch 'master' into headless_cura 2017-11-01 13:25:09 +01:00
Lipu Fei
e6e61e9a3c
Merge pull request #2697 from Ultimaker/feature_add_user_agreement
Feature add user agreement
2017-10-30 14:50:52 +01:00
Aleksei S
22aaf64b63 Simplified version for validation need to show user agreement
CURA-4501
2017-10-30 14:42:46 +01:00
Lipu Fei
b6dd87081c Add upgrade script for 3.0 to 3.1
CURA-4451

- Add upgrade script for 3.0. to 3.1
- Upgrade old stack files so they will use "empty_quality" as the
  "Not Supported" quality profile.
- Increase SettingVersion to 4
2017-10-30 12:45:25 +01:00
Lipu Fei
c0f1af94ab Show Add Machine dialog after User Agreement dialog is closed
CURA-4501
2017-10-30 10:33:50 +01:00
Mark
5db0fc7785 Add useragreement screen on first run of Cura
CURA-4501
2017-10-28 15:43:01 +02:00
Chris ter Beke
b95ba24530 Remove some changes, debugging - CURA-4451
WIP - CURA-4451

correctly show not supported when any of the extruders has a not supported profile - CURA-4451

Clean up and add comments - CURA-4451
2017-10-26 09:23:27 +02:00
ChrisTerBeke
2361e96e29 Wait with updating active stack variant and material until dialog was closed - CURA-4447 2017-10-23 11:41:20 +02:00
ChrisTerBeke
e9336b9b9e Small cleanups for discard or keep behavior - CURA-4447 2017-10-19 14:39:32 +02:00
Lipu Fei
d735921d42 Take into account the keep/discard interaction when emitting signals
CURA-4248

When user switches to a different profile, the keep/discard dialog can
show up. Don't emit signals immediately if this interaction takes place
because it will trigger an unnecessary slice.
2017-10-19 08:32:26 +02:00
A.Sasin
85f2a7c385 Added update to for Instance container to re calculate values and validate
CURA-4447
2017-10-17 15:01:49 +02:00
Jaime van Kessel
70f0e8752b Add extra --headless flag to commandline 2017-10-16 15:05:51 +02:00
Lipu Fei
9b8dc9bf55 Move simple-mode settings customization check into a separate file
CURA-4333

Simple-mode is a special mode so it makes more sense to put those code
in a separate file instead of in the more generic MachineManager.
2017-10-16 13:18:11 +02:00
A.Sasin
7f5aed7ead User pyqtProperty instead of puqtSlot
CURA-4333
2017-10-13 16:34:49 +02:00
A.Sasin
16bd4430e4 Added a pyQtProperty to validate user settings (Might be wrong approach)
CURA-4333
2017-10-12 21:23:17 +02:00
Lipu Fei
39891551e3 Fix custom profile handling for quality slider
CURA-4333
2017-10-12 12:42:18 +02:00
A.Sasin
a7e0d5147e Merge branch 'master' of github.com:Ultimaker/cura 2017-10-12 10:40:50 +02:00