1234 Commits

Author SHA1 Message Date
Jaime van Kessel
2fa24edc1f Fixed type for global_only property
CURA-1278
2016-05-20 11:29:48 +02:00
Ghostkeeper
6b0a33e166 Move dual extrusion settings into FDMPrinter
This involves making labels and descriptions for some dual-extrusion machine settings, and default values for everything, making sure inheritance is correct, etc.

Contributes to issue CURA-1278.
2016-05-18 17:53:43 +02:00
Ghostkeeper
3b5a74047b Add setting instance type for extruder
This type is not included in the global stack structure yet since there is no global stack structure per extruder yet.

Contributes to issue CURA-1278.
2016-05-18 17:53:43 +02:00
fieldOfView
c4c6be7c34 Improve code legibility
CURA-1543
2016-05-17 14:56:05 +02:00
Jaime van Kessel
ffcfba2caa Cura now handles saving of instances & stacks
This is done because Cura has a fundamentally different strategy for this than Uranium.

CURA-1278
2016-05-17 14:46:51 +02:00
Jaime van Kessel
62cdde1a9b Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-05-17 09:43:26 +02:00
Arjen Hiemstra
d1d2e1cea7 Set the right defaults for setting visibility in Cura 2016-05-16 18:22:37 +02:00
Arjen Hiemstra
08afad8973 Remove get/setSettingValue from CuraApplication
They are unused and should not be used anyway
2016-05-16 18:16:42 +02:00
fieldOfView
12638f3601 Make machine prefix for jobname optional
CURA-1480
2016-05-13 19:04:32 +02:00
Jaime van Kessel
ed49831785 Last active machine is now restored upon restart
CURA-1278
2016-05-13 15:24:49 +02:00
Jaime van Kessel
0de4f466dc Codestyle & Documentation 2016-05-12 15:38:59 +02:00
Jaime van Kessel
a16acddff1 Removed unused code
CURA-1278
2016-05-12 11:59:23 +02:00
Jaime van Kessel
f91a4f9369 Moved registration of MachineManager model to before QML is read
Else the model is undefined on first run, which caused a number of silly issues.
CURA-1278
2016-05-11 16:13:30 +02:00
Jaime van Kessel
573c1c1a5a Added MachineManagerModel to Cura
CURA-1278
2016-05-11 15:35:41 +02:00
fieldOfView
4830943113 Refactor grouping/ungrouping into an operation that is undoable
CURA-1543
2016-05-11 15:21:01 +02:00
Jaime van Kessel
fa8fbb2560 Added global only to setting type for CuraApplication
CURA-1278
2016-05-10 14:42:53 +02:00
Jaime van Kessel
bdccab4b60 Re-added BuildVolume
CURA-1278
2016-05-10 14:35:45 +02:00
Jaime van Kessel
67b6c5aa29 Re-added platform again
CURA-1278
2016-05-10 13:47:27 +02:00
Jaime van Kessel
170df747b3 Use globalContainer stack instead of activeInstance
CURA-1278
2016-05-10 11:40:36 +02:00
Jaime van Kessel
04f1e8d27c Renames to from activeStack to global stack
CURA-1278
2016-05-10 11:16:35 +02:00
Arjen Hiemstra
44246c0676 Comment out all things that use settings related things so we can at least start 2016-05-09 12:06:11 +02:00
fieldOfView
220939acbf Add a preference for scaling up tiny objects
When objects have been modeled with meters as units, they become so tiny that the cannot be selected in Cura to be scaled up.
2016-05-04 11:01:36 +02:00
Thomas-Karl Pietrowski
37ba88351a Adding marker for the Nvidia workaround 2016-04-19 20:24:56 +02:00
Arjen Hiemstra
c2ac0e8217 Fix resource paths after Uranium API change
Contributes to CURA-1390
2016-04-19 18:11:11 +02:00
Jaime van Kessel
97d16ae3bd Update documentation & code cleanup 2016-04-08 14:26:28 +02:00
Thomas-Karl Pietrowski
7be6340dd5 Cleanups in cura/CuraApplication.py
* Removed unused imports
* Replaced i with _ in for-loop (removes message about unused variable)
* As we have "Exception as e" use e in debug message
2016-03-15 12:14:18 +01:00
Thomas-Karl Pietrowski
f2da1db984 We only use os.path here 2016-03-14 15:50:59 +01:00
Thomas-Karl Pietrowski
3893cd06bd platform gets imported twice 2016-03-14 15:49:47 +01:00
Ghostkeeper
d27d4df8ff
Move file open queue handling later
At the point where the file open queue was processed, the events weren't handled yet. Here's to hoping that they will be handled at this point (but I must commit before testing...).

