Open
Description
Application Version
CuraEngine, master
Platform
Linux, CuraEngine run from the command line (ENABLE_ARCUS off)
Qt
N/A
PyQt
N/A
Display Driver
N/A
Steps to Reproduce
- Attempt to slice an STL of a 10 mm cube touching (0,0,0) cube.stl
- Run CuraEngine from the command line with the following switches:
- mesh_position_x = 0
- mesh_position_y = 0
- mesh_position_z = 0
- mesh_rotation_matrix = "[[1,0,0], [0,1,0], [0,0,1]]"
- machine_depth = 282
- machine_width = 282
- center_object = false
- mesh_position_x = 0
- mesh_position_y = 0
Actual Results
In the resulting GCODE, the cube is in the center of the bed. This can be seen from the console output:
;MINX:141.25
;MINY:141.25
;MINZ:0.4
;MAXX:150.75
;MAXY:150.75
;MAXZ:9.9
Expected results
Because "center_object" is false, I expect:
;MINX:-0.25
;MINY:-0.25
;MINZ:0.4
;MAXX:9.75
;MAXY:9.75
;MAXZ:9.9
Additional Information
Changing "center_object" to "true" behaves exactly the same as when it is "false". This parameter seems to be ignored.
As a workaround, it is possible to set "mesh_position_x" to be equal to "-machine_width/2" and "mesh_position_y" to "-machine_depth/2", but this is a workaround for the fact that "center_object" seems to always be active.