Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6579815B2 - Support arrangement determination apparatus, three-dimensional modeling system, and support arrangement determination method - Google Patents
[go: Go Back, main page]

JP6579815B2 - Support arrangement determination apparatus, three-dimensional modeling system, and support arrangement determination method - Google Patents

Support arrangement determination apparatus, three-dimensional modeling system, and support arrangement determination method Download PDF

Info

Publication number
JP6579815B2
JP6579815B2 JP2015122389A JP2015122389A JP6579815B2 JP 6579815 B2 JP6579815 B2 JP 6579815B2 JP 2015122389 A JP2015122389 A JP 2015122389A JP 2015122389 A JP2015122389 A JP 2015122389A JP 6579815 B2 JP6579815 B2 JP 6579815B2
Authority
JP
Japan
Prior art keywords
support
thickness
rotation angle
target
arrangement
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.)
Expired - Fee Related
Application number
JP2015122389A
Other languages
Japanese (ja)
Other versions
JP2017007129A (en
Inventor
小林 光一
光一 小林
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.)
Roland DG Corp
Original Assignee
Roland DG Corp
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 Roland DG Corp filed Critical Roland DG Corp
Priority to JP2015122389A priority Critical patent/JP6579815B2/en
Publication of JP2017007129A publication Critical patent/JP2017007129A/en
Application granted granted Critical
Publication of JP6579815B2 publication Critical patent/JP6579815B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、サポートの配置決定装置、3次元造形システム、および、サポートの配置決定方法に関する。   The present invention relates to a support arrangement determination device, a three-dimensional modeling system, and a support arrangement determination method.

従来から、所定の断面形状の樹脂材料を順次積層し、樹脂材料を硬化させることによって所望の3次元造形物(以下、対象造形物という。)を造形する3次元造形装置が知られている。この種の3次元造形装置では、まず、CAD装置などを用いて対象造形物の断面形状のデータを用意する。次に、この断面形状のデータを用いて、光硬化性樹脂を硬化させて、断面形状に対応した形状の樹脂層を造形する。そして、断面形状に対応した樹脂層を順次積層することによって、対象造形物を造形する。   2. Description of the Related Art Conventionally, a three-dimensional modeling apparatus that forms a desired three-dimensional modeled object (hereinafter referred to as a target modeled object) by sequentially laminating resin materials having a predetermined cross-sectional shape and curing the resin material is known. In this type of three-dimensional modeling apparatus, first, data of a cross-sectional shape of a target model is prepared using a CAD apparatus or the like. Next, using the data of the cross-sectional shape, the photocurable resin is cured, and a resin layer having a shape corresponding to the cross-sectional shape is formed. And an object model is modeled by laminating sequentially a resin layer corresponding to a section shape.

3次元造形装置は、例えば特許文献1に示すように、開口が形成された台と、台の上に載置され、光硬化性樹脂を収容する槽と、槽の上方に配置された昇降自在なホルダと、台の下方に配置され、光を照射する光学装置とを備えている。光学装置から照射された光は、台の開口を通じて槽内の光硬化性樹脂に照射される。槽内に収容された光硬化性樹脂のうち、光が照射された部分は硬化する。光の照射位置を制御することによって、硬化する樹脂の位置を適宜変更することができ、所望の断面形状を有する樹脂層を形成することができる。そして、ホルダを順次上昇させることによって、樹脂層が下方に向かって連続的に形成される。このようにして、所望の対象造形物が造形される。   For example, as shown in Patent Document 1, the three-dimensional modeling apparatus is a table in which an opening is formed, a tank placed on the table and containing a photocurable resin, and freely movable up and down disposed above the tank. A holder and an optical device that is disposed below the table and emits light. The light irradiated from the optical device is irradiated to the photocurable resin in the tank through the opening of the table. Of the photocurable resin stored in the tank, the portion irradiated with light is cured. By controlling the light irradiation position, the position of the resin to be cured can be changed as appropriate, and a resin layer having a desired cross-sectional shape can be formed. And a resin layer is continuously formed toward the downward direction by raising a holder one by one. In this way, a desired target model is modeled.

ところで、ホルダを順次上昇させる際に、既に造形された樹脂層は、当該樹脂層よりも下方に造形される全樹脂層の荷重を支持することになる。そのため、例えば、断面積の小さな樹脂層があった場合、当該樹脂層よりも下方の全樹脂層の荷重を支えきれない場合がある。その結果、対象造形物を造形する途中に、対象造形物の一部が破損してしまうことがある。そのような破損を防止するため、図22に示すように、CAD装置などの専用の装置によって演算することで、対象造形物170の一部とホルダ113との間に、造形時に対象造形物170の一部の荷重を支持するための複数のサポート造形物130を追加し、対象造形物170とサポート造形物130とを造形することが行われる。以下、サポート造形物を単に「サポート」と称する。   By the way, when raising a holder one by one, the resin layer already shape | molded will support the load of all the resin layers modeled below the said resin layer. Therefore, for example, when there is a resin layer having a small cross-sectional area, the load of all resin layers below the resin layer may not be supported. As a result, part of the target model may be damaged during the modeling of the target model. In order to prevent such damage, as shown in FIG. 22, calculation is performed by a dedicated device such as a CAD device, so that the target modeling object 170 is formed between a part of the target modeling object 170 and the holder 113 during modeling. A plurality of support modeling objects 130 for supporting a part of the load are added, and the target modeling object 170 and the support modeling object 130 are modeled. Hereinafter, the support model is simply referred to as “support”.

特開2003−39564号公報JP 2003-39564 A

ところで、サポート130は、例えば、対象造形物170のうちホルダ113と対向する面に追加および配置される。しかし、ホルダ113に対する対象造形物170の向きによっては、対象造形物170におけるホルダ113に対する投影面、すなわち、対象造形物170に対向するホルダ113の面に対して対象造形物170を投影した際に得られる対象造形物170の外周形状を示す投影面の面積が小さくなってしまう。その結果、対象造形物170に追加および配置するサポート130の数が少なくなり、造形中、サポート130が対象造形物170の荷重を十分に支持することができない場合がある。また、例えば、対象造形物170のうち厚みが厚い箇所170aと、厚みが薄い箇所170bにおいて、厚みが薄い箇所170bでは、厚みが厚い箇所170aに比べて、太さが細いサポート130で支持することができる。しかし、従来では、対象造形物170のどの箇所にどのような太さのサポート130を追加および配置するかは、ユーザの経験則に基づいて行われていた。そのため、ユーザによっては、サポート170を最適な位置に追加および配置することができないことがあった。   By the way, the support 130 is added and arrange | positioned on the surface facing the holder 113 among the target modeling objects 170, for example. However, depending on the orientation of the target modeling object 170 with respect to the holder 113, when the target modeling object 170 is projected onto the projection surface of the target modeling object 170 with respect to the holder 113, that is, the surface of the holder 113 facing the target modeling object 170. The area of the projection surface showing the outer peripheral shape of the target object 170 to be obtained is reduced. As a result, the number of supports 130 to be added and arranged on the target model 170 is reduced, and the support 130 may not be able to sufficiently support the load of the target model 170 during modeling. Further, for example, in the thick part 170a and the thin part 170b in the target model 170, the thin part 170b is supported by the support 130 that is thinner than the thick part 170a. Can do. However, conventionally, the thickness 130 and the thickness of the support 130 to be added and arranged are determined based on the user's rule of thumb. Therefore, depending on the user, the support 170 may not be added and arranged at an optimal position.

本発明はかかる点に鑑みてなされたものであり、その目的は、造形対象である対象造形物にサポートを追加および配置して、対象造形物およびサポートを造形する3次元造形装置において、最適な太さのサポートを最適な位置に追加および配置することが可能なサポートの配置決定装置、3次元造形システム、および、サポートの配置決定方法を提供することである。   The present invention has been made in view of such a point, and the object thereof is to provide an optimal three-dimensional modeling apparatus that adds and arranges a support to a target modeling object that is a modeling target to model the target modeling object and the support. To provide a support arrangement determining apparatus, a three-dimensional modeling system, and a support arrangement determining method capable of adding and arranging a thickness support at an optimal position.

本発明に係るサポートの配置決定装置は、造形対象である対象造形物にサポートを追加および配置して、前記対象造形物および前記サポートを造形する3次元造形装置において、前記サポートの配置位置を決定する配置決定装置である。前記サポートは、第1の太さの第1サポートと、第1の太さよりも細い第2の太さの第2サポートとを有している。前記配置決定装置は、記憶部と、基準部と、重心算出部と、主軸設定部と、回転角度候補生成部と、配置面決定部と、基準点設定部と、領域分割部と、第1太さ候補生成部と、数算出部と、決定部と、を備えている。前記記憶部は、前記対象造形物の3次元モデルのデータを記憶する。前記基準部は、所定の基準の位置および向きとなるように、前記記憶部に記憶された前記3次元モデルを移動および回転させる。前記重心算出部は、前記3次元モデルの重心を算出する。前記主軸設定部は、前記3次元モデルの外周面上の点のうち前記3次元モデルの前記重心から最も離れた最遠点を算出し、前記3次元モデルの前記重心と前記最遠点とを結ぶ主軸を設定する。前記回転角度候補生成部は、前記所定の基準の位置および向きとなるように配置した前記3次元モデルを基準にして、前記主軸を軸にして前記3次元モデルを回転させる回転角度の候補を複数生成する。前記配置面決定部は、複数生成された前記回転角度に基づいて回転させたそれぞれの前記3次元モデルにおいて、前記サポートを追加および配置する配置面を決定する。前記基準点設定部は、前記重心から前記配置面に向かう垂線を引き、前記垂線と前記配置面とが交わる基準点を設定する。前記領域分割部は、それぞれの前記配置面において、前記基準点設定部によって設定された前記基準点を含む所定の範囲内の領域であって、前記第1サポートが所定の数追加および配置される第1の領域と、前記第1の領域を除く領域であって、前記第2サポートが追加および配置される第2の領域とに分割する。前記第1太さ候補生成部は、前記第1サポートの太さである前記第1の太さの候補を複数作成する。前記数算出部は、前記配置面決定部によって決定されたそれぞれの前記配置面において、前記第2の領域に追加および配置される前記第2サポートの数を所定のルールに基づいて算出する。前記決定部は、前記回転角度候補生成部によって生成された複数の前記回転角度、および、前記第1太さ候補生成部によって生成された複数の前記第1サポートの前記第1の太さのうち、前記サポートが前記対象造形物の荷重を支持することが可能であって、前記第2サポートの数が最小となるような前記回転角度、および、前記第1サポートの前記第1の太さを決定する。   The support arrangement determining apparatus according to the present invention adds and arranges a support to a target object to be modeled, and determines a support arrangement position in the three-dimensional modeling apparatus that models the target object and the support. This is an arrangement determining device. The support includes a first support having a first thickness and a second support having a second thickness that is smaller than the first thickness. The arrangement determination device includes a storage unit, a reference unit, a center of gravity calculation unit, a spindle setting unit, a rotation angle candidate generation unit, an arrangement plane determination unit, a reference point setting unit, a region dividing unit, A thickness candidate generation unit, a number calculation unit, and a determination unit are provided. The storage unit stores data of a three-dimensional model of the target object. The reference unit moves and rotates the three-dimensional model stored in the storage unit so as to have a predetermined reference position and orientation. The center of gravity calculation unit calculates the center of gravity of the three-dimensional model. The main axis setting unit calculates a farthest point farthest from the center of gravity of the three-dimensional model among points on the outer peripheral surface of the three-dimensional model, and calculates the center of gravity and the farthest point of the three-dimensional model. Set the main axis to be connected. The rotation angle candidate generator generates a plurality of rotation angle candidates for rotating the three-dimensional model around the main axis with reference to the three-dimensional model arranged so as to have the predetermined reference position and orientation. Generate. The arrangement plane determining unit determines an arrangement plane on which the support is added and arranged in each of the three-dimensional models rotated based on the plurality of generated rotation angles. The reference point setting unit draws a perpendicular line from the center of gravity to the arrangement surface, and sets a reference point where the perpendicular line and the arrangement surface intersect. The region dividing unit is a region within a predetermined range including the reference point set by the reference point setting unit on each of the arrangement planes, and a predetermined number of the first supports are added and arranged. The area is divided into a first area and a second area excluding the first area where the second support is added and arranged. The first thickness candidate generation unit creates a plurality of candidates for the first thickness that is the thickness of the first support. The number calculation unit calculates the number of the second support added and arranged in the second area on each arrangement plane determined by the arrangement plane determination unit based on a predetermined rule. The determination unit includes the plurality of rotation angles generated by the rotation angle candidate generation unit and the first thicknesses of the plurality of first supports generated by the first thickness candidate generation unit. The rotation angle at which the support can support the load of the target object and the number of the second supports is minimized, and the first thickness of the first support. decide.

上記配置決定装置によれば、配置面の第1の領域は、配置面の領域のうち重心から近い領域である。そのため、第1の領域に追加および配置される第1サポートの太さを、第2の領域に追加および配置される第2サポートの太さよりも太くすることで、サポートは、対象造形物の重心を中心にして対象造形物の荷重を支持することができる。よって、サポートは、対象造形物の荷重を安定して支持することができる。本発明では、サポートが対象造形物の荷重を支持することが可能であって、かつ、配置面の第2の領域に追加および配置される第2サポートの数が最小となるような回転角度を、所定の基準の向きおよび位置に配置された3次元モデルの主軸を軸にして回転させる角度としている。よって、このように決定した向きで対象造形物を造形することによって、サポートが対象造形物の荷重を支持することができる。また、第2サポートの数を少なくすることができるため、サポートを造形する際に必要な材料を少なくすることができる。   According to the arrangement determining apparatus, the first area of the arrangement surface is an area near the center of gravity among the areas of the arrangement surface. Therefore, by making the thickness of the first support added and arranged in the first region thicker than the thickness of the second support added and arranged in the second region, the support becomes the center of gravity of the target object. It is possible to support the load of the target modeled object around the center. Therefore, the support can stably support the load of the target object. In the present invention, the rotation angle is such that the support can support the load of the target object and the number of second supports added and arranged in the second region of the arrangement surface is minimized. The angle of rotation about the main axis of the three-dimensional model arranged in a predetermined reference direction and position. Therefore, the support can support the load of the target modeling object by modeling the target modeling object in the direction determined as described above. Moreover, since the number of 2nd supports can be decreased, the material required when modeling a support can be decreased.

本発明の好ましい一態様によれば、前記決定部は、前記回転角度候補生成部によって生成された前記回転角度と、前記第1太さ候補生成部によって生成された前記第1の太さとを遺伝子とする個体を生成し、遺伝的アルゴリズムを利用して、前記サポートが前記対象造形物の荷重を支持することが可能であって、前記第2サポートの数が最小となるような前記回転角度および前記第1の太さを決定する。   According to a preferred aspect of the present invention, the determination unit uses the rotation angle generated by the rotation angle candidate generation unit and the first thickness generated by the first thickness candidate generation unit as a gene. And using a genetic algorithm, the rotation angle such that the support can support the load of the target object and the number of the second supports is minimized, and The first thickness is determined.

例えば、回転角度と第1サポートの太さとの取り得る全ての組み合わせを求めて、対象造形物の最適な向き、および、最適な第1サポートの太さを求める場合、演算処理が膨大となり、演算負荷が大きくなる。しかし、上記態様によれば、最適な回転角度、および、第1サポートの太さとの組み合わせを、遺伝的アルゴリズムを適用することで決定している。よって、遺伝的アルゴリズムを適用することで、回転角度と第1サポートの太さとの取り得る全ての組み合わせを求める場合と比較して、演算時間が膨大となることを防止することができる。その結果、演算負荷を小さくすることができる。   For example, when all possible combinations of the rotation angle and the thickness of the first support are obtained and the optimum orientation of the target object and the optimum thickness of the first support are obtained, the calculation processing becomes enormous, The load increases. However, according to the above aspect, the combination of the optimal rotation angle and the thickness of the first support is determined by applying a genetic algorithm. Therefore, by applying the genetic algorithm, it is possible to prevent the calculation time from becoming enormous as compared with the case of obtaining all possible combinations of the rotation angle and the thickness of the first support. As a result, the calculation load can be reduced.

本発明の好ましい他の一態様によれば、前記遺伝的アルゴリズムで用いられる評価関数Jは、前記第1サポートの数をp、前記第1サポートの太さをx、前記第2サポートの数をq、前記第2サポートの太さをβ、1つの前記サポートの引張強度をk、前記対象造形物の荷重をGt、前記対象造形物と前記3次元造形装置との間の密着力をAs、安全率をSとすると、
J=(x・k・p+β・k・q)/S−max(Gt,As)
で表される。前記決定部は、前記回転角度候補生成部によって生成された複数の前記回転角度と、前記第1太さ候補生成部によって生成された複数の前記第1サポートの前記第1の太さとを組み合わせて複数の個体を生成し、生成した複数の前記個体についてそれぞれ前記評価関数から求められる値を算出し、前記評価関数の値が0よりも大きく、かつ、前記第2サポートの数が最小となるような前記個体を抽出し、前記回転角度、および、前記第1サポートの前記第1の太さを決定する。
According to another preferred aspect of the present invention, the evaluation function J used in the genetic algorithm is such that the number of the first support is p, the thickness of the first support is x, and the number of the second support is q, the thickness of the second support is β, the tensile strength of one of the supports is k, the load of the target object is Gt, and the adhesion between the target object and the three-dimensional modeling apparatus is As, If the safety factor is S,
J = (x.k.p + .beta..k.q) / S-max (Gt, As)
It is represented by The determination unit combines the plurality of rotation angles generated by the rotation angle candidate generation unit and the first thicknesses of the plurality of first supports generated by the first thickness candidate generation unit. A plurality of individuals are generated, and values obtained from the evaluation function are calculated for each of the plurality of generated individuals, so that the value of the evaluation function is greater than 0 and the number of the second supports is minimized. The individual is extracted, and the rotation angle and the first thickness of the first support are determined.

