Commit graph

7605 commits

Author SHA1 Message Date
Remco Burema
fa08848152
Merge pull request #15496 from Ultimaker/CURA-7951_lock_rotation
Add option to arrange in grid
2023-08-30 13:31:42 +02:00
c.lamboo
586739c547 Avoid bool-trap
CURA-7951
2023-08-30 13:06:19 +02:00
c.lamboo
afc1ba78f5 Remove debugging utility function
CURA-7951
2023-08-30 12:52:27 +02:00
c.lamboo
3e39bbdabd Typo
CURA-7951
2023-08-30 12:51:03 +02:00
c.lamboo
38a5754c6f Mark method functions as private
CURA-7951
2023-08-30 12:47:56 +02:00
c.lamboo
b3b5ffbf55 Put try catch around actual arranging
`arrange` is the function that _could_ fail

CURA-7951
2023-08-30 12:45:34 +02:00
c.lamboo
cfc4db00a5 Use descriptive variable name
instead of magic number

CURA-7951
2023-08-30 12:41:53 +02:00
Jelle Spijker
81b2aeaf4e
Merge branch 'main' into CURA-9494_nightly 2023-08-29 22:52:54 +02:00
Fernando Pietchaki
6aeb59eb15 Refactor object reload to handle 3mf files
Refactor object reload to better handling of 3mf files

Make a single file read for all objects from that file, and then
replace the objects in scene to the new ones, matching by name.

This is also required for an Uranium update to handle the automatic
file reload when a file change is detected.

3mf Files can have multiple objects in them. When that is the case,
and the file is updated, all objects from that file where being
replaced by the first object in the file.
2023-08-29 15:06:27 -03:00
Jelle Spijker
87b6ad63a7 Merge remote-tracking branch 'origin/main' into CURA-10951_gh_build_curapackage
# Conflicts:
#	conanfile.py
2023-08-29 16:13:39 +02:00
c.lamboo
6e045e8b37 Put back getAnyExtruderPositionWithOrDefault api function
CURA-10685
2023-08-29 14:11:36 +02:00
Casper Lamboo
f3b2a05f49
Merge pull request #16589 from Ultimaker/CURA-10685_improve_ui_performance
CURA-10685_improve_ui_performance
2023-08-29 10:55:41 +02:00
fieldOfView
eecdceffdb Fix available height when adding modifier mesh in One at a Time printing
Cura lowers the available build volume height when more than 1 model is loaded. This count should include grouped nodes as one (since they will be slice as one and thus not affect the gantry), and should not include modifier meshes or support meshes (since support-meshes are always printed with the first model anyway).

