Commit graph

1810 commits

Author SHA1 Message Date
fieldOfView
c208c01528 Remove commented-out code 2015-12-30 16:36:02 +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
fba47cac0c Fix layout of General preference page 2015-12-30 09:53:29 +01:00
fieldOfView
282a0d307d Tweak "Add Printer" dialog 2015-12-30 09:53:29 +01:00
fieldOfView
aa2563b891 Rename "Machines" to "Printers" 2015-12-30 09:53:28 +01:00
fieldOfView
30d3d90dd8 Tweak Simple Mode layout margins 2015-12-30 09:53:28 +01:00
fieldOfView
b7f413dbb7 Move Variant selection to directly below Machine selection 2015-12-30 09:53:28 +01:00
fieldOfView
5ec00b2f6d Move MessageStack back to bottom until we can relocate the messages that make it obtrusive 2015-12-30 09:53:28 +01:00
fieldOfView
ea7f47c487 Tweak modal windows size 2015-12-30 09:53:27 +01:00
fieldOfView
01b04a284e Tweak category header icon positioning 2015-12-30 09:53:27 +01:00
fieldOfView
2aa3fa3623 Tweak setting category headers 2015-12-30 09:53:27 +01:00
fieldOfView
3cf9149a0f Fix gap between SaveButton and SaveToButton on HiDPI screens 2015-12-30 09:53:26 +01:00
fieldOfView
d5af132a9a Fixed more thin borders on HiDPI screens 2015-12-30 09:53:26 +01:00
fieldOfView
1747efeff8 Fixed thin borders on HiDPI screens 2015-12-30 09:53:26 +01:00
fieldOfView
fa9f4ca0ba Fix splashscreen size on HiDPI (windows) screens 2015-12-30 09:53:26 +01:00
fieldOfView
4bf4a20d44 Add small hover-effect to small buttons 2015-12-30 09:53:25 +01:00
fieldOfView
a900b02ae8 Added weight to viewmode plugins for sorting in the viewmode 2015-12-30 09:53:25 +01:00
fieldOfView
15e09efeef Fix layer slider label size and behavior 2015-12-30 09:53:25 +01:00
fieldOfView
ed0fea125c Add pencil-mark to print job name in JobSpecs area 2015-12-30 09:53:24 +01:00
Ghostkeeper
f6ccbab9dc Correct alignment of manufacturer in add printer window
I reduced the font size of the manufacturer to make it appear like a subscript a bit.
2015-12-29 16:38:10 +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
Thomas Karl Pietrowski
425a1df865 Fixing i18n build and install
* removes custom target copy-translations
* updating TODO to remove the language list with a nice algorithmus
* renaming file to po_file in foreach-loop
* etc.
2015-12-23 13:29:11 +01:00
Kurt Loeffler
5cff8a033f Moved Nozzle Diameter into a new "Machine" category in the UI. This category needs icon art. 2015-12-23 12:04:41 +01:00
Kurt Loeffler
050bc91912 Moved machine_nozzle_size from machine_settings to categories/resolution so it is exposed in the UI.
Cherry pick from master.
Conflicts:
	resources/machines/ultimaker2.json
	resources/machines/ultimaker_original.json

Contributes to issue CURA-276.
2015-12-23 12:02:42 +01:00
Ghostkeeper
345775fc2a Merge pull request #575 from fieldOfView/feature_tool_stops_engine
Terminate engine when a ToolOperation starts
2015-12-22 10:41:48 +01:00
fieldOfView
091f744838 Reuse code 2015-12-22 09:26:21 +01:00
fieldOfView
c900e27c19 Stop slicing immediately when a ToolOperation is started 2015-12-22 08:58:04 +01:00
Jaime van Kessel
cd5cb9c433 Merge pull request #570 from Ultimaker/LegacySettings
Import Legacy Settings
2015-12-18 11:44:09 +01:00
Ghostkeeper
482f0461fc Add check for profile version
The profile reader now checks whether the profile version is the same as the target version in the Dictionary of Doom.

Contributes to issue CURA-37.
2015-12-18 10:50:54 +01:00
Ghostkeeper
68496349a9 Fix import of top and bottom thickness
The legacy settings had a boolean for these, but in the current version is should just be a float.

