JP2018001655A - Shaping device, shaping method, and shaping processing program - Google Patents

Shaping device, shaping method, and shaping processing program Download PDF

Info

Publication number
JP2018001655A
JP2018001655A JP2016133625A JP2016133625A JP2018001655A JP 2018001655 A JP2018001655 A JP 2018001655A JP 2016133625 A JP2016133625 A JP 2016133625A JP 2016133625 A JP2016133625 A JP 2016133625A JP 2018001655 A JP2018001655 A JP 2018001655A
Authority
JP
Japan
Prior art keywords
modeling
position information
unit
replica
duplicate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016133625A
Other languages
Japanese (ja)
Other versions
JP6834198B2 (en
Inventor
宜之 夏川
Nobuyuki Natsukawa
宜之 夏川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2016133625A priority Critical patent/JP6834198B2/en
Publication of JP2018001655A publication Critical patent/JP2018001655A/en
Application granted granted Critical
Publication of JP6834198B2 publication Critical patent/JP6834198B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To prevent deviation generated in a shaping start position when restarting shaping that is stopped temporarily so as to improve the shaping quality.SOLUTION: A shaping processing part controls a shaping part to produce a duplicate of a shaped article based on three-dimensional position information of the shaped article. An acquisition part acquires first position information showing three-dimensional position of the duplicate in interruption of shaping. A production part controls the shaping part to detect the three-dimensional position of the duplicate when restarting the shaping after the interruption and produces second position information showing the detected three-dimensional position of the duplicate. A correction part produces corrected position information acquired by correcting the first information so that the three-dimensional position shown by the first position information becomes a shaping restart position of the duplicate based on a difference between the first position information and the second position information. Then, a restart processing part controls the shaping part to restart the shaping of the duplicate at the three-dimensional position shown by the corrected position information.SELECTED DRAWING: Figure 4

Description

本発明は、造形装置、造形方法、及び、造形処理プログラムに関する。   The present invention relates to a modeling apparatus, a modeling method, and a modeling processing program.

今日において、試作品等の複製物の造形(RP:Rapid Prototyping又はRM:Rapid Manufacturing)が可能となる3次元プリンタ装置(3Dプリンタ装置)が知られている。この3Dプリンタ装置は、CAD(Computer Aided Design)等で作成した3DモデルデータをSTL(Standard Triangulated Language)ファイルに変換する。また、3Dプリンタ装置は、STLファイルをGコード(Gcode)に変換し、このGコードに基づいて、軸の移動及び座標系の設定等を行いながら複製物を造形する。   2. Description of the Related Art Nowadays, a three-dimensional printer device (3D printer device) capable of modeling a replica such as a prototype (RP: Rapid Prototyping or RM: Rapid Manufacturing) is known. This 3D printer device converts 3D model data created by CAD (Computer Aided Design) or the like into an STL (Standard Triangulated Language) file. Further, the 3D printer apparatus converts the STL file into a G code (Gcode), and forms a copy while moving the axis and setting the coordinate system based on the G code.

また、近年、STLファイルの他、AMF(Additive Manufacturing File)ファイルも使用できる3Dプリンタ装置が知られている。また、3Dプリンタと3Dスキャンにより較正を検出して複製物を造形する、光造形のような造形手法も知られている。   In recent years, 3D printer apparatuses that can use AMF (Additive Manufacturing File) files in addition to STL files are known. A modeling technique such as stereolithography is also known, in which calibration is detected by a 3D printer and 3D scanning to model a replica.

また、自動停止機能を備えた3Dプリンタ装置において、3Dプリント時のプレビュー時に自動停止位置を入力して停止させた後、造形を再開する機能を備えた3Dプリンタ装置も知られている。このような自動停止機能を備えた3Dプリンタ装置は、造形を自動停止させて、複製物をインサートする等の処理を行うことができる。   A 3D printer apparatus having an automatic stop function is also known which has a function of restarting modeling after inputting and stopping an automatic stop position during preview during 3D printing. A 3D printer apparatus having such an automatic stop function can perform processing such as automatically stopping modeling and inserting a duplicate.

しかし、自動停止機能を備えた3Dプリンタ装置は、以下の問題がある。すなわち、造形の途中で複製物を3Dプリンタ装置から取り外し、再度、複製物を3Dプリンタ装置に設置して造形を再開する場合、複製物の元の設置位置と再設置位置との間に3次元位置のズレが生ずると、複製物の造形品質に悪影響を及ぼす問題がある。また、造形中の発熱等により複製物の設置位置にズレが生じた場合、複製物の造形品質に悪影響を及ぼす問題がある。   However, the 3D printer device having the automatic stop function has the following problems. That is, when the replica is removed from the 3D printer apparatus during modeling, and the replica is set again on the 3D printer apparatus and modeling is resumed, the three-dimensional pattern is placed between the original installation position and the re-installation position of the replica. When the position shift occurs, there is a problem that adversely affects the quality of the replica. In addition, when a deviation occurs in the installation position of the duplicate due to heat generation during modeling, there is a problem that adversely affects the modeling quality of the duplicate.

本発明は、上述の課題に鑑みてなされたものであり、複製物の造形再開位置を高精度に調整し、造形品質を向上させることができる造形装置、造形方法、及び、造形処理プログラムの提供を目的とする。   The present invention has been made in view of the above-described problems, and provides a modeling apparatus, a modeling method, and a modeling processing program that can adjust the modeling resuming position of a duplicate with high accuracy and improve modeling quality. With the goal.

上述した課題を解決し、目的を達成するために、本発明は、造形物の3次元位置情報に基づいて、造形物の複製物を生成するように造形部を制御する造形処理部と、造形中断時における複製物の3次元位置を示す第1の位置情報を取得する取得部と、造形中断後の造形再開時において、複製物の3次元位置を検出するように造形部を制御し、検出された複製物の3次元位置を示す第2の位置情報を生成する生成部と、第1の位置情報及び第2の位置情報の差異に基づいて、第1の位置情報で示される3次元位置が複製物の造形再開位置となるように、第1の情報を補正した補正位置情報を生成する補正部と、補正位置情報で示される3次元位置から複製物の造形を再開するように、造形部を制御する再開処理部とを有する。   In order to solve the above-described problems and achieve the object, the present invention provides a modeling processing unit that controls the modeling unit so as to generate a replica of the modeled object based on the three-dimensional position information of the modeled object, and modeling An acquisition unit that acquires first position information indicating the three-dimensional position of the duplicate at the time of interruption, and a modeling unit that detects the three-dimensional position of the duplicate at the time of resuming the modeling after the modeling interruption, and detection A three-dimensional position indicated by the first position information based on a difference between the first position information and the second position information, and a generation unit that generates second position information indicating the three-dimensional position of the copied material So as to resume the modeling of the replica from the three-dimensional position indicated by the correction position information and the correction unit that generates the corrected position information by correcting the first information so that A restart processing unit for controlling the unit.

本発明によれば、複製物の造形再開位置を高精度に調整し、造形品質を向上させることができるという効果を奏する。   ADVANTAGE OF THE INVENTION According to this invention, there exists an effect that the modeling resumption position of a replica can be adjusted with high precision and modeling quality can be improved.

図1は、第1の実施の形態の造形装置の外観を示す図である。FIG. 1 is a diagram illustrating an appearance of the modeling apparatus according to the first embodiment. 図2は、第1の実施の形態の造形装置のハードウェア構成図である。FIG. 2 is a hardware configuration diagram of the modeling apparatus according to the first embodiment. 図3は、第1の実施の形態の造形装置のソフトウェア構成を示す図である。FIG. 3 is a diagram illustrating a software configuration of the modeling apparatus according to the first embodiment. 図4は、第1の実施の形態の造形装置の機能ブロック図である。FIG. 4 is a functional block diagram of the modeling apparatus according to the first embodiment. 図5は、3Dスキャンデータ又は3Dモデルデータのフォーマットの一例を示す図である。FIG. 5 is a diagram illustrating an example of a format of 3D scan data or 3D model data. 図6は、熱溶解積層法で造形物が造形されている様子を示す図である。FIG. 6 is a diagram illustrating a state in which a model is modeled by the hot melt lamination method. 図7は、造形条件を説明するための図である。FIG. 7 is a diagram for explaining the modeling conditions. 図8は、造形物の積層ピッチを説明するための図である。FIG. 8 is a diagram for explaining a stacking pitch of a modeled object. 図9は、積層ピッチ及び造形方向の違いについて説明するための図である。FIG. 9 is a diagram for explaining the difference between the stacking pitch and the modeling direction. 図10は、造形処理動作の流れを示すフローチャートである。FIG. 10 is a flowchart showing the flow of the modeling process operation. 図11は、マッチング処理の流れを示すフローチャートである。FIG. 11 is a flowchart showing the flow of the matching process. 図12は、第1の実施の形態の造形装置の造形部におけるスキャン動作を説明するための図である。FIG. 12 is a diagram for explaining a scanning operation in the modeling unit of the modeling apparatus according to the first embodiment. 図13は、第2の実施の形態の造形装置の造形部におけるスキャン動作を説明するための図である。FIG. 13 is a diagram for explaining a scanning operation in the modeling unit of the modeling apparatus according to the second embodiment. 図14は、第2の実施の形態の造形装置の造形部のカメラ装置で撮像された撮像画像を示す図である。FIG. 14 is a diagram illustrating a captured image captured by the camera device of the modeling unit of the modeling apparatus according to the second embodiment. 図15は、第3の実施の形態の造形装置の造形部におけるスキャン動作を説明するための図である。FIG. 15 is a diagram for explaining a scanning operation in the modeling unit of the modeling apparatus according to the third embodiment.

以下、図面に基づいて実施の形態の造形装置の説明をする。   Hereinafter, the modeling apparatus of the embodiment will be described based on the drawings.

(3Dプリンタのハードウェア構成)
図1は、実施の形態の造形装置の外観を示す図である。また、図2は、実施の形態の造形装置のハードウェア構成図である。図1及び図2に示す造形装置1は、CPU20、ROM21、RAM22、HDD23、入出力I/F24、操作パネル25、表示部26及び造形部27を備える。CPU20〜造形部27は、それぞれバスライン28を介して相互に接続されている。
(Hardware configuration of 3D printer)
FIG. 1 is a diagram illustrating an appearance of a modeling apparatus according to an embodiment. FIG. 2 is a hardware configuration diagram of the modeling apparatus according to the embodiment. The modeling apparatus 1 illustrated in FIGS. 1 and 2 includes a CPU 20, a ROM 21, a RAM 22, an HDD 23, an input / output I / F 24, an operation panel 25, a display unit 26, and a modeling unit 27. The CPU 20 to the modeling unit 27 are connected to each other via a bus line 28.

CPU20は、3Dプリンタ12全体の動作を制御する。記憶部であるROM21、RAM22及びHDD23は、後述するプログラム及びアプリケーション、ファイル、情報等を記憶する。また、RAM22は、CPU20に対して作業空間を提供する。   The CPU 20 controls the overall operation of the 3D printer 12. The ROM 21, RAM 22, and HDD 23, which are storage units, store programs and applications, files, information, and the like described later. The RAM 22 provides a work space for the CPU 20.

操作パネル25は、ユーザによる造形開始、造形停止及び造形再開等の入力操作を受け付ける。表示部26は、例えば液晶パネルとなっており、3Dスキャンデータ及び造形に使用する3Dモデルデータの他、操作メニュー及びメッセージ等を表示する。一例ではあるが、操作パネル25及び表示部26は、両者が一体的に形成された、いわゆるタッチパネルとなっている。造形部27は、上述の熱溶解積層法、光造形法又は粉末法等を用いて造形物を造形する。   The operation panel 25 receives input operations such as modeling start, modeling stop, and modeling restart by the user. The display unit 26 is, for example, a liquid crystal panel, and displays operation menus, messages, and the like in addition to 3D scan data and 3D model data used for modeling. Although it is an example, the operation panel 25 and the display part 26 are what is called a touch panel in which both were integrally formed. The modeling unit 27 models a modeled object using the above-described hot melt lamination method, optical modeling method, powder method, or the like.

また、造形部27は、3Dスキャン機能を備えており、複製元となる造形物を3Dスキャン処理し、造形物の複製物を形成するための3Dモデルデータを生成する。また、複製物の造形が一旦中断され、再開される際に、造形途中の複製物を3Dスキャン処理して3Dスキャンデータを生成する。なお、以下、複製元となる造形物を3Dスキャン処理して生成したデータを「3Dモデルデータ」という。また、複製物の造形を一旦中断し、再開時に複製物を3Dスキャン処理して生成したデータを「3Dスキャンデータ」という。   The modeling unit 27 has a 3D scanning function, and performs 3D scanning processing on a modeled object that is a replication source, and generates 3D model data for forming a replica of the modeled object. Further, when the modeling of the replica is temporarily interrupted and resumed, the replica in the middle of modeling is subjected to 3D scan processing to generate 3D scan data. Hereinafter, data generated by performing the 3D scan process on the modeled object as the replication source is referred to as “3D model data”. Also, data generated by temporarily suspending the modeling of the replica and performing the 3D scan process on the replica at the time of restart is referred to as “3D scan data”.

図3は、3Dプリンタ12に記憶されているプログラム及び情報等を示す図である。この図3に示すように、3Dプリンタ12には、オペレーションシステム(OS)、造形処理プログラム、3Dモデルデータ、3Dスキャンデータ、造形停止時位置情報、及び、造形再開時位置情報等が記憶される。   FIG. 3 is a diagram showing programs and information stored in the 3D printer 12. As shown in FIG. 3, the 3D printer 12 stores an operation system (OS), a modeling process program, 3D model data, 3D scan data, modeling stop position information, modeling restart position information, and the like. .

このようなプログラム及び情報の記憶場所は、任意でよい。一例として、この実施の形態の造形装置1の場合、OSは、ROM21に記憶されている。また、造形処理プログラム、3Dモデルデータ、3Dスキャンデータ、造形停止時位置情報、及び、造形再開時位置情報は、HDD23に記憶される。なお、これらのプログラム及び情報を、造形装置1がアクセス可能な外部記憶装置、又は、ネットワークを介して通信可能な他の機器或いはデータベース等に記憶して用いてもよい。   The storage location of such a program and information may be arbitrary. As an example, in the case of the modeling apparatus 1 according to this embodiment, the OS is stored in the ROM 21. The modeling processing program, 3D model data, 3D scan data, modeling stop position information, and modeling restart position information are stored in the HDD 23. In addition, you may memorize | store and use these programs and information in the external storage device which the modeling apparatus 1 can access, the other apparatus or database etc. which can communicate via a network.

(造形装置の機能構成)
図4は、造形装置1の機能ブロック図である。造形装置1のCPU20は、例えばHDD23に記憶されている造形処理プログラムを実行することで、図4に示す各機能を実現する。具体的には、CPU20は造形処理プログラムを実行することで、第1の読み込み部31、第2の読み込み部32、制御部33、スキャン制御部34、位置情報処理部35、補正部36及び造形処理部37を実現する。
(Functional configuration of modeling equipment)
FIG. 4 is a functional block diagram of the modeling apparatus 1. CPU20 of the modeling apparatus 1 implement | achieves each function shown in FIG. 4 by running the modeling process program memorize | stored in HDD23, for example. Specifically, the CPU 20 executes the modeling process program, thereby causing the first reading unit 31, the second reading unit 32, the control unit 33, the scan control unit 34, the position information processing unit 35, the correction unit 36, and the modeling. The processing unit 37 is realized.

第1の読み込み部31は、これから複製物を形成する造形物の3DモデルデータをHDD23から読み込む。また、第1の読み込み部31は、複製物の造形を一旦停止した際に、複製物の位置情報(造形停止時位置情報)を取得する。複製物は、HDD23から読み込まれた3Dモデルデータに基づいて形成される。このため、第1の読み込み部31は、複製物の造形が一旦停止された際に、複製物の造形に用いていた3Dモデルデータ(停止直前の3Dモデルデータ)を、造形停止時位置情報として取得する。   The first reading unit 31 reads from the HDD 23 the 3D model data of a model that will form a replica. In addition, the first reading unit 31 acquires the position information of the replica (position information at the time of modeling stop) when the modeling of the replica is temporarily stopped. The duplicate is formed based on the 3D model data read from the HDD 23. For this reason, the first reading unit 31 uses the 3D model data (3D model data immediately before the stop) used for modeling the replica as the modeling stop position information when the modeling of the replica is temporarily stopped. get.

第2の読み込み部32は、複製物の造形を一旦停止し、造形を再開する際に、複製物を3Dスキャンすることで得られた3Dスキャンデータ(造形再開時位置情報)をHDD23から読み込む。制御部33は、操作パネル25を介して指示される、造形開始指示、造形停止指示、及び、造形再開指示等に従って、造形開始処理、造形停止処理、及び、造形再開処理等を行う。   When the second reading unit 32 temporarily stops the modeling of the duplicate and restarts the modeling, the second reading unit 32 reads 3D scan data (position information at the time of modeling restart) obtained by performing the 3D scan of the replica from the HDD 23. The control unit 33 performs a modeling start process, a modeling stop process, a modeling restart process, and the like according to a modeling start instruction, a modeling stop instruction, a modeling restart instruction, and the like that are instructed via the operation panel 25.

スキャン制御部34は、造形部27の3Dスキャン制御を行う。位置情報処理部35は、造形停止時及び造形再開時における複製物の3次元の各位置を示す造形停止時位置情報及び造形再開時位置情報の記憶処理を行う。補正部36は、造形停止時位置情報及び造形再開時位置情報の差分に基づいて、複製物の造形再開位置を補正するための補正情報を生成する。造形処理部37は、複製物の造形処理及び3Dスキャン処理を行い、造形再開時には、補正部36により算出された造形再開位置から複製物の造形を再開する。これにより、複製物の造形を一旦停止した後に造形を再開する場合でも、複製物の設置位置のズレから造形再開位置にズレを生じ、造形品質が下がる不都合を防止できる。   The scan control unit 34 performs 3D scan control of the modeling unit 27. The position information processing unit 35 performs storage processing of the position information at the time of modeling stop and the position information at the time of restart of modeling indicating the three-dimensional positions of the replica at the time of modeling stop and at the time of restart of modeling. The correction unit 36 generates correction information for correcting the modeling restart position of the duplicate based on the difference between the modeling stop position information and the modeling restart position information. The modeling processing unit 37 performs modeling processing and 3D scanning processing of the duplicate, and restarts modeling of the replica from the modeling restart position calculated by the correction unit 36 when modeling is resumed. Thereby, even when modeling is resumed after the modeling of the replica is temporarily stopped, it is possible to prevent a problem that the modeling quality is deteriorated due to a shift from the shift of the setting position of the replica to the modeling restart position.

なお、この例では、第1の読み込み部31〜造形処理部37は、造形処理プログラムにより、ソフトウェア的に実現されることとして説明を進める。しかし、第1の読み込み部31〜造形処理部37のうち、一部又は全部を、IC(Integrated Circuit)等のハードウェアで実現してもよい。   In this example, the first reading unit 31 to the modeling processing unit 37 are described as being realized by software by the modeling processing program. However, some or all of the first reading unit 31 to the modeling processing unit 37 may be realized by hardware such as an IC (Integrated Circuit).

また、造形処理プログラムは、インストール可能な形式または実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)等のコンピュータ装置で読み取り可能な記録媒体に記録して提供してもよい。また、造形処理プログラムは、CD−R、DVD、ブルーレイディスク(登録商標)、半導体メモリ等のコンピュータ装置で読み取り可能な記録媒体に記録して提供してもよい。DVDは、「Digital Versatile Disk」の略記である。また、造形処理プログラムは、インターネット等のネットワーク経由でインストールするかたちで提供してもよい。さらには、造形処理プログラムは、機器内のROM等に予め組み込んで提供してもよい。   Further, the modeling processing program may be provided by being recorded on a recording medium readable by a computer device such as a CD-ROM or a flexible disk (FD) in an installable or executable format file. The modeling processing program may be provided by being recorded on a recording medium readable by a computer device such as a CD-R, a DVD, a Blu-ray disc (registered trademark), or a semiconductor memory. DVD is an abbreviation for “Digital Versatile Disk”. The modeling processing program may be provided in the form of being installed via a network such as the Internet. Furthermore, the modeling processing program may be provided by being incorporated in advance in a ROM or the like in the device.

