151 Commits

Author SHA1 Message Date
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
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
Ghostkeeper
087ab79b3c Always load CuraEngineBackend plugin first
In the same way that consolelogger is loaded firstly, the engine is loaded secondly. After that the rest of the plugins are loaded. I'd really have loved to use some sort of plugin dependency system but that is out of scope right now. Fixes all external plugins that use the backend, such as to trigger a reslice (such as PostProcessing).

Contributes to issue CURA-443.
2015-12-30 12:28:31 +01:00
Arjen Hiemstra
63c80c42ce Default Cura to SolidView, not MeshView 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
090f912a55 Remove setLightPosition call
This should be replaced by a proper light object
2015-12-14 13:54:42 +01:00
fieldOfView
a1123655ff Show scene boundingbox in JobSpecs 2015-12-03 12:09:25 +01:00
Arjen Hiemstra
9267b517d6 Fix coding style issues 2015-11-27 16:53:32 +01:00
daid
743b403b29 Whole bunch of um-pep8 style fixes. 2015-11-27 13:50:44 +01:00
Arjen Hiemstra
09ea598d28 Merge branch '15.10'
* 15.10:
  Update translations with the 15.10 versions
  Disable languages we have no updated translations for
  Display the version number in the splash screen
  Properly raise DeviceBusyError in RemovableDriveOutputDevice
2015-11-17 14:25:23 +01:00
Arjen Hiemstra
5231073827 Display the version number in the splash screen 2015-11-17 10:11:41 +01:00
Arjen Hiemstra
751f58fb02 Merge branch '15.10'
* 15.10: (39 commits)
  Remove unused import in StartSliceJob
  conforming to code style
  fix typo's..
  Adjust initial view to be slightly from the side
  uses a different method to check whether a machine name excists
  Sets the languageComboBox to the default language
  Remove per-group settings for now
  Make sure to send all settings when an object overrides the profile
  Properly emit writeStarted in RemovableDriveOutputDevice
  Add xy_offset setting to list of settings that trigger a disallowed area update
  Properly trigger a reslice when the active instance is changed
  Wizardpages without hack
  Only hides the window when there are no more pages
  Only add layer data node after all processing
  Also account for "xy_offset" setting for the disallowed areas
  JSON: workaround for stutter in spiralize vase: set travel speed to printing speed
  Adds a color for the error-messages
  Shows an error message when a user tries to add a printer with a name that already excists.
  JSON: support bottom stair step height defaults changed so that the bottom distance to the model isn't violated too much
  Try to use Protobuf CPP implementation if it is available
  ...