上記態様によれば、上述したような評価関数Jを用いることで、造形する対象造形物の荷重Gtおよび密着力Asの何れか大きいほうの荷重に耐えられるような向きに、対象造形物を設定することができると共に、最適な太さの第1サポートを追加および配置することができる。   According to the above aspect, by using the evaluation function J as described above, the target model is set in a direction that can withstand the larger load of the load Gt and the adhesion force As of the target model to be modeled. And a first support of optimum thickness can be added and placed.

本発明の好ましい他の一態様によれば、前記対象造形物は、前記サポートを追加および配置しない禁止面を有している。前記回転角度候補生成部は、前記禁止面に前記サポートを追加および配置するような前記回転角度を候補としない。   According to another preferable aspect of the present invention, the target object has a prohibited surface on which the support is not added or arranged. The said rotation angle candidate production | generation part does not make the said rotation angle which adds and arrange | positions the said support to the said prohibition surface as a candidate.

例えば、対象造形物が、地面に載置した際に露出する表面部と、地面と接する底部とに明確に識別できるような造形物であるとき、上記底部内に配置面を設定し、上記底部のみにサポートを追加および配置することが好ましい場合がある。すなわち、造形する対象造形物には、意匠的な理由などによりサポートを追加および配置したくない面がある場合がある。上記態様によれば、サポートを追加および配置したくない面を禁止面とする。そして、回転角度候補生成部は、禁止面にサポートを追加および配置しないような向きとなる回転角度のみを候補にすることができる。よって、禁止面にサポートが追加および配置されない傾斜角度を、所定の基準の向きから回転する角度にすることができる。したがって、禁止面にサポートが追加および配置されることなく、サポートは対象造形物の荷重を支持することができる。   For example, when the target modeling object is a modeling object that can be clearly identified between a surface part exposed when placed on the ground and a bottom part in contact with the ground, an arrangement surface is set in the bottom part, and the bottom part It may be preferable to add and place support only at the same time. In other words, the target object to be modeled may have a surface on which support is not desired to be added or arranged due to a design reason or the like. According to the above aspect, a surface on which support is not added and arranged is prohibited. Then, the rotation angle candidate generation unit can select only rotation angles that are oriented so as not to add and place support on the prohibited surface. Therefore, the inclination angle at which the support is not added and arranged on the prohibited surface can be set to an angle that rotates from the predetermined reference direction. Therefore, the support can support the load of the target object without adding and arranging the support on the prohibited surface.

本発明に係る3次元造形システムは、前記3次元造形装置と、上述した何れかに記載されたサポートの配置決定装置と、を備えている。   A three-dimensional modeling system according to the present invention includes the three-dimensional modeling apparatus and the support arrangement determination apparatus described in any one of the above-described ones.

上記態様によれば、上述した何れかに記載されたサポートの配置決定装置を備えた3次元造形システムを提供することができる。   According to the above aspect, it is possible to provide a three-dimensional modeling system including the support arrangement determination device described in any of the above.

本発明に係るサポートの配置決定方法は、造形対象である対象造形物にサポートを追加および配置して、前記対象造形物および前記サポートを造形する3次元造形装置において、前記サポートの配置位置を決定する配置決定方法である。前記サポートは、第1の太さの第1サポートと、第1の太さよりも細い第2の太さの第2サポートとを有している。前記配置決定方法は、基準工程と、重心算出工程と、主軸設定工程と、回転角度候補生成工程と、配置面決定工程と、基準点設定工程と、領域分割工程と、第1太さ候補生成と、数算出工程と、決定工程と、を包含する。前記基準工程では、所定の基準の位置および向きとなるように、前記3次元モデルを移動および回転させる。前記重心算出工程では、前記3次元モデルの重心を算出する。前記主軸設定工程では、前記3次元モデルの外周面上の点のうち前記3次元モデルの前記重心から最も離れた最遠点を算出し、前記3次元モデルの前記重心と前記最遠点とを結ぶ主軸を設定する。回転角度候補生成工程では、前記所定の基準の位置および向きとなるように配置した前記3次元モデルを基準にして、前記主軸を軸にして前記3次元モデルを回転させる回転角度の候補を複数生成する。前記配置面決定工程では、複数生成された前記回転角度に基づいて回転させたそれぞれの前記3次元モデルにおいて、前記サポートを追加および配置する配置面を決定する。前記基準点設定工程では、前記重心から前記配置面に向かう垂線を引き、前記垂線と前記配置面とが交わる基準点を設定する。前記領域分割工程では、それぞれの前記配置面において、前記基準点設定工程で設定した前記基準点を含む所定の範囲内の領域であって、前記第1サポートが所定の数追加および配置される第1の領域と、前記第1の領域を除く領域であって、前記第2サポートが追加および配置される第2の領域とに分割する。前記第1太さ候補生成工程では、前記第1サポートの太さである前記第1の太さの候補を複数作成する。前記数算出工程では、前記配置面決定工程で決定したそれぞれの前記配置面において、前記第2の領域に追加および配置される前記第2サポートの数を所定のルールに基づいて算出する。前記決定工程では、前記回転角度候補生成工程で生成した複数の前記回転角度、および、前記第1太さ候補生成工程で生成した複数の前記第1サポートの前記第1の太さのうち、前記サポートが前記対象造形物の荷重を支持することが可能であって、前記第2サポートの数が最小となるような前記回転角度、および、前記第1サポートの前記第1の太さを決定する。   The support arrangement determining method according to the present invention determines the arrangement position of the support in a three-dimensional modeling apparatus that adds and arranges a support to a target modeling object that is a modeling target and models the target modeling object and the support. This is an arrangement determination method to be performed. The support includes a first support having a first thickness and a second support having a second thickness that is smaller than the first thickness. The arrangement determination method includes a reference process, a center of gravity calculation process, a spindle setting process, a rotation angle candidate generation process, an arrangement surface determination process, a reference point setting process, a region dividing process, and a first thickness candidate generation. And a number calculation step and a determination step. In the reference step, the three-dimensional model is moved and rotated so that a predetermined reference position and orientation are obtained. In the center of gravity calculation step, the center of gravity of the three-dimensional model is calculated. In the main axis setting step, a farthest point farthest from the centroid of the three-dimensional model among points on the outer peripheral surface of the three-dimensional model is calculated, and the centroid and the farthest point of the three-dimensional model are calculated. Set the main axis to be connected. In the rotation angle candidate generation step, a plurality of rotation angle candidates for rotating the three-dimensional model around the main axis is generated with reference to the three-dimensional model arranged so as to have the predetermined reference position and orientation. To do. In the arrangement plane determination step, an arrangement plane on which the support is added and arranged is determined in each of the three-dimensional models rotated based on the plurality of generated rotation angles. In the reference point setting step, a perpendicular line from the center of gravity to the arrangement surface is drawn, and a reference point at which the perpendicular line intersects the arrangement surface is set. In the region dividing step, each of the arrangement planes is a region within a predetermined range including the reference point set in the reference point setting step, and a predetermined number of the first supports are added and arranged. The first area is divided into an area excluding the first area and a second area where the second support is added and arranged. In the first thickness candidate generation step, a plurality of first thickness candidates that are the thicknesses of the first support are created. In the number calculating step, the number of the second supports added and arranged in the second region is calculated based on a predetermined rule in each of the arrangement surfaces determined in the arrangement surface determination step. In the determination step, among the plurality of rotation angles generated in the rotation angle candidate generation step and the first thicknesses of the plurality of first supports generated in the first thickness candidate generation step, The rotation angle and the first thickness of the first support are determined such that the support can support the load of the target object and the number of the second supports is minimized. .

本発明の好ましい他の一態様によれば、前記決定工程では、前記回転角度候補生成工程で生成した前記回転角度と、前記第1太さ候補生成工程で生成した前記第1の太さとを遺伝子とする個体を生成し、遺伝的アルゴリズムを利用して、前記サポートが前記対象造形物の荷重を支持することが可能であって、前記第2サポートの数が最小となるような前記回転角度および前記第1の太さを決定する。   According to another preferable aspect of the present invention, in the determination step, the rotation angle generated in the rotation angle candidate generation step and the first thickness generated in the first thickness candidate generation step are genes. And using a genetic algorithm, the rotation angle such that the support can support the load of the target object and the number of the second supports is minimized, and The first thickness is determined.

本発明の好ましい他の一態様によれば、前記遺伝的アルゴリズムで用いられる評価関数Jは、前記第1サポートの数をp、前記第1サポートの太さをx、前記第2サポートの数をq、前記第2サポートの太さをβ、1つの前記サポートの引張強度をk、前記対象造形物の荷重をGt、前記対象造形物と前記3次元造形装置との間の密着力をAs、安全率をSとすると、
J=(x・k・p+β・k・q)/S−max(Gt,As)
で表される。前記決定工程では、前記回転角度候補生成工程で生成した複数の前記回転角度と、前記第1太さ候補生成工程で生成した複数の前記第1サポートの前記第1の太さとを組み合わせて複数の個体を生成し、生成した複数の前記個体のそれぞれ前記評価関数から求められる値を算出し、前記評価関数の値が0よりも大きく、かつ、前記第2サポートの数が最小となるような前記個体を抽出し、前記回転角度、および、前記第1サポートの前記第1の太さを決定する。
According to another preferred aspect of the present invention, the evaluation function J used in the genetic algorithm is such that the number of the first support is p, the thickness of the first support is x, and the number of the second support is q, the thickness of the second support is β, the tensile strength of one of the supports is k, the load of the target object is Gt, and the adhesion between the target object and the three-dimensional modeling apparatus is As, If the safety factor is S,
J = (x.k.p + .beta..k.q) / S-max (Gt, As)
It is represented by In the determination step, a plurality of the rotation angles generated in the rotation angle candidate generation step and a plurality of the first thicknesses of the first support generated in the first thickness candidate generation step Generating an individual, calculating a value obtained from each of the generated evaluation functions of the plurality of individuals, wherein the value of the evaluation function is greater than 0, and the number of the second supports is minimized An individual is extracted, and the rotation angle and the first thickness of the first support are determined.

本発明の好ましい他の一態様によれば、前記対象造形物は、前記サポートを追加および配置しない禁止面を有している。前記回転角度候補生成工程では、前記禁止面に前記サポートを追加および配置するような前記回転角度を候補としない。   According to another preferable aspect of the present invention, the target object has a prohibited surface on which the support is not added or arranged. In the rotation angle candidate generation step, the rotation angle that adds and arranges the support on the prohibited surface is not a candidate.

本発明によれば、対象造形物に対して最適な太さのサポートを最適な位置に追加および配置することができる。   According to the present invention, it is possible to add and arrange a support having an optimum thickness for an object to be shaped at an optimum position.

本発明の実施形態に係る3次元造形システムの断面図である。It is sectional drawing of the three-dimensional modeling system which concerns on embodiment of this invention. 3次元造形システムの平面図である。It is a top view of a three-dimensional modeling system. ホルダに全体造形物を造形する状態を示した模式図である。It is the schematic diagram which showed the state which models the whole modeling thing in a holder. 図3のIV−IV断面における断面図である。It is sectional drawing in the IV-IV cross section of FIG. 対象造形物にサポートを追加および配置した一例を示す斜視図である。It is a perspective view which shows an example which added and arrange | positioned the support to the target molded article. 対象造形物にサポートを追加および配置した一例を示す斜視図である。It is a perspective view which shows an example which added and arrange | positioned the support to the target molded article. 対象造形物の主軸の説明図である。It is explanatory drawing of the main axis | shaft of a target molded article. 配置面を第1の領域と第2の領域とに分割することを説明する図であり、対象造形物の正面図である。It is a figure explaining dividing | segmenting an arrangement surface into a 1st area | region and a 2nd area | region, and is a front view of a target molded article. 配置決定装置のブロック図である。It is a block diagram of an arrangement determining device. 対象造形物モデルのどの面にどのようなサポートを追加および配置するかを決定する手順を示したフローチャートである。It is the flowchart which showed the procedure which determines what support is added and arrange | positioned on which surface of a target model object. 対象造形物モデルを基準の位置および向きに設定する手順を示したフローチャートである。It is the flowchart which showed the procedure which sets a target molded article model to a reference | standard position and direction. 対象造形物モデルの一例を示した斜視図である。It is the perspective view which showed an example of the target model object. 傾けた後の対象造形物モデルの一例を示した斜視図である。It is the perspective view which showed an example of the target model object after inclining. 回転させた後の対象造形物モデルの一例を示した斜視図である。It is the perspective view which showed an example of the target model object after making it rotate. 対象造形物モデルにサポートを追加および配置した状態の一例を示した対象造形物モデルの正面図である。It is a front view of the object model object which showed an example of the state which added and arranged support to the object model object model. 対象造形物モデルにサポートを追加および配置した状態の一例を示した対象造形物モデルの底面図である。It is a bottom view of the object model object which showed an example of the state which added and arranged support to an object model object model. 初期集団の個体を示す図である。It is a figure which shows the individual of an initial population. ソート後の個体を示す図である。It is a figure which shows the individual after a sort. 2点交叉により新たな個体が生成される一例を示す図である。It is a figure which shows an example in which a new individual is produced | generated by two-point crossover. 図20(a)〜(c)は、突然変異により新たな個体が生成される一例を示す図である。20A to 20C are diagrams illustrating an example in which a new individual is generated by mutation. 禁止面を示す図であり、対象造形物の一例を示す斜視図である。It is a figure which shows a prohibition surface, and is a perspective view which shows an example of a target molded article. 従来技術において、ホルダにサポートを追加した対象造形物サポートを造形する状態を示した模式図である。In the prior art, it is the schematic diagram which showed the state which models the target molded article support which added the support to the holder.

以下、図面を参照しながら、本発明の実施形態に係るサポートの配置決定装置(以下、配置決定装置という。)を備えた3次元造形システム、および、サポートの配置決定方法について説明する。なお、ここで説明される実施形態は、当然ながら特に本発明を限定することを意図したものではない。また、同じ作用を奏する部材・部位には同じ符号を付し、重複する説明は適宜省略または簡略化する。   Hereinafter, a three-dimensional modeling system including a support arrangement determination device (hereinafter referred to as an arrangement determination device) and a support arrangement determination method according to an embodiment of the present invention will be described with reference to the drawings. It should be noted that the embodiments described herein are not intended to limit the present invention. In addition, members / parts having the same action are denoted by the same reference numerals, and overlapping descriptions are omitted or simplified as appropriate.

<第1実施形態>
図1は、本実施形態に係る3次元造形システム10の断面図である。図2は、3次元造形システム10の平面図である。なお、図面中の符号F、Rr、L、Rは、それぞれ前、後、左、右を示している。ただし、これらは説明の便宜上の方向に過ぎず、3次元造形システム10の設置態様を何ら限定するものではない。
<First Embodiment>
FIG. 1 is a cross-sectional view of a three-dimensional modeling system 10 according to the present embodiment. FIG. 2 is a plan view of the three-dimensional modeling system 10. Note that symbols F, Rr, L, and R in the drawings indicate front, rear, left, and right, respectively. However, these are only directions for convenience of explanation, and do not limit the installation mode of the three-dimensional modeling system 10 at all.

3次元造形システム10は、サポートを用いて対象造形物を造形することができるシステムである。以下では、対象造形物およびサポートの全体を「全体造形物」と称することとする。3次元造形システム10では、全体造形物の複数の断面形状のデータを用いる。ここで、「断面形状」とは、全体造形物を複数の層に分割したときの各層の断面の形状のことである。3次元造形システム10では、液体の光硬化性樹脂を硬化させ、断面形状に対応した形状の樹脂層を造形する。そして、その樹脂層を順次積層することによって、全体造形物を造形する。なお、「光硬化性樹脂」とは、所定の波長を含む光が照射されると、硬化する樹脂である。   The three-dimensional modeling system 10 is a system that can model a target model using a support. Hereinafter, the entire target model and the support are referred to as “total model”. In the three-dimensional modeling system 10, data of a plurality of cross-sectional shapes of the entire modeled object is used. Here, the “cross-sectional shape” is a cross-sectional shape of each layer when the entire shaped article is divided into a plurality of layers. In the three-dimensional modeling system 10, a liquid photocurable resin is cured to model a resin layer having a shape corresponding to the cross-sectional shape. And the whole modeling thing is modeled by laminating | stacking the resin layer sequentially. The “photocurable resin” is a resin that is cured when irradiated with light having a predetermined wavelength.

図1に示すように、3次元造形システム10は、3次元造形装置10Aと、3次元造形装置10Aにおいて全体造形物を造形する前に、対象造形物の向きを決定し、かつ、サポートの形状および配置位置を決定する配置決定装置100(図9参照)とを備えている。   As shown in FIG. 1, the 3D modeling system 10 determines the orientation of the target modeled object and forms the shape of the support before modeling the entire modeled object in the 3D modeling apparatus 10A and the 3D modeling apparatus 10A. And an arrangement determining apparatus 100 (see FIG. 9) for determining an arrangement position.

3次元造形装置10Aは、台11と、槽12と、ホルダ13と、光学装置14と、制御装置16とを備えている。   The three-dimensional modeling apparatus 10 </ b> A includes a table 11, a tank 12, a holder 13, an optical device 14, and a control device 16.

台11は、ケース25に支持されている。台11には、光を通過させる開口21が形成されている。槽12は、液体の光硬化性樹脂23を収容する。槽12は、台11上に取り付け可能に載置されている。図2に示すように、槽12は、台11に載置された状態において、台11の開口21を覆う。槽12は、光を透過させることのできる材料、例えば、透明な材料によって形成されているとよい。   The base 11 is supported by the case 25. An opening 21 through which light passes is formed in the table 11. The tank 12 contains a liquid photocurable resin 23. The tank 12 is mounted on the table 11 so as to be attachable. As shown in FIG. 2, the tank 12 covers the opening 21 of the table 11 when placed on the table 11. The tank 12 is good to be formed with the material which can permeate | transmit light, for example, a transparent material.