(3Dモデルデータ及び3Dスキャンデータのフォーマット)
図5に、複製物を3Dスキャンすることで生成される3Dスキャンデータ、又は、複製元となる造形物を3Dスキャンすることで生成される3Dモデルデータの一例を示す。造形部27は、複製元となる造形物の表面を3次元的に読み取り、造形物の表面形状の情報となる3Dスキャンデータを生成する。この3Dスキャンデータが、造形物の複製を形成するための3DモデルデータとしてHDD23に記憶される。一例として、造形部27は、例えば図5に示すように三次元の頂点の位置(座標)を指定した三角形データの集合によるSTL(Standard Triangulated Language)形式の3Dスキャンデータを生成する。
(Format of 3D model data and 3D scan data)
FIG. 5 shows an example of 3D scan data generated by performing 3D scanning on a replicated object, or 3D model data generated by performing 3D scanning on a modeled object to be replicated. The modeling unit 27 three-dimensionally reads the surface of the modeled object that is the replication source, and generates 3D scan data that is information on the surface shape of the modeled object. This 3D scan data is stored in the HDD 23 as 3D model data for forming a replica of the modeled object. As an example, the modeling unit 27 generates 3D scan data in STL (Standard Triangulated Language) format by a set of triangle data in which positions (coordinates) of three-dimensional vertices are designated as shown in FIG.

