Commit graph

7605 commits

Author SHA1 Message Date
Casper Lamboo
f035c42f85
Merge pull request #17036 from Ultimaker/CURA-10403_revisit_auto_arrange_strategy
Cura 10403 revisit auto arrange strategy
2023-10-20 17:04:43 +02:00
c.lamboo
fa1f5a7c89 Boyscouting
CURA-11189
2023-10-20 15:10:39 +02:00
Erwan MATHIEU
1b9ad84115 Improve code readability
CURA-10403
2023-10-20 12:05:19 +02:00
c.lamboo
6f1adaad43 Make Conan/Python installs available for whole project and not just the AboutDialog
Generation of dependency list now happens in
Also cleaned up the AboutDialog.qml

CURA-10561
2023-10-19 18:39:08 +02:00
Erwan MATHIEU
0d0375d5e0 Retry auto-arrange with a few different strategies
CURA-10403
2023-10-19 16:36:19 +02:00
Erwan MATHIEU
1509e27983 Removed unused variable
CURA-10403
2023-10-19 16:03:14 +02:00
Erwan MATHIEU
1949d315e3 Minor auto-arrange improvements
CURA-10403
2023-10-19 16:02:08 +02:00
c.lamboo
0e1262126a Fix memory leak issues in minitor page
Issue was that QT (incorrectly?) asserted that there was a binding loop between width and height in the `NetworkMJPGImage` component. This caused the height to evalualte to `infinity`, making QT create a buffer with an infinite amount of memory. Solved by calculating a serpeate `img_scale_factor` which both the width and height uses.

CURA-11180
2023-10-19 11:53:41 +02:00
Erwan MATHIEU
0190fc099a
Merge branch 'main' into CURA-10783_prime_tower_with_raft 2023-10-13 14:53:24 +02:00
Erwan MATHIEU
acb0406e8e Better handling of prime tower base with raft
CURA-10783
2023-10-13 14:40:49 +02:00
Erwan MATHIEU
a91032f62e Fixed prime tower placement warning issue
CURA-10783
2023-10-13 11:37:50 +02:00
Erwan MATHIEU
0a2ee541e3 Include prime tower base size into footprint
CURA-10783
2023-10-13 09:14:41 +02:00
Fernando Pietchaki
93f2171146
Merge branch 'main' into object-reload-refactor 2023-10-12 23:41:49 -03:00
Casper Lamboo
b81e1b8741
Merge pull request #16829 from Ultimaker/CURA-10994_translations_v5p5
[CURA-10994] Translations for 5.5.x
2023-10-11 10:33:50 +02:00
c.lamboo
4eb0ba9861 re-add functions for arrange
To avoid api break
new functions are added with the depricated decorator
2023-10-10 11:39:06 +02:00
Remco Burema
c20b227e5f Prevent 'major' API/SDK version break. 2023-10-10 11:15:57 +02:00
Remco Burema
a4259c9f0f Upgrade SDK to 8.5.0 (corresponds to Cura 5.5.x). 2023-10-10 10:23:37 +02:00
c.lamboo
61d67f108d Merge branch '5.5' into CURA-10994_translations_v5p5 2023-10-09 11:31:52 +02:00
c.lamboo
98f0f9819d Remove superfluous comma from balanced description
CURA-11131
2023-10-06 12:19:44 +02:00
c.lamboo
ec1cd6b192 Add description to balanced intent
CURA-11131
2023-10-06 12:16:22 +02:00
Jaime van Kessel
82c4a10c1d
Rename "Default" intent to "Balanced"
CURA-11131
2023-10-06 11:03:49 +02:00
Remco Burema
c378be22b7 Correct for pluralize/rename typo'd filename in backend.
done as part of CURA-10994
2023-10-05 16:15:07 +02:00
Remco Burema
1e5f1d3fa5 Make it possible to have translated 'appended' settings.
Just translate them locally. See the backend (Uranium) implementation for this for more details.

done as part of CURA-10994
2023-10-05 16:07:12 +02:00
Casper Lamboo
2a8a4ad301
Merge pull request #16884 from Ultimaker/CURA-11048-unclear-support-type
Cura 11048 unclear support type
2023-10-05 09:46:56 +02:00
Casper Lamboo
4957f87f29
Merge pull request #14928 from cgobat/bugfix/raw-regex-str
Fix non-raw RegEx pattern string
2023-10-04 13:22:32 +02:00
saumya.jain
215a893c39 putting the code in right location
checked: this code only checks for support type and adhesion type and make them lowercase

CURA-11048
2023-10-04 11:19:20 +02:00
saumya.jain
5b6fea9734 if value is a string make it lowercase
CURA-11048
2023-10-04 11:05:33 +02:00
Erwan MATHIEU
3ebeb0a661 Set a brand to empty material to avoid later crash
CURA-11089
2023-09-26 13:59:45 +02:00
j.spijker@ultimaker.com
e9f316d5d9 Add logging and cleanup for backend plugins
This commit adds improved logging for backend plugins in Cura. Now,
each time a plugin is started, an info log is generated with the used
command.
All plugin output will also be logged to a separate file for easier
debugging. Additionally, a cleanup operation has been added to remove
existing plugin logs before generating a new one, to prevent the file
size from getting too large.