図1に示すように、ホルダ13は、槽12の上方、かつ、台11の開口21の上方に配置されている。ホルダ13は昇降自在に構成されている。ホルダ13は、下降したときに槽12内の光硬化性樹脂23に浸漬し、上昇するときに、光が照射されて硬化した光硬化性樹脂23を吊り上げる。ここでは、台11には、上下方向に延びた支柱41が設けられている。支柱41の前方には、スライダ42が取り付けられている。スライダ42は、支柱41に沿って昇降自在であり、モータ43によって上方または下方に移動する。ここでは、ホルダ13は、スライダ42に取り付けられている。ホルダ13は、モータ43によって上方または下方に移動する。   As shown in FIG. 1, the holder 13 is disposed above the tank 12 and above the opening 21 of the table 11. The holder 13 is configured to be movable up and down. The holder 13 is immersed in the photocurable resin 23 in the tank 12 when it is lowered, and when it is raised, the holder 13 lifts the photocurable resin 23 that is cured by being irradiated with light. Here, the column 11 is provided with a support column 41 extending in the vertical direction. A slider 42 is attached in front of the column 41. The slider 42 can freely move up and down along the support column 41, and moves upward or downward by the motor 43. Here, the holder 13 is attached to the slider 42. The holder 13 is moved upward or downward by the motor 43.

光学装置14は、台11の下方に配置されている。光学装置14は、槽12内に収容された液体の光硬化性樹脂23に所定の波長からなる光を照射する装置である。光学装置14は、台11の下方に設けられたケース25に収容されている。光学装置14は、プロジェクタ31と、ミラー32とを備えている。プロジェクタ31は、光を発する光源である。ミラー32は、プロジェクタ31から発せられた光を槽12に向かって反射させる部材である。ミラー32は、台11に形成された開口21の下方、かつ、プロジェクタ31の後方に配置されている。プロジェクタ31から発せられた光は、ミラー32によって反射され、台11の開口21を通じて槽12内の光硬化性樹脂23に照射される。ただし、光学装置14の配置および構成は特に限定される訳ではない。   The optical device 14 is disposed below the table 11. The optical device 14 is a device that irradiates the liquid photocurable resin 23 contained in the tank 12 with light having a predetermined wavelength. The optical device 14 is accommodated in a case 25 provided below the table 11. The optical device 14 includes a projector 31 and a mirror 32. The projector 31 is a light source that emits light. The mirror 32 is a member that reflects the light emitted from the projector 31 toward the tank 12. The mirror 32 is disposed below the opening 21 formed in the base 11 and behind the projector 31. The light emitted from the projector 31 is reflected by the mirror 32 and is applied to the photocurable resin 23 in the tank 12 through the opening 21 of the table 11. However, the arrangement and configuration of the optical device 14 are not particularly limited.

制御装置16は、ホルダ13が取り付けられたスライダ42を昇降自在に制御するモータ43、および、光学装置14のプロジェクタ31に接続されている。制御装置16は、モータ43を駆動することによって、スライダ42およびホルダ13を上方または下方に移動させる。また、制御装置16は、プロジェクタ31から発せられる光のエネルギー、光度、光量、光の波長帯域、光の形状、光を照射させる位置および光を発するタイミングなどを制御する。なお、制御装置16の構成は特に限定されない。例えば、制御装置16は、コンピュータであり、中央演算処理装置(以下、CPUという。)と、CPUが実行するプログラムなどを格納したROMと、RAMなどを備えていてもよい。   The control device 16 is connected to a motor 43 that controls the slider 42 to which the holder 13 is attached to freely move up and down, and a projector 31 of the optical device 14. The control device 16 drives the motor 43 to move the slider 42 and the holder 13 upward or downward. Further, the control device 16 controls the energy, light intensity, light amount, light wavelength band, light shape, light irradiation position, light emission timing, and the like emitted from the projector 31. The configuration of the control device 16 is not particularly limited. For example, the control device 16 is a computer, and may include a central processing unit (hereinafter referred to as a CPU), a ROM storing a program executed by the CPU, a RAM, and the like.

以上が3次元造形装置10Aの構成である。上述したように、3次元造形装置10Aは、サポートが追加および配置された対象造形物を造形するものである。次に、サポートについて説明する。   The above is the configuration of the three-dimensional modeling apparatus 10A. As described above, the three-dimensional modeling apparatus 10A models a target modeled object to which support is added and arranged. Next, support will be described.

3次元造形装置10Aが対象造形物を造形する際、樹脂層が造形される毎にホルダ13が順次上昇し、当該樹脂層の下方に新たな樹脂層が造形される。ところが、例えば、断面積の大きな樹脂層が形成された後に、比較的小さな樹脂層、例えばホルダ13との接触面積が、大きな樹脂層の半分以下となるような大きさの小さな樹脂層があった場合、当該樹脂層がそれよりも下方に位置する大きな樹脂層を含む全樹脂層の荷重を支えきれない場合がある。その結果、造形の途中で対象造形物が破損するおそれがある。そのため、造形途中の対象造形物の荷重を十分に支持することができるように、対象造形物に対してサポートが追加および配置される。このことにより、対象造形物が造形途中に破損することを防止することができる。   When the three-dimensional modeling apparatus 10A models the target modeled object, the holder 13 is sequentially raised every time the resin layer is modeled, and a new resin layer is modeled below the resin layer. However, for example, after a resin layer having a large cross-sectional area is formed, a relatively small resin layer, for example, a resin layer having a small size such that the contact area with the holder 13 is less than half of the large resin layer is present. In this case, the resin layer may not be able to support the load of the entire resin layer including the large resin layer positioned below the resin layer. As a result, there is a possibility that the target object is damaged during the modeling. Therefore, a support is added and arranged with respect to the target model so that the load of the target model during the modeling can be sufficiently supported. Thereby, it can prevent that a target model is damaged during modeling.

例えば、3次元造形装置10Aがホルダ13に対象造形物を直接造形したとすると、造形後に対象造形物はホルダ13から引き剥がされる。その際、対象造形物のうちホルダ13と接触している部分をホルダ13から引き剥がす際、対象造形物が破損してしまう場合がある。そこで、図3に示すように、ホルダ13と対象造形物70aとの間にサポート30を追加および配置する。そして、造形完了後に全体造形物(対象造形物70aにサポート30が追加および配置された造形物)をホルダ13から引き剥がした後、サポート30を対象造形物70aから取り除く処理を行うことがある。このことにより、対象造形物70aが破損することを防止することができる。   For example, if the three-dimensional modeling apparatus 10 </ b> A directly models the target model on the holder 13, the target model is peeled off from the holder 13 after modeling. In that case, when peeling the part which is contacting the holder 13 among the object modeling objects from the holder 13, the object modeling object may be damaged. Therefore, as shown in FIG. 3, a support 30 is added and arranged between the holder 13 and the target object 70a. Then, after the modeling is completed, the entire modeled object (modeled object in which the support 30 is added and arranged on the target modeled object 70a) is peeled off from the holder 13, and then the support 30 may be removed from the target modeled object 70a. Thereby, it is possible to prevent the target object 70a from being damaged.

なお、サポート30の形状は特に限定されない。図4は、図3のIV−IV断面における断面図である。本実施形態では、図4に示すように、サポート30として、複数本の円柱を用いることとする。ここでは、図3に示すように、サポート30の上端部はホルダ13に設けられ、下端部は対象造形物70aに設けられることとする。ただし、上記のサポート30の形状は一例に過ぎない。サポート30の形状は、例えば、断面形状が三角形または四角形の形状であってもよい。複数のサポート30の形状は、それぞれ同じ形状であってもよいし、一部が異なる形状であってもよい。隣り合うサポート30の間隔は特に限定されないが、図4に示すように、ここでは一定とする。本実施形態では、複数のサポート30は、等間隔で追加および配置されている。複数のサポート30は、左右方向および前後方向に揃った位置に追加および配置されている。ただし、上記のサポート30の配置位置は一例に過ぎない。隣り合うサポート30の間隔は、一定でなくてもよい。複数のサポート30は、例えば、千鳥状に追加および配置されていてもよい。   The shape of the support 30 is not particularly limited. 4 is a cross-sectional view taken along the line IV-IV in FIG. In the present embodiment, as shown in FIG. 4, a plurality of columns are used as the support 30. Here, as shown in FIG. 3, the upper end part of the support 30 is provided in the holder 13, and the lower end part is provided in the target object 70a. However, the shape of the support 30 is merely an example. The shape of the support 30 may be, for example, a triangular or quadrangular cross-sectional shape. The shapes of the plurality of supports 30 may be the same shape or may be partially different shapes. The interval between the adjacent supports 30 is not particularly limited, but is constant here as shown in FIG. In the present embodiment, the plurality of supports 30 are added and arranged at equal intervals. The plurality of supports 30 are added and arranged at positions aligned in the left-right direction and the front-rear direction. However, the arrangement position of the support 30 is merely an example. The interval between the adjacent supports 30 may not be constant. The plurality of supports 30 may be added and arranged in a zigzag manner, for example.

次に、サポート30が対象造形物の荷重を支持するための条件について説明する。まず、サポート30が対象造形物の荷重を支持するためには、サポート30の支持可能な荷重が対象造形物の荷重よりも大きくなければならない。また、3次元造形装置10Aでは、槽12の表面と樹脂層との間に密着力が生じているので、樹脂層を槽12から引き剥がすために、その密着力よりも大きな力で対象造形物を吊り上げる必要がある。その際、サポート30には上記密着力と同じ大きさの力が加わる。したがって、サポート30が破損しないためには、サポート30の支持可能な荷重が上記密着力よりも大きくなければならない。以上より、サポート30の支持可能な荷重(以下、支持荷重という。)をLs[gf]、対象造形物の荷重をGt[gf]、対象造形物の樹脂層と槽12との間の密着力(ここでは、密着力は、後述するように、樹脂層の荷重と、槽12の表面と樹脂層との間に発生する密着力とを合わせた力とする。)をAs[gf]、とすると、Lsは、GtおよびAsのうちの何れか大きい方よりも大きくなければならない。すなわち、Ls>max(Gt,As)でなければならない。   Next, conditions for the support 30 to support the load of the target object will be described. First, in order for the support 30 to support the load of the target object, the load that can be supported by the support 30 must be larger than the load of the target object. Further, in the three-dimensional modeling apparatus 10 </ b> A, an adhesion force is generated between the surface of the tank 12 and the resin layer. Therefore, in order to peel the resin layer from the tank 12, the target modeled object is larger than the adhesion force. Need to lift. At that time, a force having the same magnitude as the adhesion force is applied to the support 30. Therefore, in order for the support 30 not to be damaged, the load that can be supported by the support 30 must be larger than the above-mentioned adhesion force. As described above, the load that can be supported by the support 30 (hereinafter referred to as a support load) is Ls [gf], the load of the target object is Gt [gf], and the adhesion between the resin layer of the target object and the tank 12 is as follows. (Here, the adhesion force is a force that combines the load of the resin layer and the adhesion force generated between the surface of the tank 12 and the resin layer, as will be described later.) As [gf], Then, Ls must be larger than the larger of Gt and As. That is, Ls> max (Gt, As) must be satisfied.

支持荷重Lsは、1つのサポート30における対象造形物と接触する面積をSp、1つのサポート30の引張強度をKp、サポート30の数をIとすると、以下の式(1)で表すことができる。
Ls=Sp×Kp×I・・・(1)
The support load Ls can be expressed by the following formula (1), where Sp is the area of the one support 30 that contacts the target object, Sp is the tensile strength of one support 30, and I is the number of supports 30. .
Ls = Sp × Kp × I (1)

対象造形物の荷重Gtは、対象造形物の体積をVa、対象造形物の密度をDaとすると、以下の式(2)で表すことができる。
Gt=Va×Da・・・(2)
The load Gt of the target model can be expressed by the following formula (2), where Va is the volume of the target model and Da is the density of the target model.
Gt = Va × Da (2)

密着力Asは、1〜n層目まで積層した際の対象造形物の体積をVn、n層目の対象造形物の断面積をSn、対象造形物の引張係数(引張応力)をKとすると、以下の式(3)で表すことができる。
As=Vn×Da+Sn×K・・・(3)
The adhesion force As is defined as follows: Vn is the volume of the target model when layers 1 to n are stacked, Sn is the cross-sectional area of the target model in the nth layer, and K is the tensile coefficient (tensile stress) of the target model. And can be represented by the following formula (3).
As = Vn × Da + Sn × K (3)

ところで、論理的にはLs>max(Gt,As)であればサポート30が破損することはない。しかし、実際には、種々の不確定要因によって、Ls>max(Gt,As)であっても、サポート30が破損する場合がある。そこで、1よりも大きな実数からなる安全率Sを導入してもよい。安全率Sを導入する場合、サポート30が対象造形物の荷重を十分に支持するための条件を以下の式(4)のように設定してもよい。
Ls/S>max(Gt,As)・・・(4)
例えば、安全率S=3とした場合、サポート30は、対象造形物の荷重Gtおよび密着力Asのうちの何れか大きい方の力の3倍までの力に耐えることができる。よって、上記式(4)を満たすことにより、サポート30は対象造形物の荷重を十分に支持することができる。
By the way, logically, if Ls> max (Gt, As), the support 30 is not damaged. However, in practice, the support 30 may be damaged due to various uncertain factors even if Ls> max (Gt, As). Therefore, a safety factor S composed of a real number larger than 1 may be introduced. When the safety factor S is introduced, a condition for the support 30 to sufficiently support the load of the object to be modeled may be set as in the following formula (4).
Ls / S> max (Gt, As) (4)
For example, when the safety factor S = 3, the support 30 can withstand a force up to three times the larger one of the load Gt and the adhesion force As of the target modeled object. Therefore, by satisfy | filling said Formula (4), the support 30 can fully support the load of a target molded article.

上述の通り、3次元造形装置10Aはホルダ13を順次上昇させることによって、対象造形物を造形する。対象造形物は、上部から下部に向かって順に造形される。3次元造形装置10Aは、対象造形物の3次元モデル(以下、対象造形物モデルという。)のデータを受け、そのデータを利用して、対象造形物モデルと実質的に同一形状の対象造形物を造形する。   As described above, the three-dimensional modeling apparatus 10 </ b> A models the target model by sequentially raising the holder 13. The target object is modeled in order from the upper part to the lower part. The three-dimensional modeling apparatus 10A receives data of a three-dimensional model (hereinafter, referred to as a target modeling model) of a target modeling object, and uses the data to form a target modeling object having substantially the same shape as the target modeling model. Is shaped.

対象造形物モデルには、予め向きが定められている(以下、初期の向きという。)。この初期の向きは、通常、対象造形物モデルのデータ作成手順に従って定められる。例えば、対象造形物モデルが円錐形状の装飾品の場合、円錐の頂点が上、底面が下に位置するように初期の向きが定められている。ところが、以下に説明するように、対象造形物を初期の向きのまま造形することは必ずしも適切ではない。   The target model object has a predetermined orientation (hereinafter referred to as an initial orientation). This initial orientation is usually determined according to the data creation procedure of the target object model. For example, when the target model object is a conical ornament, the initial orientation is determined so that the apex of the cone is on the top and the bottom is on the bottom. However, as will be described below, it is not always appropriate to form the target object in the initial orientation.

対象造形物の向きによっては、対象造形物のうちホルダ13に対向する面の面積が小さくなり、十分な数のサポート30を追加および配置することができない場合がある。例えば、図5に示すような対象造形物70bの向きでサポート30を追加および配置する場合、サポート30を追加および配置する対象造形物70bの面71b1の面積が小さい。そのため、追加可能なサポート30の数が少なくなる。その結果、造形中、対象造形物70bの荷重によって、サポート30が対象造形物70bの荷重を支えることができないおそれがある。しかし、図6に示すような対象造形物70bの向きでサポート30を追加および配置する場合、サポート30を追加および配置する対象造形物70bの面71b2の面積が大きい。そのため、追加および配置するサポート30の数が図5の例に比べて多くなる。その結果、サポート30が対象造形物70bの荷重を支える力が強くなる。本願出願人は、図6に示すように、サポート30の追加が可能な対象造形物70bの面の面積を十分に確保することができる場合、サポート30が対象造形物70bの荷重を十分に支えることができることを見出した。   Depending on the orientation of the target model, the area of the surface of the target model facing the holder 13 may be small, and a sufficient number of supports 30 may not be added and arranged. For example, when the support 30 is added and arranged in the orientation of the target object 70b as shown in FIG. 5, the area of the surface 71b1 of the target object 70b to which the support 30 is added and arranged is small. Therefore, the number of supports 30 that can be added is reduced. As a result, during modeling, the support 30 may not be able to support the load of the target model 70b due to the load of the target model 70b. However, when the support 30 is added and arranged in the orientation of the target object 70b as shown in FIG. 6, the area of the surface 71b2 of the target object 70b to which the support 30 is added and arranged is large. Therefore, the number of supports 30 to be added and arranged is larger than that in the example of FIG. As a result, the force with which the support 30 supports the load of the target object 70b is increased. As shown in FIG. 6, the applicant of the present application sufficiently supports the load of the target object 70 b when the area of the surface of the target object 70 b to which the support 30 can be added can be sufficiently secured. I found that I can do it.