図5の例において、STL形式の3Dスキャンデータは、ファセット(facet)からエンドファセット(endfacet)で、1つの三角形データで表す。また、ノーマルファセット(normal facet)は、三角形の法線ベクトルを表す。また、3つの座標(vertex)で三角形の各頂点の位置を表す。このような三角形データを繰り返し記述することで、三次元形状を表現する。ここでは、3Dスキャンデータについて説明したが、3Dモデルデータも同様に表現される。なお、3Dスキャンデータ及び3Dモデルデータは、三次元形状を表現していればSTL形式に限らず、どのような形式のデータであってもよい。   In the example of FIG. 5, the 3D scan data in the STL format is represented by one triangular data from facet to end facet. A normal facet represents a normal vector of a triangle. In addition, the position of each vertex of the triangle is represented by three coordinates (vertex). By describing such triangle data repeatedly, a three-dimensional shape is expressed. Although 3D scan data has been described here, 3D model data is also expressed in the same manner. The 3D scan data and the 3D model data are not limited to the STL format as long as they represent a three-dimensional shape, and may be data in any format.

制御部33は、第1の読み込み部31によりHDD23から読み込まれた3Dモデルデータから、造形物を造形したときの造形条件を抽出する。造形条件は、造形物を造形したときに指定した積層ピッチ及び造形方向等である。積層ピッチは、粉末の樹脂や石膏等を積み重ねて造形する際の各層の厚さである。造形方向は、造形物を造形する際の層を積み重ねる方向(積層方向)である。以下、造形条件をこれら2つの情報として説明するが、造形条件はこれらに限定されるものではない。   The control unit 33 extracts a modeling condition when a modeled object is modeled from the 3D model data read from the HDD 23 by the first reading unit 31. The modeling conditions are a stacking pitch and a modeling direction specified when a modeled object is modeled. The stacking pitch is the thickness of each layer when a resin powder or gypsum is stacked and shaped. The modeling direction is a direction (stacking direction) in which layers when modeling a modeled object are stacked. Hereinafter, although modeling conditions are demonstrated as these two information, modeling conditions are not limited to these.

造形条件は、例えば図7に示すように項目及び各項目に対応する内容を含む。項目は、積層ピッチ及び造形方向である。内容は、各層の高さ(mm)及び積み重ねる方向である。積み重ねる方向は、X軸、Y軸、Z軸に対する角度である。X軸は、造形装置1が備える造形槽を上から見た矩形の平面の一辺の方向、Y軸は、その平面の該一辺に垂直な他の辺の方向、Z軸は、X軸およびY軸に対して垂直で、造形槽の高さ方向である。   The modeling conditions include items and contents corresponding to the items as shown in FIG. 7, for example. Items are the stacking pitch and the forming direction. The contents are the height (mm) of each layer and the stacking direction. The stacking direction is an angle with respect to the X axis, the Y axis, and the Z axis. The X axis is the direction of one side of a rectangular plane when the modeling tank included in the modeling apparatus 1 is viewed from above, the Y axis is the direction of the other side perpendicular to the one side of the plane, and the Z axis is the X axis and Y It is perpendicular to the axis and is the height direction of the modeling tank.

図8に示す造形物を参照して、積層ピッチについて説明する。図8に示す造形物は、造形された円錐状の造形物で、円錐状にするために、一層毎に径が小さくなる円盤を積み重ねることにより造形されている。各円盤の厚さ(高さ)が各層の厚さであり、また、積層ピッチとなっている。   The stacking pitch will be described with reference to the modeled object shown in FIG. The modeled object shown in FIG. 8 is a modeled conical modeled object, and is modeled by stacking disks whose diameters are reduced for each layer in order to obtain a conical shape. The thickness (height) of each disk is the thickness of each layer, and is the stacking pitch.

積層ピッチがどの程度であるかは、複製元の造形物の表面を計測することにより求めることができる。これは、3Dプリンタ12で造形した造形物が、層の積み重ねにより造形されたことに起因して、図9(a)に示すように、層の厚みの違いが、造形物の表面に現れるためである。この表面の計測は、画像解析により行うことができる。   The degree of the stacking pitch can be determined by measuring the surface of the replica of the modeled object. This is because the difference in layer thickness appears on the surface of the modeled object as shown in FIG. 9A because the modeled object modeled by the 3D printer 12 is modeled by stacking the layers. It is. This surface measurement can be performed by image analysis.

造形方向がどの方向であるかも、積層ピッチと同様、複製元の造形物の表面を計測することにより求めることができる。これは、造形装置1で造形した造形物が、層の積み重ねにより造形されることに起因して、図9(b)に示すように、造形された向きの違いが造形物の表面に現れるためである。ちなみに、図9(b)は、円盤を積み重ねて造形した円錐状の造形物と、直方体等を積み重ねることで造形した、90度回転した円錐状の造形物を示している。   Which direction the modeling direction is can be determined by measuring the surface of the modeled object of the replication source, as with the stacking pitch. This is because, as shown in FIG. 9 (b), the modeled object modeled by the modeling apparatus 1 is modeled by stacking layers, so that the difference in the modeled direction appears on the surface of the modeled object. It is. Incidentally, FIG. 9B shows a conical shaped object formed by stacking disks and a conical shaped object rotated by 90 degrees formed by stacking rectangular parallelepipeds and the like.

