23 Commits

Author SHA1 Message Date
Remco Burema
c20b227e5f Prevent 'major' API/SDK version break. 2023-10-10 11:15:57 +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
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
cfc4db00a5 Use descriptive variable name
instead of magic number

CURA-7951
2023-08-30 12:41:53 +02:00
saumya.jain
e8c06ec783 grid arrange adjusted for disallowed area
CURA-7951
2023-08-24 16:34:34 +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
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 209162fbce5dc0e5b2ff934900623691c46df233.
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