そこで、本願出願人は、図7に示すような対象造形物70cの主軸78cに着目した。ここで、「主軸」とは、対象造形物70cの重心74cと、対象造形物70cの外周面上の点のうち重心74cから最も離れた点76c(以下、最遠点76cという。)とを結ぶ線のことをいう。対象造形物70cの主軸78cと平行となる面、または主軸78cに対する傾斜角度が小さい面77では、他の面に比べて面積を十分に確保することができる。よって、例えば、面77をサポート30が追加および配置される配置面とすることで、サポート30が対象造形物70cの荷重を十分な支持荷重にて支持することができる。なお、対象造形物の重心および主軸を設定する詳細な手順は、後述する。   Therefore, the applicant of the present application paid attention to the main shaft 78c of the target object 70c as shown in FIG. Here, the “principal axis” refers to the center of gravity 74c of the target object 70c and the point 76c farthest from the center of gravity 74c among the points on the outer peripheral surface of the target object 70c (hereinafter referred to as the farthest point 76c). A connecting line. A surface parallel to the main axis 78c of the target object 70c or a surface 77 having a small inclination angle with respect to the main axis 78c can sufficiently secure an area as compared with other surfaces. Therefore, for example, the support 30 can support the load of the target object 70c with a sufficient support load by setting the surface 77 as an arrangement surface on which the support 30 is added and arranged. In addition, the detailed procedure which sets the gravity center and main axis | shaft of a target molded article is mentioned later.

ところで、サポート30の数が少な過ぎると、対象造形物の荷重を十分な支持荷重にて支持することができない。一方、サポート30は、造形が完了した後、対象造形物から取り除かれる部材である。そのため、サポート30の数が多く、サポート30と対象造形物との単位面積当たりの接触面積が大き過ぎると、対象造形物からサポート30を取り除く際に多くの手間と時間を要する。また、無駄な光硬化性樹脂23が多くなる。以上の観点から、サポート30の数は少なくして、サポート30と対象造形物との単位面積当たりの接触面積は、小さくすることが好ましい。そこで、本願出願人は、サポート30が対象造形物の荷重を十分な支持荷重にて支持することができる程度であること、すなわち、上記式(4)を満たすことを前提に、対象造形物の面にどのようにサポート30を追加および配置することで、サポート30に使用される光硬化性樹脂23の量を減らすことができるかを検討した。   By the way, if the number of the supports 30 is too small, the load of the target object cannot be supported with a sufficient support load. On the other hand, the support 30 is a member that is removed from the target model after the modeling is completed. Therefore, if the number of supports 30 is large and the contact area per unit area between the support 30 and the target object is too large, it takes much time and effort to remove the support 30 from the target object. Moreover, useless photocurable resin 23 increases. From the above viewpoint, it is preferable to reduce the number of supports 30 and reduce the contact area per unit area between the support 30 and the target object. Therefore, the applicant of the present application assumes that the support 30 is capable of supporting the load of the target object with a sufficient support load, that is, assuming that the above expression (4) is satisfied. It was examined how the amount of the photocurable resin 23 used for the support 30 can be reduced by adding and arranging the support 30 on the surface.

ここで、本願出願人は、図7に示すような対象造形物70cの重心74cに着目した。対象造形物70cの重心74cの直下にサポート30を追加および配置した場合、曲げモーメントが「0」になる。そのため、対象造形物70cの面のうち、対象造形物70cの重心74cの近くに位置する領域77aを中心にサポート30を追加および配置することで、サポート30は、対象造形物70cの荷重を支持し易いことを見出した。また、重心74cの近くに位置する領域77aに追加されるサポート30により対象造形物70cの荷重の大半が支持される。この場合、対象造形物70cの面のうち、対象造形物70cの重心74cから離れた箇所に位置する領域77bには、重心74cの近くに位置する領域77aに比べて、追加するサポート30の太さを細くしても、サポート30は対象造形物70cの荷重を安定して支持することができることを見出した。   Here, the applicant of the present application paid attention to the center of gravity 74c of the target object 70c as shown in FIG. When the support 30 is added and arranged directly below the center of gravity 74c of the target object 70c, the bending moment becomes “0”. Therefore, the support 30 supports the load of the target object 70c by adding and arranging the support 30 around the region 77a located near the center of gravity 74c of the target object 70c in the surface of the target object 70c. I found it easy to do. In addition, most of the load of the target object 70c is supported by the support 30 added to the region 77a located near the center of gravity 74c. In this case, the thickness of the support 30 to be added is larger in the region 77b located at a position away from the center of gravity 74c of the target model 70c than in the region 77a located near the center of gravity 74c. It has been found that the support 30 can stably support the load of the target object 70c even if the thickness is reduced.

そこで、例えば、図8に示すように、サポート30が追加および配置される対象造形物70dの面82d(以下、配置面82dという。)のうち、対象造形物70dの重心74dの近くに位置する領域を第1の領域91dとし、配置面82dのうち第1の領域91dを除いた領域を第2の領域92dとする。第2の領域92dは、第1の領域91dと比べて、対象造形物70dの重心74dから離れた領域である。ここでは、第1の領域91dに追加および配置されるサポート30を第1サポート30Lと称する。第2の領域92dに追加および配置されるサポート30を第2サポート30Sと称する。第1サポート30Lと第2サポート30Sは一定の等しい間隔で追加および配置されることとし、さらに、第1サポート30Lの太さ(第1の太さ)を、第2サポート30Sの太さ(第2の太さ)よりも太くする。このことによって、サポート30は、対象造形物70dの重心74dを中心にして、対象造形物70dの荷重を安定して支持することができる。   Therefore, for example, as illustrated in FIG. 8, the surface 82 d (hereinafter, referred to as a placement surface 82 d) of the target model 70 d to which the support 30 is added and arranged is positioned near the center of gravity 74 d of the target model 70 d. The region is defined as a first region 91d, and the region excluding the first region 91d in the arrangement surface 82d is defined as a second region 92d. The second region 92d is a region away from the center of gravity 74d of the target object 70d as compared to the first region 91d. Here, the support 30 added and arranged in the first area 91d is referred to as a first support 30L. The support 30 added and arranged in the second area 92d is referred to as a second support 30S. The first support 30L and the second support 30S are added and arranged at a constant equal interval, and the thickness (first thickness) of the first support 30L is set to be the thickness (first thickness) of the second support 30S. (Thickness of 2). As a result, the support 30 can stably support the load of the target model 70d around the center of gravity 74d of the target model 70d.

なお、第1の領域と第2の領域とにおいて、追加および配置するサポート30の太さが異なる場合、支持荷重Lsは、以下の式(5)で表すことができる。
Ls=x・k・p+β・k・q・・・(5)
上記式(5)において、xは第1サポート30Lの太さ、kは1つのサポート30の引張強度、pは第1サポート30Lの数を表している。βは第2サポート30Sの太さ、qは第2サポート30Sの数を表している。なお、第1サポート30Lの太さxは、第2サポート30Sの太さβに対する割合をc(以下、第1太さ係数cともいう。)とすると、x=β・cで表すことができる。
In addition, when the thickness of the support 30 to be added and arranged is different between the first region and the second region, the support load Ls can be expressed by the following formula (5).
Ls = x · k · p + β · k · q (5)
In the above formula (5), x represents the thickness of the first support 30L, k represents the tensile strength of one support 30, and p represents the number of the first supports 30L. β represents the thickness of the second support 30S, and q represents the number of the second supports 30S. The thickness x of the first support 30L can be expressed by x = β · c, where c (hereinafter also referred to as a first thickness coefficient c) is the ratio of the second support 30S to the thickness β. .

従来では、サポート30を対象造形物のどの面にどのような対応で造形するかの決定は、ユーザの経験則に基づいて行われることが多かった。そのため、ユーザの決定によっては、対象造形物の荷重によって、サポート30が対象造形物の荷重を支えることができないことがあった。そこで、本実施形態では、サポート30が対象造形物の荷重を十分に支えることができるようなサポート30の太さおよび配置位置を、配置決定装置100が決定する。   Conventionally, the determination as to which surface of the target object is to be modeled and the correspondence of the support 30 is often made based on the user's rule of thumb. Therefore, depending on the user's decision, the support 30 may not be able to support the load of the target object due to the load of the target object. Therefore, in the present embodiment, the arrangement determining device 100 determines the thickness and the arrangement position of the support 30 so that the support 30 can sufficiently support the load of the target object.

図9は、配置決定装置100のブロック図である。配置決定装置100は、3次元造形装置10Aと別体であってもよいし、3次元造形装置10Aに内蔵されていてもよい。例えば、配置決定装置100は、コンピュータであり、CPUと、CPUが実行するプログラムなどを格納したROMと、RAMなどを備えていてもよい。ここでは、コンピュータ内に保存されたプログラムを使用して、サポート30の配置位置を決定する。配置決定装置100は、3次元造形システム10のための専用のコンピュータであってもよく、汎用のコンピュータであってもよい。   FIG. 9 is a block diagram of the arrangement determining apparatus 100. The arrangement determining apparatus 100 may be separate from the 3D modeling apparatus 10A, or may be incorporated in the 3D modeling apparatus 10A. For example, the arrangement determining apparatus 100 is a computer, and may include a CPU, a ROM storing a program executed by the CPU, a RAM, and the like. Here, the arrangement position of the support 30 is determined using a program stored in the computer. The arrangement determining apparatus 100 may be a dedicated computer for the three-dimensional modeling system 10 or a general-purpose computer.

配置決定装置100は、記憶部52と、前処理部54と、重心算出部56と、初期部57と、主軸設定部58と、基準部60と、回転角度候補生成部62と、第1太さ候補生成部63と、配置面決定部64と、基準点設定部65と、領域分割部66と、数算出部67と、決定部68とを備えている。なお、上述した各部は、ソフトウェアによって構成されていてもよいし、ハードウェアによって構成されていてもよい。各部の詳細な説明は、後述のフローチャートに沿って行う。   The arrangement determining apparatus 100 includes a storage unit 52, a preprocessing unit 54, a centroid calculation unit 56, an initial unit 57, a spindle setting unit 58, a reference unit 60, a rotation angle candidate generation unit 62, and a first thickening unit. A candidate generation unit 63, an arrangement plane determination unit 64, a reference point setting unit 65, a region division unit 66, a number calculation unit 67, and a determination unit 68. In addition, each part mentioned above may be comprised by software, and may be comprised by hardware. A detailed description of each part will be given according to the flowchart described later.

図10は、対象造形物モデル72のどの面にどのようなサポート30を追加および配置するかを決定する手順を示したフローチャートである。図11は、対象造形物モデル72を基準の位置および向きに設定する手順を示したフローチャートである。図12〜図16は、対象造形物モデル72の斜視図である。ここでは、図12〜図16の対象造形物モデル72を用いて、対象造形物70の3次元モデルである対象造形物モデル72において、どのようなサポート30をどの面に追加および配置するかを決定する手順について図10および図11のフローチャートに沿って説明する。   FIG. 10 is a flowchart showing a procedure for determining what support 30 is added and arranged on which surface of the target object model 72. FIG. 11 is a flowchart showing a procedure for setting the target object model 72 to the reference position and orientation. 12 to 16 are perspective views of the target object model 72. Here, using the target object model 72 in FIGS. 12 to 16, what support 30 is added and arranged on which surface in the target object model 72 which is a three-dimensional model of the object object 70. The determination procedure will be described with reference to the flowcharts of FIGS. 10 and 11.

ここでは、対象造形物モデル72の下面にサポート30が追加および配置されるものとする。ただし、サポート30が追加および配置される位置は特に限定されず、例えば、サポート30は対象造形物70の上面に追加および配置されるものであってもよい。   Here, it is assumed that the support 30 is added and arranged on the lower surface of the target object model 72. However, the position at which the support 30 is added and arranged is not particularly limited. For example, the support 30 may be added and arranged on the upper surface of the target object 70.

本実施形態では、配置決定装置100の記憶部52には、対象造形物70に対応する対象造形物モデル72のデータが予め記憶されているものとする。対象造形物モデル72のデータは、例えば、ユーザの操作によって、記録媒体または他のコンピュータ(図示せず)から記憶部52に読み込まれる。対象造形物モデル72のデータは、例えば、XYZ直交座標系の複数の点の集合で特定されるデータであり、3次元データである。対象造形物モデル72では、複数の三角形のポリゴンまたは三角錐のポリゴンを組み合わせることで対象造形物70を再現している。   In the present embodiment, it is assumed that data of the target object model 72 corresponding to the target object 70 is stored in the storage unit 52 of the arrangement determining apparatus 100 in advance. The data of the target model object 72 is read into the storage unit 52 from a recording medium or another computer (not shown), for example, by a user operation. The data of the target model object 72 is, for example, data specified by a set of a plurality of points in an XYZ orthogonal coordinate system, and is three-dimensional data. In the target model object 72, the target model 70 is reproduced by combining a plurality of triangular polygons or triangular pyramid polygons.

まず、ステップS101では、前処理部54は、記憶部52に記憶された対象造形物モデル72に対して、前処理を行う。対象造形物モデル72は、対象造形物70の3次元形状を忠実に再現した詳細なデータであることが多い。対象造形物モデル72をそのまま用いると、配置決定装置100における配置決定処理に多大な時間を要することがある。そこで、前処理部54は、対象造形物モデル72に対して前処理を行い、対象造形物モデル72のデータ量を小さくすることが好ましい。ここでは、前処理部54は、対象造形物モデル72に対して平滑化処理を行う。例えば、平滑化処理として、対象造形物モデル72を構成する三角形のポリゴンの数を減少させ、データ量を小さくする処理を行えばよい。平滑化処理の方法は特に限定されず、例えば、従来公知の平滑化処理の方法を適用することができる。例えば、平滑化処理の方法として、ガウス関数を使用してもよい。ここでは、平滑化処理が行われた対象造形物モデル72のデータは、記憶部52に記憶される。なお、ステップS101の前処理は、省略することが可能である。   First, in step S <b> 101, the preprocessing unit 54 performs preprocessing on the target object model 72 stored in the storage unit 52. The target model object 72 is often detailed data that faithfully reproduces the three-dimensional shape of the target model 70. If the target model object 72 is used as it is, the arrangement determination process in the arrangement determination apparatus 100 may take a long time. Therefore, it is preferable that the preprocessing unit 54 performs preprocessing on the target model object 72 to reduce the data amount of the target model model 72. Here, the preprocessing unit 54 performs a smoothing process on the target object model 72. For example, as the smoothing process, a process of reducing the amount of data by reducing the number of triangular polygons constituting the target model object 72 may be performed. The smoothing method is not particularly limited, and for example, a conventionally known smoothing method can be applied. For example, a Gaussian function may be used as a smoothing method. Here, the data of the target object model 72 that has been subjected to the smoothing process is stored in the storage unit 52. Note that the pre-processing in step S101 can be omitted.

次に、ステップS102では、対象造形物モデル72の基準となる位置および向きを設定する。本実施形態では、対象造形物モデル72の初期の位置および向きを設定する。対象造形物モデル72の位置および向きは、3軸の直交座標によって特定される。ただし、他の座標系を用いて対象造形物モデル72の位置および向きを特定することも可能である。ここでは、対象造形物モデル72の初期の位置および向きから、基準の位置および向きを設定する。対象造形物モデル72を基準の位置および向きに設定する手順は、図11のステップS201〜ステップS205に沿って行われる。   Next, in step S <b> 102, the position and orientation serving as a reference for the target model object 72 are set. In the present embodiment, the initial position and orientation of the target object model 72 are set. The position and orientation of the target object model 72 are specified by three-axis orthogonal coordinates. However, it is also possible to specify the position and orientation of the target object model 72 using another coordinate system. Here, the reference position and orientation are set from the initial position and orientation of the target object model 72. The procedure of setting the target object model 72 to the reference position and orientation is performed along steps S201 to S205 in FIG.

まず、ステップS201では、重心算出部56は、対象造形物モデル72の重心を算出する。ここでは、対象造形物モデル72の重心を算出する方法として、従来公知の方法を用いることができる。例えば、対象造形物モデル72を構成する各三角錐のポリゴンの重心を利用して対象造形物モデル72の重心を算出することができる。なお、図12において、対象造形物モデル72の重心は、点74である。   First, in step S <b> 201, the center of gravity calculation unit 56 calculates the center of gravity of the target model object 72. Here, a conventionally known method can be used as a method of calculating the center of gravity of the target object model 72. For example, the center of gravity of the target object model 72 can be calculated by using the center of gravity of each triangular pyramid polygon constituting the target object model 72. In FIG. 12, the center of gravity of the target model object 72 is a point 74.

例えば、重心算出部56によって、対象造形物モデル72の重心74は、以下のようにして算出することができる。例えば、対象造形物モデル72は、複数の三角錐のポリゴンA1、A2、・・・、Anを組み合わせて構成されているとする。ここでは、まず、重心算出部56は、対象造形物モデル72の体積Vallを算出する。次に、重心算出部56は、三角錐のポリゴンA1、A2、・・・、Anの重心G1、G2、・・・、Gn、および、三角錐のポリゴンA1、A2、・・・、Anの体積V1、V2、・・・、Vnを算出する。このとき、対象造形物モデル72の重心74は、以下の式(6)で算出される。
重心74=(V1×G1+V2×G2+・・・+Vn×Gn)/Vall・・・(6)
For example, the center of gravity 74 of the target object model 72 can be calculated by the center of gravity calculation unit 56 as follows. For example, it is assumed that the target object model 72 is configured by combining a plurality of triangular pyramid polygons A1, A2,. Here, first, the center-of-gravity calculation unit 56 calculates the volume Vall of the target object model 72. Next, the center-of-gravity calculation unit 56 calculates the polygonal pyramid polygons A1, A2,..., An gravity centers G1, G2,..., Gn and the triangular pyramid polygons A1, A2,. Volumes V1, V2,..., Vn are calculated. At this time, the center of gravity 74 of the target object model 72 is calculated by the following equation (6).
Center of gravity 74 = (V1 × G1 + V2 × G2 +... + Vn × Gn) / Vall (6)

