Ghostkeeper
1428f67798
Rename machines_with_machine_quality to machinesWithMachineQuality
...
As per the code style conventions. Sorry, I'm used to other conventions in one of my own projects.
Contributes to issue CURA-844.
2016-08-09 18:06:23 +02:00
Ghostkeeper
36f84017cf
Move _machines_with_machine_quality to VersionUpgrade21to22
...
It's going to need to be used by the upgrader of machine instances as well, that's why.
Contributes to issue CURA-844.
2016-08-09 18:06:23 +02:00
Ghostkeeper
7481f0802e
Split profiles into multiple if new printer has material profiles
...
If the old profile didn't specify any material, it would be global. But if the new machine specifies that its profiles are material-specific, these profiles have to be split into multiple profiles in order to be able to show them in Cura 2.2.
Contributes to issue CURA-844.
2016-08-09 18:06:23 +02:00
Ghostkeeper
af86375ba3
Output arrays of files rather than a single file
...
This is needed because the version upgrade system now allows for a version upgrader to output any number of files.
Contributes to issue CURA-844.
2016-08-09 18:06:23 +02:00
fieldOfView
c7a120edd5
Merge branch 'master' of https://github.com/Ultimaker/Cura
2016-08-09 09:56:40 +02:00
fieldOfView
f817d30abc
Change colour to color for consistency
2016-08-09 09:56:23 +02:00
Jaime van Kessel
87a0543d0c
Added bit more logging to USBConnection
...
This should make the debugging easier out in the field.
2016-08-09 09:37:31 +02:00
fieldOfView
2c61fe3249
Tweak layout of Per Object Settings
...
CURA-1799
2016-08-08 15:41:20 +02:00
fieldOfView
ca2daae6ab
Add a "show all" toggle to the select per object setting window
...
This way the user can add a setting that is not made visible in the sidebar. Adding a specific setting no longer needs a detour through the setting visibility preference page.
CURA-1799
2016-08-08 15:11:38 +02:00
fieldOfView
36abe075cf
Restyle categories in add per object settings visibility dialog
...
... to match the Setting Visibility preference page
CURA-1799
2016-08-08 14:24:38 +02:00
fieldOfView
7020fd6903
Allow adding multiple per object settings at once
...
This reuses the "GUI pattern" of the main setting visibility page.
CURA-1799
2016-08-08 14:23:39 +02:00
fieldOfView
7326d77605
Fix broken backend plugin on Windows
2016-08-08 12:30:47 +02:00
fieldOfView
6ab3939f75
Fix broken backend plugin on Windows
2016-08-08 12:12:06 +02:00
Thomas Karl Pietrowski
9bd59a4eaa
Merge pull request #901 from thopiekar/master-linux-fallback-path
...
Scanning for CuraEngine and stop if it was not found
2016-08-08 10:47:49 +02:00
Thomas Karl Pietrowski
42db29d86a
Removing the stray @awhiemstra mentioned
2016-08-08 10:47:19 +02:00
Thomas Karl Pietrowski
7c3b6814d0
Removing strays
2016-08-08 10:45:41 +02:00
fieldOfView
4de5360ac5
Use Logger.log instead of Logger.logException
...
CURA-1923
2016-08-08 10:43:48 +02:00
Thomas Karl Pietrowski
ecd80974f7
CURA-1923: Just something I missed
...
Forgot to remove 'self' from 'super().__init__()'
2016-08-07 09:04:24 +02:00
Thomas Karl Pietrowski
dbe1d140c4
Removing old function
2016-08-07 08:54:58 +02:00
Thomas Karl Pietrowski
e5ff77bc5c
Showing less traceinfo
2016-08-07 08:17:31 +02:00
Thomas Karl Pietrowski
8e92cb4c91
CURA-1923: Don't return a complete traceback on HTTPError
...
As discussed on GitHub we don't need a complete traceback on HTTPError.
However URLError should return a full traceback, like any other
exception that might occur.
2016-08-07 08:16:22 +02:00
Thomas Karl Pietrowski
7c6df5a485
Merge branch 'master' of https://github.com/Ultimaker/Cura.git into master-CURA-1923
2016-08-06 20:32:27 +02:00
Ghostkeeper
021a33d6bd
Always set value of added setting instance
...
The value property was sometimes not set. In the default case, this just added an empty setting instance (for a particular key), which appeared to do nothing until you've changed it. This appears correct because if it's not changed then it should be the same as the extruder's value, but if you then change the extruder's value it doesn't update its visible value but still has no value in the setting instance, so the value still falls back to the extruder and the setting ends up different from what is being displayed.
Contributes to issue CURA-1988.
2016-08-05 17:30:22 +02:00
fieldOfView
ea3e2225ed
Don't pass support_angle to shader unless it is valid
...
CURA-2058
2016-08-05 15:23:47 +02:00
Ghostkeeper
51d972941e
Handle rounding errors in stack_nr
...
Wouldn't want it to index extruder '1.0'.
Contributes to issue CURA-2067.
2016-08-05 12:05:01 +02:00
Ghostkeeper
92b154f5fe
More defensive check for global_inherits_stack extruder
...
This should never give the keyerror any more and always default back to non-global_inherits_stack mode.
Contributes to issue CURA-2067.
2016-08-05 11:59:32 +02:00
Jack Ha
2402ba3d0e
Bed temperature is now either a resolved value or a global value.
...
Contributes to CURA-2007
2016-08-04 14:30:48 +02:00
Ghostkeeper
de7f32da19
Convert global_inherits_stack to int before slicing
...
Sometimes it was accidentally converted to a float when it passes through Javascript.
Contributes to issue CURA-2055.
2016-08-04 13:25:51 +02:00
Ghostkeeper
ee95e90b4b
Fix display update bug in per-object panel
...
Setting .value creates a new Python attribute in the object. Setting with setProperty creates the setting property, like we wanted.
Contributes to issue CURA-2011.
2016-08-04 12:36:33 +02:00
Ghostkeeper
d97c9f6e4c
Don't use extruder fallback on single-extrusion machines
...
Due to a gnawing feeling in the back of my head, I tested this with an UM2 and adding settings failed there. This fixes it.
Contributes to issue CURA-2011.
2016-08-04 11:36:45 +02:00
Ghostkeeper
eeec460635
Merge branch 'feature_support_bottoms'
2016-08-03 17:40:28 +02:00
Ghostkeeper
df1b6b8e88
Only get from extruder if global_inherits_stack is valid
...
Sometimes it is set to give -1 for some settings.
Contributes to issue CURA-2040.
2016-08-03 10:27:17 +02:00
Ghostkeeper
f568014e67
Add setting with value from support extruder stack
...
Upon adding the setting (making it visible) it takes the setting from the support extruder stack. It doesn't update afterwards.
Contributes to issue CURA-2011.
2016-08-02 16:49:38 +02:00
Ghostkeeper
5bd3d83c9e
Fix typos in documentation
...
Contributes to issue CURA-2011.
2016-08-02 16:49:38 +02:00
Arjen Hiemstra
0f1c59c925
Properly catch when either extruder or global quality is not properly set
...
Cornercase, but it avoids bubbling odd error messages to the UI.
Fixes CURA-1997
2016-08-02 15:20:03 +02:00
Arjen Hiemstra
b97b694f41
Force recreating the socket when using external-backend
...
This may recreate the socket with a new port number but at least it
recreates the socket now.
Partially fixes CURA-1877
2016-08-02 13:58:16 +02:00
Tim Kuipers
401e302ad5
Merge branch 'master' into feature_support_bottoms
2016-08-02 12:46:44 +02:00
fieldOfView
0f9b989ae8
Revert "Show "ghosts" for all objects on the buildplate in layerview"
...
This reverts commit b765855ba5d3bb96d7113e485e34c4e8b8f3cd49.
2016-08-02 12:30:22 +02:00
Arjen Hiemstra
186cd2034c
Remove forced setting of extruder 0 on component complete
...
This would force the object's extruder to 0 every time the per object
panel would update, causing the extruder to be reset.
Fixes CURA-2026
2016-08-02 11:42:04 +02:00
Thomas Karl Pietrowski
32880a093e
And again double quotes..
2016-08-02 09:37:17 +02:00
Thomas Karl Pietrowski
6b61fdbe5c
Using double quotes of course
2016-08-02 08:49:09 +02:00
Thomas Karl Pietrowski
fb1b199c6a
Moving self.executableName into __init__ as executable_name
2016-08-02 08:47:48 +02:00
fieldOfView
b765855ba5
Show "ghosts" for all objects on the buildplate in layerview
...
CURA-1601
2016-08-01 17:33:00 +02:00
Ghostkeeper
f759b24034
Add translations for support roof to support interface
...
These setting names were changed.
Contributes to issue CURA-1013.
2016-08-01 15:03:14 +02:00
Ghostkeeper
70acdb168b
Automate removing settings from old profiles for renames
...
So we don't have to edit the actual code for simple setting renames.
2016-08-01 14:56:18 +02:00
Thomas Karl Pietrowski
92983636b0
Use self.executableName in __init__
2016-08-01 12:29:57 +02:00
Thomas Karl Pietrowski
34e8b4635b
Scanning for CuraEngine and stop if it was not found
...
So far I ran 2 or 3 times into the problem that my engine was not up to
date. The bad thing here is that there is always an updated version from
my PPA on the PC. So first this commit gives the possibility to look for
CuraEngine in the $PATH directories. Before I had to copy it always
manually, eg. via "cp $(which CuraEngine) bin/CuraEngine" in my
workbench.
Second, people can get into the situation that CuraEngine is missing at
all. So before making Cura loop and try to use an executable that does
not exist, better raise an Exception here.
An additional info message tells about the location being used.
Does not contribute to any JIRA issue (I think), but makes my life
easier.
2016-08-01 12:28:00 +02:00
Thomas Karl Pietrowski
c6e727ada9
Merge branch 'master' of https://github.com/Ultimaker/Cura.git into master-CURA-1923
2016-08-01 11:04:48 +02:00
fieldOfView
96ac27d1c3
Remove 3MF repair message
...
CURA-1223
2016-08-01 10:50:04 +02:00
Aldo Hoeben
437f8f1df7
Merge pull request #893 from thopiekar/master-CURA-1223
...
[CURA-1223] 3MFReader: Doing selftest and fail on broken files
2016-08-01 10:31:50 +02:00