Lipu Fei
a43900b0ad
Fix version upgrade for XMLMaterialProfile
...
CURA-5995
2019-01-07 11:17:12 +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
fieldOfView
9ac744b9ba
Remove unnecessary import and declaration of i18n in plugins
2018-10-03 22:00:24 +02:00
Lipu Fei
1fb6441327
Fix default hardware type NOZZLE in XML material
...
CURA-5716
2018-09-11 11:20:00 +02:00
Jaime van Kessel
d9e23bf02b
Fix issue caused by making metadata of containerNode private
2018-09-11 10:42:42 +02:00
Aleksei S
fe9cada459
Increase plugin API version to 5
...
CURA-5627
2018-08-27 13:59:00 +02:00
Lipu Fei
066a00653a
Add one more layer to the decision tree
2018-08-02 17:15:34 +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
8f7370db6c
Merge remote-tracking branch 'origin/master' into feature_send_material_profiles
2018-07-02 12:37:56 +02:00
Ghostkeeper
a401c1d64f
Disambiguate between list of metadatas and metadata
...
Because MyPy doesn't allow a variable to change its type later.
Contributes to issue CURA-5330.
2018-06-15 17:03:04 +02:00
Diego Prado Gesto
dc4556647a
CURA-5330 Fix code style in XmlMaterialProfile plugin
2018-06-14 16:49:26 +02:00
Ghostkeeper
bb366afc2b
Merge branch 'master' into feature_send_material_profiles
2018-06-13 16:57:16 +02:00
Ghostkeeper
dd750ce125
Fix serializing flow-temperature graph
...
This graph needs to have its own format in the XML material profiles, which wasn't implemented.
Contributes to issue CURA-5034.
2018-06-12 16:37:59 +02:00
Ghostkeeper
d5878772e8
Fix reading flow temperature graph from XML files
...
These have their own nice little subtags that we don't even parse.
Contributes to issue CURA-5034.
2018-06-12 16:12:03 +02:00
Ghostkeeper
2dcb185a32
First ask the printer which profiles it already has
...
Only let the printer have one profile per GUID and make sure it's the one with the highest version.
Contributes to issue CURA-5034.
2018-06-12 12:50:33 +02:00
Ghostkeeper
54a03723ab
Set encoding correctly when opening files everywhere
...
Otherwise the encoding is interpreted differently on Windows and Mac.
2018-06-11 11:09:07 +02:00
Diego Prado Gesto
e5699918ea
CURA-5444 Also get the metadata even if the material was marked as not
...
compatible.
2018-06-08 12:03:46 +02:00
Diego Prado Gesto
2a3eed30ab
CURA-5444 Always create the instance of the material even if it is not
...
compatible, otherwise it will never show as
incompatible if the material profile doesn't define hotends in the
machine.
2018-06-08 11:21:17 +02:00
Ghostkeeper
efe4d3734d
Add documentation
...
Done during issue CURA-5034.
2018-06-07 15:49:23 +02:00
Diego Prado Gesto
97a1aa1a2b
Fix a crash in MaterialManager when the brand of the material is None.
...
Fix other possible cases when the type or the color are also None.
2018-06-07 10:54:23 +02:00
Ghostkeeper
f5a7707139
Show ConfigurationErrorMessage when loading faulty XML files
...
This is consistent with the rest of Cura's behaviour.
2018-05-25 11:24:31 +02:00
Diego Prado Gesto
ba234f5c8a
Remove debug prints
2018-05-23 09:38:16 +02:00
Diego Prado Gesto
b8417bcccb
If the label tag exists in the xml material file, but without any string
...
in it, the label.text return None and then it makes Cura crashing when
creating the models.
This is intended to fix the issue #3750
2018-05-23 09:34:21 +02:00
ChrisTerBeke
ddc9da63b8
Still raise exception when loading incorrect material file
2018-05-16 19:22:02 +02:00
ChrisTerBeke
c13b77d8a1
Do not load material when no GUID is present instead of crashing Cura
2018-05-16 19:18:09 +02:00
Ghostkeeper
6d3fed8f52
Allow getContainer() to return None
...
And in the rest of the locations we must then check if it's None and handle that gracefully.
Here we assume that the getContainer message shows a message to the user if necessary. For now we'll just log it.
Contributes to issue CURA-5045.
2018-03-26 15:48:03 +02:00
fieldOfView
251e24fedc
Merge branch 'master' into feature_xmlmaterials_cura_settings
2018-03-23 14:57:31 +01:00
fieldOfView
e7ca4f327e
Fix reading and writing yes/no as boolean values
2018-03-22 16:55:12 +01:00
fieldOfView
a85c42c246
Merge branch 'master' into feature_xmlmaterials_cura_settings
2018-03-21 21:51:52 +01:00
Jack Ha
9ea59c1976
CURA-4557 rename ratio percentage to percentage
2018-03-20 17:07:03 +01:00
Jack Ha
9848c07a0e
Merge branch 'master' into feature_model_check
2018-03-19 14:11:37 +01:00
Lipu Fei
98b325c9d5
Fix material serialization crash
2018-03-15 14:54:37 +01:00
Jack Ha
d0609e97e4
CURA-4557 added material_shrinkage_ratio_percentage setting
2018-03-15 11:19:14 +01:00
Lipu Fei
86afd6f5ff
Do not overwrite existing metadata with in material deserializeMetadata()
...
CURA-5056
2018-03-14 10:32:57 +01:00
Lipu Fei
493bfb6b17
Fix material serialization
...
CURA-5086
2018-03-13 16:37:04 +01:00
Lipu Fei
c54679ba2d
Gix buildplate handling in Material profile
...
CURA-4606
2018-03-12 15:25:29 +01:00
Lipu Fei
2c5cc17b49
Fix build plate compatibility check
...
CURA-5078
2018-03-12 10:34:18 +01:00
Lipu Fei
75d9297c7d
Optimize 3MF writer and XML material serialization
...
CURA-5049
2018-03-06 17:05:58 +01:00
fieldOfView
0578e74e71
Merge branch 'master' into feature_xmlmaterials_cura_settings
...
# Conflicts:
# plugins/XmlMaterialProfile/XmlMaterialProfile.py
2018-03-06 11:40:58 +01:00
Lipu Fei
6c42b662c8
Add doc for apply_to_all in XMLMaterialProfile
2018-03-05 10:54:01 +01:00
Lipu Fei
1e467b66c0
Fix protected variable access
2018-03-05 10:22:11 +01:00
Lipu Fei
2567642626
Remove outdated TODO
2018-03-03 16:13:35 +01:00
Lipu Fei
a5afaab467
WIP: Fix material duplication and metadata update
2018-02-16 14:23:11 +01:00
Lipu Fei
f024f45cfe
WIP: Rework Material management page
2018-02-16 14:23:11 +01:00
Lipu Fei
20e0f8a82a
WIP: Fix material serialization
2018-02-16 14:23:11 +01:00
Lipu Fei
4af176dbf3
WIP: Rename function to getVariantNode()
2018-02-16 14:23:11 +01:00
Lipu Fei
55bdc0c853
WIP: Create VariantManager
2018-02-16 14:20:02 +01:00
Lipu Fei
86eb9b925f
WIP: Use variant_name in metadata for XMLMaterialProfile
2018-02-16 14:20:02 +01:00
Jaime van Kessel
b4a1b97eda
Removed warning that caused massive spam
2018-02-06 14:37:39 +01:00