2015-11-13 11:31:29 +01:00
fieldOfView
860a3dccdc Adjust initial view to be slightly from the side 2015-11-10 14:28:43 +01:00
Arjen Hiemstra
1140c853d1 Try to use Protobuf CPP implementation if it is available
The C++ implementation is far faster so should always be
used if available. If not, we log a warning since it makes
a big difference.
2015-11-04 16:42:07 +01:00
Arjen Hiemstra
8d0924849f Make it possible to set Cura version from CMake
This helps with automating build so we can set version from one single
spot.
2015-11-01 22:02:54 +01:00
Arjen Hiemstra
936c2f9365 Merge branch '15.10'
* 15.10:
  Remove full screen from menu and disable the shortcut key
  Properly default infill_sparse_thickness to layer_height`
  Changes the color of the 'C' in one iconfile
  moves the changelog from on-startup to the extensions menu
  Fix firmware update to properly report progress
  Use a decorator to track Z offset
  Remove infill_sparse_combine setting
  Update for BQ printers profiles
  Bump version
  Properly position groups and nodes once ungrouped
2015-10-27 14:24:25 +01:00
Arjen Hiemstra
07c9ecc931 Use a decorator to track Z offset
This makes it much easier to correct for Z offset after operations

CURA-196 #Ready-for-Review
2015-10-23 14:04:27 +02:00
Arjen Hiemstra
d0d7ef39fb Bump version 2015-10-20 15:16:11 +02:00
Arjen Hiemstra
63765eb522 Properly position groups and nodes once ungrouped
CURA-273 #Review
2015-10-16 17:40:55 +02:00
Arjen Hiemstra
3f5d609baa Set version to master 2015-10-08 12:13:35 +02:00
Arjen Hiemstra
ae3705514f Merge branch '15.10'
* 15.10:
  Properly clear stored layer data
  Render SupportInfillType so support is rendered correctly again.
  Fix issues with crash handler and log file creation on Windows
  Bump version
  Make the UMO upgrade selection page work properly
  Update preference dialog to the changed API
  Disable crash handler if debug mode is not enabled
  Prevent crashes when centering an object
  Also disable output device selection when main save button is disabled
  Fix name of Low Quality profile
  Fix stdout/stderr output location so we do not output to UM but to cura
2015-10-06 12:21:09 +02:00
Arjen Hiemstra
07d35a3439 Bump version 2015-10-05 16:47:45 +02:00
Arjen Hiemstra
03748ca19a Disable crash handler if debug mode is not enabled 2015-10-05 14:13:49 +02:00
Arjen Hiemstra
a9527920ae Prevent crashes when centering an object
Fixes #457
2015-10-05 13:14:42 +02:00
Arjen Hiemstra
7982e79940 Merge branch '15.10'
* 15.10: (37 commits)
  Tweak the initial camera position
  Never disable the view button
  Use selection status to disable/enable tools rather than platform activity
  JSON: bugfix: skirt_speed was the only child of speed_layer_0, which meant you couldnt tweak them separately
  Fix Windows build
  Move all contributed profiles to an "Other" manufacturer
  Bump version
  Make the Infill buttons and support checkboxes in Simple mode functional
  Fix the variants menu so the variants actually get added
  Try to add a page when the name of a wizard page is unknown
  Catch any exception that happens while trying to eject
  Set High Quality to 0.08 layer height
  Capture stdout and stderr on Windows to prevent py2exe messages
  Add missing Ulti and Low quality profiles
  JSON: bugfix/feat: wall_line_width defaults to nozzle size and wall_line_count computed properly
  When you click [Manage Printers..] it brings you to the right page
  Delay showing the Add Machine dialog until after the main window is properly shown
  Adds a smaller cross icon
  Use the job name for saving files
  Update RemovableDrive and USB output devices to use the new file_name parameter
  ...
2015-10-01 15:47:18 +02:00
Arjen Hiemstra
afa44ed314 Tweak the initial camera position
As requested by Menno
2015-10-01 14:20:47 +02:00
Arjen Hiemstra
457f2945b0 Bump version 2015-09-29 16:59:26 +02:00
Arjen Hiemstra
c486794f33 Delay showing the Add Machine dialog until after the main window is properly shown
Showing the main window causes the Add Machine window to hide apparently
so instead make sure we show the add machine dialog after showing the
main window.

This also handles the "there is no machine" situation a little more
cleanly.
2015-09-24 19:22:00 +02:00
Arjen Hiemstra
e44297e400 Add a job name property to CuraApplication
This can be used to store the current job name.

Contributes to CURA-183
2015-09-23 18:20:11 +02:00
Jaime van Kessel
b770979be5 Force scene change event upon file load through commandline parameters
Fixes Ultimaker/Cura#409
2015-09-22 13:50:10 +02:00
Jaime van Kessel
b512d57bb5 Bump version 2015-09-19 17:09:01 +02:00
Jaime van Kessel
5fecc76d3f Merge branch '15.10' 2015-09-18 15:34:05 +02:00
Arjen Hiemstra
0788d4e726 Bump version 2015-09-18 14:02:21 +02:00
Arjen Hiemstra
6e0d80bf02 Use deepcopy to create duplicates of Nodes
This way we also include decorators and everything.

CURA-188 #start-review
2015-09-18 12:35:34 +02:00
Jaime van Kessel
e4de852fd1 Merge branch 'master' of https://github.com/Ultimaker/Cura 2015-09-16 15:28:58 +02:00
Jaime van Kessel
ad0a36cfef Reload object should now function again
Fixes CURA-147 (A proper solution will need to be found in the future)
2015-09-15 16:34:05 +02:00