The present invention provides a three-dimensional printer for determining a horizontal state of a bed. A three-dimensional printer of the present invention comprises: a printer body including a bed and supporting the bed; A molding part for molding the molding on the bed; A horizontal adjustment unit for adjusting the horizontal of the bed; A mirror body that is mounted on the bed and has a liquid containing portion for receiving the light reflecting liquid; a mirror portion which is supported by the housing body and is disposed in parallel with the light reflecting liquid accommodated in the liquid containing portion in parallel with the light reflecting liquid; A horizontal detection unit having a detection light projection part for projecting detection light between the liquid and the mirror part and a detection light reception part arranged opposite to the detection light projection part to receive the detection light; And a control unit for determining a horizontal state of the bed based on a light reception signal from the detection light receiving unit.
展开▼