Fixes https://github.com/Ultimaker/Cura/issues/16566
2023-08-28 15:42:04 +02:00
c.lamboo
2ffcfa37e9 Merge branch 'main' into CURA-10475_engineplugin 2023-08-28 10:42:23 +02:00
saumya.jain
ab8b7c3ab5 name changes
CURA-10685
2023-08-25 15:46:30 +02:00
saumya.jain
9129a526ba improve number of iterations
CURA-10685
2023-08-25 11:58:27 +02:00
saumya.jain
11ea4639c9 Merge branch 'CURA-7951_lock_rotation' of https://github.com/Ultimaker/Cura into CURA-7951_lock_rotation 2023-08-24 16:34:55 +02:00
saumya.jain
e8c06ec783 grid arrange adjusted for disallowed area
CURA-7951
2023-08-24 16:34:34 +02:00
c.lamboo
34aa631531 Re-add arrange to CuraApplication
CURA-7951
2023-08-24 16:13:39 +02:00
c.lamboo
ac78de1227 Updated comments
CURA-7951
2023-08-24 11:55:25 +02:00
Saumya Jain
1e7c975929
Merge branch 'CURA-7951_lock_rotation' into optimal_offset 2023-08-24 11:54:19 +02:00
saumya.jain
1591a2a0c3 ctrl+z for grid
CURA-7951
2023-08-24 11:48:43 +02:00
c.lamboo
719b11655c Fix ctrl+z issues
CURA-7951`
2023-08-24 11:24:21 +02:00
Erwan MATHIEU
09d4f083e0 Include adhesion for 1-at-a-time exclusion shadow
CURA-10307
2023-08-24 11:15:34 +02:00
c.lamboo
f67a6970dd Find optimal offset for grid arrange
CURA-7951
2023-08-24 08:33:59 +02:00
c.lamboo
668038c59f Implement factory for Arrange
CURA-7951
2023-08-23 17:58:00 +02:00
saumya.jain
118f49a052 review comments fixed
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-23 15:39:23 +02:00
saumya.jain
4096fc864b grid placement available for elliptical buildplates
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-22 15:06:17 +02:00
saumya.jain
b662da732e review comments fixed
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-22 11:51:30 +02:00
saumya.jain
7449e2137c objects placed with an offset to the grid
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-22 11:26:43 +02:00
saumya.jain
2089462cd8 place objects outside grid
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-22 11:16:02 +02:00
saumya.jain
b62725b4f0 copy_paste in a grid
arrange all objects in grid
place in grid

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-22 10:30:51 +02:00
saumya.jain
b91ebcbb36 multiplying objects place them in a grid
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>

CURA-7951
2023-08-21 18:51:08 +02:00
saumya.jain
df69ccadb5 Revert "multiplying objects place them in a grid"
This reverts commit 209162fbce.
2023-08-21 18:45:40 +02:00
saumya.jain
209162fbce multiplying objects place them in a grid
CURA-7951
2023-08-21 17:31:29 +02:00
saumya.jain
023dd3a9c5 Merge remote-tracking branch 'origin/main' into CURA-7951_lock_rotation
# Conflicts:
#	resources/i18n/cs_CZ/cura.po
#	resources/i18n/cura.pot
#	resources/i18n/de_DE/cura.po
#	resources/i18n/es_ES/cura.po
#	resources/i18n/fi_FI/cura.po
#	resources/i18n/fr_FR/cura.po
#	resources/i18n/hu_HU/cura.po
#	resources/i18n/it_IT/cura.po
#	resources/i18n/ja_JP/cura.po
#	resources/i18n/ko_KR/cura.po
#	resources/i18n/nl_NL/cura.po
#	resources/i18n/pl_PL/cura.po
#	resources/i18n/pt_BR/cura.po
#	resources/i18n/pt_PT/cura.po
#	resources/i18n/ru_RU/cura.po
#	resources/i18n/tr_TR/cura.po
#	resources/i18n/zh_CN/cura.po
#	resources/i18n/zh_TW/cura.po
2023-08-21 10:10:25 +02:00
Jelle Spijker
6424c26f78
Show warning message when using nightly build
Only shown in builds, for alpha versions

 Contributes to CURA-9494
2023-08-20 19:41:58 +02:00
Jelle Spijker
7efe485f65
Show version in Title bar except for actual releases
Contributes to CURA-9494
2023-08-20 19:24:38 +02:00
Jelle Spijker
fa52469f5d
Make popen kwargs OS specific
Contribute to CURA-10619
2023-08-17 08:13:50 +02:00
jellespijker
023f2f6e0f Merge remote-tracking branch 'origin/main' into CURA-10475_engineplugin 2023-08-17 00:16:32 +02:00
jellespijker
55d27bd0af Don't create shell windows when starting plugin
Contribute to CURA-10619
2023-08-17 00:15:32 +02:00
Jelle Spijker
8cc54b0d89
Add missing catalog to BackendPlugin
Contribute to CURA-10619
2023-08-16 16:08:05 +02:00
Jelle Spijker
b483537c43
Explicitly use address for plugin_command
Contributes CURA-10619
2023-08-16 14:26:54 +02:00
Saumya Jain
8ebf9282cf
Merge pull request #16304 from Ultimaker/fix_required_plugins
Move the required plugins list to before it's actually checked
2023-08-15 12:43:00 +02:00
Jelle Spijker
f634a5bd44 Send over plugin name and version
Might be needed during the handshake between engine and plugin

Contributes to CURA-10619
2023-08-15 11:27:15 +02:00
c.lamboo
0667230055 Merge branch 'main' into CURA-10475_engineplugin 2023-08-11 10:20:11 +02:00
Jelle Spijker
dead016ed9 Add error messages to BackendPlugin and enhance exception handling
Exception handling in BackendPlugin has been improved by adding
user-friendly error messages for various exceptions. Errors during
backend plugin start or stop will now trigger a message to the user,
providing more context about the cause of the failure. This makes it
easier for users to understand and resolve possible issues. In addition,
 the EngineBackend stop function has been modified to forcibly stop all
 running backend plugins instead of allowing multiple plugins to run
 simultaneously.
2023-08-10 05:56:24 +02:00
c.lamboo
511f05c392 Don't arrange in paste when no objects were present in the clipboard
CURA-7913
2023-08-08 12:27:51 +02:00
c.lamboo
c393d915d7 Disable copy paste when either 3mf reader or writer is disabled
CURA-7913
2023-08-08 12:17:08 +02:00
c.lamboo
f8b3fb3d67 Move parse/write responsibility of copy/paste to 3MFWriter/3MFReader
CURA-7913
2023-08-07 13:41:01 +02:00