Contributes to issue CURA-730.
2016-03-01 13:35:46 +01:00
Ghostkeeper
232713a019 Catch file open events before file loaders are loaded
The event is essentially delayed. The filename is put in a list by the event handler. The list of files is then loaded after all plug-ins are loaded.

Contributes to issue CURA-730.
2016-03-01 13:17:15 +01:00
Ghostkeeper
5a3e67238e Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-03-01 11:23:39 +01:00
Ghostkeeper
935596d603 Add log entry when opening a file via Qt event
This helps debugging CURA-730, and might also help debugging similar issues in the future. It's a user-triggered event so this warrants an info-level log entry.

Contributes to issue CURA-730.
2016-03-01 11:23:20 +01:00
Jaime van Kessel
ff3bca19ac Renamed getdefaultsavepath 2016-03-01 10:40:35 +01:00
Jaime van Kessel
06afed5283 Loading files now uses home folder as default location
CURA-906
2016-02-29 16:11:48 +01:00
Jaime van Kessel
c15709936b Grouping and per object settings now work correctly again 2016-02-23 12:55:41 +01:00
Jaime van Kessel
89424d5635 SceneBounding box now correctly uses deepcopy 2016-02-12 16:17:58 +01:00
Arjen Hiemstra
894624fc2d Remove the "Using python impl of Protobuf" warning message
Since we now have c++ bindings this has become irrelevant.

Contributes to CURA-434
2016-02-10 13:55:52 +01:00
fieldOfView
6e11c2409b Use working profile instead of "active" profile 2016-02-08 09:20:46 +01:00
Jaime van Kessel
f068f569d3 Merge pull request #612 from thopiekar/2.1-alternative-nvidia-fix
Alternative fix for NVidia graphic cards
2016-02-02 10:53:16 +01:00
Thomas-Karl Pietrowski
aee89f2f16 Alternative fix for NVidia graphic cards
As I upgraded my computer to a developer version of Ubuntu, I noticed that the OpenGL module, which is needed for our workaround, is currently broken.
So I browsed the web and found the reason why it is needed at all and found a alternative.
The reason for the problem is that Qt5 is dynamicly loading libGL.so instead of libGL.so.1, as the OpenGL module loads libGL.so.1.
So if you install the closed-source nvidia drivers it only creates a link from libGL.so.1 to it's binaries and the result is that PyQt5/Qt5 tries to load Mesa binaries together with NVidia binaries.
By importing the OpenGL module you preload the libGL.so.1, but this can also be done directly by using ctypes.

* Replaced the OpenGL fix with the ctypes fix
* Added a TODO
2016-01-23 19:39:54 +01:00
fieldOfView
e723b78f09 Remove vestigial import 2016-01-23 17:15:42 +01:00
fieldOfView
3a64bc58b7 Reimplement fix without connecting/disconnecting events repeatedly 2016-01-23 17:10:16 +01:00
fieldOfView
7b09bb0c9e Deley center_on_selection cameraAnimation until mouse release 2016-01-23 16:59:29 +01:00
fieldOfView
c1c2c0030e Prevent deleting objects while a tooloperation is ongoing 2016-01-21 15:43:01 +01:00
Jaime van Kessel
4d14e375ca Merge pull request #588 from Ultimaker/fix_cura-679
Don't include origin in boundingbox
2016-01-20 12:19:18 +01:00
Ghostkeeper
70b8c64090 Let Cura set default output file type to g-code
The default preference for last remembered output file type is set to G-code. So at the first run, it'll have g-code selected by default. In subsequent runs it will remember what the setting was, so the user can set it to something else and it will remember that.

Contributes to issue CURA-611.
2016-01-18 17:04:21 +01:00
Tamara Hogenhout
a1be5a080f Allows for a file to be opened using the terminal
or something alike for instance when the file is dragged onto the logo(MacOS) or with 'open with'(Windows)

Fixes to #CURA-707
Fixes to #CURA-620
Fixes #591
2016-01-15 16:06:01 +01:00
fieldOfView
461a3fb0d6 Don't include origin in boundingbox 2016-01-12 10:48:37 +01:00
Tamara Hogenhout
0e69447c75 changed named arguments instead of positonal arguments for string formatting.
The localization system doesn't like positional arguments for string formatting

contributes to #CURA-526
2016-01-06 14:33:20 +01:00
Jaime van Kessel
3523b709c4 Fixed delete selection issues.
CURA-616
2016-01-05 12:26:39 +01:00