Commit graph

5880 commits

Author SHA1 Message Date
Lipu Fei
4bb6962302 Rename model checker property to hasWarnings
CURA-5237
2018-04-16 17:20:40 +02:00
Lipu Fei
62521e93db Make sure that project writer runs on Qt thread
CURA-5229

 - Move @call_on_qt_thread to a separate module
 - Make sure that project writer runs on Qt thread because itself and the
   calls it makes can create new QObjects such as InstanceContainers, and
   this must happen on the Qt thread.
2018-04-16 15:32:12 +02:00
fieldOfView
d9034a6c85 Only respond to left mouse button 2018-04-15 12:08:49 +02:00
Ian Paschal
85ebe741a8 CURA-5035 Don't show authors with 0 packages 2018-04-13 17:27:57 +02:00
Ian Paschal
523518020c CURA-5035 Better linking between Toolbox and CuraPluginManager 2018-04-13 16:25:01 +02:00
Lipu Fei
4b27d036bc
Merge pull request #3659 from Ultimaker/fix_gcode_line_width
Adjust filament diameter to calculate line width in the gcode parser
2018-04-13 10:38:47 +02:00
Ian Paschal
5d395f549a CURA-5035 Added already installed plugins 2018-04-12 17:22:50 +02:00
Ghostkeeper
1769a69792
Don't crash Cura when material file is wrongly formatted
That was the whole point of this change. Instead degrade gracefully. It won't load the material file but give an error message saying that the material is corrupt. Then it won't be able to load the stack as well because the material doesn't exist, and give an error about the stack as well.

Contributes to issue CURA-5045.
2018-04-12 16:56:05 +02:00
Ghostkeeper
e96c50a582
Fall back to FDMPrinter if definition can't be loaded
Some of the settings will be different. But at least it won't crash.

Contributes to issue CURA-5045.
2018-04-12 16:54:21 +02:00
Diego Prado Gesto
1a6a39da93 CURA-5197 Add log output with number of models in the buildplate after
slice.
2018-04-12 16:53:00 +02:00
Ghostkeeper
942afe2c3f
Merge branch '3.3' into feature_show_config_errors 2018-04-12 16:20:42 +02:00
Lipu Fei
0f966115e6 WIP: Make CuraPackageManager aggregate PluginRegistry data
CURA-4644
2018-04-12 15:46:53 +02:00
Ian Paschal
f510603cb5 CURA-5035 Enjoy Lipu 2018-04-12 15:43:25 +02:00
Lipu Fei
6d2e49c228 Merge remote-tracking branch 'origin/3.3' 2018-04-12 14:04:29 +02:00
Ian Paschal
e13c45daee CURA-5035: Clean-up 2018-04-12 14:03:53 +02:00
Mark Burton
e50be5cbe7 No! G90 does not command absolute extrusion, M82 does that. 2018-04-12 13:44:27 +02:00
Diego Prado Gesto
01c846dbd8
Merge pull request #3651 from smartavionics/mb-fix-gcode-reader-g90
No! G90 does not command absolute extrusion, M82 does that.
2018-04-12 13:40:32 +02:00
Ian Paschal
6e9f7174b6 Merge branch 'feature_material_marketplace' of https://github.com/Ultimaker/Cura into feature_material_marketplace 2018-04-12 13:34:09 +02:00
Lipu Fei
74a9ac6ba7 Fix installPlugin in toolbox
CURA-4644
2018-04-12 13:30:24 +02:00
Ian Paschal
0abc925f3d CURA-5035 Removing logic 2018-04-12 13:07:24 +02:00
Lipu Fei
596e0be7b6 CuraPackageManager handles packages and plugins
CURA-4644
2018-04-12 12:57:58 +02:00
Ian Paschal
87c194178d CURA-5035 Added fake material showcase model 2018-04-12 12:49:31 +02:00
Diego Prado Gesto
2d30315ecf CURA-5220 Skip storing the settings in the GCode if they already are. 2018-04-12 11:49:38 +02:00
Mark Burton
b7b48927c2 Append a \n to each saved line of gcode otherwise the whole file ends up as one line! 2018-04-12 11:49:19 +02:00
Diego Prado Gesto
2df95b6e35
Merge pull request #3655 from smartavionics/mb-fix-gcode-reader-missing-newlines
Append a \n to each saved line of gcode otherwise the whole file ends up as one line!
2018-04-12 11:30:16 +02:00
Diego Prado Gesto
03ec123c3c Use the correct filament diameter to calculate line width in the gcode
parser.
2018-04-12 11:00:43 +02:00
Mark Burton
da1790fd37 Append a \n to each saved line of gcode otherwise the whole file ends up as one line! 2018-04-11 17:08:55 +01:00
Ian Paschal
594e9aa414 Cura-5035 Further style improvements 2018-04-11 17:05:16 +02:00
Ian Paschal
a947b768d3 CURA-5035 Re-implemented "installed" view 2018-04-11 14:59:59 +02:00
Ghostkeeper
0f148dd2e2
Merge branch '3.3' 2018-04-11 13:31:59 +02:00
Ghostkeeper
7d806e7ae9
Fix rendering before the extruder number decoration is set
If a render is triggered before this decorator is set it would crash. The rest of the code is robust against this being None, but here it would give a TypeError.
2018-04-11 11:59:54 +02:00
Ian Paschal
80c21acf79 Merge branch 'CURA-4644-package-reader' into feature_material_marketplace 2018-04-11 11:08:50 +02:00
Ian Paschal
94b15b0498 Merge branch 'CURA-4644-package-reader' into feature_material_marketplace 2018-04-11 11:08:18 +02:00
Ian Paschal
bd6acc7502 CURA-5035 More style improvements 2018-04-11 11:02:33 +02:00
Mark Burton
c4a9c38c33 No! G90 does not command absolute extrusion, M82 does that. 2018-04-11 09:12:22 +01:00
Mark Burton
f023f6ea13 Add comment. 2018-04-11 08:54:17 +01:00
Mark Burton
1ce5920d48 Fix holes in spiralized objects that can occur at start of layer.
The gcode reader assumed that each layer starts with a move to the initial position but
for spiralized code that isn't true because the previous layer always ends up in the right
location. So we now start each layer with a fake move to the end position of the previous layer.
This won't actually cause a real move to occur but it ensures that the first line segment
in the new layer has the correct initial point.
2018-04-11 08:28:13 +01:00
Ian Paschal
1ddde146dd CURA-5137 Download URL works now 2018-04-10 17:14:44 +02:00
JPFrancoia
a14d594909 - Solve https://github.com/Ultimaker/Cura/issues/3608.
- Now account for raft layers when choosing "Pause at layer no".