Contributes to issue CURA-37.
2015-12-18 10:19:28 +01:00
Ghostkeeper
84613d99c4 Fix import of platform_adhesion
This setting should never be set to None.

Contributes to issue CURA-37.
2015-12-18 10:10:08 +01:00
Ghostkeeper
d2513f9bbb Fix prime_tower_size import
It was using math.sqrt incorrectly and also was trying to divide strings by each other, while they were floats.

Contributes to issue CURA-37.
2015-12-18 10:03:34 +01:00
Ghostkeeper
0454b37243 Fix importing math to eval
We expose only math, so it can do mathematical operations on the setting values when translating.

Contributes to issue CURA-37.
2015-12-18 10:00:00 +01:00
Ghostkeeper
bfa332e227 Fix ternary operator in import of support_enable
The ternary operator of Python is different.

Contributes to issue CURA-37.
2015-12-18 09:54:35 +01:00
Ghostkeeper
5358b700ca Fix ternary operator in import of support_enable
The ternary operator of Python is different.

Contributes to issue CURA-37.
2015-12-18 09:52:50 +01:00
Ghostkeeper
99a13ba3aa Fix getting settings from JSON file
When reading a node of a JSON file, apparently it only lists the keys instead of key-value pairs. You have to get the values separately.

Contributes to issue CURA-37.
2015-12-18 09:14:55 +01:00
Ghostkeeper
6bde0e3404 Sync translation category name from JSON
The category was named 'translation' instead of 'translations'.

Contributes to issue CURA-37.
2015-12-18 09:10:52 +01:00
Ghostkeeper
644038af97 Missing imports
Test before commit. Test before commit. Test before commit. Test before commit!

Contributes to issue CURA-37.
2015-12-18 09:06:43 +01:00
Ghostkeeper
166c8a3048 Fix call to configparser.options
It needs to have the section from which to read the options.

Contributes to issue CURA-37.
2015-12-18 09:01:22 +01:00
Ghostkeeper
abb92afc27 Fix call to prepareLocals
Turns out the 'self.' is required...

Contributes to issue CURA-37.
2015-12-17 14:54:48 +01:00
Ghostkeeper
f2a95ae89c Correct the configparser
The import was missing. Also, the parser was not called on the correct stream.

Contributes to issue CURA-37.
2015-12-17 14:30:53 +01:00
Ghostkeeper
57f5e60fa5 Fix link to LegacyProfileReader
This was preventing the entire plugin from being loaded.

Contributes to issue CURA-37.
2015-12-17 14:02:29 +01:00
Ghostkeeper
77453cf80f Remove old version of LegacyProfileReader
This shouldn't have been committed. I suspect this came in via checking out a branch where this was still on the working tree and then going to a branch where it wasn't, and it kept the files and I thought LegacySettings was the plugin I had to commit.

Contributes to issue CURA-37.
2015-12-17 14:01:42 +01:00
Ghostkeeper
513941097f Initial LegacyProfileReader plugin implementation
This plugin reads a profile from legacy Cura versions. It hasn't been tested much except that there are no syntax errors. It is currently being blocked by issue 34.

Contributes to issue CURA-37.
2015-12-17 13:49:53 +01:00
Ghostkeeper
9671ae3c74 Introduce blanco LegacySettings plugin
This plugin will be implemented to import settings from legacy versions of Cura.

Contributes to issue CURA-37.
2015-12-17 13:49:53 +01:00
Ghostkeeper
afd63c53c0 Escape characters of escape_characters dict at initialisation
Instead of escaping it each time you read a function with that ugly inline for loop, escape the characters when initialising the dict itself.

Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
a3936540d8 Move escape characters to be a static class variable
It is static and constant, so it won't need to initialise this dictionary every time it reads.

Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
6908f2c011 Move prefix length out of for loop
It is cached so it only needs to be computed once.

Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
cfa4382052 Move serialised version number to top of GCode reader/writer
The version number is more clearly exposed there.

Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
a12246781d CuraProfileWriter use SaveFile instead of streams
The SaveFile is safer since it should save the file atomically. This safety has proven important in the past so use it here too.

Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00