次に、ステップS202では、初期部57は、対象造形物モデル72の初期の位置および向きを設定する。詳しくは、初期部57は、ステップS201において算出した対象造形物モデル72の重心74が、平面視において、ホルダ13(図1参照)の中心の位置となるように初期の位置を設定する。また、対象造形物モデル72の初期の向きは、例えば、対象造形物モデル72を作成した際の向きである。なお、対象造形物モデル72の初期の位置および向きは特に限定されない。ここでは、初期部57は、初期の位置および向きとなるように、対象造形物モデル72を移動および回転させる。なお、初期の位置および向きに設定された対象造形物モデル72は、記憶部52に記憶される。   Next, in step S <b> 202, the initial unit 57 sets the initial position and orientation of the target object model 72. Specifically, the initial unit 57 sets the initial position so that the center of gravity 74 of the target object model 72 calculated in step S201 is the center position of the holder 13 (see FIG. 1) in plan view. The initial orientation of the target model object 72 is, for example, the direction when the target model model 72 is created. Note that the initial position and orientation of the target model object 72 are not particularly limited. Here, the initial part 57 moves and rotates the target model object 72 so as to be in the initial position and orientation. The target object model 72 set to the initial position and orientation is stored in the storage unit 52.

次に、ステップS203では、主軸設定部58は、対象造形物モデル72の主軸を設定する。上述したように、「主軸」とは、対象造形物モデル72の重心74と、対象造形物モデル72の外周面上の点の三角形のポリゴンの重心のうち、重心74から最も離れた三角形のポリゴンの重心(以下、最遠点という。)とを結ぶ線のことをいう。例えば、対象造形物モデル72の主軸は、以下の手順で設定することができる。まず、主軸設定部58は、対象造形物モデル72の重心74と、対象造形物モデル72を構成する各三角形のポリゴンの重心との距離をそれぞれ算出する。ここでは、対象造形物モデル72を構成する各三角形のポリゴンの重心は、ステップS201で算出したポリゴンの重心を利用することができる。そして、主軸設定部58は、上記で算出した距離のうち最も長い距離に対応した三角形のポリゴンの重心を求める。図12の対象造形物モデル72では、対象造形物モデル72の重心74から最も離れた三角形のポリゴンはポリゴン76aであり、最遠点は、ポリゴン76aの重心76である。ここでは、主軸設定部58は、対象造形物モデル72の重心74と最遠点76とが通る直線を主軸78に設定する。なお、厳密には、ポリゴン76aの重心76が、対象造形物モデル72の重心から最も離れた最遠点とは限らない。これは、ポリゴン76aが重心76を中心にある一定の面積を持つ平面であるからである。しかし、ポリゴン76aは、通常、対象造形物モデル72の表面積に対して十分に小さな面積であるため、重心76を最遠点とみなすことができる。   Next, in step S <b> 203, the main axis setting unit 58 sets the main axis of the target model object 72. As described above, the “principal axis” is a triangular polygon farthest from the center of gravity 74 out of the center of gravity 74 of the object model 72 and the center of the triangle polygon of the point on the outer peripheral surface of the object model 72. The line connecting the center of gravity (hereinafter referred to as the farthest point). For example, the main axis of the target model object 72 can be set by the following procedure. First, the main axis setting unit 58 calculates the distance between the center of gravity 74 of the target object model 72 and the center of gravity of the polygons of each triangle that constitutes the target object model 72. Here, the center of gravity of the polygon calculated in step S201 can be used as the center of gravity of each triangular polygon constituting the target model object 72. The main axis setting unit 58 obtains the center of gravity of the triangular polygon corresponding to the longest distance among the distances calculated above. In the target object model 72 of FIG. 12, the triangular polygon farthest from the center of gravity 74 of the target object model 72 is the polygon 76a, and the farthest point is the center of gravity 76 of the polygon 76a. Here, the main axis setting unit 58 sets the main axis 78 as a straight line through which the center of gravity 74 and the farthest point 76 of the target object model 72 pass. Strictly speaking, the center of gravity 76 of the polygon 76 a is not necessarily the farthest point farthest from the center of gravity of the target object model 72. This is because the polygon 76 a is a plane having a certain area centered on the center of gravity 76. However, since the polygon 76a is usually a sufficiently small area with respect to the surface area of the target object model 72, the center of gravity 76 can be regarded as the farthest point.

次に、ステップS204では、図13に示すように、基準部60は、対象造形物モデル72の主軸78が水平面Hに対して平行になるように、初期部57によって初期の位置および向きに設定された対象造形物モデル72を傾ける。ここでは、水平面Hとは、対象造形物70が造形されるホルダ13の面、すなわち、ホルダ13の下面(対象造形物70と対向する面)である。そのため、基準部60は、対象造形物モデル72の主軸78がホルダ13の下面に対して平行になるように、初期の位置および向きに設定された対象造形物モデル72を傾ける。なお、傾けた後の対象造形物モデル72は、記憶部52に記憶される。   Next, in step S204, as shown in FIG. 13, the reference portion 60 is set to the initial position and orientation by the initial portion 57 so that the main axis 78 of the target object model 72 is parallel to the horizontal plane H. The target object model 72 is tilted. Here, the horizontal plane H is the surface of the holder 13 on which the target model 70 is modeled, that is, the lower surface of the holder 13 (the surface facing the target model 70). Therefore, the reference unit 60 tilts the target object model 72 set to the initial position and orientation so that the main axis 78 of the target object model 72 is parallel to the lower surface of the holder 13. Note that the target object model 72 after being tilted is stored in the storage unit 52.

次に、ステップS205では、基準部60は、対象造形物モデル72を回転させる。詳しくは、まず、基準部60は、ステップS204で傾けられた対象造形物モデル72に対して、対象造形物モデル72の外周面上における三角形のポリゴンの重心のうち、対象造形物モデル72の重心74から最も近い点である最近点を求める。図13では、最近点は対象造形物モデル72の上面上に位置する点80である。そして、基準部60は、平面視において、最近点80が主軸78と重なる位置であって、図14に示すように、主軸78よりも下方に位置するように、主軸78を軸にして対象造形物モデル72を回転させる。ここでは、基準部60は、最近点80が水平面H、すなわち、ホルダ13の面に対して、最も近い位置となるように、主軸78を軸にして、対象造形物モデル72を回転させる。回転させた後の対象造形物モデル72の下面には、最近点80が位置する。本実施形態では、基準部60によって回転させた後の対象造形物モデル72の位置および向きが、基準の位置および向きとなる。なお、回転させた後の対象造形物モデル72は、記憶部52に記憶される。   Next, in step S <b> 205, the reference unit 60 rotates the target model object 72. Specifically, first, the reference unit 60 determines the center of gravity of the target object model 72 among the center of gravity of the triangular polygons on the outer peripheral surface of the target object model 72 with respect to the target object model 72 tilted in step S204. The nearest point which is the closest point from 74 is obtained. In FIG. 13, the closest point is a point 80 located on the upper surface of the target object model 72. Then, the reference unit 60 is a target modeling with the main shaft 78 as an axis so that the closest point 80 overlaps with the main shaft 78 in a plan view and is positioned below the main shaft 78 as shown in FIG. The object model 72 is rotated. Here, the reference unit 60 rotates the target object model 72 about the main axis 78 so that the closest point 80 is the closest position to the horizontal plane H, that is, the surface of the holder 13. The closest point 80 is located on the lower surface of the target model object 72 after being rotated. In the present embodiment, the position and orientation of the target object model 72 after being rotated by the reference portion 60 become the reference position and orientation. The object model 72 after being rotated is stored in the storage unit 52.

以上のようにして、基準の位置および向きに設定された対象造形物モデル72に対して、図10のステップS103以降のステップを行う。ステップS103以降のステップでは、基準の位置および向きに設定された対象造形物モデル72について、サポート30を追加および配置する配置面、第1サポート30Lの太さ、および、第2サポート30Sの数を決定する。なお、第1サポート30Lの数、および、第2サポート30Sの太さは予め決定されているものとする。ここでは、第2サポート30Sの数は、所定のルールに従って一様に求めることができる。   As described above, the steps after step S103 in FIG. 10 are performed on the target object model 72 set at the reference position and orientation. In step S103 and subsequent steps, with respect to the target object model 72 set to the reference position and orientation, the arrangement surface on which the support 30 is added and arranged, the thickness of the first support 30L, and the number of second supports 30S are set. decide. It is assumed that the number of first supports 30L and the thickness of the second support 30S are determined in advance. Here, the number of second supports 30S can be obtained uniformly according to a predetermined rule.

サポート30を追加および配置する配置面は、基準の位置および向きに設定された対象造形物モデル72に対して主軸78を軸にして回転させた後の対象造形物モデル72の下面である。このとき、主軸78を軸にして対象造形物モデル72を基準の位置および向きから回転させることが可能な角度(以下、回転角度θという。)は、複数存在する。また、第1サポート30Lの太さが取り得る値は複数存在する。そのため、回転角度θと第1サポート30Lの太さとが取り得る組み合わせの数は膨大になり、膨大な処理時間が必要となる。そこで、本実施形態では、最適な回転角度θと第1サポート30Lの太さとの組み合わせを、遺伝的アルゴリズムを適用して決定することとする。ここでは、遺伝的アルゴリズムを適用して対象造形物モデル72の最適な位置および向きを決定し、決定した最適な位置および向きの対象造形物モデル72に対して、最適な太さ、かつ、最適な数のサポート30を追加および配置する。   The arrangement surface on which the support 30 is added and arranged is the lower surface of the target object model 72 after being rotated around the main axis 78 with respect to the target object model 72 set to the reference position and orientation. At this time, there are a plurality of angles (hereinafter referred to as rotation angles θ) that allow the object model 72 to be rotated from the reference position and orientation with the main shaft 78 as an axis. There are a plurality of values that the thickness of the first support 30L can take. Therefore, the number of combinations that the rotation angle θ and the thickness of the first support 30L can take is enormous, and enormous processing time is required. Therefore, in the present embodiment, a combination of the optimal rotation angle θ and the thickness of the first support 30L is determined by applying a genetic algorithm. Here, the optimal position and orientation of the target object model 72 are determined by applying a genetic algorithm, and the optimal thickness and the optimal for the target object model 72 having the determined optimal position and orientation are determined. Add and deploy a large number of supports 30.

まず、図10のステップS103では、初期集団の生成を行う。ステップS103では、初めに、予め定められた数の個体(以下、個体数をnとする。)を生成する。例えば、第1サポート30Lの太さは、第2サポート30Sの太さに対する割合、すなわち、第2サポート30Sの太さ×第1太さ係数cで求めることができる。各個体は、対象造形物モデル72の主軸78を軸にして、基準の位置および向きから回転させた回転角度θ、および、第1太さ係数cを遺伝子とし、回転角度θ、第1太さ係数cを順に並べたものである。ここでは、回転角度候補生成部62は、基準の位置および向きとなるように配置した対象造形物モデル72を基準にして、主軸78を軸にして対象造形物モデル72を回転させる回転角度θの候補を複数作成する。第1太さ候補生成部63は、第1サポート30Lの太さを求める際に用いられる第1の太さ係数cの候補を複数作成する。そして、生成された複数の回転角度θと複数の第1太さ係数cとから各個体を生成することで、初期集団を生成する。   First, in step S103 of FIG. 10, an initial population is generated. In step S103, first, a predetermined number of individuals (hereinafter, the number of individuals is assumed to be n) is generated. For example, the thickness of the first support 30L can be obtained by the ratio to the thickness of the second support 30S, that is, the thickness of the second support 30S × the first thickness coefficient c. Each individual uses the rotation angle θ rotated from the reference position and orientation around the main axis 78 of the target object model 72 and the first thickness coefficient c as genes, and the rotation angle θ and the first thickness. The coefficients c are arranged in order. Here, the rotation angle candidate generation unit 62 has a rotation angle θ that rotates the target object model 72 about the main axis 78 with the target object model 72 arranged so as to be in the reference position and orientation as a reference. Create multiple candidates. The first thickness candidate generation unit 63 creates a plurality of candidates for the first thickness coefficient c used when determining the thickness of the first support 30L. Then, by generating each individual from the plurality of generated rotation angles θ and the plurality of first thickness coefficients c, an initial population is generated.

ところで、図11のステップS205において、基準部60によって回転させた後の対象造形物モデル72の下面は、重心74から近い面である(図14参照)。そのため、回転させた後の対象造形物モデル72の下面にサポート30を追加および配置すると、サポート30は、対象造形物70の荷重をより安定して支えることができる。そのため、ステップS205で回転させた後の対象造形物モデル72の下面の少なくとも一部には、サポート30を追加および配置することが好ましい。そこで、回転角度θの取り得る範囲は、基準の位置および向きに設定された対象造形物モデル72の下面の一部が、回転角度θに従って対象造形物モデル72を回転させた後であっても、下面に位置するような範囲であることが好ましい。対象造形物モデル72によって、回転角度θの範囲は異なるが、例えば、回転角度θの範囲は、−90°≦θ≦90°である。ここでは、各個体の遺伝子のうち回転角度θは、回転角度候補生成部62によって上記の範囲の中の乱数で決定される。   By the way, in step S205 of FIG. 11, the lower surface of the target object model 72 after being rotated by the reference unit 60 is a surface close to the center of gravity 74 (see FIG. 14). Therefore, when the support 30 is added and arranged on the lower surface of the target object model 72 after being rotated, the support 30 can support the load of the object object 70 more stably. Therefore, it is preferable to add and arrange the support 30 on at least a part of the lower surface of the target object model 72 after being rotated in step S205. Therefore, the range that the rotation angle θ can take is even after a part of the lower surface of the target object model 72 set to the reference position and orientation rotates the target object model 72 according to the rotation angle θ. The range is preferably located on the lower surface. Although the range of the rotation angle θ varies depending on the target model object 72, for example, the range of the rotation angle θ is −90 ° ≦ θ ≦ 90 °. Here, the rotation angle θ among the genes of each individual is determined by the rotation angle candidate generation unit 62 using a random number within the above range.

また、第1太さ係数cの範囲は、予め設定されているとよい。第1太さ係数cの下限値は1より大きいとよい。ここで、第1サポート30Lの太さの上限値をxMaxとし、第2サポート30Sの太さをβとすると、第2サポート30Sの太さβは、β<xMaxで表される。なお、第1太さ係数cの上限値は、特に限定されない。例えば、第1太さ係数cの上限値は、xMax/βより小さいとよい。すなわち、第1太さ係数cの範囲は、例えば、1<c<xMax/βである。ここでは、各個体の遺伝子のうち第1太さ係数cは、第1太さ候補生成部63によって、1<c<xMax/βの中の乱数で決定される。   The range of the first thickness coefficient c may be set in advance. The lower limit value of the first thickness coefficient c is preferably larger than 1. Here, if the upper limit value of the thickness of the first support 30L is xMax and the thickness of the second support 30S is β, the thickness β of the second support 30S is expressed by β <xMax. The upper limit value of the first thickness coefficient c is not particularly limited. For example, the upper limit value of the first thickness coefficient c is preferably smaller than xMax / β. That is, the range of the first thickness coefficient c is, for example, 1 <c <xMax / β. Here, among the genes of each individual, the first thickness coefficient c is determined by the first thickness candidate generation unit 63 with a random number in 1 <c <xMax / β.

以上のようにして、例えば、図17に示すようなn個の個体G0、G0、G0、・・・、G0が得られる。なお、図17〜図20において、括弧内の数値は、左が回転角度θ、右が第1太さ係数cを示している。 As described above, for example, n individuals G0 1 , G0 2 , G0 3 ,..., G0 n as shown in FIG. In FIG. 17 to FIG. 20, the numerical values in parentheses indicate the rotation angle θ on the left and the first thickness coefficient c on the right.

次に、ステップS104では、適応度の評価を行う。ここでは、まず、配置面決定部64は、各個体の遺伝子である回転角度θに従って、主軸78を軸にして対象造形物モデル72を回転させて対象造形物モデル72の向きをそれぞれ変更する。そして、配置面決定部64は、回転角度θに従って向きを変更した対象造形物モデル72に対して、サポート30を追加および配置する配置面を設定する。上述したように、図14に示すように、配置面は、回転角度θに従って向きを変更した後の対象造形物モデル72の下面82である。   Next, in step S104, fitness is evaluated. Here, first, the arrangement surface determination unit 64 changes the orientation of the target object model 72 by rotating the target object model 72 around the main axis 78 in accordance with the rotation angle θ that is the gene of each individual. And the arrangement | positioning surface determination part 64 sets the arrangement | positioning surface which adds and arrange | positions the support 30 with respect to the target model object 72 which changed direction according to rotation angle (theta). As described above, as shown in FIG. 14, the arrangement surface is the lower surface 82 of the target object model 72 after the direction is changed according to the rotation angle θ.

次に、領域分割部66は、図16に示すように、配置面82を第1の領域91と第2の領域92とに分割する。例えば、以下のようにして、配置面82を第1の領域91と第2の領域92とに分割するとよい。まず、基準点設定部65は、図15に示すように、領域基準点86を設定する。「領域基準点」とは、配置面82上に位置し、配置面82を分割する際に使用する基準となる点のことである。本実施形態では、「領域基準点」は、本発明の「基準点」に対応する。領域基準点86は、以下のようにして設定することができる。まず、基準点設定部65は、重心算出部56によって算出された対象造形物モデル72の重心74から配置面82に向かって垂線84を引く。垂線84は、配置面82に対して直交する線である。そして、基準点設定部65は、垂線84と配置面82との交点を領域基準点86として設定する。ここでは、領域基準点86は、底面視において、対象造形物モデル72の重心74と重なるような点である。領域基準点86は、配置面82上の点のうち重心74に最も近い点である。本実施形態では、領域基準点86は、最近点80と一致する。   Next, the area dividing unit 66 divides the arrangement surface 82 into a first area 91 and a second area 92 as shown in FIG. For example, the arrangement surface 82 may be divided into a first area 91 and a second area 92 as follows. First, the reference point setting unit 65 sets an area reference point 86 as shown in FIG. The “region reference point” is a point that is located on the arrangement surface 82 and serves as a reference used when dividing the arrangement surface 82. In the present embodiment, the “region reference point” corresponds to the “reference point” of the present invention. The area reference point 86 can be set as follows. First, the reference point setting unit 65 draws a perpendicular 84 from the center of gravity 74 of the target object model 72 calculated by the center of gravity calculating unit 56 toward the arrangement surface 82. The perpendicular 84 is a line orthogonal to the arrangement surface 82. Then, the reference point setting unit 65 sets the intersection of the perpendicular 84 and the arrangement surface 82 as the region reference point 86. Here, the region reference point 86 is a point that overlaps with the center of gravity 74 of the target object model 72 in the bottom view. The area reference point 86 is a point closest to the center of gravity 74 among the points on the arrangement surface 82. In the present embodiment, the region reference point 86 coincides with the nearest point 80.