造形処理部37は、制御部33から受け取った3Dモデルデータ、及び、3Dモデルデータから抽出した造形条件に基づき、造形部37の造形処理を制御する。3Dモデルデータは、表面形状の情報のほか、内部構造の情報を含めてもよい。この場合、造形処理部37は、内部構造を反映した造形物を造形することができる。造形処理部37は、複製元の造形物と同じ造形条件で複製物を造形することで、同じ積層ピッチ及び造形方向で造形処理を行い、複製元となる造形物と同様の複製物を造形する。   The modeling processing unit 37 controls the modeling process of the modeling unit 37 based on the 3D model data received from the control unit 33 and the modeling conditions extracted from the 3D model data. The 3D model data may include internal structure information in addition to surface shape information. In this case, the modeling processing unit 37 can model a modeled object that reflects the internal structure. The modeling processing unit 37 models the replica under the same modeling conditions as the model of the replication source, thereby performing modeling processing with the same stacking pitch and modeling direction, and modeling the replica similar to the model of the replication source. .

(造形手法)
図6は、造形部27において、屈曲した管状の複製物Bが、熱溶解積層法(FDM:Fused Deposition Modeling)で造形されている様子を示す図である。ヘッド部Hであるエクストルーダ(Extruder)は、x−y平面を移動し、溶融した樹脂を吐出して、z軸に沿って造形物の各層を積層して造形物の複製物Bを造形する。すなわち、エクストルーダは、一つの層の造形が終了すると、z軸正方向に移動し、次の層の造形を行う動作を、造形物の複製物Bの造形が完了するまでの間、繰り返し行う。
(Modeling method)
FIG. 6 is a diagram showing a state where the bent tubular replica B is modeled by the hot melt lamination method (FDM: Fused Deposition Modeling) in the modeling unit 27. The Extruder, which is the head portion H, moves on the xy plane, discharges the molten resin, and stacks the layers of the modeled object along the z axis to model the replica B of the modeled object. That is, when the modeling of one layer is completed, the extruder moves in the z-axis positive direction and repeatedly performs the modeling of the next layer until the modeling of the replica B of the modeled object is completed.

(造形処理動作)
次に、図10のフローチャートを用いて造形処理動作の流れを説明する。ユーザにより操作パネル25が操作され、造形開始指示が行われると、CPU20は、例えばHDD23等の記憶部に記憶されている造形処理プログラムに従って、図10のフローチャートの各処理を実行する。
(Modeling operation)
Next, the flow of the modeling processing operation will be described using the flowchart of FIG. When the operation panel 25 is operated by the user and a modeling start instruction is performed, the CPU 20 executes each process of the flowchart of FIG. 10 according to a modeling process program stored in a storage unit such as the HDD 23, for example.

すなわち、CPU20は、ユーザから造形開始指示に従って造形を開始すると、図10のフローチャートのステップS1から順に処理を開始する。ステップS1では、図4に示した制御部33が、複製物の造形停止を示す造形停止情報が供給されたか否かを判別する(ステップS1)。造形停止情報が供給されない場合(ステップS1:No)、制御部33は、ステップS11に処理を進め、第1の読み込み部31により3Dモデルデータサーバ11から読み込まれた3Dモデルデータ、及び、3Dモデルデータから抽出した造形条件に基づいて造形処理部37を制御することで、継続して複製物の造形制御を行う。そして、制御部33は、ステップS12において、複製物の造形が完了したか否かを判別し、造形が完了したものと判別した場合(ステップS12:Yes)、図10のフローチャートの処理を終了する。これに対して、複製物の造形が完了していないものと判別した場合(ステップS12:No)、制御部33は、ステップS1に処理を戻し、造形停止情報の有無を監視する。   That is, CPU20 will start a process in order from step S1 of the flowchart of FIG. 10, if modeling starts according to a modeling start instruction from a user. In step S1, the control unit 33 shown in FIG. 4 determines whether or not modeling stop information indicating the modeling stop of the duplicate is supplied (step S1). When modeling stop information is not supplied (step S1: No), the control part 33 advances a process to step S11, 3D model data read from the 3D model data server 11 by the 1st reading part 31, and 3D model By controlling the modeling processing unit 37 based on the modeling conditions extracted from the data, modeling control of the duplicate is continuously performed. And the control part 33 discriminate | determines whether modeling of the replica was completed in step S12, and when it discriminate | determines that modeling was completed (step S12: Yes), the process of the flowchart of FIG. 10 is complete | finished. . In contrast, when it is determined that the modeling of the duplicate has not been completed (step S12: No), the control unit 33 returns the process to step S1 and monitors the presence or absence of the modeling stop information.

次に、ステップS1において、造形停止情報が供給されたと判別すると(ステップS1:Yes)、処理がステップS2に進む。ステップS2では、造形停止情報は、ユーザが操作パネル25を介して複製物の造形の中断を指示する割り込み指示を行うことで操作パネル25から発行された造形停止情報(造形停止割り込み情報)であるか否かを判別する。   Next, when it is determined in step S1 that modeling stop information has been supplied (step S1: Yes), the process proceeds to step S2. In step S <b> 2, the modeling stop information is modeling stop information (modeling stop interrupt information) issued from the operation panel 25 when the user issues an interrupt instruction that instructs to interrupt the modeling of the replica via the operation panel 25. It is determined whether or not.

すなわち、複製物の造形を中断して、ユーザが複製物に所望の処理を施した後、再度、3Dプリンタ12に複製物を設置して造形を再開する場合がある。一例ではあるが、この場合、ユーザが操作パネル25を操作して、割り込み指示操作を行う。制御部33は、この割り込み指示操作を示す造形停止割り込み情報が供給されたと判別した場合(ステップS2:Yes)、ステップS3に処理を進める。   That is, after the modeling of the duplicate is interrupted and the user performs a desired process on the duplicate, the replica may be placed on the 3D printer 12 again to restart the modeling. In this case, the user operates the operation panel 25 to perform an interrupt instruction operation. When it is determined that the modeling stop interrupt information indicating the interrupt instruction operation is supplied (step S2: Yes), the control unit 33 advances the process to step S3.

これに対して、ユーザが割り込み作業は意図せずに、造形経過を確認するためだけに、造形の停止を指示することで、操作パネル25から造形停止情報が供給される場合がある。さらに、造形時に発生した異常を検知した造形処理部37から、制御部33に対して造形を強制的に停止したことを示す造形停止情報が供給される場合もある。制御部13は、ステップS2において、供給された造形停止情報は、造形停止割り込み情報ではないと判別した場合(ステップS2:No)、ステップS13に処理を進め、供給された造形停止情報は、造形時に異常が発生したことを示す造形停止情報であるか否かを判別する。   On the other hand, there is a case where modeling stop information is supplied from the operation panel 25 by instructing the stop of modeling only for confirming the modeling process without the user intending to interrupt. Further, modeling stop information indicating that modeling has been forcibly stopped may be supplied from the modeling processing unit 37 that has detected an abnormality that has occurred during modeling. When it is determined in step S2 that the supplied modeling stop information is not modeling stop interrupt information (step S2: No), the control unit 13 proceeds to step S13, and the supplied modeling stop information It is determined whether or not it is modeling stop information indicating that an abnormality has sometimes occurred.

供給された造形停止情報が、造形時に異常が発生したことを示す造形停止情報ではないと判別した場合(ステップS13:No)、制御部33は、ステップS2に処理を戻し、上述の造形停止割り込み情報の供給の有無を監視する。これに対して、供給された造形停止情報が、造形時に異常が発生したことを示す造形停止情報であると判別した場合(ステップS1:Yes)、制御部33は、ステップS14に処理を進め、例えばエラーメッセージ及び(又は)異常警告アラーム等により、異常発生をユーザに報知する制御を行い、図10のフローチャートの処理を終了する。   When it is determined that the supplied modeling stop information is not modeling stop information indicating that an abnormality has occurred during modeling (step S13: No), the control unit 33 returns the processing to step S2 and performs the above-described modeling stop interrupt. Monitor the presence of information. On the other hand, when it is determined that the supplied modeling stop information is modeling stop information indicating that an abnormality has occurred during modeling (step S1: Yes), the control unit 33 advances the process to step S14. For example, control for notifying the user of the occurrence of an abnormality is performed by an error message and / or an abnormality warning alarm, and the processing of the flowchart of FIG.

一方、供給された造形停止情報が、造形停止割り込み情報であると判別(ステップS2:Yes)することで、ステップS3に処理を進めると、制御部33が、造形処理部37に対して、造形停止を指示する。造形処理部37は、ステップS4において、複製物の造形を停止する。また、ステップS3では、制御部33が、造形を停止する位置に対応するXYZの軸の3次元位置情報を位置情報処理部35に供給する。すなわち、制御部33は、第1の読み込み部31で読み込まれた3Dモデルデータに基づいて、複製物の造形制御を行っている。取得部の一例である位置情報処理部35は、制御部33から供給される、造形を停止した位置に対応する3Dモデルデータ(第1の情報の一例)をHDD23の記憶領域に記憶する。   On the other hand, by determining that the supplied modeling stop information is modeling stop interrupt information (step S2: Yes) and proceeding to step S3, the control unit 33 performs modeling with respect to the modeling processing unit 37. Instruct to stop. The modeling process part 37 stops modeling of a replica in step S4. In step S <b> 3, the control unit 33 supplies the position information processing unit 35 with the three-dimensional position information of the XYZ axes corresponding to the position where the modeling is stopped. That is, the control unit 33 performs modeling control of the duplicate based on the 3D model data read by the first reading unit 31. The position information processing unit 35, which is an example of an acquisition unit, stores 3D model data (an example of first information) that is supplied from the control unit 33 and corresponds to the position where the modeling is stopped in the storage area of the HDD 23.

