An apparatus for producing a three-dimensional shaped product in which metallic or non-metallic powder loaded on a vertically movable table is laminated while being sintered by irradiating electromagnetic waves to each layer, thereby producing a predetermined three-dimensional shaped product, and in which the following steps are sequentially repeated, that is: a step that metallic or non-metallic powder is sprayed on a base plate placed on the upper side of the vertically movable table in a shaping tank and having on the surface at least a material which can be adhered to the metallic or non-metallic powder upon solidification of the powder adjacent to the upper side by sintering and on the upper side of the table, a step that the upper-side surface of the thus sprayed powder is subjected to planarization and electromagnetic waves or electron beams are then irradiated along a layer having a predetermined thickness to a region to be shaped which is located at the uppermost position, thereby forming a sintered layer, and a step that the end part and the upper surface where the sintering has been performed are thereafter cut to effect molding, wherein a heating device or cooling device which loads the base plate supporting the sintered layer, is provided so as to form a space from the table in a vertical direction, and a base supporting a heating pipe which constitutes the heating device or a cooling pipe which constitutes the cooling device is laterally firmly fixed to a frame body or a supporting rod installed upright on the table, characterized in that the table forms an inclined state which sequentially lowers from one side of two opposing sides to the other side, the frame body or the supporting rod is supported on the other side via two perpendicular supports extending in the vertical direction, an opening and closing plate is provided between the two perpendicular supports, the opening and closing plate being capable of moving rotationally on the upper end of the two perpendicular supports. a step that metallic or non-metallic powder is sprayed on a base plate placed on the upper side of the vertically movable table in a shaping tank and having on the surface at least a material which can be adhered to the metallic or non-metallic powder upon solidification of the powder adjacent to the upper side by sintering and on the upper side of the table, a step that the upper-side surface of the thus sprayed powder is subjected to planarization and electromagnetic waves or electron beams are then irradiated along a layer having a predetermined thickness to a region to be shaped which is located at the uppermost position, thereby forming a sintered layer, and a step that the end part and the upper surface where the sintering has been performed are thereafter cut to effect molding, wherein a heating device or cooling device which loads the base plate supporting the sintered layer, is provided so as to form a space from the table in a vertical direction, and a base supporting a heating pipe which constitutes the heating device or a cooling pipe which constitutes the cooling device is laterally firmly fixed to a frame body or a supporting rod installed upright on the table, characterized in that the table forms an inclined state which sequentially lowers from one side of two opposing sides to the other side, the frame body or the supporting rod is supported on the other side via two perpendicular supports extending in the vertical direction, an opening and closing plate is provided between the two perpendicular supports, the opening and closing plate being capable of moving rotationally on the upper end of the two perpendicular supports.