次に、領域分割部66は、配置面82を分割する。ここでは、領域分割部66は、基準点設定部65によって設定された領域基準点86を基準として、配置面82を第1の領域91と第2の領域92とに分割する。第1の領域91は、対象造形物モデル72の重心74から近い領域である。第1の領域91は、領域基準点86を含む所定の範囲内の領域である。領域基準点86を含む所定の範囲は、記憶部52に予め記憶されている範囲である。領域基準点86を含む所定の範囲は特に限定されず、例えば、領域基準点86を中心に、所定の距離離れた範囲である。例えば、所定の距離とは、領域基準点86を中心に、対象造形物モデル72の荷重の所定の割合分の荷重を含むような距離である。この所定の距離は、記憶部52に予め定められた数値である。ここでは、領域基準点86は、図16に示すように、第1の領域91の中心に位置している。第1の領域91の中心とは、領域内の真ん中に位置する点のことである。第1の領域91の中心は、従来公知の方法を利用して求めるとよい。第1の領域91における領域基準点86の位置は特に限定されない。例えば、領域基準点86は、第1の領域91の端に位置していてもよい。   Next, the area dividing unit 66 divides the arrangement surface 82. Here, the region dividing unit 66 divides the arrangement surface 82 into a first region 91 and a second region 92 with the region reference point 86 set by the reference point setting unit 65 as a reference. The first area 91 is an area close to the center of gravity 74 of the target object model 72. The first area 91 is an area within a predetermined range including the area reference point 86. The predetermined range including the area reference point 86 is a range stored in advance in the storage unit 52. The predetermined range including the area reference point 86 is not particularly limited, and is, for example, a range that is separated from the area reference point 86 by a predetermined distance. For example, the predetermined distance is a distance including a load corresponding to a predetermined ratio of the load of the target object model 72 with the region reference point 86 as the center. This predetermined distance is a numerical value predetermined in the storage unit 52. Here, the region reference point 86 is located at the center of the first region 91 as shown in FIG. The center of the first region 91 is a point located in the middle of the region. The center of the first region 91 may be obtained using a conventionally known method. The position of the area reference point 86 in the first area 91 is not particularly limited. For example, the area reference point 86 may be located at the end of the first area 91.

第2の領域92は、配置面82において第1の領域91を除いた領域である。第2の領域92は、対象造形物モデル72の重心74を基準にして、第1の領域91よりも離れた位置の領域である。   The second area 92 is an area excluding the first area 91 on the arrangement surface 82. The second region 92 is a region at a position farther from the first region 91 with reference to the center of gravity 74 of the target object model 72.

以上のようにして、領域分割部66によって配置面82を第1の領域91と第2の領域92とに分割した後、数算出部67は、第2サポート30Sを所定のルールに従って第2の領域92に追加および配置し、対象造形物モデル72に追加および配置した第2サポート30Sの数を算出する。ここでは、上述のように、前後方向および左右方向に等間隔になるように複数の第2サポート30Sを第2の領域92に追加および配置する。その後、決定部68は、各個体について、第2サポート30Sの数、遺伝子である第1太さ係数cを用いて、評価関数Jの値を算出する。ここで、評価関数Jは、上述の式(1)〜(5)を用いて、以下の式(7)のように表すことができる。
J=Ls/S−max(Gt,As)
=(β・c・k・p+β・k・q)/S−max(Va・Da,Vn・Da+Sn・K)・・・(7)
As described above, after dividing the arrangement surface 82 into the first area 91 and the second area 92 by the area dividing section 66, the number calculating section 67 sets the second support 30S to the second area according to a predetermined rule. The number of second supports 30S added and arranged in the region 92 and added and arranged in the target model object 72 is calculated. Here, as described above, the plurality of second supports 30S are added and arranged in the second region 92 so as to be equally spaced in the front-rear direction and the left-right direction. Thereafter, the determination unit 68 calculates the value of the evaluation function J for each individual using the number of the second support 30S and the first thickness coefficient c which is a gene. Here, the evaluation function J can be expressed as the following formula (7) using the above formulas (1) to (5).
J = Ls / S-max (Gt, As)
= (Β · c · k · p + β · k · q) / S-max (Va · Da, Vn · Da + Sn · K) (7)

なお、上述のように、Lsはサポート30の支持可能な荷重(支持荷重)、Sは安全率、Gtは対象造形物70の荷重、Asは対象造形物70の樹脂層と槽12との間の密着力を表している。βは第2サポート30Sの太さ、cは第1太さ係数、kは1つのサポート30の引張強度、pは第1サポート30Lの数を表している。qは第2サポート30Sの数を表している。ここでは、β・cは第1サポート30Lの太さを表している。また、Vaは対象造形物70の体積、Daは対象造形物70の密度、Vnは1〜n層目まで積層した際の対象造形物70の体積、Snはn層目の対象造形物70の断面積、Kは対象造形物70の応力(引張応力)を表している。   As described above, Ls is a load that can be supported by the support 30 (support load), S is a safety factor, Gt is the load of the target object 70, and As is between the resin layer of the target object 70 and the tank 12. It shows the adhesion strength. β represents the thickness of the second support 30S, c represents the first thickness coefficient, k represents the tensile strength of one support 30, and p represents the number of the first supports 30L. q represents the number of second supports 30S. Here, β · c represents the thickness of the first support 30L. Further, Va is the volume of the target model 70, Da is the density of the target model 70, Vn is the volume of the target model 70 when the first to nth layers are stacked, and Sn is the nth layer of the target model 70. The cross-sectional area, K, represents the stress (tensile stress) of the target object 70.

その後、決定部68は、算出したn個の個体G0、G0、G0、・・・、G0の評価関数Jの値を比較する。ここでは、決定部68は、評価関数Jの値が0よりも大きい個体の中で、第2サポート30Sの数が少ない程、優秀な個体と見なし、高い評価を与える。そして、決定部68は、高い評価が与えられた個体が上位となるようにn個の個体を並び替える。本実施形態では、評価関数Jは、第2サポート30Sの数そのものとなるように遺伝的アルゴリズムが設定されている。よって、並び替えた後のn個の個体を順に、G1、G1、G1、・・・、G1とすると、このときの各個体の評価関数J、J、J、・・・、Jは、図18のようになる。 Thereafter, the determination unit 68 compares the values of the evaluation functions J of the calculated n individuals G0 1 , G0 2 , G0 3 ,..., G0 n . Here, the determination unit 68 regards the superior individual as the number of the second support 30S among the individuals whose evaluation function J is larger than 0, and gives a high evaluation. Then, the determination unit 68 rearranges the n individuals so that the individual who is given high evaluation is ranked higher. In this embodiment, the genetic algorithm is set so that the evaluation function J is the number of the second support 30S itself. Therefore, assuming that the n individuals after the rearrangement are G1 1 , G1 2 , G1 3 ,..., G1 n in order, the evaluation functions J 1 , J 2 , J 3 ,. .., J n is as shown in FIG.

次に、ステップS105では、決定部68は選択を行う。選択は集団の中から優秀な個体をn個選ぶステップである。換言すると、選択は、適応度の評価において評価が高かったn個の個体を選ぶものである。なお、1回目の選択では、集団に含まれる個体数はnであるので、全ての個体が選ばれる。   Next, in step S105, the determination unit 68 performs selection. Selection is a step of selecting n excellent individuals from the group. In other words, the selection is to select n individuals whose evaluation is high in the fitness evaluation. In the first selection, since the number of individuals included in the group is n, all individuals are selected.

次に、ステップS106では、決定部68は交叉を行う。交叉の方法は特に限定されず、公知の各種の手法を用いることができる。公知の交叉の手法を組み合わせて適用してもよい。ここでは、2点交叉を用いることとする。2点交叉では、ステップS104の適応度の評価において最も評価が高かった個体(以下、最優秀個体という。)G1と、他の個体G1、G1、・・・、G1のうちの1つとをペアとする。次に、各ペアについて、最優秀個体G1の回転角度θの遺伝子と、他の個体の第1太さ係数cの遺伝子とを組み合わせた新たな個体、および、最優秀個体G1の第1太さ係数cの遺伝子と、他の個体の回転角度θの遺伝子とを組み合わせた新たな個体を生成する。例えば、図19に示すように、最優秀個体G1と個体G1とのペアから、新たな個体G112および個体G121が生成される。 Next, in step S106, the determination unit 68 performs crossover. The crossover method is not particularly limited, and various known methods can be used. A combination of known crossover techniques may be applied. Here, two-point crossover is used. The two-point crossover, most evaluation was high individuals in the evaluation of fitness of the step S104 (hereinafter, referred to as best individuals.) G1 1 and, other individuals G1 2, G1 3, · · ·, of the G1 n One is paired. Then, for each pair, the gene of the rotation angle θ of the best individuals G1 1, new individuals combining the gene of the first thickness coefficient c of other individuals, and, for Best individual G1 1 first A new individual is generated by combining the gene of the thickness coefficient c and the gene of the rotation angle θ of another individual. For example, as shown in FIG. 19, a new individual G1 12 and an individual G1 21 are generated from the pair of the best individual G1 1 and the individual G1 2 .

次に、ステップS107では、決定部68は突然変異を行う。突然変異では、所定のルールに従って、新しい遺伝子の組み合わせを有する新たな個体を生成する。なお、突然変異の手法は何ら限定されず、公知の各種手法を用いることができる。ここでは、評価関数Jの値が0以下の個体からランダムで所定の数の個体を抽出する。そして、抽出した個体を対象として、回転角度θ、または、第1太さ係数cの値を、上述した範囲の中における乱数と入れ替える。例えば、抽出した個体を対象として、回転角度θ、第1太さ係数c、ならびに、回転角度θおよび第1太さ係数cのうち、何れかを一定の確率で選択し、選択した遺伝子に関して突然変異を行ってもよい。例えば、図20(a)〜(c)において、個体GSの評価関数Jの値が0以下とする。図20(a)に示すように、回転角度θに関して突然変異を行う場合、個体GSに対して、回転角度θの遺伝子を、−90°≦θ≦90°の範囲の中における乱数とする。そして、突然変異の結果として、新たな個体GSn’が生成される。図20(b)に示すように、第1太さ係数cに関して突然変異を行う場合、個体GSに対して、第1太さ係数cの遺伝子を、1<c<xMax/βの範囲の中における乱数とし、突然変異の結果として、新たな個体GSn’が生成される。図20(c)に示すように、回転角度θおよび第1太さ係数cに関して突然変異を行う場合、個体GSに対して、回転角度θの遺伝子を、−90°≦θ≦90°の範囲の中における乱数とし、第1太さ係数cの遺伝子を、1<c<xMax/βの範囲の中における乱数とする。そして、突然変異の結果として、新たな個体GSn’が生成される。 Next, in step S107, the determination unit 68 performs a mutation. In the mutation, a new individual having a new gene combination is generated according to a predetermined rule. In addition, the method of mutation is not limited at all, and various known methods can be used. Here, a predetermined number of individuals are extracted at random from individuals whose evaluation function J is 0 or less. Then, for the extracted individual, the value of the rotation angle θ or the first thickness coefficient c is replaced with a random number in the above-described range. For example, for the extracted individual, any one of the rotation angle θ, the first thickness coefficient c, and the rotation angle θ and the first thickness coefficient c is selected with a certain probability, and the selected gene is suddenly selected. Mutations may be made. For example, in FIGS. 20A to 20C, the value of the evaluation function J of the individual GS n is set to 0 or less. As shown in FIG. 20A, when mutation is performed with respect to the rotation angle θ, the gene of the rotation angle θ is set to a random number within the range of −90 ° ≦ θ ≦ 90 ° for the individual GS n . . As a result of the mutation, a new individual GS n ′ is generated. As shown in FIG. 20 (b), when a mutation is performed with respect to the first thickness coefficient c, the gene of the first thickness coefficient c is assigned to the individual GS n within the range of 1 <c <xMax / β. As a result of mutation, a new individual GS n ′ is generated. As shown in FIG. 20C, when mutation is performed with respect to the rotation angle θ and the first thickness coefficient c, the gene of the rotation angle θ is set to −90 ° ≦ θ ≦ 90 ° with respect to the individual GS n . A random number in the range is used, and the gene of the first thickness coefficient c is a random number in the range of 1 <c <xMax / β. As a result of the mutation, a new individual GS n ′ is generated.

次に、ステップS108では、決定部68は適応度の評価を行う。ここでの適応度の評価では、決定部68は、ステップS105で選択されたn個の個体と、ステップS106およびステップS107で生成された新たな個体とについて、ステップS104の適応度の評価と同様に、それぞれの評価関数Jの値を算出する。そして、決定部68は、評価関数Jの値が0より大きい個体の中で、第2サポート30Sの数が少ない順にソートを行う。すなわち、決定部68は、評価関数Jの値が0よりも大きい個体の中で、第2サポート30Sの数が少ない程、優秀な個体として上位に位置づける。そして、最も上位の個体が最優秀個体となる。以下、ソート後の最優秀個体を個体G3とする。 Next, in step S108, the determination unit 68 evaluates fitness. In the fitness evaluation here, the determination unit 68 is the same as the fitness evaluation in step S104 for the n individuals selected in step S105 and the new individuals generated in steps S106 and S107. Then, the value of each evaluation function J is calculated. Then, the determination unit 68 performs sorting in the order from the smallest number of the second support 30S among individuals whose evaluation function J is greater than zero. That is, the determination unit 68 positions the superior individual as the superior individual as the number of the second support 30S is smaller among the individuals whose evaluation function J is greater than zero. The top individual is the best individual. Below, to the best individual after sorting and individual G3 1.

次に、ステップS109では、決定部68は遺伝的アルゴリズムの終了判定を行う。ここでは、ステップS108において、決定部68は、最も評価が高かった最優秀個体G3の回転角度θを所定の角度の分、変更した個体を新たに作成する。この所定の角度は、記憶部52に予め記憶されているものである。所定の角度の値は特に限定されないが、例えば、+2°または−2°である。例えば、最優秀個体G3の回転角度を−2°ずらし、その個体を個体G31’とする。次に、個体G31’の第2サポート30Sの数を算出する。その後、決定部68は、個体G31’に対する評価関数Jの値を算出する。そして、個体G31’の評価関数Jの値が0より大きい場合、決定部68は、ステップS108における最優秀個体G3の第2サポート30Sの数と、個体G31’の第2サポート30Sの数とを比較する。 Next, in step S109, the determination unit 68 determines the end of the genetic algorithm. Here, in step S108, determining unit 68, the most evaluation minute rotational angle θ a predetermined angle of higher was best individuals G3 1, create a new modified individuals. This predetermined angle is stored in advance in the storage unit 52. The value of the predetermined angle is not particularly limited, and is, for example, + 2 ° or −2 °. For example, the rotation angle of the best individual G3 1 is shifted by −2 °, and the individual is set as an individual G3 1 ′ . Next, the number of second supports 30S of the individual G3 1 ′ is calculated. Thereafter, the determination unit 68 calculates the value of the evaluation function J for the individual G3 1 ′ . When the value of the evaluation function J of the individual G3 1 ′ is larger than 0, the determination unit 68 determines the number of the second support 30S of the best individual G3 1 in step S108 and the second support 30S of the individual G3 1 ′ . Compare the number.

個体G31’の第2サポート30Sの数が個体G3の第2サポート30Sの数よりも少ない場合、決定部68は、判定結果をNOとし、ステップS105に戻り、再びステップS105以降のステップを行う。なお、このとき、ステップS105では、前回のステップS105で選択されたn個の個体と、ステップS106およびステップS107で生成された新たな個体と、ステップS108で生成された個体G31’との中から、評価が高いn個の個体を選択する。 When the number of second supports 30S of the individual G3 1 ′ is smaller than the number of second supports 30S of the individual G3 1 , the determination unit 68 sets the determination result to NO, returns to Step S105, and repeats the steps after Step S105 again. Do. At this time, in step S105, among the n individuals selected in the previous step S105, the new individuals generated in steps S106 and S107, and the individual G3 1 ′ generated in step S108. N individuals with high evaluation are selected.

一方、個体G31’の評価関数Jの値が0以下の場合、または、個体G31’の評価関数Jの値が0より大きく、個体G31’の第2サポート30Sの数が個体G3の第2サポート30Sの数以上の場合、決定部68は、判定結果をYESとし、最優秀個体G3を解とする。ここでは、最優秀個体G3で特定された回転角度θで主軸78を軸にして回転させた対象造形物モデル72の向きが対象造形物70の最適な向きと見なされる。そして、最優秀個体G3で特定された第1太さ係数cに第2サポート30Sの太さβを掛けた値が、第1サポート30Lの太さとなる。 On the other hand, 'if the value of the evaluation function J is 0 or less, or, individuals G3 1' individuals G3 1 greater than the evaluation function value of J is zero, individuals G3 1 number individuals G3 1 of the second support 30S ' If greater than or equal to the number of the second support 30S, determining unit 68, the determination result is YES, and to a solution of best individuals G3 1. Here, the orientation of the target shaped object model 72 that is rotated by the main shaft 78 to the shaft at a rotation angle θ identified in best individuals G3 1 is considered optimal orientation of the target shaped object 70. Then, a value obtained by multiplying the thickness β of the second support 30S in the first thickness coefficient c identified in best individuals G3 1 becomes the thickness of the first support 30L.

