351 Commits

Author SHA1 Message Date
Paul Kuiper
99b6fd7616 Adjusted code to filter out the abstract colors per machine.
CURA-11634
2024-09-26 14:51:22 +02:00
Paul Kuiper
2c63e33b01 Prevent abstract color profiles to be filtered out for machines that support them.
CURA-11634
2024-09-26 13:35:55 +02:00
Erwan MATHIEU
ac8176d91e
Merge branch 'main' into CURA-11761_container_stack_cache 2024-09-05 11:35:17 +02:00
Remco Burema
d0252554c4 Make extra sure cache is emptied when objects get altered.
See the (new) cachePerInstance decorator in UM/Decorators, and the accompanying CachedMemberFunction handler-class.

part of CURA-11761
2024-09-03 18:23:41 +02:00
Frederic Meeuwissen
a18da5c9bd Only convert to yes/no if value is a boolean 2024-08-26 13:12:03 +02:00
Remco Burema
ddf4f4c6fe Also move printer name mapping to new FormatMaps utility.
done as part of CURA-12005
2024-08-01 14:33:24 +02:00
Remco Burema
b1dcfcb79d XmlMaterial: Don't 'translate' to yes when it's a cura-setting.
CURA-11940
2024-07-18 09:00:27 +02:00
Paul Kuiper
87c15b0d35 Updating name translation tables for Factor 4.
PP-470
2024-04-22 10:55:01 +02:00
c.lamboo
c8f9f179d9 Revert "Revert "Enable prime tower mode according to materials types""
This reverts commit b99762776ee6ce3fe0e8bba8724eba9ca68ec4c7.
2024-02-22 12:50:53 +01:00
c.lamboo
b99762776e Revert "Enable prime tower mode according to materials types"
This reverts commit 335a54c6d1c432e64784f95c69e77125bd0d57f1.
2024-02-22 10:47:04 +01:00
Erwan MATHIEU
e642d85fcd Merge remote-tracking branch 'origin/main' into optimized-prime-tower 2024-02-16 09:10:49 +01:00
Erwan MATHIEU
335a54c6d1 Enable prime tower mode according to materials types 2024-02-16 07:57:43 +01:00
Dmitry Gribenchuk
aff37dae3f
fix comment space 2023-12-14 11:00:06 +02:00
Dmitry Gribenchuk
8116df6c21
cleanup unused import and fix comment space 2023-12-13 20:10:28 +02:00
Paul Kuiper
55f8ef9791
Apply suggestions from code review
Change Makerbot to UltiMaker

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2023-11-06 11:31:41 +01:00
Paul Kuiper
d6d73ed6e6 - Bug fix: ensure the product names in the material files match the Makerbot Method machine definition id 2023-11-03 16:23:49 +01:00
saumya.jain
91b594b74a Merge branch 'main' of https://github.com/eMotion-Tech/Cura 2023-09-15 15:34:12 +02:00
Jaime van Kessel
fbefe42db3
Get abstract color property from metadata not from properties
Otherwise all the abstract profiles are visible

CURA-10953
2023-09-15 13:13:23 +02:00
Jaime van Kessel
1a41f2650a
Don't show invisible materials in material selection
CURA-10953
2023-09-07 13:24:40 +02:00
NicolasBOYARD
f6e6b8c748 eMotionTech - Strateo IDEX420 added to Cura
Files added to :
- definitions
- extruders
- quality
- variant
setting_version has benn updated to "21"
XML file "product_to_id.json" has been updated because "STRATEO3D" is noww a brand of 2 machines : DUAL600 and IDEX420
IDEX420 is a "IDEX" machine, so we created 3 definition files : 1 main file "strateo3d_IDEX420" and 2 inherited files "strateo3d_IDEX420_duplicate" and "strateo3d_IDEX420_mirror"
materials PA6CF and PA6GF added to both machines in quality folders
2023-03-30 12:22:50 +02:00
Remco Burema
6dc0a24311 Cache and genericize ID to Product table.
part of CURA-9931
2022-11-24 15:33:39 +01:00
Jaime van Kessel
12379b15cd Use correct key for serialized setting to keep
'recommend cleaning after n prints' instead of 'recommended cleaning after n prints'

CURA-9432
2022-06-30 16:37:26 +02:00
Remco Burema
fab86be909 Keep settings throughout reserilization process.
Save some settings Cura doesn't use, but other consumers of the file might in the metadata during deserilization, so they can be properly re-serialized whenever exported.

part of CURA-9432
2022-06-30 14:14:11 +02:00
Ghostkeeper
795814d50b
Store unmapped settings in a separate set
We don't want to create actual settings for all of these. Just store them in the profile metadata and restore them.
Serialising and deserialising these is a bit more work than what I could do now in 5 minutes so we'll have to do that a bit later, but at least for now we have the complete list.