- Now positions the nozzle at (X, Y) of the next layer when resuming.

- Cleaning code
2018-04-10 16:09:04 +01:00
Ian Paschal
3c7760b514 CURA-5035 Code organization 2018-04-10 16:54:32 +02:00
Ian Paschal
d4cc4659d8 CURA-5035 More styling & layout 2018-04-10 16:07:39 +02:00
Mark
586cb0a405 change default setting 2018-04-10 16:04:48 +02:00
Lipu Fei
40eedbcf70 Add more info dialog
CURA-5204
2018-04-10 15:33:32 +02:00
Lipu Fei
0fbb067508 Clean up code in SliceInfo
CURA-5204

 - Remove some unused imports
 - Do not depend on ExtruderManager
2018-04-10 13:34:59 +02:00
Lipu Fei
107c10b860 Merge branch '3.3' 2018-04-10 11:41:13 +02:00
Ian Paschal
7359554641 Implimented showcase 2018-04-10 11:05:34 +02:00
Ian Paschal
817b724994 Added author and material views 2018-04-09 15:55:56 +02:00
Lipu Fei
95c6258d0f Handle plugin not found due to mixed plugin metadata
CURA-5202

Plugin metadata that comes from the plugin server is also saved into
PluginRegistry's metadata collection, so it's all mixed. Plugins that
are just installed cannot be loaded immediately, and this causes an
error in checkCanUpgrade().
2018-04-09 15:10:25 +02:00
Lipu Fei
4615c756a7 More clear error handling for container deserialization
CURA-5045

 - If a container cannot be deserialized in project loading, it should fail
   right on the spot because even if it continues, it still won't work.
 - In other places, at least log deserialization errors if any of them show
   up.
2018-04-09 14:51:05 +02:00
fieldOfView
2def68edab Merge branch 'master' into fix_usb_rapid_commands
# Conflicts:
#	cura/PrinterOutput/GenericOutputController.py
2018-04-09 14:49:12 +02:00