Commit graph

7628 commits

Author SHA1 Message Date
Ghostkeeper
6ef5aeb02b Remove superfluous comment
This should be obvious. The thought process was that now we're using the builder instead of making the MeshData object directly, but that has only relevance if you still remember what the old code was.

Contributes to issue CURA-625.
2016-01-22 15:25:08 +01:00
fieldOfView
c1c2c0030e Prevent deleting objects while a tooloperation is ongoing 2016-01-21 15:43:01 +01:00
Ghostkeeper
7e1927434a Use MeshBuilder to make convex hull mesh
The convex hull mesh was made without adding colours to the vertices. This was probably causing the convex hull to appear red on some machines, if red is the default vertex colour. Using meshbuilder makes code maintenance easier and allows us to easily set the colour of the vertices. Hopefully this fixes the issue with the red convex hulls.

Contributes to issue CURA-625.
2016-01-21 13:55:11 +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
26d27e4664 Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-01-15 16:18:46 +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
Jaime van Kessel
44ab89724e ConvexHullDecorator is now correctly duplicated
The deepcopy of convex hull decorator now returns an empty (new) ConvexHulldecorator object
This ensures that the init is correctly called. CURA-665
2016-01-15 15:18:16 +01:00
fieldOfView
461a3fb0d6 Don't include origin in boundingbox 2016-01-12 10:48:37 +01:00
Jaime van Kessel
be79358f0b Fixed scale to max (forgot to substract & add skirt size)
CURA-435
2016-01-07 17:28:01 +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
ea53709481 Fixed missing default for BuildVolume 2016-01-05 17:17:42 +01:00
Jaime van Kessel
3523b709c4 Fixed delete selection issues.
CURA-616
2016-01-05 12:26:39 +01:00
Jaime van Kessel
aeef5b0b1b Hacked some stuff to build volume.
Fixes CURA-435
2016-01-04 15:33:11 +01:00
Ghostkeeper
9544602df5 Merge pull request #571 from Ultimaker/feature_ux2-1_update
Updated Design rework for 2.1 release
2015-12-31 09:33:14 +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
fieldOfView
fa9f4ca0ba Fix splashscreen size on HiDPI (windows) screens 2015-12-30 09:53:26 +01:00
Ghostkeeper
7f11c0c3cf Correct convex hull in one-at-a-time mode
The new convex hull should be the hull with head and fans intersected with the mirrored head and fans. This is because it can determine the correct order to print the objects without getting the fans in the way as much as possible.

Contributes to issue CURA-260.
2015-12-29 15:08:09 +01:00
Arjen Hiemstra
dc467b50ce Verify that we have a value before using it
Contributes to CURA-446
2015-12-15 14:03:57 +01:00
Arjen Hiemstra
45d797515f Render Convex Hull below 0 to avoid z fighting artifacts 2015-12-14 13:58:24 +01:00
Arjen Hiemstra
3e0a06e7ee Render the grid a bit below 0, so we avoid some z fighting artifacts 2015-12-14 13:57:31 +01:00
Arjen Hiemstra
7e87f2d1ce Update with the changed default for backface culling 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
435186e6d1 Fix convex hull and layer view rendering 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
63c80c42ce Default Cura to SolidView, not MeshView 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
9900a0b327 Fix ConvexHullNode so it renders 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
7395f37efe Update BuildVolume and ConvexHullNode to use new API 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
Tamara Hogenhout
e61d3e4f3e Merge pull request #562 from Ultimaker/feature_ux2-1
Design rework for 2.1 release
2015-12-10 11:05:19 +01:00
Tim Kuipers
5009ac99e6 retrieve brim_width instead of brim_line_count * skirt_line_width (CURA-550) 2015-12-08 10:51:07 +01:00
fieldOfView
e7fc881440 Quick update to splashscreen drawing 2015-12-03 12:09:28 +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
33d0db8ed5 Add xy_offset setting to list of settings that trigger a disallowed area update
Contributes to CURA-138
2015-11-06 11:59:11 +01:00
Arjen Hiemstra
d5bd39cc3b Also account for "xy_offset" setting for the disallowed areas
Contributes to CURA-138
2015-11-05 13:47:35 +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
0b2f0b2604 Add thread yields to several long running and heavy processing jobs
Contributes to CURA-358
2015-11-04 14:13:45 +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
4c0b4ae870 Double check that the active instance and profile are set before updating disallowed
Contributes to CURA-138
2015-10-29 13:54:26 +01:00
Arjen Hiemstra
fe9e35c062 Remove invalid line that causes exceptions on startup
Contributes to CURA-138
2015-10-29 11:48:05 +01:00
Arjen Hiemstra
a660296768 Use the skirt size to expand the disallowed area size and add disallowed areas for the borders
CURA-138 #Ready-for-Review
2015-10-27 15:26:04 +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
Ghostkeeper
da1d59ff98 Merge branch 15.10 into master
Where automatic merging failed, the version of 15.10 was used.
2015-10-16 16:56:59 +02:00