本実施形態では、配置決定装置100によって決定した対象造形物70の位置および向き、第2サポート30Sの配置位置、および、第1サポート30Lの太さに従って、ホルダ13の下部に、全体造形物20を造形する。すなわち、ホルダ13の下部にサポート30を造形し、サポート30の下に対象造形物70を造形する。   In the present embodiment, according to the position and orientation of the target object 70 determined by the arrangement determining device 100, the arrangement position of the second support 30S, and the thickness of the first support 30L, the entire object 20 is placed below the holder 13. Is shaped. That is, the support 30 is modeled under the holder 13 and the target model 70 is modeled under the support 30.

以上、本実施形態では、図15に示すように、配置面82の第1の領域91は、配置面82のうち重心74から近い領域である。そのため、第1の領域91に追加および配置される第1サポート30Lの太さを、第2の領域92に追加および配置される第2サポート30Sの太さよりも太くすることで、サポート30は、対象造形物70の重心74を中心にして対象造形物70の荷重を支持することができる。よって、サポート30は、対象造形物70の荷重を安定して支持することができる。本実施形態では、サポート30が対象造形物70の荷重を支持することが可能であって、かつ、配置面82の第2の領域91に追加および配置される第2サポート30Sの数が最小となるような回転角度θを、基準の位置および向きに配置された対象造形物モデル72の主軸78を軸にして回転させる角度としている。このように決定した向きで対象造形物70を造形することによって、サポート30が対象造形物70の荷重を支持することができる。また、第2サポート30Sの数を少なくすることができるため、サポート30を造形する際に必要な材料を少なくすることができる。   As described above, in the present embodiment, as shown in FIG. 15, the first area 91 of the arrangement surface 82 is an area near the center of gravity 74 of the arrangement surface 82. Therefore, by making the thickness of the first support 30L added and arranged in the first region 91 larger than the thickness of the second support 30S added and arranged in the second region 92, the support 30 The load of the target model 70 can be supported around the center of gravity 74 of the target model 70. Therefore, the support 30 can stably support the load of the target object 70. In the present embodiment, the support 30 can support the load of the target object 70, and the number of second supports 30S added and arranged in the second region 91 of the arrangement surface 82 is the minimum. Such a rotation angle θ is an angle to be rotated about the main axis 78 of the target object model 72 arranged at the reference position and orientation. The support 30 can support the load of the target model 70 by modeling the target model 70 in the direction determined as described above. In addition, since the number of the second supports 30S can be reduced, it is possible to reduce the material necessary for modeling the support 30.

例えば、回転角度θと第1太さ係数cとの取り得る全ての組み合わせを求めて、対象造形物70の最適な向き、および、最適な第1サポート30Lの太さを求める場合、演算処理が膨大となり、演算負荷が大きくなる。しかし、本実施形態では、回転角度θおよび第1太さ係数cとの組み合わせを、遺伝的アルゴリズムを適用することで決定している。よって、遺伝的アルゴリズムを適用することで、回転角度θと第1太さ係数cとの取り得る全ての組み合わせを求める場合と比較して、演算時間が膨大となることを防止することができる。その結果、演算負荷を小さくすることができる。   For example, when all possible combinations of the rotation angle θ and the first thickness coefficient c are obtained and the optimum orientation of the target object 70 and the optimum thickness of the first support 30L are obtained, the calculation process is performed. It becomes enormous and the calculation load increases. However, in the present embodiment, the combination of the rotation angle θ and the first thickness coefficient c is determined by applying a genetic algorithm. Therefore, by applying the genetic algorithm, it is possible to prevent the calculation time from becoming enormous as compared with the case of obtaining all possible combinations of the rotation angle θ and the first thickness coefficient c. As a result, the calculation load can be reduced.

本実施形態では、決定部68は、上記式(7)に示すような評価関数Jを用いて、各個体における評価関数Jの値をそれぞれ算出している。そして、決定部68は、評価関数Jの値が0よりも大きく、かつ、第2サポート30Sの数が最小となるような個体を解として、最適な回転角度θおよび第1サポート30Lの太さを決定する。このように、上記式(7)に示すような評価関数Jを用いることで、造形する対象造形物70の荷重Gtおよび密着力Asの何れか大きいほうの荷重に耐えられるような向きに、対象造形物70を設定することができる。また、最適な第1サポート30Lの太さで、第1サポート30Lを第1の領域91に追加および配置することができる。   In the present embodiment, the determination unit 68 calculates the value of the evaluation function J in each individual using the evaluation function J as shown in the above equation (7). Then, the determination unit 68 uses an individual whose value of the evaluation function J is greater than 0 and the number of the second supports 30S as a solution, and determines the optimum rotation angle θ and the thickness of the first support 30L. To decide. In this way, by using the evaluation function J as shown in the above formula (7), the target is oriented in a direction that can withstand the larger load of the load Gt and the adhesion force As of the target model 70 to be modeled. A model 70 can be set. Further, the first support 30L can be added and arranged in the first region 91 with the optimal thickness of the first support 30L.

以上、第1実施形態に係る配置決定装置100を備えた3次元造形システム10について説明した。本発明に係る配置決定装置は、第1実施形態に係る配置決定装置100に限らず、他の種々の形態で実施することができる。次に、他の実施形態について簡単に説明する。なお、以下の説明では、既に説明した構成と同様の構成には同じ符号を使用し、その説明は省略することとする。   The 3D modeling system 10 including the arrangement determining device 100 according to the first embodiment has been described above. The arrangement determining apparatus according to the present invention is not limited to the arrangement determining apparatus 100 according to the first embodiment, and can be implemented in various other forms. Next, another embodiment will be briefly described. In the following description, the same reference numerals are used for the same components as those already described, and the description thereof is omitted.

<第2実施形態>
図21は、対象造形物70eを示す斜視図であり、禁止面を示す図である。図21に示すように、対象造形物70eは、文字または模様などの装飾が施された装飾面71eを有することがある。このような対象造形物70eを造形する場合には、装飾面71eにサポート30を追加および配置しないことが好ましい。サポート30を対象造形物70eから引き剥がす際に、対象造形物70eの装飾面71eに傷が付くおそれがあるからである。このような対象造形物70eを造形する場合には、装飾面71eにサポート30が追加および配置されないことが好ましい。そこで、本実施形態では、対象造形物70eにおいて、サポート30を追加および配置すべきでない面(以下、禁止面という。)を有している場合、サポート30が対象造形物70eの荷重を十分に支持することができるということだけでなく、禁止面にサポート30が追加および配置されないように対象造形物70eの位置および向きを決定することが好ましい。図21では、装飾面71eが禁止面となる。
Second Embodiment
FIG. 21 is a perspective view showing the target modeled object 70e, and is a diagram showing a forbidden surface. As shown in FIG. 21, the target object 70e may have a decorative surface 71e on which decorations such as letters or patterns are applied. When modeling such a target modeled object 70e, it is preferable not to add and arrange the support 30 on the decorative surface 71e. This is because when the support 30 is peeled from the target model 70e, the decorative surface 71e of the target model 70e may be damaged. When modeling such an object model 70e, it is preferable that the support 30 is not added and arranged on the decorative surface 71e. Therefore, in the present embodiment, when the target modeled object 70e has a surface on which the support 30 should not be added and arranged (hereinafter referred to as a prohibited surface), the support 30 sufficiently loads the target modeled object 70e. In addition to being able to support, it is preferable to determine the position and orientation of the target object 70e so that the support 30 is not added and arranged on the prohibited surface. In FIG. 21, the decorative surface 71e is a prohibited surface.

本実施形態では、禁止面を有する対象造形物70eであっても、上記実施形態と同様な手順で、遺伝的アルゴリズムを適用して、対象造形物70eに対応する対象造形物モデルのどの面にどのようなサポート30を追加および配置するかを決定することができる。ただし、遺伝的アルゴリズムにおいて、個体の遺伝子である回転角度θの範囲は、禁止面71eにサポート30が造形されないような範囲であるとよい。本実施形態では、例えば、図21に示すように、基準の位置および向きに設定された対象造形物モデル72eにおいて、禁止面71eは、対象造形物モデル72の上面に設定されているとする。また、配置面82eは対象造形物モデル72eの下面である。ここでは、回転角度θの範囲は、禁止面71eが配置面82と一致しないような範囲である。例えば、回転角度θの範囲は、−90°≦θ≦90°である。ここでは、各個体の遺伝子のうち回転角度θは、上記の範囲の中で乱数によって決定されるとよい。その他の決定の手順は、上記実施形態と同様であるため、詳細な説明は省略する。   In this embodiment, even if it is the target modeling object 70e which has a prohibition surface, it applies to a surface of the target modeling model corresponding to the target modeling object 70e by applying a genetic algorithm in the same procedure as the said embodiment. It can be determined what support 30 is added and arranged. However, in the genetic algorithm, the range of the rotation angle θ that is an individual gene may be a range in which the support 30 is not formed on the prohibited surface 71e. In the present embodiment, for example, as shown in FIG. 21, in the target object model 72e set to the reference position and orientation, the forbidden surface 71e is set to the upper surface of the target object model 72. The arrangement surface 82e is the lower surface of the target model object 72e. Here, the range of the rotation angle θ is a range in which the forbidden surface 71e does not coincide with the arrangement surface 82. For example, the range of the rotation angle θ is −90 ° ≦ θ ≦ 90 °. Here, the rotation angle θ among the genes of each individual may be determined by a random number within the above range. Since other determination procedures are the same as those in the above embodiment, detailed description thereof is omitted.

本実施形態では、回転角度候補生成部62は、サポート30を追加および配置したくない禁止面71eにサポート30を追加および配置しないような向きとなる回転角度θのみを候補としている。よって、禁止面71eにサポート30が造形されない回転角度θを、所定の基準の向きから回転する角度にすることができる。したがって、禁止面71eにサポート30が追加および配置されることなく、サポート30は対象造形物70eの荷重を支持することができる。   In the present embodiment, the rotation angle candidate generation unit 62 uses only the rotation angle θ as a candidate so as not to add and arrange the support 30 to the prohibited surface 71e where the support 30 is not added and arranged. Therefore, the rotation angle θ at which the support 30 is not formed on the prohibited surface 71e can be set to an angle that rotates from a predetermined reference direction. Therefore, the support 30 can support the load of the target object 70e without adding and arranging the support 30 on the prohibited surface 71e.

<第3実施形態>
上記各実施形態では、上記式(7)に示すように、第1サポート30Lの太さは、第2サポート30Sの太さに対する割合で表されていた。換言すると、第1サポート30Lの太さは、第2サポート30Sの太さβ×第1太さ係数cで表されていた。そのため、遺伝子アルゴリズムを適用する際、個体の遺伝子の1つを第1太さ係数cとしていた。しかし、個体の遺伝子の1つは、第1太さ係数cに限定されない。
<Third Embodiment>
In each said embodiment, as shown to the said Formula (7), the thickness of the 1st support 30L was represented by the ratio with respect to the thickness of the 2nd support 30S. In other words, the thickness of the first support 30L is represented by the thickness β of the second support 30S × the first thickness coefficient c. Therefore, when applying the genetic algorithm, one of the genes of the individual is set as the first thickness coefficient c. However, one of the individual genes is not limited to the first thickness coefficient c.

例えば、遺伝子アルゴリズムを適用する際、個体の遺伝子は、回転角度θと、第1サポート30Lの太さであってもよい。このような場合であっても、図10に示すような手順で、遺伝的アルゴリズムを適用して最適となる回転角度θと、第1サポート30Lの太さとを決定することができる。   For example, when applying the genetic algorithm, the gene of the individual may be the rotation angle θ and the thickness of the first support 30L. Even in such a case, it is possible to determine the optimum rotation angle θ and the thickness of the first support 30L by applying the genetic algorithm in the procedure as shown in FIG.

<変形例>
上記各実施形態では、主軸設定部58は、図12に示すように、対象造形物モデル72を構成する複数のポリゴンの重心を利用して対象造形物モデル72の主軸78を設定していた。主軸78は、対象造形物モデル72の重心74と、複数のポリゴンの重心の何れかの重心(ここでは、最遠点76)とを結ぶ線であった。しかし、主軸78は、対象造形物モデル72の重心74と、複数のポリゴンの頂点のうち重心74から最も離れた頂点とを結ぶ線であってもよい。この場合、主軸設定部58は、対象造形物モデル72の重心74と、対象造形物モデル72を構成する複数のポリゴンの頂点との距離をそれぞれ算出する。そして、主軸設定部58は、対象造形物モデル72の重心74と複数のポリゴンの頂点との間の複数の距離のうち、距離が最も長い距離に対応したポリゴンの頂点を最遠点とし、最遠点と対象造形物モデル72の重心74とを結ぶ線を主軸78として設定してもよい。
<Modification>
In each of the embodiments described above, the main axis setting unit 58 sets the main axis 78 of the target object model 72 using the center of gravity of a plurality of polygons constituting the target object model 72 as shown in FIG. The main axis 78 is a line connecting the center of gravity 74 of the target object model 72 and the center of gravity of any of the plurality of polygons (here, the farthest point 76). However, the main axis 78 may be a line that connects the center of gravity 74 of the target object model 72 and the vertex farthest from the center of gravity 74 among the vertices of a plurality of polygons. In this case, the main axis setting unit 58 calculates the distance between the center of gravity 74 of the target model object 72 and the vertices of a plurality of polygons constituting the target model model 72. Then, the spindle setting unit 58 sets the vertex of the polygon corresponding to the longest distance among the plurality of distances between the center of gravity 74 of the target object model 72 and the vertices of the plurality of polygons as the farthest point. A line connecting the far point and the center of gravity 74 of the target object model 72 may be set as the main axis 78.

なお、上記各実施形態および変形例は、適宜に組み合わせてもよい。   In addition, you may combine each said embodiment and modification suitably.

上述したように、配置決定装置100の記憶部52、前処理部54、重心算出部56、初期部57、主軸設定部58、基準部60、回転角度候補生成部62、第1太さ候補生成部63、配置面決定部64、基準点設定部65、領域分割部66、数算出部67、および決定部68は、ソフトウェアにより構成されていてもよい。すなわち、上記各部は、コンピュータプログラムがコンピュータに読み込まれることにより、当該コンピュータによって実現されるようになっていてもよい。本発明には、コンピュータを上記各部として機能させるためのコンピュータプログラムが含まれる。また、本発明には、当該コンピュータプログラムが記録されたコンピュータ読み取り可能な記録媒体が含まれる。   As described above, the storage unit 52, the preprocessing unit 54, the center of gravity calculation unit 56, the initial unit 57, the spindle setting unit 58, the reference unit 60, the rotation angle candidate generation unit 62, and the first thickness candidate generation of the arrangement determining apparatus 100. The unit 63, the arrangement plane determining unit 64, the reference point setting unit 65, the region dividing unit 66, the number calculating unit 67, and the determining unit 68 may be configured by software. In other words, each of the above units may be realized by a computer by reading the computer program into the computer. The present invention includes a computer program for causing a computer to function as each unit described above. The present invention also includes a computer-readable recording medium on which the computer program is recorded.

10 3次元造形システム
10A 3次元造形装置
13 ホルダ
30 サポート(サポート造形物)
30L 第1サポート
30S 第2サポート
52 記憶部
56 重心算出部
58 主軸設定部
60 基準部
62 回転角度候補生成部
63 第1太さ候補生成部
64 配置面決定部
65 基準点設定部
66 領域分割部
67 数算出部
68 決定部
70 対象造形物
72 対象造形物モデル(3次元モデル)
74 重心
86 基準点
91 第1の領域
92 第2の領域
100 配置決定装置(サポートの配置決定装置)
DESCRIPTION OF SYMBOLS 10 3D modeling system 10A 3D modeling apparatus 13 Holder 30 Support (support modeling object)
30L First Support 30S Second Support 52 Storage Unit 56 Center of Gravity Calculation Unit 58 Spindle Setting Unit 60 Reference Unit 62 Rotation Angle Candidate Generation Unit 63 First Thickness Candidate Generation Unit 64 Arrangement Surface Determination Unit 65 Reference Point Setting Unit 66 Region Division Unit 67 Number Calculation Unit 68 Determination Unit 70 Target Model 72 Target Model Model (3D Model)
74 Center of gravity 86 Reference point 91 First area 92 Second area 100 Arrangement determining device (support arrangement determining device)

Claims (9)

