Commit graph

2785 commits

Author SHA1 Message Date
Simon Edwards
3173eb6740 Avoid mega-tons of object copying when building compressed gcode
CL-541
2018-01-03 16:15:12 +01:00
ChrisTerBeke
182e7de07d
Merge branch 'master' into network_rewrite 2018-01-03 14:17:48 +01:00
Jaime van Kessel
e12a2fbd6a Fixed typing
CL-541
2018-01-03 14:07:34 +01:00
Jaime van Kessel
c1bf87bd8f Removed commented out code
CL-541
2018-01-03 13:54:15 +01:00
Jaime van Kessel
ef46f51497 Camera delete now triggers the correct function
CL-541
2018-01-03 13:44:38 +01:00
Simon Edwards
5e3666f073 Fill out the type hints in NetworkedPrinterOutputDevice.py
CL-541
2018-01-02 17:21:51 +01:00
Lipu Fei
70d5d4415f
Merge branch 'master' into CURA-4708_fix_definition_changes_extruder_stacks 2018-01-02 10:41:44 +01:00
Ghostkeeper
2e197f0f34
Move all per-extruder settings
Also move things that we didn't think of previously, such as extruder offsets. You can't enter them as a user in the interface if it was single-extrusion, but you could've edited the files.

Contributes to issue CURA-4708.
2018-01-02 08:36:46 +01:00
Ghostkeeper
a87465186e
Fix off-by-one bug when importing profiles with extruder stacks
Since machine_extruders contains only the extruder stacks (not the global stack) but profile_index counts through all stacks including the global stack, we need to increase the length of machine_extruders by 1 when comparing.
I also swapped the comparison around since I think it's more logical this way around.

Contributes to issue CURA-4738.
2018-01-02 08:19:31 +01:00
Ruben D
689a18ee57
Rename sidebar_collapsed and code style
sidebar_collapsed is more consistent with other options and setting names we use. Better change it before the next release rolls out otherwise we'd have to do a version upgrade.
Also changed some code style things to be in line with our guidelines.

Contributes to issue CURA-4234.
2017-12-30 19:35:46 +01:00
Ghostkeeper
4a3109c885
Don't crash when loading model before a printer is loaded
The model won't load successfully and you get a message that it failed to load, but Cura won't crash at least.

Contributes to issue CURA-4736.
2017-12-29 14:47:55 +01:00
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
Lipu Fei
0c28c61e05 Create new SettingInstances when moving user changes settings
CURA-4708
2017-12-22 14:09:13 +01:00
Lipu Fei
0cd392fbd2 Create new SettingInstance when moving extruder DC settings
CURA-4708
2017-12-22 14:08:22 +01:00
Lipu Fei
a7d51326c0 Move extruder-specific DC settings
CURA-4708

Read code comments.
2017-12-22 14:06:11 +01:00
Aleksei S
05acb2e00f Prvent integer infinitive value after arranging all models
CURA-4672
2017-12-22 13:04:25 +01:00
Lipu Fei
3fb3b5826f Make sure user containers have unique IDs
CURA-4708
2017-12-22 12:26:30 +01:00
Lipu Fei
3f9f00673a Fix addExtruderStackForSingleExtrusionMachine()
CURA-4708

- Create definition_changes container for the newly created
  ExtruderStacks.
- Move extruder-specific definition_changes settings from the machine's
  container to the extruder's container
2017-12-22 12:26:29 +01:00
Jaime van Kessel
eb27695d52 If a reserved job is moved to a printer that can do it, it' s correclty removed from the old printer
CL-541
2017-12-22 12:04:02 +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
Jaime van Kessel
52d25042eb Machines now re-appear after timeout
CL-541
2017-12-22 11:29:13 +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
Jaime van Kessel
c6458358ba Merge branch 'master' of github.com:Ultimaker/Cura into network_rewrite 2017-12-21 15:38:17 +01:00
Jaime van Kessel
9754aa5397 Material & hotend updated callback is enabled for LegacyUM3 again
CL-541
2017-12-21 13:16:44 +01:00
Lipu Fei
0a0db39f02 deepcopy value from the stack
CURA-4705
2017-12-21 09:27:53 +01:00
Jaime van Kessel
041b1830fe Re-added manual printer adding
CL-541
2017-12-20 16:30:40 +01:00
Jaime van Kessel
23330cd086 Camera feed is also stopped when NetworkCamera is destroyed
CL-541
2017-12-20 15:39:52 +01:00
Jaime van Kessel
95b1e8f68c Ensured that multiple requests from the same camera are no longer possible
CL-541
2017-12-20 15:38:47 +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
Jaime van Kessel
bc8741ef08 Merge branch 'master' of github.com:Ultimaker/Cura into network_rewrite 2017-12-19 10:40:32 +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