次に、ユーザは、複製物の造形を一旦停止させると、一例ではあるが、造形装置1から複製物を取り出して所望の処理を施し、再度、造形装置1に複製物を設置する。そして、ユーザは、操作パネル25を操作して、複製物の造形の再開を指定する。一例ではあるが、この実施の形態の造形装置1の場合、ユーザから複製物の造形の再開が指示されると、制御部33が、造形再開の準備状態(造形再開レディ状態)に移行する。   Next, when the user once stops the modeling of the replica, as an example, the user takes out the replica from the modeling apparatus 1, performs a desired process, and installs the replica in the modeling apparatus 1 again. Then, the user operates the operation panel 25 and designates resumption of modeling of the duplicate. Although it is an example, in the case of the modeling apparatus 1 of this embodiment, if the restart of modeling of a replica is instruct | indicated from the user, the control part 33 will transfer to the preparation state (modeling restart ready state) of modeling restart.

ステップS6は、制御部33が、上述の造形再開レディ状態に移行したか否かを判別する。造形再開レディ状態に移行していない場合は(ステップS6:No)、造形再開レディ状態に移行するまで待機状態となる。これに対して、造形再開レディ状態に移行した場合(ステップS6:Yes)、制御部33は、ステップS7に処理を進める。   Step S6 discriminate | determines whether the control part 33 transfered to the above-mentioned modeling resumption ready state. When it has not shifted to the modeling resumption ready state (step S6: No), it enters a standby state until it shifts to the modeling resumption ready state. On the other hand, when it transfers to modeling resumption ready state (step S6: Yes), the control part 33 advances a process to step S7.

ステップS7では、制御部33が、スキャン制御部34に対して、造形物の3Dスキャンを指示する。生成部の一例であるスキャン制御部34は、この3Dスキャンの指示に従って、造形部27をスキャン制御する。このスキャンにより造形部27により生成された3Dスキャンデータ(第2の位置情報の一例)は、RAM22又はHDD23等の記憶部に一旦記憶される。第2の読み込み部32は、RAM22等に記憶された3Dスキャンデータを読み出し、制御部33を介して位置情報処理部35に転送する。位置情報処理部35は、転送された3Dスキャンデータを、HDD23の記憶領域に記憶する。   In step S <b> 7, the control unit 33 instructs the scan control unit 34 to perform 3D scanning of the modeled object. The scan control unit 34, which is an example of a generation unit, scans the modeling unit 27 in accordance with the 3D scan instruction. 3D scan data (an example of second position information) generated by the modeling unit 27 by this scanning is temporarily stored in a storage unit such as the RAM 22 or the HDD 23. The second reading unit 32 reads 3D scan data stored in the RAM 22 or the like, and transfers it to the position information processing unit 35 via the control unit 33. The position information processing unit 35 stores the transferred 3D scan data in the storage area of the HDD 23.

図12は、造形部27において、再設置された複製物Bがスキャンされている様子を示す図である。この図12の例の場合、造形部27は、x軸方向及びz軸方向に移動可能な一つ又は複数のレーザダイオードLDを有している。また、造形部27は、X軸に沿って連設され、それぞれZ軸に沿って移動可能とされたレーザ光のセンサSを有している。この図12からわかるように、造形部27は、レーザダイオードLDをx軸方向及びz軸方向に移動させながら複製物をレーザ光でスキャン(走査)し、複製物の外形に応じて受光可能となるレーザ光を各センサSで受光する。これにより、造形部27に再設置された複製物の3次元位置に対応する3Dスキャンデータが得られることとなる。なお、レーザダイオードLDで複製物をスキャンするのではなく、ポリゴンミラーを使用して複製物をスキャンしてもよい。   FIG. 12 is a diagram illustrating a state in which the reconstructed copy B is being scanned in the modeling unit 27. In the case of the example of FIG. 12, the modeling unit 27 includes one or a plurality of laser diodes LD that can move in the x-axis direction and the z-axis direction. The modeling unit 27 includes a laser beam sensor S that is continuously provided along the X-axis and is movable along the Z-axis. As can be seen from FIG. 12, the modeling unit 27 scans the replica with a laser beam while moving the laser diode LD in the x-axis direction and the z-axis direction, and can receive light according to the outer shape of the replica. Are received by each sensor S. As a result, 3D scan data corresponding to the three-dimensional position of the duplicate re-installed in the modeling unit 27 is obtained. Instead of scanning the replica with the laser diode LD, the replica may be scanned using a polygon mirror.

次に、図10のフローチャートの説明に戻り、3DスキャンデータをHDD23の記憶領域に記憶すると、ステップS8に処理が進む。ステップS8では、補正部36が、造形停止時における複製物の3次元の設置位置と、造形再開直前における複製物の3次元の設置位置との誤差判定を行い、この誤差が、許容範囲内であるか否かを判別する(スキャン結果のパターンマッチング処理)。このスキャン結果のパターンマッチング処理は、後述する。   Next, returning to the description of the flowchart of FIG. 10, when the 3D scan data is stored in the storage area of the HDD 23, the process proceeds to step S <b> 8. In step S8, the correction unit 36 determines an error between the three-dimensional installation position of the duplicate when the modeling is stopped and the three-dimensional installation position of the duplicate just before the modeling is resumed, and this error is within an allowable range. It is determined whether or not there is (scanning pattern matching processing). This scan result pattern matching processing will be described later.

補正部36により、誤差が許容範囲内であると判別された場合(ステップS8:Yes)、処理がステップS9に進む。これに対して、誤差が許容範囲外であると判別された場合(ステップS8:No)、処理がステップS10に進み、造形停止前の3次元位置から複製物の造形を再開可能な3Dモデルデータを再生成し、ステップS9に処理を進める。この再生成された3Dモデルデータは、複製物の造形を一旦停止した3次元位置を、造形再開位置に補正したデータとなる。   If the correction unit 36 determines that the error is within the allowable range (step S8: Yes), the process proceeds to step S9. On the other hand, when it is determined that the error is outside the allowable range (step S8: No), the process proceeds to step S10, and the 3D model data capable of restarting the modeling of the replica from the three-dimensional position before the modeling is stopped Is regenerated, and the process proceeds to step S9. The regenerated 3D model data is data obtained by correcting the three-dimensional position where the modeling of the replica is temporarily stopped to the modeling resuming position.

ステップS9では、制御部33が、造形処理部37に対して造形再開指示を行う。造形処理部37は、ステップS11において、複製物の造形を再開するように造形部27を制御する。これにより、造形を停止した3次元の位置と同じ位置(上述の許容範囲内の位置)から複製物の造形が再開される。ステップS12では、制御部33が、3Dモデルデータに対応する複製物の造形が完了したか否かを判別する。複製物の造形が完了していないと判別した場合には(ステップS12:No)、ステップS1に処理を戻し、上述の各処理を繰り返し実行する。また、制御部33が、3Dモデルデータに対応する複製物の造形が完了した場合には(ステップS12:Yes)、そのまま図10のフローチャートの処理を終了する。   In step S <b> 9, the control unit 33 instructs the modeling processing unit 37 to restart modeling. In step S <b> 11, the modeling processing unit 37 controls the modeling unit 27 to resume modeling of the duplicate. Thereby, modeling of a replica is restarted from the same position (position within the above-described allowable range) as the three-dimensional position where modeling is stopped. In step S12, the control unit 33 determines whether or not the modeling of the duplicate corresponding to the 3D model data is completed. When it is determined that modeling of the duplicate has not been completed (step S12: No), the process returns to step S1, and the above-described processes are repeated. Moreover, when the control part 33 completes modeling of the replica corresponding to 3D model data (step S12: Yes), the process of the flowchart of FIG. 10 is complete | finished as it is.

(パターンマッチング処理)
図11のフローチャートは、図10のフローチャートのステップS7〜ステップS10の処理となるパターンマッチング処理の詳細を示すフローチャートである。この図11のフローチャートは、図10のフローチャートのステップS6で、制御部33が、造形再開レディ状態に移行したと判別することで、ステップS21から処理が開始される。ステップS21では、スキャン制御部34が、造形部27を3Dスキャン制御する。この3Dスキャンにより造形部27により生成された3Dスキャンデータは、RAM22に一旦記憶される。第2の読み込み部32は、RAM22に記憶された3Dスキャンデータを読み出し、制御部33を介して位置情報処理部35に転送する。位置情報処理部35は、転送された3Dスキャンデータを、HDD23の記憶領域に記憶する。
(Pattern matching process)
The flowchart of FIG. 11 is a flowchart showing details of the pattern matching process that is the process of steps S7 to S10 of the flowchart of FIG. In the flowchart of FIG. 11, the process is started from step S <b> 21 by determining that the control unit 33 has shifted to the modeling resumption ready state in step S <b> 6 of the flowchart of FIG. 10. In step S <b> 21, the scan control unit 34 performs 3D scan control of the modeling unit 27. The 3D scan data generated by the modeling unit 27 by this 3D scan is temporarily stored in the RAM 22. The second reading unit 32 reads the 3D scan data stored in the RAM 22 and transfers it to the position information processing unit 35 via the control unit 33. The position information processing unit 35 stores the transferred 3D scan data in the storage area of the HDD 23.

