Hi everyone,
Is there a small bug in regards to resource position calculations?
plt_carrier_1[0] = plate_0 = Cos_96_Rd(name = 'test_plate_1')
# Checking automated calculations
plate_0.get_2d_center_offsets()
# >>> [Coordinate(x=63.5, y=43.0, z=0)]
plate_0.center()
# >>> Coordinate(x=63.5, y=43.0, z=0)
.get_2d_center_offsets() returns a list containing a Coordinate and .center() only returns the Coordinate - that is as I’d expect it.
But .center() should calculate the center of the resource/plate in all dimensions, including z, but it doesn’t.
This means these two method return the same Coordinate even though one explicitly states it is only concerned about the “2d_center” (.get_2d_center_offsets()), leading to the assumption that the other is concerned about the “3d_center” (.center())?
Is this by design or a bug?