Contributes to CURA-11064
2023-09-20 14:45:04 +02:00
j.spijker@ultimaker.com
a9f2d879f7 "Add logging to backend plugin process"
This commit introduces logging to the backend plugin process in the Cura application. The output from the plugin process is now redirected to a log file, which is created in the application's data storage directory. This can be useful for debugging and troubleshooting purposes by providing more transparency about what's happening in the plugin process. A new dependency 'os' has been added to the 'BackendPlugin.py'. Also, the 'Resources' module has been imported from 'UM'. The changes mainly affect the way the 'subproccess.Popen' function is used - its 'stdout' and 'stderr' parameters were adjusted accordingly.

Contributes to CURA-11064
2023-09-20 14:37:35 +02:00
j.spijker@ultimaker.com
5cd233b1cf revert logging 2023-09-20 13:18:22 +02:00
c.lamboo
d4449c680f Find available port when starting backend plugin
CURA-11067
2023-09-20 11:24:28 +02:00
Remco Burema
1e360e1ea0 Output on error-stream doesn't necessarily mean an error.
done as part of CURA-11064
2023-09-19 17:34:19 +02:00
c.lamboo
63942b72a8 Log backend plugin std out
CURA-11064
2023-09-19 17:07:46 +02:00
Saumya Jain
47b4320512
Merge branch 'main' into CURA-10004_fix_crash_small_rotations 2023-09-18 15:52:12 +02:00
Erwan MATHIEU
9334447972 Do not compute a convex hull for layer data nodes
CURA-10004
2023-09-18 15:16:04 +02:00
Erwan MATHIEU
e4a6b8dd91 Revert "Remove convex hull computation when not required"
This reverts commit ab22611ecf.
2023-09-18 14:57:55 +02:00
Jelle Spijker
45510d04ed
Added ability for backend plugins to determine their usability
Modified BackendPlugin.py and StartSliceJob.py to allow plugins to decide when they should be used. The 'usePlugin'
method was added to enable a plugin to return a boolean indicating if it should be used or not, e.q.: start up and
connect to the services.

Contributes to CURA-11031
2023-09-13 07:22:07 +02:00
Erwan MATHIEU
80a8d863d6 Merge remote-tracking branch 'origin/main' into CURA-10004_fix_crash_small_rotations 2023-09-11 15:56:32 +02:00
Jelle Spijker
570d6ae916
Merge branch 'main' into CURA-10953_introduce_any_color_material 2023-09-11 15:52:13 +02:00
Erwan MATHIEU
ab22611ecf Remove convex hull computation when not required
ConvexHullDecorator is setup at node creation, so I can't see a way that this part of code is called. Moreover, it would add a decorator for a layer plan node, which actually leads to a crash.

CURA-10004
2023-09-11 15:44:07 +02:00
Remco Burema
fbd5569089 Merge remote-tracking branch 'origin/main' into CURA-10951_gh_build_curapackage 2023-09-08 18:39:27 +02:00
Jaime van Kessel
e899b9987c
Merge branch 'PP-245-high-speed-profiles' of github.com:Ultimaker/Cura into CURA-10953_introduce_any_color_material 2023-09-07 15:03:27 +02:00
Jaime van Kessel
fd887a877a
Don't sync invisible materials
CURA-10953
2023-09-07 13:48:36 +02:00
Jaime van Kessel
1a41f2650a
Don't show invisible materials in material selection
CURA-10953
2023-09-07 13:24:40 +02:00
Remco Burema
c716ff8dfe Merge branch 'main' into CURA-9494_nightly 2023-09-07 13:09:49 +02:00
c.lamboo
71dc8e22a6
Allow objects to be placed near border
Issue before was the following: when placing objects within a grid cell there is a margin around the object. This margin comes from both the integer rounding of the cell and the defined min distance between objects. When trying to place object near the buildplate border we marked any cell that is not fully within the buildplate area as an invalid cell to place objects in. This was however too strict; there is the aforementioned margin around the object, and if only this margin would be outside the buildplate it is perfectly fine to place object in that cell.

CURA-7951
2023-09-06 16:53:02 +02:00
Jaime van Kessel
331ff75315
Insert "generic color same brand" logic for qualities
So instead of always falling back to generic brand and generic color,
we first try to fall back to generic color with the same brand for qualities

CURA-10953
2023-09-06 12:55:36 +02:00
c.lamboo
68806f4226 Allow objects to be placed near border
Issue before was the following: when placing objects within a grid cell there is a margin around the object. This margin comes from both the integer rounding of the cell and the defined min distance between objects. When trying to place object near the buildplate border we marked any cell that is not fully within the buildplate area as an invalid cell to place objects in. This was however too strict; there is the aforementioned margin around the object, and if only this margin would be outside the buildplate it is perfectly fine to place object in that cell.

CURA-7951
2023-09-01 11:11:09 +02:00
c.lamboo
d2cd759e51 Merge branch 'main' into CURA-10951_gh_build_curapackage 2023-08-30 20:23:40 +02:00