Contributes to issue CURA-9432.
2022-06-30 09:45:45 +02:00
Jaime van Kessel
ddb87656ff Add two recently introduced material settings
CURA-9432
2022-06-29 16:24:51 +02:00
Joey de l'Arago
094c781b02
Update plugins/XmlMaterialProfile/XmlMaterialProfile.py
Co-authored-by: Remco Burema <41987080+rburema@users.noreply.github.com>
2022-05-31 15:49:57 +02:00
j.delarago
ec60325a3f Move metadata exporting to 3mf
CURA-8610
2022-05-31 12:39:00 +02:00
j.delarago
cdc08b5d54 Improve GUID check by parsing xml and getting GUID specifically inside the metadata tag.
Remove exporting materials from disabled extruders

CURA-8610
2022-05-31 10:00:25 +02:00
j.delarago
21d59e9349 Write active material metadata to ufp when saving.
Add function to fetch package_id using only information from XmlMaterialProfile material container.
The only piece of information associating the material container and the package together is the file_name. To find the package that owns a material we have to search each of the material package paths.

It would be great to find a cleaner solution (preferable one that doesn't require invalidating the cached containers).

CURA-8610
2022-05-30 17:29:59 +02:00
Remco Burema
0232b4f639 Upgrade SDK version to 8.0.0 for Cura 5.0 2022-04-20 10:57:38 +02:00
Ghostkeeper
c7d7dd11d1
Merge branch 'master' into PyQt6_upgrade
Conflicts:
	cura/PlatformPhysics.py -> Removed shapely on master, while QTimer import got updated to Qt6.
	plugins/Toolbox -> Entire folder is deleted in master, but it was updated to Qt6 here. This can all be removed.
2022-02-21 11:52:28 +01:00
Jaime van Kessel
0501b71e13 Also accept original casing to match with ID for material profile
This fixes an issue reported by Essentium. They used capitals in their
id, so it could never match that with a material profile
2022-01-17 10:53:52 +01:00
Remco Burema
6586bcc762
Qt5->Qt6: Fix cause of stack-overflow errors for newer Python/Qt.
part of CURA-8591
2021-12-29 09:23:11 +01:00
Remco Burema
8aa071056b
Now unused API field only took integers originally.
We want to keep it this way so people can still make plugins work for older versions of Cura, like 3.6, where the 'api' field with just a single major version, instead of the 'supported_sdk_versions', which can be either a version-string like '7.6.0' or a list of version strings.
2021-06-17 11:15:33 +02:00
Remco Burema
04002056ae
Update SDK/API from 7.5.0 to 7.6.0 for 4.10
CURA-8320
2021-06-15 16:08:07 +02:00
Jaime van Kessel
2d396a81c5
Remove unneeded pycapsule imports 2021-05-10 16:53:16 +02:00
Ghostkeeper
08be77adad
Increment SDK version to 7.5.0
The Cura 4.9 release will have expanded functionality. If you have a plug-in that uses this functionality, marking it as using SDK 7.5.0 will notify older Cura releases that they can't use that plug-in.
2021-04-06 13:28:08 +02:00
Philip Lorenz
352fef3efa Adapt to Python 3.9 API changes
Python 3.9 now made the TreeBuilder.start() `attrs` parameter ([1])
mandatory on all implementations. Adapt the plugin accordingly.

[1] https://bugs.python.org/issue39495
2021-01-10 20:21:40 +01:00
Remco Burema
9afbc64934
Merge branch '4.8' 2020-11-10 11:31:53 +01:00
Ghostkeeper
1927f78d5a
Publish Ultimaker 2+ Connect profiles
This is the new printer from Ultimaker.
2020-11-10 11:01:08 +01:00
Jaime van Kessel
10ed7c1288
Merge branch '4.8' of github.com:Ultimaker/Cura 2020-10-22 13:41:44 +02:00
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Ghostkeeper
6abfa38838
More fixes for PyCapsule_GetPointer race condition
One of the weirdest errors out there, and as far as I know we're the only ones suffering from it, due to having multiple packages of Python bindings created with Sip as well as having PyQt and different threads.
2020-10-16 14:26:27 +02:00
Ghostkeeper
1d5a4f5080
Remove shrinkage percentage setting alias
This alias shouldn't be written any more since the firmware misinterprets the setting value and errors when it's more than 100%.

Contributes to issue CURA-7724.
2020-09-18 12:48:02 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Ghostkeeper
0f3a977a58
Consistent typing with function this is overriding
The function in the parent class has changed its type in commit 7968fe6d56205b20be9ba47e5a19be9f5914b084. This one should also change type.
2020-06-15 13:58:12 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
5af9faf5e5 Convert doxygen to rst for X3DReader, XmlMaterialProfile, XRayView 2020-05-28 16:08:51 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports 2020-04-10 13:58:10 +02:00