Commit graph

118 commits

Author SHA1 Message Date
Ghostkeeper
6c4c7fff4d
Use findContainersMetadata whenever possible
This ensures that we only load those containers that we actually need the data of.

Contributes to issue CURA-4243.
2017-10-20 15:09:45 +02:00
Lipu Fei
052ea7d90a Force use and update the job name with the loaded project file
CURA-4348

- If no project is loaded beforehand and then a model file is loaded,
  the job name should be determined with the current machine name and
  the first loaded model name.
- If a project is loaded, the job name should be the same as the project
  name, and it should not change until another project is loaded.
2017-10-12 07:59:43 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Diego Prado Gesto
f139bbe3f1 Fixed some missed references to the previous variables - CURA-4232 2017-09-15 16:05:24 +02:00
alekseisasin
98ab571483 Removed 14bitVoid code accord to a new LGPL license
CURA-4232
2017-09-14 18:03:31 +02:00
Lipu Fei
4507f6c8e2 Update job name prefix when machine is changed
CURA-4305
2017-09-11 12:39:59 +02:00
Diego Prado Gesto
c3d6023418 Fixed an issue that doesn't generate the jobname again once the user removes the models. - CURA-4276 2017-09-08 16:22:45 +02:00
Lipu Fei
b0916e4b67 Fix job name mismatching
CURA-4276
2017-09-06 18:09:19 +02:00
Jaime van Kessel
8472830fb9 Fix adding machine prefix
CURA-4276
2017-09-05 13:30:42 +02:00
Jaime van Kessel
204e1ee834 PrintJobname is now only set when it was empty or if it's set to empty
CURA-4276 fixes #2346
2017-09-05 11:41:30 +02:00
Jaime van Kessel
e40f60a52b Changed profile names
CURA-3777
2017-05-15 16:52:25 +02:00
14bitVoid
69a95e37a5 Show time estimates per feature in tooltip 2017-05-05 01:34:09 +02:00
14bitVoid
f15aa66751 Receive time estimates per feature 2017-05-05 00:05:17 +02:00
Ghostkeeper
86f1a0559f
Add documentation and further specify except around disconnecting signals
Catch just a TypeError instead of all exceptions. Added documentation to say why we catch a TypeError there. Also splitted up the try-except block for the 3 disconnects, just so that if the first fails we still try to disconnect from the other two.

Contributes to issue CURA-3497.
2017-05-03 14:56:52 +02:00
Jaime van Kessel
f062322ebf Switching from dual extrusion to single extrusion machine is now possible again
CURA-3497
2017-05-03 10:59:07 +02:00
Jack Ha
3135dc7d77 Solved MC 2017-03-30 16:20:08 +02:00
Jaime van Kessel
13561bdb46 material_amounts is now defined in init
Somehow this was forgotten, which could cause issues in certain cases.

CURA-3617
2017-03-30 10:47:11 +02:00
jack
3a255b341f Merge pull request #1586 from fieldOfView/fix_radius0
Fix crash when editing material diameter
2017-03-29 10:43:41 +02:00
fieldOfView
ba06f06cd0 Optimize code 2017-03-28 20:17:51 +02:00
fieldOfView
67d66905ba Fix crash when editing material diameter
While editing the diameter value in the materials pane, it can happen that the radius evaluates to 0. This led to a division by zero.

Fixes https://github.com/Ultimaker/Cura/issues/1582
2017-03-26 14:08:07 +02:00
Jaime van Kessel
e2045b2805 Starting Cura when no machines added but with a model no longer causes exceptions 2017-03-15 10:00:11 +01:00
Jaime van Kessel
c0cdddd098 Cura no longer crashes when NaN is recieved for printtime from engine
CURA-3516
2017-03-14 09:59:55 +01:00
Lipu Fei
2ac4a7aca9 CURA-3482 _onMaterialMetaDataChanged() should take argument(s) 2017-03-09 14:17:25 +01:00
Jaime van Kessel
9ceda261b7 Setting an empty printjob name no longer causes a single prefix to be added.
CURA-3387
2017-02-21 14:01:30 +01:00
Jaime van Kessel
033c08d3ff CreateJob name no longer adds the same abbreviation multiple times
Contributes to CURA-3387
2017-02-21 13:30:44 +01:00
Simon Edwards
cb400f0257 Fix for a recent merge problem. 2017-02-14 13:36:03 +01:00
Simon Edwards
eb43806d7a Merge branch 'master' into python_type_hinting 2017-01-27 15:37:30 +01:00
Jack Ha
06a42d98ee Fix PrintInformation if somehow no active material container is found 2017-01-25 16:06:13 +01:00
Ghostkeeper
a8efde9450 Merge pull request #1243 from fieldOfView/feature_material_cost
Implement material cost
2017-01-24 15:54:57 +01:00
Simon Edwards
fb70eb6813 Merge branch 'master' into python_type_hinting 2017-01-17 08:42:55 +01:00
Simon Edwards
16a748e0d6 Merge pull request #1326 from Ultimaker/big_flame_graph
Support for the Big Flame Graph profiler
2017-01-12 14:25:18 +01:00
Simon Edwards
a5181f157e Applied the profiler's pyqtSlot decorator to all of the code. 2017-01-10 13:35:39 +01:00
fieldOfView
6f06e9b320 Update material costs in slice info area when changing material settings
(without reslicing)
2017-01-09 15:24:20 +01:00
fieldOfView
a83c397d69 Show material cost in Job Specs area...
...if weight/price information is available
2017-01-03 11:05:32 +01:00
Victor Larchenko
1631045d7a D5: Refactoring 2016-12-23 15:53:16 -05:00
Victor Larchenko
1139b31900 T466: Shortened long filenames 2016-12-23 15:53:16 -05:00
nickthetait
87eb1e44f4 Update labeling for T466 2016-12-23 15:53:16 -05:00
Victor Larchenko
84add5be84 T466: Added disabling of view button 2016-12-23 15:53:15 -05:00
Victor Larchenko
9da00563e5 T553: Fixed job name 2016-12-23 15:53:15 -05:00
Victor Larchenko
8987aa2048 T466: Revert the previous commit since it messed up the file rights. 2016-12-23 15:53:15 -05:00
Victor Larchenko
64d7bb0c2a T466: Added ability to print loaded gcode 2016-12-23 15:53:14 -05:00
Simon Edwards
98a6568313 Merge branch 'master' into python_type_hinting 2016-11-22 11:15:04 +01:00
Simon Edwards
14afd9eab7 Heaps to changes to get the Cura code through the type checker (with minimal checking).
CURA-2917
2016-11-21 21:36:08 +01:00
fieldOfView
54d07ae29b Fix error when no machine is active 2016-09-28 14:20:58 +02:00
Jaime van Kessel
ed9a7da17e Ensure that name abbreviation is correctly set when creating jobname
CURA-2469
2016-09-28 11:39:52 +02:00
fieldOfView
1f53ce0d4d Fix weight calculation
CURA-1038
2016-07-22 13:43:26 +02:00
Jaime van Kessel
c2fab4da47 Print information handles single extrusion machines correctly again
CURA-1931 and CURA-1038
2016-07-18 10:25:51 +02:00
Jaime van Kessel
7a43164654 Both material weights & lengths are now exposed
CURA-1038
2016-07-15 15:49:25 +02:00
Jaime van Kessel
806197f56b Only basename is used for the name
CURA-1680
2016-07-15 12:10:09 +02:00
Jaime van Kessel
318182495a We now recieve material estimation per extruder
CURA-1687
2016-07-04 17:11:03 +02:00