ステップS22では、補正部36が、位置情報処理部35によりHDD23の記憶領域から読み出された造形停止時における複製物の3次元の設置位置、及び、造形再開直前における複製物の3次元の設置位置の誤差判定(パターンマッチング処理)を行う。そして、誤差が許容範囲内であれば(ステップS23:Yes)、ステップS25において複製物の造形を再開する。また、誤差が許容範囲外の場合は(ステップS23:No)、ステップS24において、造形停止前の3次元位置から複製物の造形を再開可能な3Dモデルデータを再生成して造形位置の補正処理を行い、この補正した3Dモデルデータを用いて、ステップS25で複製物の造形を再開する。   In step S <b> 22, the correction unit 36 reads the three-dimensional installation position of the replica when the modeling is stopped, read from the storage area of the HDD 23 by the position information processing unit 35, and the three-dimensional installation of the replica just before the modeling is resumed. Position error determination (pattern matching processing) is performed. If the error is within the allowable range (step S23: Yes), the modeling of the duplicate is resumed in step S25. If the error is outside the allowable range (step S23: No), in step S24, 3D model data capable of resuming modeling of the replica from the three-dimensional position before the modeling stop is regenerated to correct the modeling position. Then, using this corrected 3D model data, the modeling of the duplicate is resumed in step S25.

例えば、
停止時の3Dモデルデータ:(x,y,z)=(1.00,1.00,1.00)
再開直前の3Dスキャンデータ:(x,y,z)=(3.00,3.00,3.00)
誤差:(x,y,z)=(2.00,2.00,2.00)
距離:2√3=3.46
誤差許容値=4.00
である場合、誤差に対応する距離が誤差許容値よりも小さな値であるため(3.46<4.00)、制御部33は、3Dモデルデータを再生成することなく、複製物の造形を再開する。これにより、造形停止前後で同じ位置から複製物の造形を再開できる。なお、xyz座標系の位置情報を例に用いて説明を進めているが、円筒座標系等を用いてもよい。
For example,
3D model data when stopped: (x, y, z) = (1.00, 1.00, 1.00)
3D scan data immediately before restart: (x, y, z) = (3.00, 3.00, 3.00)
Error: (x, y, z) = (2.00, 2.00, 2.00)
Distance: 2√3 = 3.46
Error tolerance = 4.00
, Since the distance corresponding to the error is smaller than the allowable error value (3.46 <4.00), the control unit 33 forms the replica without regenerating the 3D model data. Resume. Thereby, modeling of a replica can be restarted from the same position before and after the modeling is stopped. In addition, although description is advanced using the positional information of the xyz coordinate system as an example, a cylindrical coordinate system or the like may be used.

これに対して、
停止時の3Dモデルデータ:(x,y,z)=(1.00,1.00,1.00)
再開直前の3Dスキャンデータ:(x,y,z)=(3.00,3.00,3.00)
誤差:(x,y,z)=(2.00,2.00,2.00)
距離:2√3=3.46
誤差許容値3.50
誤差許容値丸め処理設定:小数点以下2桁切り捨て設定(3.50→3.00)
である場合、誤差に対応する距離が誤差許容値よりも大きな値となる(3.46>3.00)。このため、補正部36が、停止時の3DモデルデータのX軸、Y軸及びZ軸を、上述の誤差である(x,y,z)=(2.00,2.00,2.00)分シフトさせた3Dモデルデータを再生成することで、補正した造形再開位置に対応する3Dモデルデータを生成する。そして、この補正した3Dモデルデータを用いて複製物の造形を再開する。これにより、造形を停止した3次元位置から複製物の造形を再開することができ、複製物の造形品質を向上させることができる。
On the contrary,
3D model data when stopped: (x, y, z) = (1.00, 1.00, 1.00)
3D scan data immediately before restart: (x, y, z) = (3.00, 3.00, 3.00)
Error: (x, y, z) = (2.00, 2.00, 2.00)
Distance: 2√3 = 3.46
Error tolerance 3.50
Error tolerance rounding setting: 2 digits after the decimal point are rounded down (3.50 → 3.00)
In this case, the distance corresponding to the error is larger than the allowable error value (3.46> 3.00). For this reason, the correction unit 36 converts the X-axis, Y-axis, and Z-axis of the 3D model data at the time of stop to the above-described error (x, y, z) = (2.00, 2.00, 2.00). ) By regenerating 3D model data shifted by an amount, 3D model data corresponding to the corrected modeling restart position is generated. Then, modeling of the duplicate is resumed using the corrected 3D model data. Thereby, modeling of a replica can be restarted from the three-dimensional position where modeling is stopped, and the modeling quality of the replica can be improved.

さらに具体的に説明すると、HDD23の記憶領域の各情報に対する割り当ては、以下のようになっている。
アドレス0x00→3Dモデルデータの第1の記憶領域
アドレス0x01→3Dスキャンデータの第1の記憶領域
アドレス0x02→誤差の第2の記憶領域
アドレス0x10→3Dモデルデータの第2の記憶領域
アドレス0x11→3Dスキャンデータの第2の記憶領域
アドレス0x12→誤差の第2の記憶領域
アドレス0x20→3Dモデルデータの第3の記憶領域
アドレス0x21→3Dスキャンデータの第3の記憶領域
アドレス0x22→誤差の第3の記憶領域
アドレス0x80→誤差許容値丸め処理設定情報の記憶領域
アドレス0x81→補正した3Dモデルデータの記憶領域
アドレス0x100→造形停止情報と造形再開情報の記憶領域(造形停止ON/OFF)
More specifically, the allocation of each information in the storage area of the HDD 23 is as follows.
Address 0x00 → first storage area address of 3D model data 0x01 → first storage area address of 3D scan data 0x02 → second storage area address of error 0x10 → second storage area address of 3D model data 0x11 → 3D Scan data second storage area address 0x12 → error second storage area address 0x20 → 3D model data third storage area address 0x21 → 3D scan data third storage area address 0x22 → error third Storage area address 0x80 → Error tolerance rounding setting information storage area address 0x81 → Corrected 3D model data storage area address 0x100 → Modeling stop information and modeling restart information storage area (modeling stop ON / OFF)

アドレス0x80の記憶領域に記憶される「誤差許容値丸め処理設定情報」は、誤差の丸め処理を行うか否かの設定、及び、誤差の丸め処理を行う場合に、端数の処理の仕方(小数点以下の切り上げ又は切り捨て)を、ユーザが任意に設定可能となっている。端数の処理に関しては、四捨五入の形式でもよいし、IEEE(米国電気電子学会)754準拠の丸め規則を適用してもよい。   The “error tolerance rounding processing setting information” stored in the storage area at the address 0x80 is used to set whether or not to perform error rounding and how to process fractions when performing error rounding (decimal point). The user can arbitrarily set the following rounding up or down). Regarding rounding, rounding may be applied, or a rounding rule based on IEEE (American Institute of Electrical and Electronics Engineers) 754 may be applied.

また、一対の3Dモデルデータ及び3Dスキャンデータの誤差を用いて3Dモデルデータの補正を行う場合には、3Dモデルデータ及び3Dスキャンデータの第2、第3の記憶領域は、用いられない。複数の3Dモデルデータ及び3Dスキャンデータの誤差を用いて3Dモデルデータの補正を行う場合には、第1〜第3の記憶領域に記憶された3Dモデルデータ及び3Dスキャンデータの誤差を用いて3Dモデルデータの補正が行われる。   In addition, when the 3D model data is corrected using an error between the pair of 3D model data and 3D scan data, the second and third storage areas of the 3D model data and the 3D scan data are not used. When correction of 3D model data is performed using errors of a plurality of 3D model data and 3D scan data, 3D model data and 3D scan data stored in the first to third storage areas are used to perform 3D The model data is corrected.

(第1の実施の形態の効果)
以上の説明から明らかなように、第1の実施の形態の造形装置1は、造形停止前後の複製物の3次元位置の誤差(差分)に基づいて、造形停止時の3次元位置から造形再開が可能となるように補正した3次元位置情報(補正した3Dモデルデータ)を生成する。そして、この補正した3次元位置情報を用いて、複製物の造形を再開する。これにより、複製物の造形を再開する際に、造形を停止した3次元位置から造形を再開可能なように、造形開始位置を高精度に調整できる。このため、造形される複製物の造形品質を向上させることができる。また、複雑な形状の複製物である場合でも、造形品質を向上させることができる。
(Effects of the first embodiment)
As is apparent from the above description, the modeling apparatus 1 according to the first embodiment resumes modeling from the three-dimensional position at the time of modeling stop based on the error (difference) of the three-dimensional position of the replica before and after the modeling is stopped. 3D position information (corrected 3D model data) corrected so as to be possible is generated. Then, using this corrected three-dimensional position information, the modeling of the duplicate is resumed. Thereby, when resuming modeling of a replica, the modeling start position can be adjusted with high accuracy so that modeling can be resumed from the three-dimensional position where modeling is stopped. For this reason, the modeling quality of the replica to be modeled can be improved. Moreover, even if it is a replica of a complicated shape, modeling quality can be improved.