造形対象である対象造形物にサポートを追加および配置して、前記対象造形物および前記サポートを造形する3次元造形装置において、前記サポートの配置位置を決定する配置決定装置であって、
前記サポートは、第1の太さの第1サポートと、第1の太さよりも細い第2の太さの第2サポートとを有し、
前記対象造形物の3次元モデルのデータを記憶する記憶部と、
前記3次元モデルの重心を算出する重心算出部と、
前記3次元モデルの外周面上の点のうち前記3次元モデルの前記重心から最も離れた最遠点を算出し、前記3次元モデルの前記重心と前記最遠点とを結ぶ主軸を設定する主軸設定部と、
前記主軸が水平面に対して平行となる前記3次元モデルの位置および向きを所定の基準の位置および向きとしたとき、前記所定の基準の位置および向きとなるように、前記記憶部に記憶された前記3次元モデルを移動および回転させる基準部と、
前記所定の基準の位置および向きとなるように配置した前記3次元モデルを基準にして、前記主軸を軸にして前記3次元モデルを回転させる回転角度の候補を複数生成する回転角度候補生成部と、
複数生成された前記回転角度に基づいて回転させたそれぞれの前記3次元モデルにおいて、前記サポートを追加および配置する配置面を決定する配置面決定部と、
前記重心から前記配置面に向かう垂線を引き、前記垂線と前記配置面とが交わる基準点を設定する基準点設定部と、
それぞれの前記配置面において、前記基準点設定部によって設定された前記基準点を含む所定の範囲内の領域であって、前記第1サポートが所定の数追加および配置される第1の領域と、前記第1の領域を除く領域であって、前記第2サポートが追加および配置される第2の領域とに分割する領域分割部と、
前記第1サポートの太さである前記第1の太さの候補を複数作成する第1太さ候補生成部と、
前記配置面決定部によって決定されたそれぞれの前記配置面において、間隔を空けて前記第2サポートを前記第2の領域に追加および配置したときの前記第2サポートの数を算出する数算出部と、
前記回転角度候補生成部によって生成された複数の前記回転角度、および、前記第1太さ候補生成部によって生成された複数の前記第1サポートの前記第1の太さのうち、前記サポートが前記対象造形物の荷重を支持することが可能であって、前記第2サポートの数が最小となるような前記回転角度、および、前記第1サポートの前記第1の太さを決定する決定部と、
を備えた、サポートの配置決定装置。
In a three-dimensional modeling apparatus that adds and arranges a support to a target modeling object that is a modeling target, and models the target modeling object and the support, the arrangement determining apparatus determines the arrangement position of the support,
The support includes a first support having a first thickness and a second support having a second thickness smaller than the first thickness.
A storage unit for storing data of a three-dimensional model of the target object;
A centroid calculating unit for calculating the centroid of the three-dimensional model;
A main axis that calculates a farthest point farthest from the center of gravity of the three-dimensional model among points on the outer peripheral surface of the three-dimensional model, and sets a main axis that connects the center of gravity of the three-dimensional model and the farthest point A setting section;
When the position and orientation of the three-dimensional model in which the main axis is parallel to a horizontal plane are set to a predetermined reference position and orientation, the predetermined reference position and orientation are stored in the storage unit. A reference unit for moving and rotating the three-dimensional model;
A rotation angle candidate generating unit that generates a plurality of rotation angle candidates for rotating the three-dimensional model about the main axis with reference to the three-dimensional model arranged so as to have the predetermined reference position and orientation; ,
In each of the three-dimensional models rotated based on the plurality of generated rotation angles, an arrangement surface determination unit that determines an arrangement surface on which the support is added and arranged;
A reference point setting unit that draws a perpendicular line from the center of gravity to the arrangement surface and sets a reference point at which the perpendicular and the arrangement surface intersect;
In each of the arrangement planes, a first area in which a predetermined number of the first supports are added and arranged within a predetermined range including the reference point set by the reference point setting unit; An area dividing unit that divides the area excluding the first area into a second area where the second support is added and arranged;
A first thickness candidate generator that creates a plurality of candidates for the first thickness that is the thickness of the first support;
A number calculation unit that calculates the number of the second supports when the second support is added to and arranged in the second region at intervals in each of the arrangement surfaces determined by the arrangement surface determination unit; ,
Among the plurality of rotation angles generated by the rotation angle candidate generation unit and the first thicknesses of the plurality of first supports generated by the first thickness candidate generation unit, the support is the A determination unit that is capable of supporting a load of a target object and that determines the rotation angle that minimizes the number of the second supports and the first thickness of the first support; ,
An apparatus for determining the placement of a support.
前記決定部は、前記回転角度候補生成部によって生成された前記回転角度と、前記第1太さ候補生成部によって生成された前記第1の太さとを遺伝子とする個体を生成し、遺伝的アルゴリズムを利用して、前記サポートが前記対象造形物の荷重を支持することが可能であって、前記第2サポートの数が最小となるような前記回転角度および前記第1の太さを決定する、請求項1に記載されたサポートの配置決定装置。   The determination unit generates an individual having the rotation angle generated by the rotation angle candidate generation unit and the first thickness generated by the first thickness candidate generation unit as a gene, and a genetic algorithm And determining the rotation angle and the first thickness such that the support can support the load of the target object and the number of the second supports is minimized. The support arrangement determining apparatus according to claim 1. 前記遺伝的アルゴリズムで用いられる評価関数Jは、前記第1サポートの数をp、前記第1サポートの太さをx、前記第2サポートの数をq、前記第2サポートの太さをβ、1つの前記サポートの引張強度をk、前記対象造形物の荷重をGt、前記対象造形物と前記3次元造形装置との間の密着力をAs、安全率をSとすると、
J=(x・k・p+β・k・q)/S−max(Gt,As)
で表され、
前記決定部は、前記回転角度候補生成部によって生成された複数の前記回転角度と、前記第1太さ候補生成部によって生成された複数の前記第1サポートの前記第1の太さとを組み合わせて複数の個体を生成し、生成した複数の前記個体についてそれぞれ前記評価関数から求められる値を算出し、前記評価関数の値が0よりも大きく、かつ、前記第2サポートの数が最小となるような前記個体を抽出し、前記回転角度、および、前記第1サポートの前記第1の太さを決定する、請求項2に記載されたサポートの配置決定装置。
The evaluation function J used in the genetic algorithm is such that the number of the first support is p, the thickness of the first support is x, the number of the second support is q, the thickness of the second support is β, When the tensile strength of one of the supports is k, the load of the target object is Gt, the adhesion between the target object and the three-dimensional modeling apparatus is As, and the safety factor is S,
J = (x.k.p + .beta..k.q) / S-max (Gt, As)
Represented by
The determination unit combines the plurality of rotation angles generated by the rotation angle candidate generation unit and the first thicknesses of the plurality of first supports generated by the first thickness candidate generation unit. A plurality of individuals are generated, and values obtained from the evaluation function are calculated for each of the plurality of generated individuals, so that the value of the evaluation function is greater than 0 and the number of the second supports is minimized. The support arrangement determination device according to claim 2, wherein the individual is extracted, and the rotation angle and the first thickness of the first support are determined.
前記対象造形物は、前記サポートを追加および配置しない禁止面を有し、
前記回転角度候補生成部は、前記禁止面に前記サポートを追加および配置するような前記回転角度を候補としない、請求項1から3までの何れか一つに記載されたサポートの配置決定装置。
The target object has a forbidden surface that does not add and place the support;
4. The support arrangement determination device according to claim 1, wherein the rotation angle candidate generation unit does not use the rotation angle as a candidate for adding and arranging the support on the prohibited surface. 5.
前記3次元造形装置と、
請求項1から4までの何れか一つに記載されたサポートの配置決定装置と、
を備えた、3次元造形システム。
The three-dimensional modeling apparatus;
A support arrangement determining device according to any one of claims 1 to 4,
3D modeling system.
造形対象である対象造形物にサポートを追加および配置して、前記対象造形物および前記サポートを造形する3次元造形装置において、前記サポートの配置位置を決定する配置決定方法であって、
前記サポートは、第1の太さの第1サポートと、第1の太さよりも細い第2の太さの第2サポートとを有し、
3次元モデルの重心を算出する重心算出工程と、
前記3次元モデルの外周面上の点のうち前記3次元モデルの前記重心から最も離れた最遠点を算出し、前記3次元モデルの前記重心と前記最遠点とを結ぶ主軸を設定する主軸設定工程と、
前記主軸が水平面に対して平行となる前記3次元モデルの位置および向きを所定の基準の位置および向きとしたとき、前記所定の基準の位置および向きとなるように、前記3次元モデルを移動および回転させる基準工程と、
前記所定の基準の位置および向きとなるように配置した前記3次元モデルを基準にして、前記主軸を軸にして前記3次元モデルを回転させる回転角度の候補を複数生成する回転角度候補生成工程と、
複数生成された前記回転角度に基づいて回転させたそれぞれの前記3次元モデルにおいて、前記サポートを追加および配置する配置面を決定する配置面決定工程と、
前記重心から前記配置面に向かう垂線を引き、前記垂線と前記配置面とが交わる基準点を設定する基準点設定工程と、
それぞれの前記配置面において、前記基準点設定工程で設定した前記基準点を含む所定の範囲内の領域であって、前記第1サポートが所定の数追加および配置される第1の領域と、前記第1の領域を除く領域であって、前記第2サポートが追加および配置される第2の領域とに分割する領域分割工程と、
前記第1サポートの太さである前記第1の太さの候補を複数作成する第1太さ候補生成工程と、
前記配置面決定工程で決定したそれぞれの前記配置面において、間隔を空けて前記第2サポートを前記第2の領域に追加および配置したときの前記第2サポートの数を算出する数算出工程と、
前記回転角度候補生成工程で生成した複数の前記回転角度、および、前記第1太さ候補生成工程で生成した複数の前記第1サポートの前記第1の太さのうち、前記サポートが前記対象造形物の荷重を支持することが可能であって、前記第2サポートの数が最小となるような前記回転角度、および、前記第1サポートの前記第1の太さを決定する決定工程と、
を包含する、サポートの配置決定方法。
In a three-dimensional modeling apparatus that adds and arranges a support to a target modeling object that is a modeling target, and models the target modeling object and the support, it is an arrangement determination method that determines the arrangement position of the support,
The support includes a first support having a first thickness and a second support having a second thickness smaller than the first thickness.
A centroid calculating step of calculating the centroid of the three-dimensional model;
A main axis that calculates a farthest point farthest from the center of gravity of the three-dimensional model among points on the outer peripheral surface of the three-dimensional model, and sets a main axis that connects the center of gravity of the three-dimensional model and the farthest point A setting process;
When the position and orientation of the three-dimensional model in which the main axis is parallel to the horizontal plane are set to a predetermined reference position and orientation , the three-dimensional model is moved and adjusted to the predetermined reference position and orientation. A reference process to rotate;
A rotation angle candidate generating step for generating a plurality of rotation angle candidates for rotating the three-dimensional model around the main axis with reference to the three-dimensional model arranged so as to have the predetermined reference position and orientation; ,
In each of the three-dimensional models rotated based on the plurality of generated rotation angles, an arrangement surface determination step for determining an arrangement surface on which the support is added and arranged;
A reference point setting step of drawing a perpendicular line from the center of gravity to the arrangement surface and setting a reference point where the perpendicular line and the arrangement surface intersect;
In each of the arrangement planes, a first area in which a predetermined number of the first supports are added and arranged in an area within a predetermined range including the reference point set in the reference point setting step; A region dividing step of dividing the region into a second region where the second support is added and arranged, excluding the first region;
A first thickness candidate generation step of creating a plurality of candidates for the first thickness that is the thickness of the first support;
In each of the arrangement planes determined in the arrangement plane determination step, a number calculation step of calculating the number of the second supports when the second support is added and arranged in the second region with an interval between them,
Among the plurality of rotation angles generated in the rotation angle candidate generation step and the first thicknesses of the plurality of first supports generated in the first thickness candidate generation step, the support is the target modeling. A determination step of determining the rotation angle that can support a load of an object and that minimizes the number of the second supports, and the first thickness of the first support;
A method for determining the placement of a support.
前記決定工程では、前記回転角度候補生成工程で生成した前記回転角度と、前記第1太さ候補生成工程で生成した前記第1の太さとを遺伝子とする個体を生成し、遺伝的アルゴリズムを利用して、前記サポートが前記対象造形物の荷重を支持することが可能であって、前記第2サポートの数が最小となるような前記回転角度および前記第1の太さを決定する、請求項6に記載されたサポートの配置決定方法。   In the determining step, an individual is generated using the rotation angle generated in the rotation angle candidate generation step and the first thickness generated in the first thickness candidate generation step as a gene, and a genetic algorithm is used. The rotation angle and the first thickness are determined so that the support can support the load of the target object and the number of the second supports is minimized. 6. A support arrangement determining method described in 6. 前記遺伝的アルゴリズムで用いられる評価関数Jは、前記第1サポートの数をp、前記第1サポートの太さをx、前記第2サポートの数をq、前記第2サポートの太さをβ、1つの前記サポートの引張強度をk、前記対象造形物の荷重をGt、前記対象造形物と前記3次元造形装置との間の密着力をAs、安全率をSとすると、
J=(x・k・p+β・k・q)/S−max(Gt,As)
で表され、
前記決定工程では、前記回転角度候補生成工程で生成した複数の前記回転角度と、前記第1太さ候補生成工程で生成した複数の前記第1サポートの前記第1の太さとを組み合わせて複数の個体を生成し、生成した複数の前記個体のそれぞれ前記評価関数から求められる値を算出し、前記評価関数の値が0よりも大きく、かつ、前記第2サポートの数が最小となるような前記個体を抽出し、前記回転角度、および、前記第1サポートの前記第1の太さを決定する、請求項7に記載されたサポートの配置決定方法。
The evaluation function J used in the genetic algorithm is such that the number of the first support is p, the thickness of the first support is x, the number of the second support is q, the thickness of the second support is β, When the tensile strength of one of the supports is k, the load of the target object is Gt, the adhesion between the target object and the three-dimensional modeling apparatus is As, and the safety factor is S,
J = (x.k.p + .beta..k.q) / S-max (Gt, As)
Represented by
In the determination step, a plurality of the rotation angles generated in the rotation angle candidate generation step and a plurality of the first thicknesses of the first support generated in the first thickness candidate generation step Generating an individual, calculating a value obtained from each of the generated evaluation functions of the plurality of individuals, wherein the value of the evaluation function is greater than 0, and the number of the second supports is minimized The support arrangement determining method according to claim 7, wherein an individual is extracted, and the rotation angle and the first thickness of the first support are determined.
前記対象造形物は、前記サポートを追加および配置しない禁止面を有し、
前記回転角度候補生成工程では、前記禁止面に前記サポートを追加および配置するような前記回転角度を候補としない、請求項6から8までの何れか一つに記載されたサポートの配置決定方法。
The target object has a forbidden surface that does not add and place the support;
The support arrangement determination method according to any one of claims 6 to 8, wherein, in the rotation angle candidate generation step, the rotation angle that adds and arranges the support on the prohibited surface is not used as a candidate.
JP2015122389A 2015-06-17 2015-06-17 Support arrangement determination apparatus, three-dimensional modeling system, and support arrangement determination method Expired - Fee Related JP6579815B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015122389A JP6579815B2 (en) 2015-06-17 2015-06-17 Support arrangement determination apparatus, three-dimensional modeling system, and support arrangement determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015122389A JP6579815B2 (en) 2015-06-17 2015-06-17 Support arrangement determination apparatus, three-dimensional modeling system, and support arrangement determination method

Publications (2)

Publication Number Publication Date
JP2017007129A JP2017007129A (en) 2017-01-12
JP6579815B2 true JP6579815B2 (en) 2019-09-25

Family

ID=57762336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015122389A Expired - Fee Related JP6579815B2 (en) 2015-06-17 2015-06-17 Support arrangement determination apparatus, three-dimensional modeling system, and support arrangement determination method

Country Status (1)

Country Link
JP (1) JP6579815B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6711394B2 (en) * 2016-03-16 2020-06-17 株式会社リコー Information processing device, program, information processing method, modeling system
JP7035453B2 (en) * 2017-10-30 2022-03-15 株式会社ジェイテクト Manufacturing method of laminated model
CN111037917B (en) * 2019-12-25 2022-08-12 北京航天控制仪器研究所 A FDM printing method, system and medium based on model splitting and splicing printing
WO2021221443A1 (en) * 2020-04-28 2021-11-04 주식회사 디오 Method and apparatus for calculating support generation position

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09325949A (en) * 1996-06-04 1997-12-16 Nissan Motor Co Ltd Method for optimizing genetic algorithm and system for analyzing genetic algorithm
US7403833B2 (en) * 2006-04-03 2008-07-22 Stratasys, Inc. Method for optimizing spatial orientations of computer-aided design models
US8046097B2 (en) * 2007-09-17 2011-10-25 3D Systems, Inc. Region-based supports for parts produced by solid freeform fabrication
JP5615668B2 (en) * 2010-11-01 2014-10-29 株式会社キーエンス Setting data creation device for 3D modeling apparatus, setting data creation method for 3D modeling apparatus, setting data creation program for 3D modeling apparatus, and computer-readable recording medium
US20140303942A1 (en) * 2013-04-05 2014-10-09 Formlabs, Inc. Additive fabrication support structures

Also Published As

Publication number Publication date
JP2017007129A (en) 2017-01-12

Similar Documents

Publication Publication Date Title
JP2017007126A (en) Apparatus for determining support arrangement, three-dimensional molding system, and method for determining the support arrangement
US11801646B2 (en) Additive fabrication support structures
JP6579815B2 (en) Support arrangement determination apparatus, three-dimensional modeling system, and support arrangement determination method
JP6538435B2 (en) Support placement determination device, 3D modeling system, and support placement determination method
US20190061232A1 (en) Systems and methods of post-processing features for additive fabrication
JP5383687B2 (en) Method and apparatus for automatically generating a support for an object manufactured by a rapid prototype manufacturing method
JP5064486B2 (en) A method for optimizing the spatial position and orientation of computer-aided design models
JP6632530B2 (en) Method and system for generating an ophthalmic lens
JP6538434B2 (en) Support placement determination device, 3D modeling system, and support placement determination method
JP2019531537A (en) System and method for printing 3D models
Wang et al. Printing direction optimization through slice number and support minimization
JPH04505588A (en) How to form 3D objects
CN1916966A (en) Process for creating from a mesh an isotopologic set of parameterized surfaces
JP6542038B2 (en) Slice image forming apparatus, 3D modeling system, and slice image forming method
JP2006099123A (en) Enhanced building techniques in stereolithography
JP2001009920A (en) Support forming method in stereolithography and its design device
JP6538452B2 (en) Slice image forming apparatus, 3D modeling system, and slice image forming method
JP6646278B2 (en) Three-dimensional object manufacturing apparatus, three-dimensional object manufacturing method and program
JP6519756B2 (en) Method and apparatus for generating a numerical representation of a three-dimensional object suitable for use in producing a three-dimensional object by stereolithography
WO2023073833A1 (en) Data generation method, cloud system, processing device, computer program, and recording medium
JP2020524304A (en) Optical element, assembly containing such optical element, and method of manufacturing optical element
KR20120045258A (en) Designing method of propella for a ship, propella designed by thereor, and ship having propella designed by thereof
JP2017520812A (en) Improved computer-implemented method for defining the development point of a support element for an object created by a stereolithography process
CN116843862A (en) Three-dimensional thin-wall model grid surface texture synthesis method
US10101728B2 (en) Three-dimensional printing system and method of printing a three-dimensional object

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190611

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190805

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: 20190827

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190827

R150 Certificate of patent or registration of utility model

Ref document number: 6579815

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees