Commit graph

728 commits

Author SHA1 Message Date
Jaime van Kessel
97d16ae3bd Update documentation & code cleanup 2016-04-08 14:26:28 +02:00
Jaime van Kessel
e034e3f9e1 Extra hull area now matches the assumptions in the rest of the code
It's now also correct according to the original documentation.
CURA-435
2016-04-08 09:58:34 +02:00
Ghostkeeper
0684cee681 Merge branch '2.1'
Conflicts:
	resources/machines/fdmprinter.json
	resources/machines/innovo-inventor.json
	resources/profiles/general/High+Quality.cfg
	resources/profiles/general/Low+Quality.cfg
	resources/profiles/general/Normal+Quality.cfg
	resources/profiles/general/Ulti+Quality.cfg
	resources/profiles/ultimaker2+/pla_0.4_high.curaprofile
2016-04-04 18:49:09 +02:00
Jaime van Kessel
f5457504d3 One at a time iterator no longer ignores objects higher than gantry height
Due to changes in build volume, those objects are already ignored.
CURA-1224
2016-04-04 11:25:41 +02:00
Jaime van Kessel
fdb951ffe6 Changed silly typo
No issue number, but this *needs* to be in 2.1
Signed off by Jaime & Ruben
2016-04-01 16:33:33 +02:00
Jaime van Kessel
99de21fba7 Setting one at a time mode now decreases size of build volume
CURA-1245 CURA-1224
2016-03-25 10:59:11 +01:00
Jaime van Kessel
6c2878221d Removed color from convex hull node when it has profile / setting
CURA-1251
2016-03-25 10:49:09 +01:00
Ghostkeeper
511d0be9c3
Complete the renaming of a parameter
This caused layer view to break down.

Probably contributes to issue CURA-1208.
2016-03-21 15:33:04 +01:00
Jaime van Kessel
eeb2c0454a Build volume now uses linecount for disallowed areas
CURA-1152
2016-03-17 15:51:36 +01:00
Ghostkeeper
de9a66e1f4 Merge branch '2.1'
Conflicts:
	plugins/RemovableDriveOutputDevice/OSXRemovableDrivePlugin.py
	plugins/RemovableDriveOutputDevice/WindowsRemovableDrivePlugin.py
	plugins/USBPrinting/PrinterConnection.py
	resources/machines/fdmprinter.json
	resources/profiles/ultimaker2+/abs_0.4_high.curaprofile
2016-03-17 15:24:00 +01:00
Thomas-Karl Pietrowski
eee1be94ab Removing unused imports and rename built-in varibales/functions into save one
* The new names for the variables might be misleading...
2016-03-15 12:18:44 +01:00
Thomas-Karl Pietrowski
5ae63f2de1 Removing unused imports 2016-03-15 12:17:59 +01: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
bbf931450a Marking another unused variable 2016-03-15 12:09:49 +01:00
Thomas-Karl Pietrowski
115d5dceae Removing more unneeded imports 2016-03-14 17:26:21 +01:00
Thomas-Karl Pietrowski
9ccd903fc9 Fixing typo 2016-03-14 16:57:58 +01:00
Thomas-Karl Pietrowski
60d1f34b17 Removing unused import 2016-03-14 16:57:21 +01:00
Thomas-Karl Pietrowski
48d06fea50 Fixing typo 2016-03-14 16:50:28 +01:00
Thomas-Karl Pietrowski
2e8d653fa5 webbrowser is not used here anymore 2016-03-14 16:38:21 +01:00
Thomas-Karl Pietrowski
ca65547f05 Remove unused imports 2016-03-14 16:06:10 +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
Jaime van Kessel
733215ef3e Selection is no longer ignored by push free
Fixes CURA-1086
2016-03-09 10:11:42 +01:00
Ghostkeeper
a3115bc548
Also take points on Z=0 with convex hull
Contributes to issue CURA-1009.
2016-03-03 16:14:59 +01:00
Jaime van Kessel
6a1f04f54b Removed unusued import 2016-03-02 16:12:27 +01:00
Jaime van Kessel
a04a470794 Fixed order of one at a time printing
CURA-900
2016-03-02 14:49:54 +01:00
Jaime van Kessel
a50ef02d81 Code cleanup 2016-03-02 14:49:41 +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
f05eaf6d9c Too high objects (in one at a time) are now greyed out
CURA-972
2016-03-01 11:04:59 +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
Arjen Hiemstra
257242b783 Use a map of colours rather than big if statement to get the layer color
The entire if-else tree turned out to be quite slow. Using a dict is a
lot faster.

Contributes to CURA-708
2016-02-29 08:57:23 +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
e093c956f2 Removed stray debug print 2016-02-17 17:02: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
7c744044fd Fixed merge issues & updated proto files 2016-02-02 11:25:10 +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
Arjen Hiemstra
ffec2484b7 Fix Layer view 2016-02-01 17:15:45 +01:00
Jaime van Kessel
ebc1df1a4c Hull node is no longer added if linked node is deleted while it was calculating
CURA-637
2016-02-01 17:03:53 +01:00
Jaime van Kessel
782c4508c6 Convex hull is also redrawn when machineInstance is changed
CURA-742
2016-02-01 16:03:31 +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
Jaime van Kessel
3a32cb5f60 Merge pull request #606 from Ultimaker/fix_cura-623
Fix cura 623
2016-01-22 15:35:37 +01:00