(第2の実施の形態)
次に、第2の実施の形態の造形装置の説明をする。第1の実施の形態の造形装置は、造形部27において、図12に示したようにレーザダイオードLDからのレーザ光をセンサSで受光する構成で、複製物のスキャンを行う例であった。これに対して、第2の実施の形態の造形装置は、造形部27において、左右のカメラ装置で撮像した撮像画像に基づいて、複製物Bのスキャンを行う例である。なお、第1の実施の形態と第2の実施の形態とでは、この点のみが異なる。このため、以下、両者の差異のみ説明し、重複した説明は省略する。
(Second Embodiment)
Next, the modeling apparatus of 2nd Embodiment is demonstrated. The modeling apparatus according to the first embodiment is an example in which a replica is scanned in the modeling unit 27 with a configuration in which the laser light from the laser diode LD is received by the sensor S as illustrated in FIG. On the other hand, the modeling apparatus according to the second embodiment is an example in which the modeling unit 27 scans the duplicate B based on the captured images captured by the left and right camera apparatuses. Note that the first embodiment and the second embodiment are different only in this point. For this reason, only the difference between the two will be described below, and redundant description will be omitted.

すなわち、第2の実施の形態の造形装置の場合、造形部27は、図13に示すように、それぞれ所定の設置間隔で配置された右目用カメラ装置CR及び左目用カメラ装置CLを有している。なお、この例では、2つのカメラ装置CR,CLを用いることとしたが、一つ(単眼)又は3つ以上のカメラ装置を用いてもよい。第2の実施の形態の造形装置の場合、造形部27は、右目用カメラ装置CR及び左目用カメラ装置CLで複製物Bを撮像する。これにより、図14に示すように、右目用カメラ装置CRで撮像した複製物Bの撮像画像BG、及び、左目用カメラ装置CLで撮像した複製物Bの撮像画像BGが得られる。   That is, in the case of the modeling apparatus according to the second embodiment, the modeling unit 27 includes a right-eye camera device CR and a left-eye camera device CL that are arranged at predetermined installation intervals, as shown in FIG. Yes. In this example, two camera devices CR and CL are used, but one (monocular) or three or more camera devices may be used. In the case of the modeling apparatus according to the second embodiment, the modeling unit 27 images the duplicate B with the right-eye camera device CR and the left-eye camera device CL. As a result, as shown in FIG. 14, a captured image BG of the replica B captured by the right-eye camera device CR and a captured image BG of the replica B captured by the left-eye camera device CL are obtained.

制御部33は、各撮像画像BGを重ね合わせることで、複製物Bの測定点Pの位置を検出し、三角測量の演算を行う。これにより、複製物Bの三次元の各位置情報を得ることができ、上述の第1の実施の形態と同様の効果を得ることができる。   The control unit 33 detects the position of the measurement point P of the duplicate B by superimposing the captured images BG, and performs triangulation calculation. Thereby, each three-dimensional position information of the replica B can be obtained, and the same effect as that of the first embodiment described above can be obtained.

(第3の実施の形態)
次に、第3の実施の形態の造形装置の説明をする。第3の実施の形態の造形装置は、造形部27において、圧電素子を複製物に接触させ、電圧の偏差を検出して複製物の3次元の位置を検出する例である。なお、上述の各実施の形態と第3の実施の形態とでは、この点のみが異なる。このため、以下、両者の差異のみ説明し、重複した説明は省略する。
(Third embodiment)
Next, the modeling apparatus of 3rd Embodiment is demonstrated. The modeling apparatus according to the third embodiment is an example in which, in the modeling unit 27, a piezoelectric element is brought into contact with a duplicate, and a voltage deviation is detected to detect a three-dimensional position of the duplicate. It should be noted that only the above points are different between the above-described embodiments and the third embodiment. For this reason, only the difference between the two will be described below, and redundant description will be omitted.

すなわち、第3の実施の形態の造形装置の場合、造形部27は、図15に示すように、X軸、Y軸及びZ軸に沿って移動可能であると共に、斜め方向も自在に移動可能な圧電素子PEを有する。圧電素子PEとしては、例えばピエゾ素子を用いることができる。   That is, in the case of the modeling apparatus according to the third embodiment, the modeling unit 27 can move along the X axis, the Y axis, and the Z axis as shown in FIG. A piezoelectric element PE is provided. For example, a piezoelectric element can be used as the piezoelectric element PE.

造形部27は、圧電素子Pを移動させて複製物Bに接触させ、圧電素子PEでの電圧の偏差を検出し、複製物Bの3次元の位置を検出する。これにより、複製物Bの三次元の各位置情報を得ることができ、上述の第1の実施の形態と同様の効果を得ることができる。なお、圧電素子Pは、第1の実施の形態で説明したレーザダイオードLD及びセンサSと併用してもよいし、第3の実施の形態で説明したカメラ装置CR、CLと併用してもよい。   The modeling unit 27 moves the piezoelectric element P to contact the replica B, detects a voltage deviation at the piezoelectric element PE, and detects a three-dimensional position of the replica B. Thereby, each three-dimensional position information of the replica B can be obtained, and the same effect as that of the first embodiment described above can be obtained. The piezoelectric element P may be used in combination with the laser diode LD and the sensor S described in the first embodiment, or may be used in combination with the camera devices CR and CL described in the third embodiment. .

最後に、上述の各実施の形態は、一例として提示したものであり、本発明の範囲を限定することは意図していない。例えば、上述の各実施の形態の説明では、複製元となる造形物を3Dスキャン処理して生成した3Dモデルデータを用いて、造形物の複製物を形成することとした。しかし、3Dスキャン処理行わずに、単に、予め取得した3Dモデルデータを用いて造形物の複製物を形成してもよい。   Finally, each of the above-described embodiments has been presented as an example, and is not intended to limit the scope of the present invention. For example, in the description of each embodiment described above, a replica of a modeled object is formed using 3D model data generated by performing a 3D scan process on a modeled object as a replication source. However, instead of performing the 3D scanning process, a replica of the modeled object may be formed simply using the 3D model data acquired in advance.

この新規な実施の形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことも可能である。また、各実施の形態は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   The novel embodiment can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. Each embodiment is included in the scope and gist of the invention, and is included in the invention described in the claims and the equivalents thereof.

1 造形装置
23 HDD
27 造形部
31 第1の読み込み部
32 第2の読み込み部
33 制御部
34 スキャン制御部
35 位置情報処理部
36 補正部
37 造形処理部
1 Modeling device 23 HDD
27 Modeling Unit 31 First Reading Unit 32 Second Reading Unit 33 Control Unit 34 Scan Control Unit 35 Position Information Processing Unit 36 Correction Unit 37 Modeling Processing Unit

特表平04−506110号公報Japanese Translation of National Publication No. 04-506110

Claims (6)

