Commit graph

2706 commits

Author SHA1 Message Date
Ghostkeeper
a4d83331ad
Code style: Space around binary operator
Contributes to issue CURA-4672.
2017-12-28 14:30:47 +01:00
Ghostkeeper
4b9ddc186a
Code style: Space after binary operator
Contributes to issue CURA-4672.
2017-12-28 14:28:12 +01:00
Aleksei S
05acb2e00f Prvent integer infinitive value after arranging all models
CURA-4672
2017-12-22 13:04:25 +01:00
Aleksei S
b454b43ae0 Merge branch 'master' of github.com:Ultimaker/cura 2017-12-22 12:02:18 +01:00
Aleksei S
f591822836 Set minimum distance between models
CURA-4672
2017-12-22 12:00:08 +01:00
ChrisTerBeke
f75d91071a Remove invisible flag from allowed command line options to trigger non-gui mode 2017-12-22 11:39:58 +01:00
ChrisTerBeke
b29047abd3 Small fixes for disable user data triggering preferences window 2017-12-22 11:38:56 +01:00
Aleksei S
c3954c40ac Merge branch 'master' of github.com:Ultimaker/cura 2017-12-21 16:25:54 +01:00
Aleksei S
447c6e7e23 Added Disable link style
CURA-4630
2017-12-21 16:25:13 +01:00
Lipu Fei
4e90204620 Only push aways other objects if they are printing meshes
CURA-4705
2017-12-21 15:51:24 +01:00
Lipu Fei
0a0db39f02 deepcopy value from the stack
CURA-4705
2017-12-21 09:27:53 +01:00
Lipu Fei
588335c6db Make sure only single-extrusion machines will be fixed
CURA-4713
2017-12-20 13:42:58 +01:00
Lipu Fei
1a6a6f74d5 Fix SettingOverrideDecorator for non printing meshes
CURA-4705

- Do not set a "secret" property in the SceneNode to indicate whether a
  node is a non-printing-mesh because SceneNode will not copy that
  property during a deepcopy. Store it in the SettingOverrideDecorator
  and make it accessible through a decorator call
- Try to trigger an auto-slice AFTER the non-printing-meshes flag is
  updated, not before.
2017-12-20 12:26:50 +01:00
Ghostkeeper
a860154831
Merge branch 'master' of github.com:Ultimaker/Cura 2017-12-20 10:20:30 +01:00
Diego Prado Gesto
8af52fb61b CURA-4726 Creating unique name for the per object stack. Keep the prefix so it is easy to trace when debugging instead of just a number 2017-12-19 19:44:04 +01:00
Diego Prado Gesto
fc78402146 CURA-4726 Using a string for the per object stack id instead of the id
of the instance (that is an integer) because the new ContainerRegistry
searches by string
2017-12-19 17:26:30 +01:00
Ghostkeeper
05e232b498
Move LegacyProfileReader-specific logic into the plug-in itself
This had the documentation that it should edit the profiles returned by LegacyProfileReader. Instead, just return correct profiles from the reader...

Contributes to issue CURA-4715.
2017-12-19 17:16:32 +01:00
Ghostkeeper
c6a2b1b9c9
Ignore any additional stacks in imported profile
When you import a multi-extrusion file into a single-extrusion printer, don't crash but simply ignore the additional stacks.

Contributes to issue CURA-4715.
2017-12-19 17:08:51 +01:00
Ghostkeeper
c5e33e45a4
Fix setting definition if importing profile without printer-specific profiles
Fixes a crash.
2017-12-19 13:24:20 +01:00
Jack Ha
d6c6aa1c71 CURA-4715 fix updating custom profile 2017-12-18 17:03:18 +01:00
fieldOfView
77daad1f98 Also exit when the crash handler dialog is not created 2017-12-18 12:19:56 +01:00
fieldOfView
d839b62e42 Prevent CrashHandler creating a QWidget before QApplication is created 2017-12-18 12:18:22 +01:00
ChrisTerBeke
e3a996073e Remove duplicate --headless argument as it is now in Uranium 2017-12-18 11:09:41 +01:00
Ghostkeeper
d5b3f18da8
Split all non-word characters for making abbreviations
So now cases like CR-10 are more appropriately split into ['CR', '10'].

Fixes #2910.
2017-12-18 11:01:15 +01:00
ChrisTerBeke
443e155cf7 Adding set stage back 2017-12-18 10:50:50 +01:00
ChrisTerBeke
6666829939
Merge pull request #2940 from thopiekar/master-prepare-for-com-support
(DONE) Registration of arguments of plugins, add invisible mode (No splashscreen!) and "--debug" mode as argument
2017-12-18 10:49:44 +01:00
Lipu Fei
248fe37ed9 setDefinition() takes the ID instead of the container
CURA-4713
2017-12-15 14:54:26 +01:00
Lipu Fei
f26872ec1f Apply fix for single extrusion machines when a new global stack is added
CURA-4713

Now the machines are not all loaded in the beginning, so the old way of
adding extruder stacks for old single-extrusion machines don't work.
With this fix, it now happens whenever a global stack is added to the
registry.
2017-12-15 14:51:48 +01:00
Aleksei S
2c18127cc1 Tests: Removed python circular import dependency and added empty containers
CURA-4687
2017-12-15 09:43:02 +01:00
Jack Ha
4519f9b46a CURA-4234 rename to cura/sidebar_collapse, fix spelling errors, styling 2017-12-13 14:04:02 +01:00
Jack Ha
80afda1912 Merge branch 'master' into CURA-4234_expand_collapse 2017-12-13 13:53:35 +01:00
Jack Ha
bae2193bfb Merge branch 'master' of github.com:Ultimaker/Cura 2017-12-13 13:39:22 +01:00
Jack Ha
19b56404c6 Fix empty quality slider on start.
It seemed that:
- MachineManager was not connected to all the correct signals
- After connecting to the correct signal, ProfilesModel was not yet updated when looping over it in SidebarSimple

Because ProfilesModel's constructor already requests the MachineManager, we cannot do connect itemsChanged the way around as well.

CURA-4707
2017-12-13 13:33:05 +01:00
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
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
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
Aleksei S
fb91edd7eb Solve arrange and multiply models issue
CURA-4703
2017-12-12 10:43:19 +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
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
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
f9554475be CuraApplication: Allow getting kwargs and pass them to super().__init__() 2017-12-09 11:47:23 +01:00