Ghostkeeper
b3b59d5a5c
Add typing
2019-04-26 15:42:22 +02:00
Lipu Fei
6892307be3
Fix typo
2019-04-05 10:49:36 +02:00
Ghostkeeper
bd1712cb10
Spelling fix: Overriden -> Overridden
...
I think some of us got the spelling of this word wrong in their heads.
2019-04-04 14:39:01 +02:00
Lipu Fei
53c38e0a80
Fix quality_changes container handling in project loading
...
CURA-6441
Containers are created but not added...
2019-04-04 09:21:22 +02:00
Jaime van Kessel
91cceea6e0
Fix the situation where an upgraded single extrusion machine and loading project caused issues
...
If the upgraded single extrusion machine was never activated, it would not have it's extruders set.
CURA-6252
2019-02-28 16:17:34 +01:00
Remco Burema
954fdb20ad
Rename 'connect_group_name' to 'group_name'. [CURA-6153]
2019-01-31 20:21:42 +01:00
Lipu Fei
dff9a3dfb2
Fix None problem in project loading
2018-12-18 10:52:11 +01:00
Lipu Fei
6992fd2991
Update plugin versions to match package versions
...
CURA-6019
2018-12-17 13:03:21 +01:00
Ghostkeeper
c235f339ae
Increment API version to 6
...
All plug-ins now have to re-check whether they are still compatible with the current version of Cura.
Contributes to issue CURA-6019.
2018-12-14 17:29:02 +01:00
Lipu Fei
8e33a19ca7
Fix quality changes lookup in project loading
...
CURA-5899
Should always use custom quality profile names to look up.
2018-11-06 13:31:04 +01:00
Diego Prado Gesto
94ef0b92fe
Fix typo in the getCompatibleMaterialDiameter function.
...
Contributes to CURA-5834.
2018-10-23 10:25:13 +02:00
Lipu Fei
ea10d5e608
Rename to comptabileMaterialDiameter
...
CURA-5834
This property returns the material diameter an extruder is compatible
with, so this makes it more clear.
2018-10-19 11:36:12 +02:00
Ghostkeeper
4c6744b6fc
Code style: Space around binary operators
...
I just looked for lines with interpolation = None because I was looking for another possible bug, but fixing this in the meanwhile too.
2018-10-10 14:28:50 +02:00
Jaime van Kessel
f628b63c29
Merge branch '3.5' of github.com:Ultimaker/Cura
2018-09-11 15:50:26 +02:00
Jaime van Kessel
4f30dffaf9
Ensure that when a corrupt 3mf file is loaded, the "failed to load" message will pop up
2018-09-11 12:58:00 +02:00
Jaime van Kessel
e7d9f0ce45
Added typing for various setting classes
2018-09-10 15:24:11 +02:00
Mark
baef0350cd
Cleaned up MIME types
2018-08-29 14:41:38 +02:00
Mark
c48a5474f0
remove .curaproject from the extensions and just use .3mf
...
CURA-5650
2018-08-29 13:42:26 +02:00
Aleksei S
fe9cada459
Increase plugin API version to 5
...
CURA-5627
2018-08-27 13:59:00 +02:00
Lipu Fei
af64d91587
Fix stack handling in project loading
...
CURA-5663
2018-08-21 16:07:17 +02:00
Aleksei S
57f04d8940
Load 3mf projects
...
CURA-5570
2018-08-09 15:39:10 +02:00
Lipu Fei
a303f394c8
Move VariantType to VariantType.py
...
Less circular dependencies for imports.
2018-08-02 16:11:55 +02:00
Ian Paschal
320d73c6e5
Retain 3MF mesh positions
...
Contributes to CURA-5465
Fixed bug by preventing read jobs for 3mf files from being auto-arranged.
Boyscout changes:
- Fixed typo in `ThreeMFReader.py` (`splitted` → `split`)
- Fixed code style in `CuraApplication.py` (`filename` → `file_name`)
2018-07-24 12:17:53 +02:00
Lipu Fei
af02dc2758
Only use setMetaDataEntry()
2018-07-11 11:14:57 +02:00
Lipu Fei
9c40b1de92
Remove code that is likely for debugging
...
CURA-5545
2018-07-06 15:13:07 +02:00
Diego Prado Gesto
762a1b1bfd
Fix code-style
2018-07-03 12:06:06 +02:00
Diego Prado Gesto
0692192d58
Merge branch '3.4'
2018-07-02 09:10:57 +02:00
Lipu Fei
dc8d9e0f96
Merge branch 'master' into mypy_fixes
2018-06-29 13:45:55 +02:00
Diego Prado Gesto
56c7c6f2b2
CURA-5518 Check whether the the findDefinitionContainers return any
...
element or not.
2018-06-29 10:41:54 +02:00
Jaime van Kessel
b4f59a7822
Removed unneeded application reference in construction of meshreaders
2018-06-29 09:25:38 +02:00
Ghostkeeper
0cb6e506d2
Rewrite code style of _getScaleFromUnit
...
It should be much more readable now.
Discovered while investigating #3847 .
2018-06-28 16:39:53 +02:00
Diego Prado Gesto
eca23e5b5d
CURA-5330 Fix typing in 3MFReader plugin
2018-06-13 16:48:08 +02:00
Lipu Fei
83fcc60bee
Show message for unknown machines in project files
...
CURA-5337
Do not crash on loading project files with unkown machine types. Show a
message instead.
2018-06-11 07:52:34 +02:00
Lipu Fei
12a406529e
Fix inconsistent curaproject mimetype definition
...
CURA-5334
- In project file writer, it says the mime type is "application/x-curaproject+xml",
and we decided to use this as THE mime type.
- Pass preferred_mimetype to save project file dialog so it
automatically adds the file extension upon open.
2018-06-07 14:42:36 +02:00
Lipu Fei
3a7a1dbc6d
Fix inconsistent curaproject mimetype definition
...
CURA-5334
- In project file writer, it says the mime type is "application/x-curaproject+xml",
and we decided to use this as THE mime type.
- Pass preferred_mimetype to save project file dialog so it
automatically adds the file extension upon open.
2018-06-07 12:51:54 +02:00
Ghostkeeper
8202b62343
Merge branch '3.4'
2018-06-07 11:38:13 +02:00
Ghostkeeper
624bbbeb4a
Account for the fact that createMachine can return None
...
Contributes to issue CURA-5337.
See also #3787 .
2018-06-07 11:37:48 +02:00
Lipu Fei
7f7a195627
Fix merge conflicts from 3.4
2018-06-05 09:02:52 +02:00
Lipu Fei
39b71add07
Reader classes are responsible for adding their mime types
...
CURA-5367
2018-06-05 08:35:24 +02:00
Jack Ha
c6ac344ed5
Merge branch '3.4'
2018-06-04 11:40:03 +02:00
Aleksei S
4922988e7d
Added .3mf extension to the MimeType
...
CURA-5367
2018-06-04 11:11:02 +02:00
Diego Prado Gesto
ddd7b056f3
CURA-5164 Make the mesh readers compliant with the new signature of the mesh reader. Also adapt the tests.
2018-05-23 17:17:41 +02:00
Diego Prado Gesto
8ad409ff55
Merge branch 'master' into WIP_improve_initialization
2018-05-14 15:15:02 +02:00
Diego Prado Gesto
43657010ba
CURA-5164 The Preferences is not a singleton class anymore since in some point
...
several instances need to be created.
- In the ThreeMFWorkspaceReader we need to create some temporal
instances of Preferences that makes it not singleton anymore.
- The current preferences are kept in the Application class and so all
the calls to the preferences are changed to get the preferences from
Application.
- The method getInstance in Preferences is kept as deprecated since some
external plugins.
2018-05-11 08:50:42 +02:00
Aleksei S
9779c41071
Use MimeTypeDatabase to find loaded file extension and set proper project name
...
CURA-5323
2018-05-08 10:47:59 +02:00
Lipu Fei
53495604f8
Merge remote-tracking branch 'origin/feature_show_config_errors'
2018-04-19 15:38:29 +02:00
Mark
f61efb8e20
resolve merge conflict
2018-04-17 10:39:35 +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
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