造形物の3次元位置情報に基づいて、前記造形物の複製物を生成するように造形部を制御する造形処理部と、
造形中断時における前記複製物の3次元位置を示す第1の位置情報を取得する取得部と、
前記造形中断後の造形再開時において、前記複製物の3次元位置を検出するように前記造形部を制御し、検出された前記複製物の3次元位置を示す第2の位置情報を生成する生成部と、
前記第1の位置情報及び前記第2の位置情報の差異に基づいて、前記第1の位置情報で示される3次元位置が前記複製物の造形再開位置となるように、前記第1の情報を補正した補正位置情報を生成する補正部と、
前記補正位置情報で示される3次元位置から前記複製物の造形を再開するように、前記造形部を制御する再開処理部と
を有する造形装置。
Based on the three-dimensional position information of the modeled object, a modeling processing unit that controls the modeled unit to generate a replica of the modeled object,
An acquisition unit for acquiring first position information indicating a three-dimensional position of the duplicate at the time of modeling interruption;
Generation of generating second position information indicating the detected three-dimensional position of the replica, by controlling the modeling unit so as to detect the three-dimensional position of the replica at the time of resuming the modeling after the interruption of modeling. And
Based on the difference between the first position information and the second position information, the first information is set so that the three-dimensional position indicated by the first position information becomes the modeling restart position of the duplicate. A correction unit that generates corrected correction position information;
The modeling apparatus which has a restart process part which controls the said modeling part so that modeling of the said replica may be restarted from the three-dimensional position shown by the said correction | amendment position information.
前記造形部は、
前記複製物にレーザ光を照射するレーザ発光部と、
前記レーザ発光部に対して相対向して設けられ、前記複製物の外形に応じて得られるレーザ光を受光するセンサとを有し、
前記生成部は、前記センサの出力に基づいて、前記第2の位置情報を生成すること
を特徴とする請求項1に記載の造形装置。
The modeling part is
A laser emitting section for irradiating the replica with a laser beam;
A sensor that is provided opposite to the laser emission unit and that receives a laser beam obtained according to the outer shape of the replica,
The modeling apparatus according to claim 1, wherein the generation unit generates the second position information based on an output of the sensor.
前記造形部は、前記複製物を撮像する一つ又は複数のカメラ装置を有し、
前記生成部は、前記カメラ装置の撮像画像に基づいて、前記第2の位置情報を生成すること
を特徴とする請求項1に記載の造形装置。
The modeling unit has one or a plurality of camera devices for imaging the duplicate,
The modeling device according to claim 1, wherein the generation unit generates the second position information based on a captured image of the camera device.
前記造形部は、前記複製物を接触走査する圧電素子を有し、
前記生成部は、前記圧電素子が前記複製物に接触した際に電圧の偏差に基づいて、前記第2の位置情報を生成すること
を特徴とする請求項1に記載の造形装置。
The modeling unit has a piezoelectric element that contacts and scans the duplicate,
The modeling apparatus according to claim 1, wherein the generation unit generates the second position information based on a voltage deviation when the piezoelectric element contacts the replica.
造形処理部が、造形物の3次元位置情報に基づいて、前記造形物の複製物を生成するように造形部を制御する造形処理ステップと、
取得部が、造形中断時における前記複製物の3次元位置を示す第1の位置情報を取得する取得ステップと、
生成部が、前記造形中断後の造形再開時において、前記複製物の3次元位置を検出するように前記造形部を制御し、検出された前記複製物の3次元位置を示す第2の位置情報を生成する生成ステップと、
補正部が、前記第1の位置情報及び前記第2の位置情報の差異に基づいて、前記第1の位置情報で示される3次元位置が前記複製物の造形再開位置となるように、前記第1の情報を補正した補正位置情報を生成する補正ステップと、
再開処理部が、前記補正位置情報で示される3次元位置から前記複製物の造形を再開するように、前記造形部を制御する再開処理ステップと
を有する造形方法。
A modeling processing step in which the modeling processing unit controls the modeling unit to generate a duplicate of the modeled object based on the three-dimensional position information of the modeled object,
An acquisition step in which the acquisition unit acquires first position information indicating a three-dimensional position of the duplicate at the time of modeling interruption;
Second position information indicating the detected three-dimensional position of the replica, wherein the generating unit controls the modeling unit so as to detect the three-dimensional position of the replica when resuming modeling after the modeling interruption. A generation step for generating
Based on the difference between the first position information and the second position information, the correction unit causes the three-dimensional position indicated by the first position information to be the modeling restart position of the duplicate. A correction step for generating corrected position information obtained by correcting the information of 1;
A resuming process step of controlling the modeling unit so that the resuming processing unit resumes modeling of the duplicate from the three-dimensional position indicated by the correction position information.
コンピュータを、
造形物の3次元位置情報に基づいて、前記造形物の複製物を生成するように造形部を制御する造形処理部と、
造形中断時における前記複製物の3次元位置を示す第1の位置情報を取得する取得部と、
前記造形中断後の造形再開時において、前記複製物の3次元位置を検出するように前記造形部を制御し、検出された前記複製物の3次元位置を示す第2の位置情報を生成する生成部と、
前記第1の位置情報及び前記第2の位置情報の差異に基づいて、前記第1の位置情報で示される3次元位置が前記複製物の造形再開位置となるように、前記第1の情報を補正した補正位置情報を生成する補正部と、
前記補正位置情報で示される3次元位置から前記複製物の造形を再開するように、前記造形部を制御する再開処理部として機能させること
を特徴とする造形処理プログラム。
Computer
Based on the three-dimensional position information of the modeled object, a modeling processing unit that controls the modeled unit to generate a replica of the modeled object,
An acquisition unit for acquiring first position information indicating a three-dimensional position of the duplicate at the time of modeling interruption;
Generation of generating second position information indicating the detected three-dimensional position of the replica, by controlling the modeling unit so as to detect the three-dimensional position of the replica at the time of resuming the modeling after the interruption of modeling. And
Based on the difference between the first position information and the second position information, the first information is set so that the three-dimensional position indicated by the first position information becomes the modeling restart position of the duplicate. A correction unit that generates corrected correction position information;
A modeling processing program that functions as a restart processing unit that controls the modeling unit so as to restart modeling of the duplicate from the three-dimensional position indicated by the correction position information.
JP2016133625A 2016-07-05 2016-07-05 Modeling equipment, modeling method, and modeling processing program Active JP6834198B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016133625A JP6834198B2 (en) 2016-07-05 2016-07-05 Modeling equipment, modeling method, and modeling processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016133625A JP6834198B2 (en) 2016-07-05 2016-07-05 Modeling equipment, modeling method, and modeling processing program

Publications (2)

Publication Number Publication Date
JP2018001655A true JP2018001655A (en) 2018-01-11
JP6834198B2 JP6834198B2 (en) 2021-02-24

Family

ID=60947094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016133625A Active JP6834198B2 (en) 2016-07-05 2016-07-05 Modeling equipment, modeling method, and modeling processing program

Country Status (1)

Country Link
JP (1) JP6834198B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019217729A (en) * 2018-06-22 2019-12-26 株式会社リコー Molding device, control device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003231182A (en) * 2002-02-07 2003-08-19 Minolta Co Ltd Three-dimensional molding machine and powder removing device
CN104260358A (en) * 2014-10-24 2015-01-07 姚川 3D (Three-dimensional) printing method
WO2016042810A1 (en) * 2014-09-19 2016-03-24 株式会社東芝 Additive manufacturing device and additive manufacturing method
WO2016075802A1 (en) * 2014-11-14 2016-05-19 株式会社ニコン Shaping device and shaping method
JP2016107462A (en) * 2014-12-04 2016-06-20 ローランドディー.ジー.株式会社 Three-dimensional molding apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003231182A (en) * 2002-02-07 2003-08-19 Minolta Co Ltd Three-dimensional molding machine and powder removing device
WO2016042810A1 (en) * 2014-09-19 2016-03-24 株式会社東芝 Additive manufacturing device and additive manufacturing method
CN104260358A (en) * 2014-10-24 2015-01-07 姚川 3D (Three-dimensional) printing method
WO2016075802A1 (en) * 2014-11-14 2016-05-19 株式会社ニコン Shaping device and shaping method
JP2016107462A (en) * 2014-12-04 2016-06-20 ローランドディー.ジー.株式会社 Three-dimensional molding apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019217729A (en) * 2018-06-22 2019-12-26 株式会社リコー Molding device, control device and method
JP7091876B2 (en) 2018-06-22 2022-06-28 株式会社リコー Modeling equipment, control equipment and methods

Also Published As

Publication number Publication date
JP6834198B2 (en) 2021-02-24

Similar Documents

Publication Publication Date Title
Huang et al. Predictive modeling of geometric deviations of 3d printed products-a unified modeling approach for cylindrical and polygon shapes
US10035223B2 (en) Repair method for the additive repair of a component
US11207852B2 (en) Three dimensional printing on three dimensional objects
US10611091B2 (en) Additive manufacturing of a three-dimensional object
TWI518583B (en) Three dimensional printing apparatus and method for detecting printing anomaly
US11155034B2 (en) System and method for distortion mitigation and compensation in additive manufacturing processes through B-spline hyperpatch field
US20160046076A1 (en) Statistical predictive modeling and compensation of geometric deviations of 3d printed products
JP6763993B2 (en) How to detect object boundaries in a 3D printer
JP2019530598A (en) Energy density mapping in additive manufacturing environments
EP3579199A1 (en) Additive manufacturing including compensation modeling methodology with shape transformation
JP2018531815A (en) Improving the control of, or related to, chain control of machines, including additive manufacturing machines, in the manufacture of workpieces.
JP2020001302A (en) Molding prediction system, molding prediction display system, information processor and program
JP2018001725A (en) Three-dimensional data-generating device, three-dimensional molding apparatus, production method of molded article, and program
JP6834198B2 (en) Modeling equipment, modeling method, and modeling processing program
Preissler et al. Approach for process control in additive manufacturing through layer-wise analysis with 3-dimensional pointcloud information
JP2017037460A (en) Machining system and machining method
US11847388B2 (en) Systems and methods for reducing rigid body motion in simulated models
KR101468032B1 (en) System correcting coordinate error for making numerical map
Preissler et al. Approach for optical innervolumetric 3-dimensional data acquisition
JP2020001295A (en) Molding prediction system, information processor, program and molding prediction method
JP2018049335A (en) Data creation device, molding device, molding method and program
KR102575356B1 (en) Method for minimization of step in mold repair machining and system of mold repair machining
JP6894591B2 (en) Measurement data generator, machining program generation system, measurement data generation method
KR101953085B1 (en) Three-dimensional Printer with apparatus which create digital hologram
JP2018036828A (en) Data generation device, three dimensional molding device, manufacturing method of molding object and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200317

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201221

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210118

R151 Written notification of patent or utility model registration

Ref document number: 6834198

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151