JP3074053B2 - Embroidery data creation device for edge-mounted embroidery patterns - Google Patents

Embroidery data creation device for edge-mounted embroidery patterns

Info

Publication number
JP3074053B2
JP3074053B2 JP04024071A JP2407192A JP3074053B2 JP 3074053 B2 JP3074053 B2 JP 3074053B2 JP 04024071 A JP04024071 A JP 04024071A JP 2407192 A JP2407192 A JP 2407192A JP 3074053 B2 JP3074053 B2 JP 3074053B2
Authority
JP
Japan
Prior art keywords
point
pattern
embroidery
edge
main
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
JP04024071A
Other languages
Japanese (ja)
Other versions
JPH05212172A (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.)
DAX CORPORATION
Original Assignee
DAX CORPORATION
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 DAX CORPORATION filed Critical DAX CORPORATION
Priority to JP04024071A priority Critical patent/JP3074053B2/en
Publication of JPH05212172A publication Critical patent/JPH05212172A/en
Application granted granted Critical
Publication of JP3074053B2 publication Critical patent/JP3074053B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)
  • Automatic Embroidering For Embroidered Or Tufted Products (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、所定の基準方向に沿っ
た部分を有する連続折線状の主縫目経路上に形成される
縫目により構成される主模様と、該主模様の外側を周回
する縁取縫目経路上に形成される縫目により構成される
縁取模様とからなる縁取付刺繍模様を形成するための刺
繍データを作成する縁取付刺繍模様用の刺繍データ作成
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a main pattern formed by stitches formed on a continuous folded linear main stitch path having a portion along a predetermined reference direction, and an outer side of the main pattern. The present invention relates to an embroidery data creating apparatus for creating an embroidery data for forming an embroidery pattern including an edge pattern formed by a seam formed on a circling edge seam path.

【0002】[0002]

【従来の技術】例えば、図30(A)に示す様に、基準
線dir100 に沿ってジグザグに形成される主模様10
1と、その外側を周回するチェーンステッチ縫目による
縁取模様103とからなる縁取付刺繍模様が知られてい
る。
2. Description of the Related Art As shown in FIG. 30A, for example, a main pattern 10 formed zigzag along a reference line dir100.
An edge-embedded embroidery pattern is known, which comprises an edge pattern 1 and a border pattern 103 formed by a chain stitch seam that goes around the outside.

【0003】この縁取付刺繍模様においては、図30
(B)に示す様に、主模様101用の主縫目経路105
と、その外側を周回する縁取模様103用の縁取縫目経
路107とを、刺繍ミシンにデータとして与えなければ
ならない。従って、「E」の外形形状111のデザイン
を創作しただけでは不十分であり、その内側の主模様形
成範囲の外形形状113をも決定しなければならなかっ
た。また、周回する縁取縫目経路が複数ある場合にはそ
れらの経路を特定するための多数の座標点をも決定しな
ければならなかった。この主模様形成範囲の外形形状1
13や複数の縁取縫目経路は、外形形状111と単純に
相似形になっている訳ではない。この結果、拡大・縮小
の概念では処理できないため、作業者が一々図面を描
き、座標を読み取って決定していた。
In this embroidery pattern attached to the edge, FIG.
As shown in (B), the main seam path 105 for the main pattern 101
And the embroidery seam path 107 for the embroidery pattern 103 circling the outside thereof must be provided as data to the embroidery sewing machine. Therefore, it is not enough to just create the design of the outer shape 111 of “E”, and the outer shape 113 of the main pattern forming area inside the design has to be determined. Further, when there are a plurality of circling edge seam paths, a large number of coordinate points for specifying those paths have to be determined. External shape 1 of this main pattern formation range
Thirteen or a plurality of border stitch paths are not simply similar to the outer shape 111. As a result, since the processing cannot be performed by the concept of enlargement / reduction, the operator draws the drawings one by one and reads and determines the coordinates.

【0004】[0004]

【発明が解決しようとする課題】このため、従来は、刺
繍模様の輪郭形状が複雑になると、縁取模様に対する主
模様形成範囲(あるいは逆に主模様外形に対する縁取模
様形成位置)をどの様に定めたらよいかを決定するのに
職人的経験が要求され、熟練者でなければ趣味性に富ん
だ複雑な形状の縁取付模様を迅速に刺繍データ化するこ
とができないという問題があった。
For this reason, conventionally, when the contour shape of an embroidery pattern becomes complicated, how to define a main pattern forming range for a border pattern (or conversely, a position for forming a border pattern relative to the outer shape of the main pattern) is determined. There is a problem that craftsman's experience is required to determine what to do, and it is not possible for a skilled person to quickly create a embroidery data of an edge-attached pattern of a complicated shape with a rich taste.

【0005】また、熟練者といえども、手作業でこうし
た主模様形成範囲の外形形状(あるいは縁取模様形成位
置)を正確に決定しなければならないため、多くの時間
と人手を要し、作業効率が極めて低かった。これらの結
果、新規な刺繍模様を創作したり、従来の刺繍模様を改
良・変更したりする場合に、刺繍データを迅速に得るこ
とができず、日々変化する流行にマッチした刺繍模様を
創作する上で不利・不便を強いられるという問題があっ
た。
[0005] In addition, even a skilled person must accurately determine the outer shape (or the border pattern forming position) of such a main pattern forming range by hand, which requires a lot of time and labor, and requires a high work efficiency. Was extremely low. As a result, when creating a new embroidery pattern or improving or changing a conventional embroidery pattern, embroidery data cannot be obtained quickly, and an embroidery pattern that matches the changing fashion every day is created. There was a problem that disadvantages and inconveniences were forced.

【0006】そこで、刺繍模様の輪郭形状さえ決定でき
たら、後は自動的にデータ作成を行うことができ、熟練
者でなくても縁取付刺繍模様についての刺繍データを簡
単に作成することのできる縁取付刺繍模様用の刺繍デー
タ作成装置の提供を目的として本発明を完成した。
[0006] Therefore, once the contour shape of the embroidery pattern is determined, the data can be automatically created thereafter, and even an unskilled person can easily create embroidery data for the edge-mounted embroidery pattern. The present invention has been completed for the purpose of providing an embroidery data creation device for an edge-mounted embroidery pattern.

【0007】[0007]

【課題を解決するための手段及び作用】かかる目的を達
成すべく完成された本発明の縁取付刺繍模様用の刺繍デ
ータ作成装置は、図1に例示する様に、所定の基準方向
に沿った部分を有する連続折線状の主縫目経路上に形成
される縫目により構成される主模様と、該主模様の外側
を周回する縁取縫目経路上に形成される縫目により構成
される縁取模様とからなる縁取付刺繍模様を形成するた
めの刺繍データを作成する縁取付刺繍模様用の刺繍デー
タ作成装置であって、複数の点群により、前記主模様又
は縁取模様の輪郭を特定する輪郭特定手段M1と、前記
主模様の外縁と前記縁取模様との位置関係を与える模様
位置関係付与手段M2と、前記与えられた輪郭上の複数
の点間に形成される各線分の情報を算出する線分情報算
出手段M3と、該算出された線分情報及び前記与えられ
た模様位置関係に基づいて、前記輪郭上の複数の点群を
輪郭の内側又は外側へオフセットしたオフセット点群を
算出するオフセット点群算出手段M4と、該オフセット
点群又は輪郭上の複数の点群の外側にある点群間を結
び、前記縁取縫目経路として決定する縁取縫目経路決定
手段M5と、前記基準方向を特定する基準方向特定手段
M6と、前記オフセット点群又は輪郭上の複数の点群の
内側にある点群間を結んで構成される閉領域の外形及び
前記基準方向から、前記主縫目経路を決定する主縫目経
路決定手段M7とを備えることを特徴とする。
SUMMARY OF THE INVENTION An embroidery data creating apparatus for an edge-embedded embroidery pattern according to the present invention, which has been completed to achieve the above object, has a structure as shown in FIG. A main pattern formed by stitches formed on a continuous folded linear main stitch path having a portion, and a border formed by stitches formed on a border stitch path surrounding the outside of the main pattern An embroidery data creation device for an embroidery pattern for creating an embroidery pattern for forming an embroidery pattern with an edge, comprising: a plurality of point groups for specifying an outline of the main pattern or the edging pattern. Identifying means M1, pattern positional relationship providing means M2 for providing a positional relationship between the outer edge of the main pattern and the border pattern, and calculating information on each line segment formed between a plurality of points on the given contour. A line segment information calculating means M3; An offset point group calculating unit M4 that calculates an offset point group obtained by offsetting a plurality of point groups on the contour to the inside or outside of the contour based on the output line segment information and the given pattern positional relationship; A border seam path determining means M5 for connecting the point groups outside the plurality of point groups on the offset point group or the contour and determining the border seam path; a reference direction specifying means M6 for specifying the reference direction; Main stitch path determining means for determining the main stitch path from the external shape of the closed area formed by connecting the point groups inside the plurality of point groups on the offset point group or the contour and the reference direction M7.

【0008】本発明の刺繍データ作成装置によれば、輪
郭特定手段M1により複数の点群を用いて、主模様又は
縁取模様の輪郭を特定し、模様位置関係付与手段M2に
より主模様の外縁と縁取模様との位置関係を与えると、
線分情報算出手段M3が、この与えられた輪郭上の複数
の点間に形成される各線分の情報を算出する。そして、
オフセット点群算出手段M4が、この線分情報及び与え
られた模様位置関係に基づいて、輪郭上の複数の点群を
輪郭の内側又は外側へオフセットしたオフセット点群を
算出する。
According to the embroidery data creating apparatus of the present invention, the outline of the main pattern or the border pattern is specified by using the plurality of point groups by the outline specifying means M1, and the outer edge of the main pattern is specified by the pattern positional relation applying means M2. Given the positional relationship with the border pattern,
The line segment information calculating means M3 calculates information of each line segment formed between a plurality of points on the given contour. And
The offset point group calculating means M4 calculates an offset point group obtained by offsetting a plurality of point groups on the contour to the inside or outside of the contour based on the line segment information and the given pattern positional relationship.

【0009】前記オフセット点群算出手段M4は、例え
ば、隣合う線分同士の関係に基づいて前記オフセット点
群を算出するという構成にすることができる。例えば、
線分を平行移動させてから交点を求めるといった手法も
この概念に含まれる。また、オフセット点群算出手段M
4は、隣合う線分のそれぞれの方向に基づいて一定量線
分をオフセットするとした場合の当該隣合う線分間の交
点のオフセット方向を算出し、前記与えられる縁取模様
と主模様との位置関係に基づいて、当該オフセット方向
への前記交点のオフセット量を算出し、該オフセット量
及びオフセット方向から前記オフセット点群の位置を算
出することとしてもよい。
The offset point group calculating means M4 can be configured to calculate the offset point group based on, for example, a relationship between adjacent line segments. For example,
This concept includes a method of calculating an intersection point after translating a line segment in parallel. Further, the offset point group calculating means M
4 calculates the offset direction of the intersection between the adjacent line segments when the fixed amount line segment is offset based on the respective directions of the adjacent line segments, and calculates the positional relationship between the given border pattern and the main pattern. The offset amount of the intersection in the offset direction may be calculated based on the offset amount, and the position of the offset point group may be calculated from the offset amount and the offset direction.

【0010】こうしてオフセット点群が算出されたら、
縁取縫目経路決定手段M5は、オフセット点群又は輪郭
上の複数の点群の外側にある点群間を結ぶことで縁取縫
目経路を決定する。また、主縫目経路については、主縫
目経路決定手段M7が、基準方向特定手段M6の与える
前記基準方向と、オフセット点群又は輪郭上の複数の点
群の内側にある点群間を結んで閉領域を構成する線分群
とから、これを決定する。
When the offset point group is calculated in this way,
The edging seam path determination means M5 determines an edging seam path by connecting point groups outside the offset point group or a plurality of point groups on the contour. Regarding the main stitch path, the main stitch path determining means M7 connects the reference direction provided by the reference direction specifying means M6 with the offset point group or the point group inside the plurality of point groups on the contour. This is determined from the group of line segments constituting the closed region by.

【0011】ここで、主縫目経路決定手段M7は、図2
に例示する様に、前記内側の点群により特定された輪郭
の輪郭線上から所定の特徴点を抽出する特徴点抽出手段
M11と、該抽出した特徴点及び前記特定された基準方
向に基づいて、前記内側の点群により囲まれた閉領域を
複数の分割領域に分割する閉領域分割手段M12とを備
え、該分割領域、前記内側の点群及び前記基準方向に基
づいて、主模様の全体に渡る主縫目経路を決定する構成
とするとよい。
Here, the main seam path determining means M 7
As an example, based on a feature point extracting unit M11 that extracts a predetermined feature point from the contour of the contour specified by the inside point group, based on the extracted feature point and the specified reference direction, A closed region dividing means M12 for dividing a closed region surrounded by the inner point group into a plurality of divided regions, and based on the divided region, the inner point group, and the reference direction, the entire main pattern is formed. It is preferable to determine the main seam path to be crossed.

【0012】この刺繍データ作成装置によれば、閉領域
分割手段M12が、オフセット点群又は最初の輪郭の点
群のいずれか内側の点群に囲まれる閉領域を複数の分割
領域に分割する。この際、閉領域分割手段M12は、特
徴点抽出手段M11によって抽出された輪郭線上の所定
の特徴点及び基準方向付与手段M6により特定された基
準方向を考慮して閉領域の分割を行う。主縫目経路決定
手段M7は、こうして得られた分割領域、算出したオフ
セット点群又は与えられた点群の内の内側の点群により
特定された閉領域及び基準方向に基づいて、主模様の全
体に渡る主縫目経路を決定する。
According to the embroidery data creating apparatus, the closed area dividing means M12 divides the closed area surrounded by the inside of the offset point group or the first contour point group into a plurality of divided areas. At this time, the closed area dividing means M12 divides the closed area in consideration of a predetermined feature point on the contour extracted by the feature point extracting means M11 and the reference direction specified by the reference direction providing means M6. The main seam path determining means M7 determines the main pattern based on the divided area obtained in this manner, the calculated offset point group, or the closed area specified by the inner point group in the given point group and the reference direction. Determine the entire main seam path.

【0013】この様に構成することにより、複雑な形状
の主模様を形成する場合に、簡単に主縫目経路を決定し
ていくことができる。また、この縁取付刺繍模様用の刺
繍データ作成装置において、前記主縫目経路が、各分割
領域内を埋める縫目経路と、該縫目経路同士を連結する
連結経路とからなり、前記主縫目経路決定手段M12
は、図3に例示する様に、前記連結経路を縫目形成順に
関する所定の条件に従って決定する連結経路決定部M1
3をも備えることとすることができる。この様に構成す
ることで、主模様全体の一本の連続した縫目経路を、各
分割領域内の縫目経路と連結経路とに分解して決定でき
るので簡単である。
With this configuration, the main stitch path can be easily determined when a complicated main pattern is formed. In the embroidery data creating device for an edge-embroidered embroidery pattern, the main stitch path includes a stitch path filling each divided area and a connecting path connecting the stitch paths. Eye path determination means M12
As illustrated in FIG. 3, a connection path determination unit M1 that determines the connection path in accordance with a predetermined condition regarding the stitch formation order.
3 can also be provided. With such a configuration, a single continuous seam path of the entire main pattern can be determined by being decomposed into a seam path and a connection path in each divided area.

【0014】さらに、これらの縁取付刺繍模様用の刺繍
データ作成装置において、前記閉領域分割手段M12
は、前記点群の連続状態に基づいて前記主模様の凹凸に
関する状態を認識し、前記基準方向に平行で凹の点を通
る直線と主模様の輪郭線との所定の交点を求め、主縫目
経路の終点を出発点として検討し、前記主模様の輪郭線
上に前記交点,凸の点,凹の点の順番に連続し、かつ間
に他の交点,凸の点,凹の点を有しない部分を抽出する
ことで前記分割領域を決定する構成とすることができ
る。前記閉領域分割手段M12は、さらに、一つの分割
領域を決定した後に、次の分割領域を決定するに当たっ
ては、既に決定された分割領域内の交点,凸の点,凹の
点は無視することとするとよい。これらの構成によれ
ば、縫目形成順番まで自動的に定めることができる。
Further, in the embroidery data creating apparatus for an edge-attached embroidery pattern, the closed area dividing means M12
Recognizing a state related to irregularities of the main pattern based on the continuous state of the point group, finding a predetermined intersection point between a straight line passing through a concave point parallel to the reference direction and a contour line of the main pattern, The end point of the eye path is considered as a starting point, and the intersection point, the convex point, and the concave point continue on the contour line of the main pattern in the order of the intersecting point, the convex point, and the concave point. It is possible to adopt a configuration in which the divided area is determined by extracting a portion not to be processed. After determining one divided area, the closed area dividing means M12 ignores intersections, convex points, and concave points in the already determined divided areas when determining the next divided area. It is good to According to these configurations, the stitch formation order can be automatically determined.

【0015】以上の各構成の縁取付刺繍模様用の刺繍デ
ータ作成装置において、図4に例示する様に、さらに、
前記縁取縫目経路決定手段M12が決定した縁取縫目経
路の終点又は始点と、前記主縫目経路決定手段の決定し
た主縫目経路の始点又は終点とを連結する縫目経路連結
手段M14をも備えることとすることができる。この構
成によれば、例えば刺繍に当たって縁取模様を先に形成
する場合には、縫目経路連結手段M14は、縁取縫目経
路の終点と、主縫目経路の始点とを連結する。逆に、主
模様を先に形成する場合には、縫目経路連結手段M14
は、主縫目経路の終点と、縁取縫目経路の始点とを連結
する。
In the above-described embroidery data creating apparatus for an edge-mounted embroidery pattern, as shown in FIG.
Stitch path connecting means M14 for connecting the end point or start point of the border seam path determined by the border seam path determining means M12 and the start point or end point of the main seam path determined by the main seam path determining means. Can also be provided. According to this configuration, for example, when a border pattern is first formed during embroidery, the seam path connecting means M14 connects the end point of the border seam path and the start point of the main seam path. Conversely, when the main pattern is formed first, the seam path connecting means M14
Connects the end point of the main stitch path and the start point of the border stitch path.

【0016】以上の様に、本発明の縁取付刺繍模様用の
刺繍データ作成装置によれば、最初は主模様形成範囲の
外形形状又は縁取模様を含んだ外形の形状を特定する情
報のいずれかを与えただけなのに、その内側又は外側に
所定量オフセットされた形状を特定する情報を生成する
ことができ、簡単に縁取縫目経路及び主縫目経路を刺繍
データ化することができる。
As described above, according to the embroidery data creating apparatus for an edge-mounted embroidery pattern of the present invention, at first, any one of the information for specifying the outer shape of the main pattern forming area or the outer shape including the border pattern is specified. Can be generated, information that specifies a shape that is offset by a predetermined amount inward or outward can be generated, and the border stitch path and the main stitch path can be easily converted into embroidery data.

【0017】[0017]

【実施例】以下、本実施例を適用した一実施例につい
て、図面に基づき説明する。実施例の刺繍データ作成装
置1は、所定の基準方向に沿った部分を有する連続折線
状の主縫目経路上に形成される縫目により構成される主
模様と、この主模様の外側を周回する縁取縫目経路上に
形成される縫目により構成される縁取模様とからなる縁
取付刺繍模様を形成するための刺繍データを作成する装
置であって、図5に示す様に、主模様となる外形形状を
入力するためのデジタイザ3と、数値等を入力するキー
ボード5と、これらデジタイザ3及びキーボード5と接
続された演算処理装置7と、演算処理装置7と接続さ
れ、フロッピディスク9に対し、記憶された情報の読み
出しと演算処理装置7による演算処理結果等の書き込み
とを行うフロッピディスクドライバ11と、演算処理装
置7による演算処理結果に基づいた表示を行うディスプ
レイ13とを備えている。演算処理装置7は、CPU1
5,ROM17,RAM19等とI/Oポート21とを
備えたコンピュータである。ROM17内には、後述す
る制御処理プログラムが記憶されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. The embroidery data creating apparatus 1 according to the embodiment includes a main pattern formed by stitches formed on a continuous folded linear main stitch path having a portion along a predetermined reference direction, and circulates outside the main pattern. An apparatus for creating embroidery data for forming an edge-attached embroidery pattern including a border pattern formed by stitches formed on a border stitch path to be formed. As shown in FIG. A digitizer 3 for inputting the external shape of the computer, a keyboard 5 for inputting numerical values and the like, an arithmetic processing unit 7 connected to the digitizer 3 and the keyboard 5, and connected to the arithmetic processing unit 7. A floppy disk driver 11 for reading the stored information and writing the result of the arithmetic processing by the arithmetic processing device 7, and a data display for displaying based on the arithmetic processing result by the arithmetic processing device 7. And a spray 13. The arithmetic processing unit 7 includes a CPU 1
5, a computer including a ROM 17, a RAM 19, and the like, and an I / O port 21. The ROM 17 stores a control processing program described later.

【0018】演算処理装置7は、デジタイザ3におい
て、刺繍模様の外形を創作した時点で、このデザイン画
23を描いた図面25をボード27上に載置し、各角部
23a,23b,…を始点23aから終点23zまで時
計周りに入力ペン29で指定することにより、デザイン
画23に表された形状を特定する各座標データ及びこれ
ら座標データ相互のつながり順番をデータとしてRAM
19へ記憶していく。単に座標点を記憶するだけではな
く、座標点の入力順番により輪郭線の連続に関する情報
も併せて記憶するのである。また、デジタイザ3又はキ
ーボード5から、デザイン画23に表された図形内をど
の方向に沿った縫目により埋めて主模様を構成するかの
情報を入力する。この縫目が沿うべき方向を基準方向d
irとよぶ。さらに、縁取模様については、主模様の外
形からどれだけ離れた位置に縁取縫目経路を形成すべき
かの離間距離(オフセット距離)ostをキーボード5
から入力しておく。この他必要となるのは、主模様の平
行縫目の間隔(縫目間隔)sspがある。こうして入力
された輪郭線を特定する情報,基準方向dir,オフセ
ット距離s及び縫目間隔sspに基づいて、下記の演算
処理が実行され、縁取付刺繍模様用の刺繍データが作成
される。
When the digitizer 3 creates the outer shape of the embroidery pattern, the arithmetic processing unit 7 places the drawing 25 on which the design image 23 is drawn on the board 27, and places the corners 23a, 23b,. By designating the input point 29 clockwise from the start point 23a to the end point 23z, each coordinate data specifying the shape shown in the design image 23 and the connection order of these coordinate data are stored as data in the RAM.
19 is stored. In addition to simply storing the coordinate points, information on the continuity of the outline is also stored in accordance with the input order of the coordinate points. In addition, information is input from the digitizer 3 or the keyboard 5 as to which direction the seam along which the figure shown in the design image 23 is to be filled to form the main pattern. The direction along which the seam should follow is the reference direction d.
Called ir. Further, for the border pattern, the distance (offset distance) ost indicating how far from the outer shape of the main pattern the border seam path should be formed is set to the keyboard 5.
Input from. In addition to the above, there is an interval (stitch interval) ssp between parallel stitches of the main pattern. Based on the information specifying the contour line, the reference direction dir, the offset distance s, and the stitch interval ssp, the following arithmetic processing is executed to create embroidery data for the embroidery pattern attached to the edge.

【0019】以下、図6に示した複雑な形状を有し、主
模様DSGNmainの周りに、オフセット距離ost離れ
た縁取模様DSGNedgeを有する刺繍模様DSGNを対
象に説明する。まず、最初には、デジタイザ3により、
図6に示す様に、点m1 ,m2 ,…,m26の順番に主模
様DSGNmainの輪郭形状が特定されたとする(以下点
m1 ,m2 ,…,m26を総合して点列mという)。これ
らの点列は、イメージ確認のためにディスプレイ13に
表示される。
An embroidery pattern DSGN having a complex shape shown in FIG. 6 and having a border pattern DSGNedge separated by an offset distance ost around the main pattern DSGNmain will be described below. First, digitizer 3 first
As shown in FIG. 6, it is assumed that the contour shape of the main pattern DSGNmain is specified in the order of points m1, m2,..., M26 (hereinafter, points m1, m2,. These dot strings are displayed on the display 13 for image confirmation.

【0020】次に、ディスプレイ13に表示された入力
点列mを参照しつつデジタイザ3を用いて、これらの点
列mの中から、20番目の入力点m20を刺繍経路の始点
としての意味を有する「Im点」と指定し、9番目の入
力点m9 を刺繍経路の終点としての意味を有する「Om
点」と指定する。さらに、基準方向dirについては、
そのx方向増分xdir 及びy方向増分ydir の数値をキ
ーボード5から入力することにより特定し、オフセット
距離ost及び縫目間隔sspもそれぞれキーボード5
から数値を入力する。
Next, by referring to the input point sequence m displayed on the display 13 and using the digitizer 3, the meaning of the twentieth input point m20 as the starting point of the embroidery path from the point sequence m is described. And the ninth input point m9 has the meaning “Om point” as the end point of the embroidery path.
Point ". Further, for the reference direction dir,
The numerical values of the x-direction increment xdir and the y-direction increment ydir are specified by inputting from the keyboard 5, and the offset distance ost and the stitch interval ssp are also specified on the keyboard 5 respectively.
Enter a number from.

【0021】演算処理装置7は、まず最初に主模様DS
GNmainの外形形状を特定するための処理(図7)を実
行する。この処理においては、まず、入力点列mの各点
m1 〜m26の中から着目点(Q点)と、当該Q点に対し
て点列mを時計方向に見た場合の一つ前の点(P点)及
び一つ後の点(N点)とを選定する(ステップSA)。
例えば、図8に一部を拡大して示す様に、点m1 をQ点
とした場合には、点m26をP点とし、点m2 をN点とす
る。
First, the arithmetic processing unit 7 sets the main pattern DS.
A process (FIG. 7) for specifying the outer shape of the GNmain is executed. In this process, first, a point of interest (point Q) from each of the points m1 to m26 of the input point sequence m and a point immediately before the point sequence m when the point sequence m is viewed clockwise with respect to the Q point. (P point) and the next point (N point) are selected (step SA).
For example, as shown in FIG. 8, when the point m1 is the Q point, the point m26 is the P point and the point m2 is the N point.

【0022】次に、Q点からP点への方向ベクトルVQ
Pと、Q点からN点への方向ベクトルVQNとを求め、
(1)式,(2)式に基づいてそれぞれの方向ベクトル
VQP,VQNに垂直な第1,第2の単位ベクトルV
U,VVを求める(ステップSB〜SE)。
Next, the direction vector VQ from point Q to point P
P and a direction vector VQN from the Q point to the N point are obtained,
Based on the equations (1) and (2), the first and second unit vectors V perpendicular to the respective direction vectors VQP and VQN
U and VV are obtained (steps SB to SE).

【0023】[0023]

【数1】 (Equation 1)

【0024】次に、第1の単位ベクトルVUと第2の単
位ベクトルVVが等しくないことを確認する(ステップ
SF)。これは、例えば、最初のデジタイザ入力におい
て、図9に示す様に、ma,mb,mc,mdと誤入力
点mcが含まれた入力になっていないかを確認するため
の処理である。図示の様に、同一直線上を戻る様な入力
は誤入力であるから正しい入力の点について処理を行う
ため、現在のN点の次の点をN点としてステップSDへ
戻る(ステップSG)。
Next, it is confirmed that the first unit vector VU is not equal to the second unit vector VV (step SF). This is a process for confirming, for example, whether the input of the first digitizer includes ma, mb, mc, md and an erroneous input point mc as shown in FIG. As shown in the figure, an input that returns on the same straight line is an erroneous input, so that processing is performed for a correct input point, so that the next point after the current N points is set as the N point and the process returns to the step SD (step SG).

【0025】ステップSFでQ点が誤入力によるもので
ないことを確認できたら、次に第2の単位ベクトルVV
から第1の単位ベクトルVUに向かう方向ベクトル(入
力点オフセット方向ベクトル)VVUを求める(ステッ
プSH)。続いて、(3)式を用いて、オフセット距離
ostをステップSHで求めた入力点オフセット方向ベ
クトルVVUの方向の値(換算値)rに換算する(ステ
ップSI)。
If it is confirmed in step SF that the Q point is not caused by an erroneous input, then the second unit vector VV
, A direction vector (input point offset direction vector) VVU heading toward the first unit vector VU is obtained (step SH). Then, using the equation (3), the offset distance ost is converted into a value (converted value) r in the direction of the input point offset direction vector VVU obtained in step SH (step SI).

【0026】[0026]

【数2】 (Equation 2)

【0027】次に、この換算値rを下記(4)式に当て
はめて、オフセット点(p点)の位置ベクトルVpを算
出し、RAM19内に記憶する(ステップSJ)。な
お、この際、Q点がIm点又はOm点である場合には、
オフセット点pについて、主模様縫い始め点Ip,主模
様縫い終わり点Opという情報を付加して記憶する。
Next, the converted value r is applied to the following equation (4) to calculate a position vector Vp of the offset point (point p) and store it in the RAM 19 (step SJ). At this time, when the Q point is the Im point or the Om point,
Information about the main pattern sewing start point Ip and the main pattern sewing end point Op is added to the offset point p and stored.

【0028】[0028]

【数3】 (Equation 3)

【0029】以上の処理を、全ての入力点m1 〜m26に
ついて実行することにより、図10の上側に示す様に、
複雑な外形の刺繍模様DSGNの内側にオフセット距離
ostだけ入り込んだ主模様DSGNmainの外形形状を
表す点p1 ,p2 ,…,p26(以下点p1 ,p2 ,…,
p26を総合して点列pという)が特定された。
By performing the above processing for all the input points m1 to m26, as shown in the upper part of FIG.
Points p1, p2,..., P26 (hereinafter, points p1, p2,..., P26) representing the outer shape of the main pattern DSGNmain which is inserted into the embroidery pattern DSGN having a complicated outer shape by the offset distance ost.
p26 is referred to as a point sequence p).

【0030】こうして主模様DSGNmainの形状が特定
されると、演算処理装置7は、図11に示す座標変換処
理を実行する。この処理では、まず基準方向dirとx
軸とのなす角度θを下記(5)式より求め(ステップS
1)、原点oから点列pの重心cへのベクトルVocを下
記(6)式より求める(ステップS2)。なお、以下の
式におけるmは、図10の例では「m=26」として計
算する。
When the shape of the main pattern DSGNmain is specified in this way, the arithmetic processing unit 7 executes a coordinate conversion process shown in FIG. In this process, first, the reference directions dir and x
The angle θ formed with the axis is obtained from the following equation (5) (step S5).
1) A vector Voc from the origin o to the center of gravity c of the point sequence p is obtained from the following equation (6) (step S2). Note that m in the following equation is calculated as “m = 26” in the example of FIG.

【0031】[0031]

【数4】 (Equation 4)

【0032】次に、(7)式をn=1からn=m(=2
6)まで繰り返し演算し、点列pを角度「−θ」だけ回
転した点列sを構成する点sn を、原点oからのベクト
ルVosn として算出する(ステップS3)。
Next, the equation (7) is changed from n = 1 to n = m (= 2
The point sn constituting the point sequence s obtained by rotating the point sequence p by the angle “−θ” is calculated as a vector Vosn from the origin o (step S3).

【0033】[0033]

【数5】 (Equation 5)

【0034】次に、n=1〜mの各ベクトルVosn のx
成分同士を比較したときの最大値を有する点smaxxと最
小値を有する点sminx及び、n=1〜mの各ベクトルV
osnのy成分同士を比較したときの最大値を有する点sm
axyと最小値を有する点sminyをそれぞれ求める(ステ
ップS4)。ここまでの処理を図により表すと、ちょう
ど図10の下側の状態になる。なお、図示の例では、x
成分最大点smaxxとy成分最小点sminyとが同一の点と
なっている。
Next, x of each vector Vosn of n = 1 to m
A point smaxx having a maximum value and a point sminx having a minimum value when the components are compared, and each vector V of n = 1 to m
Point sm having the maximum value when comparing the y components of osn
axy and a point sminy having the minimum value are obtained (step S4). When the processing up to this point is represented by a diagram, it is exactly as shown in the lower part of FIG. In the illustrated example, x
The component maximum point smaxx and the y component minimum point sminy are the same point.

【0035】この図10の下側の状態に至ったら、y成
分最小点sminyをQ点とし、その前の点s12をP点と
し、後の点s14をN点としたとき、下記(8)式の値が
正となるか否かにより、最初の点列pの入力が正しく時
計回りになされたか否かを判断する(ステップS5)。
When the state shown in the lower part of FIG. 10 is reached, the y component minimum point sminy is defined as Q point, the preceding point s12 is defined as P point, and the subsequent point s14 is defined as N point. It is determined whether or not the input of the first point sequence p has been correctly performed clockwise based on whether or not the value of the expression is positive (step S5).

【0036】[0036]

【数6】 (Equation 6)

【0037】このステップS5により、「NO」、即
ち、(4)式が負となった場合には、最初の入力が反時
計回りになされていたと判断され、最初の入力点列m=
m1 ,m2 ,…,m26の順番を逆転して図7のステップ
SA以下の処理を再度実行する(ステップS6)。
If "NO" in step S5, that is, if equation (4) is negative, it is determined that the first input has been made counterclockwise, and the first input point sequence m =
The order of m1, m2,..., m26 is reversed, and the processes from step SA onward in FIG. 7 are executed again (step S6).

【0038】こうして、図11に示した処理が完了して
「−θ」変換後の点列sが求められたら、続いて図12
の処理ルーチンに移行する。このルーチンの処理は、点
列sのy成分最大点smaxyからその一つ前の点(図10
の例ではs2 )まで時計方向に見ていったときの連続状
態に基づいて、各点smaxy,s4 ,…,s2 のいずれ
が、基準方向dirとの関係から見た特異点に該当する
か否かを決定し、かつその特異点の属性が如何なるもの
かを決定する。ここにいう特異点とは、基準方向dir
をx軸にとった場合に、ある点から時計回りに次の点へ
結んだ線分のy増分が、「正から負」又は「負から正」
へ変化する点として定義される点である。従って、ここ
にいう特異点は、さらに二つの異なる属性を有する特異
点に分けることができる。y増分が「負から正」へ変化
する特異点を属性Bの特異点(以下、B点ともいう)と
定義し、y増分が「正から負」へ変化する特異点を属性
Cの特異点(以下、C点ともいう)と定義する。即ち、
基準方向dirとの関係から定まる特異点の内、点列s
により構成される閉図形について見たとき、内部へ向か
って没入する頂点をB点、外部へ向かって突出する頂点
をC点として定義する。
When the processing shown in FIG. 11 is completed and the point sequence s after "-.theta." Conversion is obtained,
The processing shifts to the processing routine. The processing of this routine is a point immediately before the y component maximum point smaxy of the point sequence s (see FIG. 10).
In the example of the above, based on the continuous state when viewed in the clockwise direction up to s2), each of the points smaxy, s4,..., S2 corresponds to a singular point viewed from the relationship with the reference direction dir. Is determined, and what the attribute of the singular point is is determined. The singular point referred to here is the reference direction dir
Is taken on the x-axis, the y-increment of the line segment connected from the point to the next point clockwise is “from positive to negative” or “from negative to positive”.
Is a point defined as a point that changes to Therefore, the singular point referred to here can be further divided into singular points having two different attributes. A singular point at which the y increment changes from "negative to positive" is defined as a singular point of attribute B (hereinafter also referred to as point B), and a singular point at which the y increment changes from "positive to negative" is a singular point of attribute C. (Hereinafter also referred to as point C). That is,
Point sequence s among singular points determined from the relationship with reference direction dir
When looking at the closed figure constituted by, the vertex that intrudes inward is defined as point B, and the vertex that protrudes outward is defined as point C.

【0039】具体的な処理を説明する。検討対象となる
点(以下、点sn 又はQ点という)として、最初にy成
分最大点smaxyを選定し(ステップS11)、Q点の一
つ前の点(以下、点sn-1 又はP点という)と、Q点の
一つ後の点(以下、点sn+1又はN点という)とを特定
する(ステップS12)。続いて、P点からQ点への方
向ベクトルVPQのy成分を算出し、これを第1評価値
k1とする(ステップS13)。第1評価値K1が値
「0」の場合にはステップS12で特定したP点を、点
sn-1 のもう一つ前の点sn-2 に変更し(ステップS1
4,S15)、ステップS13の処理に戻る。
The specific processing will be described. First, the y component maximum point smaxy is selected as a point to be considered (hereinafter, referred to as a point sn or a Q point) (step S11), and a point immediately before the Q point (hereinafter, a point sn-1 or a P point) is selected. ) And a point after the Q point (hereinafter, referred to as point sn + 1 or N point) are specified (step S12). Subsequently, the y component of the direction vector VPQ from point P to point Q is calculated, and this is set as a first evaluation value k1 (step S13). If the first evaluation value K1 is the value "0", the point P specified in step S12 is changed to a point sn-2 immediately before the point sn-1 (step S1).
4, S15), and returns to the processing of step S13.

【0040】一方、ステップS14が「NO」となった
場合には、Q点からN点への方向ベクトルVQNのy成
分を算出し、これを第2評価値k2とする(ステップS
16)。第2評価値K2が値「0」の場合には、現在選
定しているQ点はB点にもC点にもなり得ないから、以
下の処理をパスしてステップS24へ進む(ステップS
17)。
On the other hand, if step S14 results in "NO", the y component of the direction vector VQN from point Q to point N is calculated, and this is set as the second evaluation value k2 (step S14).
16). If the second evaluation value K2 is the value “0”, the currently selected Q point cannot be the B point or the C point, so that the process passes the following process and proceeds to step S24 (step S24).
17).

【0041】これに対し、ステップS17の判定が「N
O」となった場合には、第1評価値K1と第2評価値K
2の符号を比較する(ステップS18)。符号が同一な
らば、現在選定しているQ点はB点にもC点にもなり得
ないから、以下の処理をパスしてステップS24へ進
む。
On the other hand, the determination in step S17 is "N
O ”, the first evaluation value K1 and the second evaluation value K
The two signs are compared (step S18). If the signs are the same, the currently selected Q point cannot be the B point or the C point, so the process passes the following process and proceeds to step S24.

【0042】一方、第1評価値K1と第2評価値K2の
符号が異なる場合には、方向ベクトルVQPのx成分を
方向ベクトルVQPの大きさで割ったもの、即ち単位方
向ベクトル△VQPのx成分△VQPxと、方向ベクト
ルVQNのx成分を方向ベクトルVQNの大きさで割っ
たもの、即ち単位方向ベクトル△VQNのx成分△VQ
Nxとを求め、前者△VQPxから後者△VQNxを減
算して第3評価値uを算出する(ステップS19)。こ
の第3評価値uが値「0」の場合には、選定したQ点は
B点にもC点にもなり得ないから、以下の処理をパスし
てステップS24へ進む(ステップS20)。
On the other hand, if the sign of the first evaluation value K1 is different from the sign of the second evaluation value K2, the value obtained by dividing the x component of the direction vector VQP by the magnitude of the direction vector VQP, that is, x of the unit direction vector △ VQP The component △ VQPx and the value obtained by dividing the x component of the direction vector VQN by the magnitude of the direction vector VQN, that is, the x component of the unit direction vector △ VQN △ VQ
Nx is obtained, and the third evaluation value u is calculated by subtracting the latter △ VQNx from the former △ VQPx (step S19). When the third evaluation value u is a value “0”, the selected Q point cannot be the B point or the C point, so that the process passes the following process and proceeds to step S24 (step S20).

【0043】これに対し、ステップS20の判定が「N
O」となった場合には、第3評価値uと第1評価値K1
の符号を比較する(ステップS21)。第3評価値uと
第1評価値K1の符号が同一ならば、選定したQ点は特
異点であり、その属性はB点であるということをRAM
19に記憶する(ステップS22)。一方、第3評価値
uと第1評価値K1の符号が異なる場合には、選定した
Q点は特異点であり、その属性はC点であるということ
をRAM19に記憶する(ステップS23)。そして、
ステップS22又はS23の処理の後に、Q点として点
列s内の全ての点のそれぞれが選択され終えたか否かを
判定し(ステップS24)、未だ選定し終えていない点
がある場合には、N点をQ点としてステップS12以下
の処理を繰り返す(ステップS25)。
On the other hand, the determination in step S20 is "N
O ”, the third evaluation value u and the first evaluation value K1
Are compared (step S21). If the sign of the third evaluation value u and the sign of the first evaluation value K1 are the same, the RAM indicates that the selected Q point is a singular point and its attribute is B point.
19 (step S22). On the other hand, when the signs of the third evaluation value u and the first evaluation value K1 are different, the fact that the selected Q point is a singular point and its attribute is the C point is stored in the RAM 19 (step S23). And
After the processing of step S22 or S23, it is determined whether or not each of all the points in the point sequence s has been selected as the Q point (step S24). If there is any point that has not been selected yet, The process from step S12 is repeated with the N point as the Q point (step S25).

【0044】上記処理における特異点の属性判定の条件
を表で表すと以下の様になる。
The conditions for determining the attribute of a singular point in the above processing are shown in the following table.

【0045】[0045]

【表1】 [Table 1]

【0046】こうして、点列sの全ての点について特異
点か否か及び特異点である場合の属性はB点であるかC
点であるかをチェックした後に、図13に示す様に、こ
の属性(B点,C点)の情報を「−θ変換」前の点列p
の各対応点の属性として記憶する(ステップS31)。
即ち、図14に示す様に、点列s上においてその属性が
B点とされた点s5 ,s7 ,s10,s15,s19,s23の
「−θ変換」前の点のp5 ,p7 ,p10,p15,p19,
p23のそれぞれがB点(B1 ,B2 ,…,B6)である
ことが記憶され、点列s上においてその属性がC点とさ
れた点s3 ,s6 ,s9 ,s12,s13,s16,s21,s
24の「−θ変換」前の点p3 ,p6 ,p9 ,p12,p1
3,p16,p21,p24のそれぞれがC点(C1 ,C2 ,
…,C8 )であることが記憶される。
As described above, all the points in the point sequence s are singular points or not, and if they are singular points, the attribute is B point or C point.
After checking whether the attribute is a point or not, as shown in FIG. 13, the information of the attribute (points B and C) is converted into a point sequence p before “−θ conversion”.
Is stored as the attribute of each corresponding point (step S31).
That is, as shown in FIG. 14, the points p5, p7, p10, p10, and p5 of the points before the "-.theta. Conversion" of the points s5, s7, s10, s15, s19, and s23 on the point sequence s whose attributes are the B points. p15, p19,
It is stored that each of p23 is a point B (B1, B2,..., B6), and points s3, s6, s9, s12, s13, s16, s21, and s3 whose attributes are C points on the point sequence s. s
24 points p3, p6, p9, p12, p1 before "-θ conversion"
3, p16, p21, and p24 are at point C (C1, C2,
.., C8) are stored.

【0047】続いて、同図に示す様に、各B点を通り、
基準方向dirに平行な線を引いたときの当該平行線と
閉図形との交点の中から、B点から基準方向と同じ方向
及び反対方向のそれぞれの線分の長さが最短である交点
(図示の各「△」の点;以下、T点という)を算出する
(ステップS32)。この結果、各B点B1 ,B2 ,…
に対して、それぞれ二つのT点(T1rとT1l),(T2r
とT2l),…が求められる。このT点は、B点,C点と
異なり、最初のデジタイザ入力では特定されなかった点
であって、本処理により生成される点であることを特徴
とする。なお、B点,C点同様に、基準方向dirとの
関係から定まることから、以下の説明において特異点と
いう場合には、このT点も含む。
Subsequently, as shown in FIG.
From the intersections between the parallel line and the closed figure when a line parallel to the reference direction dir is drawn, the intersection (from point B, in which the length of each line segment in the same direction as the reference direction and the opposite direction is the shortest) Each point of “△” shown in the figure; hereinafter, referred to as T point) is calculated (step S32). As a result, each B point B1, B2,.
, Two T points (T1r and T1l) and (T2r
And T2l), ... are required. The point T is different from the points B and C, and is a point that is not specified by the first digitizer input and is a point generated by the present processing. Note that, similarly to the point B and the point C, the point is determined from the relationship with the reference direction dir. Therefore, in the following description, a singular point includes the point T.

【0048】次に、点列pにより決定される閉図形の輪
郭線上を第1入力点p1 から時計方向に、新たに生成さ
れたT点を含めてそれぞれの属性と共に番号割付をし直
す(ステップS33)。即ち、図15に示す様に、点p
n1 ,pn2 ,pc3 ,pn4 ,pb5 ,pc6 ,pt
7 ,…,pn38というT点を含む点列の情報が次の処理
用にRAM19内の所定領域に記憶される。ここで、p
nは無属性の点を、pbは属性Bの特異点を、pcは属
性Cの特異点を、ptは属性Tの特異点を意味する。T
点はその特定手法から明かな様にB点の個数の2倍の個
数となり、C点は幾何学図形の性質としてB点の個数よ
り2個多い個数となる。
Next, on the contour of the closed figure determined by the point sequence p, the numbers are renumbered together with the respective attributes including the newly generated T point in the clockwise direction from the first input point p1 (step S1). S33). That is, as shown in FIG.
n1, pn2, pc3, pn4, pb5, pc6, pt
.., Pn38 are stored in a predetermined area in the RAM 19 for the next processing. Where p
n indicates a non-attribute point, pb indicates a singular point of attribute B, pc indicates a singular point of attribute C, and pt indicates a singular point of attribute T. T
As is clear from the specific method, the number of points is twice as many as the number of points B, and the number of points C is two more than the number of points B as properties of the geometrical figure.

【0049】こうして、新たに生成されたT点を含む3
8個の点について属性を含めた番号割付が完了すると、
今度は、刺繍を行う単位エリアを特定する処理を実行す
る。従来のブロック割りを自動的に実行するための処理
である。本処理は、図16に示す様に、まず、最初の入
力において刺繍経路の終点であるOp点(番号再割付後
の点pc10)を検討開始点spとして選定すると共に
(ステップS41)、時計方向CWに見たとき検討開始
点spの一つ前の点(pc10に対してはpn9 )を検討
終了点epとして設定する(ステップS42)。次に、
点spから点epへ至る点列中にT点が一つ以上あるか
否かを判定し(ステップS43)、一つ以上ある場合に
は検討開始点spから時計方向(順方向)CWに見た場
合に最初に発見されるT点をエリア特定端点wとする
(ステップS44)。このエリア特定端点wは、以下の
エリア検討において単位エリアを特定するための基準点
であり、最終的に特定された単位エリアを釣鐘状と見た
ときの底辺の左端となる点(L点)となる。
Thus, 3 including the newly generated T point
When the number assignment including attributes is completed for eight points,
This time, processing for specifying a unit area for embroidery is executed. This is a process for automatically executing the conventional block division. In this processing, as shown in FIG. 16, first, in the first input, the Op point (the point pc10 after the number reassignment), which is the end point of the embroidery path, is selected as the study start point sp (step S41), and the clockwise direction is selected. When viewed from the CW, a point immediately before the examination start point sp (pn9 for pc10) is set as the examination end point ep (step S42). next,
It is determined whether or not there is one or more points T in the point sequence from the point sp to the point ep (step S43). If there is one or more, it is viewed clockwise (forward) CW from the examination start point sp. In this case, the first point T found is set as the area specifying end point w (step S44). This area specifying end point w is a reference point for specifying a unit area in the following area examination, and is a point (L point) that is the left end of the bottom when the finally specified unit area is viewed as a bell shape. Becomes

【0050】こうしてエリア特定端点w(順方向最初に
発見したT点)が特定できたら、当該エリア特定端点w
から、さらに順方向CWに検討終了点epに至るまでの
間に特異点がC点,B点の順番に連続しているか否かを
判定する(ステップS45)。即ち、順方向にT点→C
点→B点の順番に特異点が連続しているか否かを判定す
る。ここで、「T点→C点→B点の順番に特異点が連続
している」とは、「T点→(T点)→C点→B点」とか
「T点→(B点)→C点→B点」といった他の属性の点
(()でくくった点)を介装することなく「T点→C点
→B点」とのみ連続するものという意味である。
When the area specifying end point w (the T point found first in the forward direction) can be specified in this manner, the area specifying end point w
Then, it is determined whether or not the singular point continues in the order of the point C and the point B in the forward direction CW until reaching the examination end point ep (step S45). That is, point T → C in the forward direction
It is determined whether or not the singular points are consecutive in the order of point → point B. Here, “a singular point is continuous in the order of T point → C point → B point” means “T point → (T point) → C point → B point” or “T point → (B point)”. This means that only points “T → C → B” are connected without interposing a point of another attribute (point enclosed by ()) such as “→ C point → B point”.

【0051】ステップS45にて「NO」と判定された
場合には、エリア特定端点wから反時計方向(逆方向)
CCWにOp点に至るまでの間に特異点がさらにC点,
B点の順番に連続しているか否かを判定する(ステップ
S46)。即ち、順方向CWがだめなら逆方向CCWに
T点→C点→B点の順番に特異点が連続しているか否か
を判定する。
If "NO" is determined in the step S45, the counterclockwise direction (reverse direction) from the area specifying end point w.
The singular point is further increased to the C point before reaching the Op point in the CCW,
It is determined whether or not points B are consecutive in order (step S46). That is, if the forward CW is not successful, it is determined whether or not the singular points are continuous in the reverse CCW in the order of point T → point C → point B.

【0052】順方向CW,逆方向CCW共に「NO」と
判定されたら、現在のエリア特定端点wを新たな検討開
始点spとしてステップS44以下の処理を繰り返す
(ステップS47)。なお、T点が一つ以上存在する限
り、図形の性質上必ずいつかはステップS45又はS4
6が「YES」となる。
If both the forward direction CW and the backward direction CCW are determined to be "NO", the process from step S44 is repeated with the current area specifying end point w as a new study start point sp (step S47). Note that as long as there is at least one T point, the nature of the graphic necessarily means that sometime in step S45 or S4
6 is "YES".

【0053】ステップS45又はS46が「YES」と
なった場合には、当該T点,C点,B点及びそれらの間
の無属性点により囲まれる閉図形を単位エリアとして特
定し、T点をL点と、C点をM点(単位エリアを釣鐘状
と見たときの頂点にあたる点)と、B点をR点(単位エ
リアを釣鐘状と見たときの底辺右端にあたる点)と、そ
れぞれ命名すると共にその点番号をRAM19内の単位
エリア記憶領域の空き領域の先頭に記憶する(ステップ
S48)。そして、これら今回の処理で発見されたT
点,C点,B点及び、今回発見したT点と対になるT点
(例えば図14でいうT1rに対するT1l)の4つの特異
点の属性を無属性にし(ステップS49)、再びステッ
プS41以下の処理を繰り返す。なお、この後のステッ
プS41以下の処理においては、最初の点列pにより特
定される閉図形から、今回特定されたブロックのL点か
らM点を経てR点へ至る部分がなくなった輪郭線につい
て検討を行う。
If step S45 or S46 is "YES", a closed figure surrounded by the T point, the C point, the B point, and the non-attribute point therebetween is specified as a unit area, and the T point is determined. Point L, point C is point M (point corresponding to the vertex when the unit area is viewed as bell-shaped), and point B is point R (point corresponding to the right end of the base when the unit area is viewed as bell-shaped). Name and the point number are stored at the head of the free area of the unit area storage area in the RAM 19 (step S48). And the T found in these processes
The attributes of the four singular points of the point, the point C, the point B, and the T point (for example, T1l with respect to T1r in FIG. 14) paired with the T point found this time are made non-attribute (step S49), and the steps from step S41 onward again Is repeated. Note that, in the processing after step S41, the outline from the closed figure specified by the initial point sequence p to the point R from the point L to the point R via the point M of the block specified this time is deleted. Do a review.

【0054】こうして処理を繰り返していく内に属性T
の点が全て無属性とされると、ステップS43が[YE
S」となる。このとき、自動的に属性Bの点も全て無属
性となっているが、属性Cの点は未だ2個残っている。
こうしてステップS43が「YES」となると、最後に
残った二つのC点を含む閉図形を最終エリアとして特定
し、単位エリア記憶領域に記憶する(ステップS5
0)。なお、本実施例では、最初の入力において刺繍経
路の終点を指定する場合に、このC点のいずれかをOp
点として指定することとしている。デザインした閉図形
の尖った点の中からOp点を指定するのである。従っ
て、残った二つのC点の内の一方が必ずOp点となって
いる。そこで、このステップS50の処理においては、
Op点をブロックのL点及びR点として、もう一つのC
点をM点として記憶する。
As the processing is repeated, the attribute T
Are all attributeless, step S43 is [YE
S ". At this time, all the points of the attribute B are also automatically set to the non-attribute, but two points of the attribute C still remain.
When “YES” is determined in the step S43 in this manner, the closed figure including the two remaining C points is specified as the last area and stored in the unit area storage area (step S5).
0). In the present embodiment, when specifying the end point of the embroidery path in the first input, any one of the C points is set to Op.
It is specified as a point. The Op point is designated from the sharp points of the designed closed figure. Therefore, one of the remaining two C points is always the Op point. Therefore, in the process of step S50,
Using the Op point as the L and R points of the block, another C
The points are stored as M points.

【0055】以上の処理の進行状況を図17〜図20に
示す。なお、図中「●」印は無属性点を、「▼」印はB
点を、「▲」印はC点を、「■」印はT点を表す。まず
最初に、図17(A)に示す様に、検討開始点spとし
てOp点(=pc10)を選び、点pn9 を検討終了点e
pとして設定する。次に、同図(B)に示す様に、点s
pから順方向CWに見て最初に発見されるT点(pt1
1)をエリア特定端点wとし、これを起点に順方向CW
に「T点→C点→B点」を満足するか否かを判定する。
図示の状態では直ちに「T点(点w)→T点(pt1
2)」と発見されてしまうため、逆方向CCWも検討す
る。しかし、直ちにOp点が発見されてしまう。
The progress of the above processing is shown in FIGS. In the figure, "●" indicates non-attribute points, and "▼" indicates B
A point, a “▲” mark indicates a point C, and a “■” mark indicates a T point. First, as shown in FIG. 17A, an Op point (= pc10) is selected as a study start point sp, and a point pn9 is set as a study end point e.
Set as p. Next, as shown in FIG.
A point T (pt1) that is first found in the forward direction CW from p
1) is defined as an area specific end point w, and the forward direction CW
It is determined whether or not “point T → point C → point B” is satisfied.
In the state shown in the figure, "T point (point w) → T point (pt1
2) ”, we will consider reverse CCW. However, the Op point is found immediately.

【0056】そこで、今度は図17(C)に示す様に、
点w(pt11)を新たな点spとし、順方向CWに見て
最初に発見されるT点(pt12)をエリア特定端点wと
し、これを起点に順方向CWに「T点→C点→B点」を
満足するか否かを判定する。図示の状態では直ちに「T
点(点w)→B点(pb13)」と発見されてしまう。そ
こで、逆方向CCWについても検討するが、こちらも直
ちに「T点(点w)→T点(pt11)」と発見されてし
まう。このため、未だ単位エリアは特定できない。
Then, as shown in FIG. 17C,
The point w (pt11) is set as a new point sp, and the T point (pt12) first found when viewed in the forward direction CW is set as the area specific end point w. It is determined whether the “point B” is satisfied. In the state shown in the figure, "T
Point (point w) → point B (pb13) ". Therefore, the backward CCW is also examined, but this is also immediately found as “point T (point w) → point T (pt11)”. For this reason, the unit area cannot be specified yet.

【0057】続いて現在のエリア特定端点w(pt12)
を新たな点spとし、新たなエリア特定端点wとして点
pt14を特定し、順方向CW及び逆方向CCWに検討を
続けるが、未だ条件を満たさないことから、さらに図1
8(A)の様に、点pt14を検討開始点spとしての検
討まで進んでいく。この状態では、点spから順方向C
Wに見て最初に発見されるT点(pt17)をエリア特定
端点wとし、これを起点にさらに順方向CWに見ると、
ようやく「T点(点w=pt17)→C点(pc18)→B
点(pb20)」の関係が発見される。従って、ここへ来
て最初の単位エリア(エリア1)を特定することができ
る。
Subsequently, the current area specifying end point w (pt12)
Is set as a new point sp, a point pt14 is specified as a new area specifying end point w, and the study is continued in the forward direction CW and the backward direction CCW. However, since the condition is not yet satisfied, FIG.
As shown in FIG. 8A, the process proceeds to the examination using the point pt14 as the examination start point sp. In this state, from the point sp to the forward direction C
The point T (pt17) that is found first when viewed from W is defined as the area specific end point w, and when this is used as the starting point, when further viewed in the forward direction CW,
Finally, "T point (point w = pt17) → C point (pc18) → B
The relationship of "point (pb20)" is found. Therefore, the first unit area (area 1) coming here can be specified.

【0058】こうしてエリア1が特定されると、図18
(B)に示す様に、エリア1内のT点(pt17),C点
(pc18),B点(pb20)が無属性の点pn17,pn
18,pn20に書き換えられると共に、エリア1内のT点
(pt17)と対になっていたT点(pt14)も無属性の
点pn14に書き換えられる。そして、pn17→pn18→
pn19→pn20と連なる部分が次回以降の検討対象から
除外される(図18(C))。
When area 1 is specified in this way, FIG.
As shown in (B), points T (pt17), point C (pc18), and point B (pb20) in area 1 are points pn17, pn having no attribute.
18 and pn20, and the T point (pt14) paired with the T point (pt17) in the area 1 is also rewritten to a non-attribute point pn14. And pn17 → pn18 →
The part that continues from pn19 to pn20 is excluded from the next and subsequent studies (FIG. 18C).

【0059】エリア1を特定したら、再びOp点を検討
開始点spとして検討を繰り返す。すると、図19
(A)に示す様に、点pt12を検討開始点spとすると
ころまで進んだところで、点pt21をエリア特定端点w
として逆方向CCWに「T点(点w=pt21)→C点
(pc16)→B点(pb13)」が満足され、次の単位エ
リア(エリア2)を特定することができる。
After specifying the area 1, the examination is repeated with the Op point again as the study start point sp. Then, FIG.
As shown in (A), when the point pt12 is advanced to the point where the examination start point sp is set, the point pt21 is set to the area specific end point w.
"Point T (point w = pt21) → point C (pc16) → point B (pb13)" is satisfied in the reverse CCW, and the next unit area (area 2) can be specified.

【0060】エリア2が特定されると、図19(B)に
示す様に、T点(pt21),C点(pc16),B点(p
b13)及びT点(pt24)が無属性の点pn21,pn1
6,pn13及びpn24に書き換えられ、エリア2を除外
した部分について検討が行われる。そして、今度は点p
t11を検討開始点sp,点pt12をエリア特定端点wと
したところで、順方向CWに「T点(pt12)→C点
(pc22)→B点(pb26)」が満足され、次の単位エ
リア(エリア3)を特定することができる。
When the area 2 is specified, as shown in FIG. 19B, a point T (pt21), a point C (pc16), and a point B (p
b13) and the points pn21 and pn1 where the point T (pt24) has no attribute
6, pn13 and pn24 are rewritten, and the portion excluding area 2 is examined. And this time the point p
When t11 is the examination start point sp and the point pt12 is the area specific end point w, "T point (pt12) → C point (pc22) → B point (pb26)" is satisfied in the forward direction CW, and the next unit area ( Area 3) can be specified.

【0061】エリア3が特定されると、図19(C)に
示す様に、T点(pt12),C点(pc22),B点(p
b26)及びT点(pt34)が無属性の点pn12,pn2
2,pn26及びpn34に書き換えられ、エリア3を除外
した部分について検討が行われる。そして、点pt11を
検討開始点sp,点pt27をエリア特定端点wとしたと
ころで、順方向CWに「T点(pt27)→C点(pc2
9)→B点(pb31)」によりエリア4が特定される。
When the area 3 is specified, as shown in FIG. 19C, a point T (pt12), a point C (pc22), and a point B (p
b26) and the points pn12 and pn2 where the point T (pt34) has no attribute
2, pn26 and pn34, and the portion excluding area 3 is examined. Then, when the point pt11 is the examination start point sp and the point pt27 is the area specific end point w, in the forward direction CW, "point (pt27) → point C (pc2
9) → Point B ”(pb31)” specifies area 4.

【0062】以下、図20(A),(B)に示す様に、
エリア5(pt36→pc3 →pb5),エリア6(pt3
5→pc6 →pb8 )と順次特定され、最後に同図
(C)に示す様に、二つのC点(pc10,pc32)で特
定される輪郭線が残る。この二つのC点(pc10,pc
32)で特定されるエリアを最終エリア(エリア7)とす
る。
Hereinafter, as shown in FIGS. 20A and 20B,
Area 5 (pt36 → pc3 → pb5), Area 6 (pt3
5 → pc6 → pb8), and finally, as shown in FIG. 3C, a contour line specified by two C points (pc10, pc32) remains. These two C points (pc10, pc
The area specified in 32) is the final area (area 7).

【0063】以上の処理の結果、RAM19内の単位エ
リア記憶領域には、図21に示す内容の情報が記憶され
たことになる。この様に、エリア1〜エリア7が特定さ
れた訳であるが、上述の処理は単にこのエリア分割をす
るだけでなく、その特定された順番に各エリアに刺繍縫
目を形成していくこととすれば、先に縫ったエリアを縫
糸が渡ってしまうといったことが生じないという縫目形
成順まで決定する処理を兼ねていた。これは、種々の図
形について上記手法によるエリア分割を試みて確認でき
た。
As a result of the above processing, the information having the contents shown in FIG. 21 is stored in the unit area storage area in the RAM 19. As described above, the areas 1 to 7 are specified. However, the above-described processing is not limited to simply dividing the area, and forming embroidery stitches in each area in the specified order. In this case, the processing also determines the stitch formation order such that the sewing thread does not cross the previously sewn area. This was confirmed by attempting to divide an area into various figures by the above method.

【0064】こうして、単位エリアと縫目形成順が決定
されると、今度は、各単位エリアを特定するL点,M
点,R点(以下、構造要素ともいう)をもとに、任意の
エリアの具体的な輪郭構造を決定する。ここで得られる
輪郭構造は、そのエリアの構造要素M点を底にもち、R
点,L点を上辺とするすりばち状を基本に考えている。
以下、M点からR点までをR輪郭とよび、M点からL点
までをL輪郭とよぶ。輪郭構造決定処理においては、図
22に示す様に、まず、検討方向を順方向(時計方向)
CWに設定する(ステップS61)。続いて、検討しよ
うとしている単位エリアのM点をQ点(着目点)とする
(ステップS62)。そして、最初に入力した点列pの
輪郭状を順方向CWにQ点を移動していき、移動中の各
位置に関する情報を一時記憶する追跡調査を実行する
(ステップS63)。この追跡調査により、Q点がL点
に到達したら(ステップS64)、当該L点は現在検討
中の単位エリアのものであるか否かを判定する(ステッ
プS65)。現在検討中の単位エリアのものであるなら
ば、追跡調査により一時記憶してきた移動中の各位置に
関する情報をL輪郭情報としてRAM19内のエリア記
憶領域の所定部に書き込む(ステップS66)。一方、
他のエリアのL点であったならば、当該他のエリアのL
点から当該他のエリアのR点を結ぶ線上を追跡してから
再び点列p上を輪郭線に沿って設定された検討方向に追
跡調査していく(ステップS67)。
When the unit areas and the stitch formation order are determined in this way, the L points, M points specifying each unit area are determined.
A specific outline structure of an arbitrary area is determined based on the point and the R point (hereinafter, also referred to as a structural element). The contour structure obtained here has the structural element M of the area at the bottom, and R
A horn-like shape with the point and the point L on the upper side is basically considered.
Hereinafter, the point from the point M to the point R is called an R contour, and the point from the point M to the point L is called an L contour. In the contour structure determination processing, as shown in FIG. 22, first, the examination direction is set to the forward direction (clockwise).
It is set to CW (step S61). Subsequently, the M point of the unit area to be considered is set as a Q point (point of interest) (step S62). Then, a point Q is moved in the forward direction CW in the contour of the point sequence p input first, and a tracking check is executed to temporarily store information on each moving position (step S63). When the point Q reaches the point L (step S64) as a result of this tracking investigation, it is determined whether or not the point L belongs to the unit area currently under consideration (step S65). If the current area belongs to the unit area under consideration, the information about each moving position temporarily stored by the tracking investigation is written as L contour information in a predetermined portion of the area storage area in the RAM 19 (step S66). on the other hand,
If it is the L point of another area, the L of the other area
A point on the line connecting the point R of the other area is traced, and the point sequence p is traced again along the contour in the examination direction set (step S67).

【0065】また、L点に至る前にR点に到達したら
(ステップS68)、当該R点は現在検討中の単位エリ
アのものであるか否かを判定する(ステップS69)。
現在検討中の単位エリアのものであるならば、追跡調査
により一時記憶してきた移動中の各位置に関する情報を
R輪郭情報としてRAM19内のエリア記憶領域の所定
部に書き込む(ステップS70)。一方、他のエリアの
R点であったならば、当該他のエリアのR点から当該他
のエリアのL点を結ぶ線上を追跡してから再び点列p上
を輪郭線に沿って設定された検討方向に追跡調査してい
く(ステップS71)。
If the point R is reached before reaching the point L (step S68), it is determined whether or not the point R belongs to the unit area currently under consideration (step S69).
If the current area belongs to the unit area under consideration, the information about each moving position temporarily stored by the follow-up survey is written into a predetermined portion of the area storage area in the RAM 19 as R contour information (step S70). On the other hand, if the point is an R point in another area, a point connecting the point R in the other area to a point L in the other area is traced, and then the point sequence p is set again along the contour line. Follow-up investigation is performed in the examination direction (step S71).

【0066】ところで、ステップS66又はS70を実
行した場合には、次に、検討中の追跡方向は逆方向CC
Wであるか否かを判定し(ステップS72)、「NO」
ならば検討方向を逆方向CCWに設定してからステップ
S62以下の処理を繰り返す(ステップS73)。一
方、「YES」となっているならば当該エリアについて
の輪郭構造決定処理を終了する。
When step S66 or S70 is executed, the tracking direction under consideration is changed to the reverse direction CC.
It is determined whether it is W (step S72), and "NO"
If so, the examination direction is set to the backward CCW, and then the processing from step S62 is repeated (step S73). On the other hand, if “YES”, the contour structure determination processing for the area is ended.

【0067】次に、求めた輪郭構造をもとに、エリア内
に縫目を形成するための縫目形成経路を決定する処理を
実行する。この処理は、図23,図24に示す様に、ま
ず、点列sについて求めたy成分最小点sminyに対応す
る点列p上の点を一つの端点(下端点)gとし、点列s
について求めたy成分最大点smaxnyに対応する点列p
上の点をもう一つの端点(上端点)kとする(ステップ
S81)。次に、下端点gを通り基準方向dirに垂直
な直線L1と、上端点kを通り基準方向dirと平行な
直線L2との交点hを求め(ステップS82)、下端点
gと交点hを結ぶ線分ghを求める(ステップS8
3)。次に、線分ghを下端点gから交点hへ向かって
縫目間隔ssp(刺繍模様中の平行な縫目同士の間隔で
あり、キーボード5から初期に入力されている)に基づ
いて分割点Hn を求める(ステップS84)。この結
果、図25に示した様な状態となる。
Next, a process for determining a stitch formation path for forming a stitch in the area is executed based on the obtained outline structure. In this process, as shown in FIGS. 23 and 24, first, a point on the point sequence p corresponding to the y component minimum point sminy obtained for the point sequence s is set as one end point (lower end point) g, and the point sequence s
Point sequence p corresponding to the y component maximum point smaxny obtained for
The upper point is set as another end point (upper end point) k (step S81). Next, an intersection point h between a straight line L1 passing through the lower end point g and perpendicular to the reference direction dir and a straight line L2 passing through the upper end point k and parallel to the reference direction dir is determined (step S82), and the lower end point g and the intersection point h are connected. Find the line segment gh (step S8)
3). Next, the line segment gh is divided from the lower end point g to the intersection point h based on the stitch interval spp (the interval between parallel stitches in the embroidery pattern, which is initially input from the keyboard 5). Hn is obtained (step S84). As a result, a state as shown in FIG. 25 is obtained.

【0068】また、検討中の単位エリアのM点から直線
L2までの垂直距離から、当該単位エリアのR点から直
線L2までの垂直距離を引いた差disを求める(ステ
ップS85)。なお、線分LRは直線L2と平行である
から、L点との直線距離により上記差disを求めても
よい。
Further, a difference dis is obtained by subtracting the vertical distance from the point R of the unit area to the line L2 from the vertical distance from the point M of the unit area under consideration to the line L2 (step S85). Since the line segment LR is parallel to the straight line L2, the difference dis may be obtained from the straight line distance from the point L.

【0069】次に、検討対象エリアのM点を通り、基準
方向dirと平行な直線と、線分ghとの交点jを求め
る(ステップS86)。次に、ステップS85で求めた
差disが正であるか負であるかを確認し(ステップS
87)、正ならば線分jh上の点の内、交点jに最も近
い分割点Hn の添字nを評価値zとし(ステップS8
8)、負であるならば線分gj上の点の内、交点jに最
も近い分割点Hn の添字nを評価値zとする(ステップ
S89)。
Next, the intersection j between the straight line passing through the point M in the examination area and parallel to the reference direction dir and the line segment gh is obtained (step S86). Next, it is checked whether the difference dis obtained in step S85 is positive or negative (step S85).
87) If it is positive, the subscript n of the division point Hn closest to the intersection j among the points on the line segment jh is set as the evaluation value z (step S8).
8) If it is negative, the subscript n of the division point Hn closest to the intersection j among the points on the line segment gj is set as the evaluation value z (step S89).

【0070】続いて、評価値zが奇数か偶数かを確認し
(ステップS90)、奇数であるならば、着目点(Q
点)からの縫い出し方向としてR輪郭方向を選定し(ス
テップS91)、偶数であるならばL輪郭方向を選定す
る(ステップS92)。なお、着目点は、最初はM点で
あり、処理に従って順次更新されていく点である。
Subsequently, it is checked whether the evaluation value z is odd or even (step S90). If it is odd, the point of interest (Q
The R contour direction is selected as the sewing direction from the point (step S91), and if it is even, the L contour direction is selected (step S92). It should be noted that the point of interest is the M point at first, and is a point that is sequentially updated according to the processing.

【0071】そして、選定された縫い出し方向に対応す
る輪郭構造と、評価値zを特定した分割点Hz を通る基
準方向dirに平行な直線とが交わる点を縫目方向を変
更する点(方向変更点)tmpとする(ステップS9
3)。従って、ステップS90にて評価値zが奇数と判
定されたならばR輪郭上の点が、逆に偶数と判定された
ならばL輪郭上の点が方向変更点tmpとなる。なお、
この処理は後述の様に何度も繰り返され、R輪郭,L輪
郭いずれとも交点を形成しない場合も出て来るが、その
場合は方向変更点tmpを有すべき輪郭のM点ではない
方の端点(L点又はR点)を方向変更点tmpとする。
なお、最初のQ点(M点)と方向変更点tmpとは同一
輪郭上にある。また、以下の処理ステップを経て再び本
処理ステップに戻った場合にもその時点ではQ点と方向
変更点tmpとは同一輪郭上にある関係となる。
Then, the point at which the outline structure corresponding to the selected sewing direction and the straight line parallel to the reference direction dir passing through the division point Hz specifying the evaluation value z intersects the point at which the stitch direction is changed (direction (Change point) tmp (step S9)
3). Therefore, if the evaluation value z is determined to be odd in step S90, the point on the R contour is the direction change point tmp if the evaluation value z is determined to be even. In addition,
This process is repeated many times as described later, and there may be cases where no intersection is formed with either the R contour or the L contour. In this case, however, the M point of the contour which should have the direction change point tmp is not used. An end point (L point or R point) is set as a direction change point tmp.
Note that the first Q point (M point) and the direction change point tmp are on the same contour. In addition, even when returning to the present processing step again through the following processing steps, the Q point and the direction change point tmp have a relationship on the same contour at that time.

【0072】続いて、Q点がL点又はR点に至っていな
いことを確認しつつ(ステップS94)、点列pにより
定まる輪郭に沿ってQ点を方向変更点tmpまで移動し
ていき、移動中の各位置に関する情報を記憶する(ステ
ップS95,S96)。そして、Q点が方向変更点tm
pに到達した場合には、Q点は、当該方向変更点tmp
を通り、基準方向dirに平行な直線上を反対側の輪郭
に達するまで移動されつつ、当該移動中の各位置に関す
る情報を記憶していく(ステップS97,S98)。
Subsequently, while confirming that the Q point has not reached the L point or the R point (step S94), the Q point is moved to the direction change point tmp along the contour determined by the point sequence p. The information about each position in the inside is stored (steps S95 and S96). And the Q point is the direction change point tm
When it reaches p, the Q point is changed to the direction change point tmp.
, While moving along a straight line parallel to the reference direction dir until reaching the contour on the opposite side, information on each position during the movement is stored (steps S97 and S98).

【0073】こうしてQ点が反対側の輪郭に至ったら、
先に求めた差disが正であるか負であるかにより、評
価値zに「+1」又は「−1」を加算して更新し(ステ
ップS99〜ステップS101)、ステップS93へ戻
る。以上の処理を繰り返していくと、いずれはステップ
S94が「NO」となる。すると、今まで記憶してきた
位置情報をつないだエリア単位内の縫目形成経路(エリ
ア内縫目形成経路)を記憶し、本処理を終える(ステッ
プS102)。この際、当該エリアのM点を始点tpと
し、ステップS94の処理で「NO」と判定されること
となったL点又はR点を終点fpとして記憶する。
When the point Q reaches the contour on the opposite side,
Depending on whether the difference dis obtained earlier is positive or negative, the evaluation value z is updated by adding "+1" or "-1" (steps S99 to S101), and the process returns to step S93. When the above processing is repeated, step S94 eventually becomes “NO”. Then, the stitch forming path in the area unit (the stitch forming path in the area) to which the position information stored so far is connected is stored, and the process is terminated (step S102). At this time, the M point of the area is set as the start point tp, and the L point or the R point determined to be “NO” in the process of step S94 is stored as the end point fp.

【0074】なお、エリア3についての演算例を図26
に示す。図示の様に、分割点H9 に基づいてR輪郭が選
択され、以後順次処理が進むことにより、始点tp3
(M点)から終点fp3 (L点)までの縫目形成経路が
求められる。こうしてエリア単位の縫目形成経路を完成
した後は、これらをエリア同士で結ぶ連結経路を求める
処理(図27,図28)を実行する。ここで、エリア同
士を結ぶ順番は、単位エリア決定処理の際に併せて求め
られている。
An example of the calculation for area 3 is shown in FIG.
Shown in As shown, the R contour selected based on the division point H 9, by sequentially processing thereafter proceeds, starting point tp3
A stitch forming path from (M point) to the end point fp3 (L point) is obtained. After the completion of the stitch formation paths in the unit of area in this way, processing (FIGS. 27 and 28) for obtaining a connection path connecting these areas with each other is executed. Here, the order of connecting the areas is determined together with the unit area determination processing.

【0075】従って、以下の処理では、連結経路を最短
にすることを主な目的としている。なお、実施例では、
連結経路は単位エリアの輪郭線上のみを通ることを要件
とし、エリア内を横切らないものとの前提条件を付けて
ある。この処理では、まず、検討方向を順方向(時計方
向)CWとし(ステップS111)、連結しようとして
いる単位エリア同士の内の若い順位の方のエリア終点f
pn を着目点(Q点)とする(ステップS112)。ま
た、最小経路評価値dを「0」にリセットする(ステッ
プS113)。
Therefore, in the following processing, the main purpose is to minimize the connection route. In the embodiment,
The connection route is required to pass only on the contour line of the unit area, and a precondition that the connection route does not cross the area is given. In this process, first, the study direction is set to the forward direction (clockwise) CW (step S111), and the area end point f of the unit area to be connected, which is the younger one, is selected.
Let pn be a point of interest (point Q) (step S112). Further, the minimum route evaluation value d is reset to “0” (Step S113).

【0076】そして、Q点がもう一方の単位エリアの始
点tpn+1 と一致しているか否かを確認する(ステップ
S114)。不一致の場合には、現在検討中の単位エリ
アの若い方を含み、全体としてそれよりも若いエリアの
L輪郭又はR輪郭に乗らないこと(縫い重ねがないこ
と)を確認しつつ(ステップS115)、検討方向に沿
って点列nにより定まる輪郭線上をQ点を微小距離△d
ずつ移動させ、移動中の各位置に関する情報を記憶する
と共に(ステップS116)、最小経路評価値dを更新
していく(ステップS117)。
Then, it is confirmed whether or not the point Q coincides with the start point tpn + 1 of the other unit area (step S114). In the case of a mismatch, while including the younger part of the unit area currently under consideration, it is confirmed that the whole area does not ride on the L contour or the R contour of the younger area (there is no overlapping) (step S115). A point Q on the contour determined by the point sequence n along the examination direction is a small distance △ d
Then, information on each moving position is stored (step S116), and the minimum route evaluation value d is updated (step S117).

【0077】この間、ステップS115の処理において
「YES」と判定された場合には、当該位置から、その
L輪郭又はR輪郭を有するエリアのL点とR点を結ぶ線
分上を反対側の輪郭構造までQ点を微小移動させつつス
テップS116,S117と同様の処理を実行していく
(ステップS118〜S120)。そして反対側の輪郭
構造まで達したら、再び検討方向に沿って輪郭上を微小
移動させ続ける。
During this time, if "YES" is determined in the process of step S115, the contour on the opposite side on the line connecting the L point and the R point of the area having the L contour or the R contour from the position is determined. The same processing as steps S116 and S117 is performed while the Q point is slightly moved to the structure (steps S118 to S120). Then, when it reaches the contour structure on the opposite side, it continues to slightly move on the contour again in the examination direction.

【0078】この様にしていくと、いつかはステップS
114の判定が「YES」となる。すると、検討方向が
逆方向CCWであるか否かを判定し(ステップS12
1)、「NO」ならば、現時点での最小経路評価値dを
第1評価値d1として記憶し(ステップS122)、対
応する位置情報を連ねた経路を順方向連結経路として記
憶する(ステップS123)。そして、検討方向を逆方
向CCWに設定してからステップS112以下の処理を
繰り返す(ステップS124)。
In this way, step S
The determination at 114 is "YES". Then, it is determined whether the examination direction is the backward CCW (step S12).
1) If "NO", the current minimum route evaluation value d is stored as the first evaluation value d1 (step S122), and the route connecting the corresponding position information is stored as the forward connection route (step S123). ). Then, after setting the examination direction to the backward CCW, the processing from step S112 is repeated (step S124).

【0079】一方、ステップS121の判定が「YE
S」となったならば、現時点での最小経路評価値dを第
2評価値d2として記憶し(ステップS125)、対応
する位置情報を連ねた経路を逆方向連結経路として記憶
する(ステップS126)。そして、第1,第2評価値
d1,d2の小さい方に対応する連結経路を最小連結経
路として記憶して本処理を終える(ステップS127〜
S129)。
On the other hand, if the determination in step S121 is “YE
If "S" has been reached, the current minimum route evaluation value d is stored as the second evaluation value d2 (step S125), and the route connecting the corresponding position information is stored as the reverse connection route (step S126). . Then, the connection path corresponding to the smaller one of the first and second evaluation values d1 and d2 is stored as the minimum connection path, and the process ends (steps S127 to S127).
S129).

【0080】なお、最初の入力において縫い始めるべき
点として指定したIp点とエリア1との間でも本処理を
実行し、最短連結経路を求めておく。以上の各処理が完
了すると、図29に示す様に、今度は、Ip点からエリ
ア1への連結経路とエリア1の縫目形成経路の始点tp
1 を接続し(ステップS141)、最終エリアの縫目形
成経路の終点fp7 に至るまでの各縫目形成経路及びエ
リア間の連結経路を接続して(ステップS142,S1
43)、最終エリアの縫目形成経路の終点fp7 である
Op点までの主縫目経路を完成させる。次に、最初の入
力点列mについて、Im点として指定したm20から時計
方向に点m20→m21→…→m26→m1 →m19→m20と一
周する縁取縫目経路を決定し(ステップS144)、縁
取縫目経路の終点となる点m20(I点)と主縫目経路の
始点となる点pn28(Ip点)とを連結する内外連結経
路を生成する(ステップS145)。そして、縁取縫目
経路,内外連結経路及び主縫目経路からなる完成経路を
フロッピディスク9に書き込む(ステップS146)。
Note that this processing is also performed between the Ip point designated as the point to start sewing in the first input and the area 1 to obtain the shortest connection path. When the above processes are completed, as shown in FIG. 29, this time, the connection path from the Ip point to the area 1 and the start point tp of the stitch formation path of the area 1
1 are connected (step S141), and each stitch forming path up to the end point fp7 of the stitch forming path in the final area and a connecting path between the areas are connected (steps S142 and S1).
43), complete the main stitch path up to the Op point which is the end point fp7 of the stitch formation path in the final area. Next, with respect to the first input point sequence m, an edge stitching route that goes around the point m20 → m21 →... → m26 → m1 → m19 → m20 in the clockwise direction from m20 designated as the Im point is determined (step S144), An inside / outside connection path is generated to connect the point m20 (point I), which is the end point of the border seam path, and the point pn28 (point Ip), which is the start point of the main seam path (step S145). Then, a completed path including the border stitch path, the inside / outside connection path, and the main stitch path is written to the floppy disk 9 (step S146).

【0081】こうして、完成経路として全ての縫目経路
が求められた後で、さらに、縫目の針落点情報を作成す
るため、Im点からOp点に至る完成経路を分割する処
理が行われる。上記ステップS146において完成経路
を書き込む際に、この針落点情報にまで処理を進めてお
いてもよいことはもちろんである。
After all the stitch paths are obtained as the completed paths in this way, a process of dividing the completed path from the Im point to the Op point is further performed to create stitch needle drop point information. . When writing the completed path in step S146, it goes without saying that the processing may be advanced to this needle drop point information.

【0082】なお、縁取模様と主模様とで縫い方やミシ
ンを変える場合などにおいては、縁取縫目経路と主縫目
経路の連結は必要ないから、内外連結経路を求めなくて
もよい。以上の様にして、作業者は単に一つの形状輪郭
線を特定するための入力点列mと、基準方向dirと、
縫目間隔sspと、オフセット距離ostとを入力する
だけで、自動的に主模様の外形形状を算出し、さらに主
模様を単位エリアへ分割し、単位エリア間の縫目形成順
序を決定し、最終的な一本の縫目経路が完成される。従
って、従来熟練者の手作業でしかできなかった縁取付刺
繍模様に対する刺繍データ作成作業を大幅に簡便化する
ことができる。
When the sewing method or the sewing machine is changed between the border pattern and the main pattern, the connection between the border stitch path and the main stitch path is not necessary, so that the inside / outside connection path need not be obtained. As described above, the operator can simply input the input point sequence m for specifying one shape contour, the reference direction dir,
By simply inputting the stitch interval ssp and the offset distance ost, the outer shape of the main pattern is automatically calculated, the main pattern is further divided into unit areas, and the stitch formation order between the unit areas is determined. A final single stitch path is completed. Therefore, the work of creating embroidery data for the edge-attached embroidery pattern, which could only be performed manually by a skilled person, can be greatly simplified.

【0083】この結果、未熟練者であっても趣味性に富
んだ複雑な形状の模様を刺繍データ化することができ
る。また、新規な刺繍模様を創作したり、従来の刺繍模
様を改良・変更したりする場合に、刺繍データを迅速に
得ることができ、日々変化する流行にマッチした刺繍模
様を創作する上で極めて便利である。
As a result, even an unskilled person can convert embroidery data of a complicatedly shaped pattern with a rich taste. In addition, when creating a new embroidery pattern or improving or changing a conventional embroidery pattern, it is possible to obtain embroidery data quickly, and it is extremely important to create an embroidery pattern that matches the changing fashion every day. It is convenient.

【0084】以上本発明の一実施例について説明した
が、本発明は何等この実施例に限定されるものではな
く、その要旨を逸脱しない範囲の種々なる態様にて実施
することができる。例えば、実施例では専用の刺繍デー
タ作成装置を例に説明したが、これを内蔵した刺繍ミシ
ンとして完成しても構わない。その場合には、完成した
刺繍データをわざわざフロッピーディスクに書き込まな
くてもよい。
Although the embodiment of the present invention has been described above, the present invention is not limited to this embodiment at all, and can be carried out in various modes without departing from the gist thereof. For example, in the embodiment, a dedicated embroidery data creating apparatus has been described as an example, but it may be completed as an embroidery sewing machine incorporating the embroidery data creating apparatus. In this case, the completed embroidery data need not be written on the floppy disk.

【0085】また、デジタイザによる形状入力を例に説
明したが、イメージスキャナにより形状を読み込んで外
形データ化する構成にしても構わない。さらに、作業の
進行状況をディスプレイに表示させつつ処理を行うよう
に構成しても構わない。一方、その都度の入力によりこ
れらを特定するのではなく、予め他の場所でこれらを入
力したフロッピーディスクを作成しておいて、その内容
を読み込むことで刺繍データ作成装置に情報を与える構
成としてもよい。
Although the input of the shape by the digitizer has been described as an example, the configuration may be such that the shape is read by an image scanner and converted into outer shape data. Further, the processing may be performed while the progress of the work is displayed on the display. On the other hand, instead of specifying these by inputting each time, a configuration is also possible in which a floppy disk in which these are input is created in advance at another location, and information is supplied to the embroidery data creating apparatus by reading the contents. Good.

【0086】加えて、入力図形の拡大や縮小の機能をも
備えておいてもよいし、曲線の処理をも行う構成として
もよいことはもちろんである。また、縫目形成経路のジ
グザグ形状としては、実施例に限られるものではなく、
鋸歯状のジグザグ経路とするなど種々の対応を行うこと
ができる。さらに、フロッピーディスクではなくICカ
ードやNCテープに変更するなども、本発明の要旨には
何等影響を与えるものではない。
In addition, it is of course possible to provide a function of enlarging or reducing the input graphic, or to perform a curve processing. Further, the zigzag shape of the stitch formation path is not limited to the embodiment,
Various countermeasures such as a saw-tooth zigzag path can be taken. Further, changing to an IC card or NC tape instead of a floppy disk has no effect on the gist of the present invention.

【0087】さらに、実施例では縁取模様の外形形状か
ら主模様の外形形状を求める構成としたが、オフセット
距離ostを負の値で入力すれば、最初の入力点列mを
主模様の外形形状とした場合の縁取縫目経路を構成する
点列を求めることができる。また、オフセット距離os
tを複数個入力することで、縁取縫目経路を二重,三
重,…に形成する模様に適用しても構わない。これらの
変形例の場合には、図11の処理の最初に、最初の入力
点列mを含み複数組求められた点列の中から最も内側の
形状を構成する点列を選択する処理を加えておくとよ
い。この場合、二重,三重,…の縁取縫目経路同士の間
も、外の縁取縫目経路の終点と内側の縁取縫目経路の始
点を連結する処理を加えておくとなおよい。
Further, in the embodiment, the outer shape of the main pattern is obtained from the outer shape of the border pattern. However, if the offset distance ost is input as a negative value, the first input point sequence m is changed to the outer shape of the main pattern. In this case, a sequence of points constituting the border seam path can be obtained. Also, the offset distance os
By inputting a plurality of t, the border stitch path may be applied to a pattern formed in a double, triple,. In the case of these modified examples, at the beginning of the processing of FIG. 11, a processing of selecting a point sequence constituting the innermost shape from a plurality of sets of point sequences including the first input point sequence m is added. Good to keep. In this case, it is more preferable to add a process of connecting the end point of the outer edge seam path and the start point of the inner edge seam path between the double, triple, ... edge seam paths.

【0088】[0088]

【発明の効果】以上詳述したように本発明の刺繍データ
作成装置によれば、刺繍模様の輪郭形状を一つ決定でき
たら、後は自動的に縁取模様の縫目経路と主模様の輪郭
とを求めてデータ作成を行うことができ、熟練者でなく
ても新規な刺繍模様についての刺繍データを簡単に作成
することができる。この結果、未熟練者であっても縁取
付刺繍模様について迅速かつ簡単に正しい刺繍データを
作成することができ、流行にマッチした刺繍模様を創作
するのに極めて便利である。
As described above in detail, according to the embroidery data creating apparatus of the present invention, once one contour shape of the embroidery pattern can be determined, the stitch path of the border pattern and the contour of the main pattern are automatically set. And embroidery data for a new embroidery pattern can be easily created even by a non-expert. As a result, even an unskilled person can quickly and easily create correct embroidery data for an edge-attached embroidery pattern, which is extremely convenient for creating an embroidery pattern that matches the trend.

【0089】また、請求項3に記載の様に構成すること
で、一対一にオフセット点群を算出することができ、他
の処理との整合性をとりやすい。さらに、請求項4に記
載の装置によれば、縫い残しなく主模様の縫目を形成す
るための主縫目経路を簡単に求めることができ、特に複
雑な形状の刺繍模様をデータ化するのに適している。
Further, with the configuration as described in claim 3, it is possible to calculate the offset point group on a one-to-one basis, and it is easy to obtain consistency with other processing. Further, according to the apparatus of the fourth aspect, it is possible to easily find the main stitch path for forming the stitches of the main pattern without leaving any stitches. Suitable for.

【0090】また、請求項5に記載の刺繍データ作成装
置によれば、主模様全体の一本の連続した主縫目経路
を、各分割領域内の縫目形成経路と連結経路とに分解し
て決定できるので簡単である。さらに、請求項6,請求
項7に記載の刺繍データ作成装置によれば、縫目形成順
番まで自動的に定めることができる。
According to the embroidery data creating apparatus of the present invention, one continuous main stitch path of the entire main pattern is decomposed into a stitch forming path and a connecting path in each divided area. It is simple because it can be determined. Further, according to the embroidery data creating device of the sixth and seventh aspects, the stitch formation order can be automatically determined.

【0091】加えて、請求項8記載の刺繍データ作成装
置によれば、縁取縫目経路と主縫目経路との関係をつな
ぎ合わせることができる。
In addition, according to the embroidery data creating apparatus of the eighth aspect, the relationship between the border stitch path and the main stitch path can be joined.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の基本的構成を例示する構成図であ
る。
FIG. 1 is a configuration diagram illustrating a basic configuration of the present invention.

【図2】 本発明の他の基本的構成を例示する構成図で
ある。
FIG. 2 is a configuration diagram illustrating another basic configuration of the present invention.

【図3】 本発明の他の基本的構成を例示する構成図で
ある。
FIG. 3 is a configuration diagram illustrating another basic configuration of the present invention.

【図4】 本発明の他の基本的構成を例示する構成図で
ある。
FIG. 4 is a configuration diagram illustrating another basic configuration of the present invention.

【図5】 実施例の刺繍データ作成装置の概略構成図で
ある。
FIG. 5 is a schematic configuration diagram of an embroidery data creation device according to an embodiment.

【図6】 実施例における入力情報を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing input information in the embodiment.

【図7】 実施例において実行する主模様外形形状特定
処理のフローチャートである。
FIG. 7 is a flowchart of a main pattern outer shape specification process executed in the embodiment.

【図8】 実施例における主模様外形形状特定処理の手
順を示す説明図である。
FIG. 8 is an explanatory diagram showing a procedure of a main pattern outer shape specifying process in the embodiment.

【図9】 誤入力の例を示す説明図である。FIG. 9 is an explanatory diagram showing an example of an erroneous input.

【図10】 実施例において特定された主模様の形状と
その初期の処理結果を示す説明図である。
FIG. 10 is an explanatory diagram showing a shape of a main pattern specified in the embodiment and an initial processing result thereof.

【図11】 実施例において実行する座標変換処理のフ
ローチャートである。
FIG. 11 is a flowchart of a coordinate conversion process executed in the embodiment.

【図12】 実施例において実行する特異点抽出処理の
フローチャートである。
FIG. 12 is a flowchart of a singular point extraction process executed in the embodiment.

【図13】 実施例において実行する特異点抽出結果に
基づいた再割付処理のフローチャートである。
FIG. 13 is a flowchart of a reallocation process based on a singular point extraction result executed in the embodiment.

【図14】 実施例において実行する特異点抽出処理の
様子を示す説明図である。
FIG. 14 is an explanatory diagram illustrating a state of a singular point extraction process executed in the embodiment.

【図15】 実施例において実行する再割付結果の説明
図である。
FIG. 15 is an explanatory diagram of a re-allocation result executed in the embodiment.

【図16】 実施例において実行する単位エリア特定処
理のフローチャートである。
FIG. 16 is a flowchart of a unit area specifying process executed in the embodiment.

【図17】 実施例において実行する単位エリア特定処
理の様子を示す説明図である。
FIG. 17 is an explanatory diagram illustrating a state of a unit area specifying process executed in the embodiment.

【図18】 実施例において実行する単位エリア特定処
理の様子を示す説明図である。
FIG. 18 is an explanatory diagram showing a state of a unit area specifying process executed in the embodiment.

【図19】 実施例において実行する単位エリア特定処
理の様子を示す説明図である。
FIG. 19 is an explanatory diagram showing a state of a unit area specifying process executed in the embodiment.

【図20】 実施例において実行する単位エリア特定処
理の様子を示す説明図である。
FIG. 20 is an explanatory diagram illustrating a state of a unit area specifying process executed in the embodiment.

【図21】 実施例におけるRAM内の単位エリア記憶
量域内の様子を示す説明図である。
FIG. 21 is an explanatory diagram showing a state in a unit area storage amount area in a RAM according to the embodiment.

【図22】 実施例において実行する輪郭構造決定処理
のフローチャートである。
FIG. 22 is a flowchart of a contour structure determination process executed in the embodiment.

【図23】 実施例において実行するエリア内縫目形成
経路決定処理の一部を示すフローチャートである。
FIG. 23 is a flowchart showing a part of an in-area stitch formation path determination process executed in the embodiment.

【図24】 実施例において実行するエリア内縫目形成
経路決定処理の残部を示すフローチャートである。
FIG. 24 is a flowchart illustrating the remaining part of the in-area stitch formation path determination process executed in the embodiment.

【図25】 実施例におけるエリア内縫目形成経路決定
処理の初期の処理状態の様子を示す説明図である。
FIG. 25 is an explanatory diagram illustrating an initial processing state of the in-area stitch formation path determination processing in the embodiment.

【図26】 実施例において決定されたエリア内縫目形
成経路の一例を示す説明図である。
FIG. 26 is an explanatory diagram showing an example of an in-area stitch formation path determined in the embodiment.

【図27】 実施例において実行する連結経路決定処理
の一部を示すフローチャートである。
FIG. 27 is a flowchart illustrating a part of a connection route determination process executed in the embodiment.

【図28】 実施例において実行する連結経路決定処理
の残部を示すフローチャートである。
FIG. 28 is a flowchart illustrating the remaining part of the connection route determination process executed in the embodiment.

【図29】 実施例において実行する完成経路書き込み
処理の残部を示すフローチャートである。
FIG. 29 is a flowchart illustrating the remaining part of the completion path writing process executed in the embodiment.

【図30】 従来の問題点を示す説明図である。FIG. 30 is an explanatory diagram showing a conventional problem.

【符号の説明】[Explanation of symbols]

1・・・刺繍データ作成装置、3・・・デジタイザ、5
・・・エリア、7・・・演算処理装置、9・・・フロッ
ピディスク、11・・・フロッピディスクドライバ、1
3・・・ディスプレイ、15・・・CPU、17・・・
ROM、19・・・RAM、21・・・I/Oポート、
23・・・デザイン画、25・・・図面、27・・・ボ
ード、29・・・入力ペン。
1 ... embroidery data creation device, 3 ... digitizer, 5
... Area, 7 ... Processor, 9 ... Floppy disk, 11 ... Floppy disk driver, 1
3 ... display, 15 ... CPU, 17 ...
ROM, 19 ... RAM, 21 ... I / O port,
23: design picture, 25: drawing, 27: board, 29: input pen.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−197289(JP,A) 特開 平3−128084(JP,A) 特開 平1−218489(JP,A) 特許2704409(JP,B2) 特許2739088(JP,B2) 特許2935760(JP,B2) 特公 平8−24774(JP,B2) 特公 平8−24775(JP,B2) 特公 平3−67435(JP,B2) (58)調査した分野(Int.Cl.7,DB名) F05B 19/00 - 21/00 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-4-197289 (JP, A) JP-A-3-128084 (JP, A) JP-A-1-218489 (JP, A) Patent 2704409 (JP, A) B2) Patent 2739088 (JP, B2) Patent 2935760 (JP, B2) JP 8-24774 (JP, B2) JP 8-24775 (JP, B2) JP 3 67435 (JP, B2) ( 58) Fields surveyed (Int. Cl. 7 , DB name) F05B 19/00-21/00

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 所定の基準方向に沿った部分を有する連
続折線状の主縫目経路上に形成される縫目により構成さ
れる主模様と、該主模様の外側を周回する縁取縫目経路
上に形成される縫目により構成される縁取模様とからな
る縁取付刺繍模様を形成するための刺繍データを作成す
る縁取付刺繍模様用の刺繍データ作成装置であって、 複数の点群により、前記主模様又は縁取模様の輪郭を特
定する輪郭特定手段と、 前記主模様の外縁と前記縁取模様との位置関係を与える
模様位置関係付与手段と、 前記与えられた輪郭上の複数の点間に形成される各線分
の情報を算出する線分情報算出手段と、 該算出された線分情報及び前記与えられた模様位置関係
に基づいて、前記輪郭上の複数の点群を輪郭の内側又は
外側へオフセットしたオフセット点群を算出するオフセ
ット点群算出手段と、 該オフセット点群又は輪郭上の複数の点群の外側にある
点群間を結び、前記縁取縫目経路として決定する縁取縫
目経路決定手段と、 前記基準方向を特定する基準方向特定手段と、 前記オフセット点群又は輪郭上の複数の点群の内側にあ
る点群間を結んで構成される閉領域の外形及び前記基準
方向から、前記主縫目経路を決定する主縫目経路決定手
段とを備えることを特徴とする縁取付刺繍模様用の刺繍
データ作成装置。
1. A main pattern formed by stitches formed on a continuous folded line main stitch path having a portion along a predetermined reference direction, and an edge stitch path surrounding the outside of the main pattern. An embroidery data creation device for an embroidery pattern for creating an embroidery data for forming an embroidery pattern including an outline pattern formed by stitches formed on the embroidery pattern. Contour specifying means for specifying the contour of the main pattern or the border pattern; pattern positional relationship providing means for providing a positional relationship between the outer edge of the main pattern and the border pattern; and between a plurality of points on the given contour. Line segment information calculating means for calculating information of each line segment to be formed; and, based on the calculated line segment information and the given pattern positional relationship, a plurality of point groups on the contour are set inside or outside the contour. Point cloud offset to Offset point group calculating means to be calculated; Edge seam path determining means for connecting the offset point groups or point groups outside a plurality of point groups on the contour to determine the edge seam path; A reference direction specifying means for specifying the main stitch path from the contour of the closed area formed by connecting the point groups inside the plurality of point groups on the offset point group or the outline and the reference direction. An embroidery data creation device for an edge-attached embroidery pattern, comprising: a main stitch path determining means for determining.
【請求項2】 請求項1に記載の縁取付刺繍模様用の刺
繍データ作成装置において、前記オフセット点群算出手
段は、隣合う線分同士の関係に基づいて前記オフセット
点群を算出することを特徴とする縁取付刺繍模様用の刺
繍データ作成装置。
2. The embroidery data creating device for an edge-attached embroidery pattern according to claim 1, wherein the offset point group calculating means calculates the offset point group based on a relationship between adjacent line segments. An embroidery data creation device for rim-mounted embroidery patterns.
【請求項3】 請求項1又は請求項2に記載の縁取付刺
繍模様用の刺繍データ作成装置において、前記オフセッ
ト点群算出手段は、隣合う線分のそれぞれの方向に基づ
いて一定量線分をオフセットするとした場合の当該隣合
う線分間の交点のオフセット方向を算出し、前記与えら
れる縁取模様と主模様との位置関係に基づいて、当該オ
フセット方向への前記交点のオフセット量を算出し、該
オフセット量及びオフセット方向から前記オフセット点
群の位置を算出することを特徴とする縁取付刺繍模様用
の刺繍データ作成装置。
3. The embroidery data creating device for an edge-attached embroidery pattern according to claim 1, wherein the offset point group calculating means is configured to determine a fixed amount of line segments based on respective directions of adjacent line segments. Calculate the offset direction of the intersection between the adjacent line segments when offsetting, based on the positional relationship between the given border pattern and the main pattern, calculate the offset amount of the intersection in the offset direction, An embroidery data creating apparatus for an edge-embroidered embroidery pattern, wherein the position of the offset point group is calculated from the offset amount and the offset direction.
【請求項4】 請求項1〜請求項3のいずれかに記載の
縁取付刺繍模様用の刺繍データ作成装置において、前記
主縫目経路決定手段は、 前記内側の点群により特定された輪郭の輪郭線上から所
定の特徴点を抽出する特徴点抽出手段と、 該抽出した特徴点及び前記特定された基準方向に基づい
て、前記内側の点群により囲まれた閉領域を複数の分割
領域に分割する閉領域分割手段とを備え、該分割領域、
前記内側の点群及び前記基準方向に基づいて、主模様の
全体に渡る主縫目経路を決定することを特徴とする刺繍
データ作成装置。
4. The embroidery data creating device for an edge-embroidered embroidery pattern according to claim 1, wherein said main stitch path determining means is configured to determine an outline of the contour specified by said inner point group. A feature point extracting means for extracting a predetermined feature point from the contour line; and dividing the closed region surrounded by the inner point group into a plurality of divided regions based on the extracted feature points and the specified reference direction. Closed region dividing means,
An embroidery data creation device, wherein a main stitch path extending over the entire main pattern is determined based on the inner point group and the reference direction.
【請求項5】 請求項4に記載の縁取付刺繍模様用の刺
繍データ作成装置において、 前記主縫目経路が、各分割領域内を埋める縫目経路と、
該縫目経路同士を連結する連結経路とからなり、 前記主縫目経路決定手段は、前記連結経路を縫目形成順
に関する所定の条件に従って決定する連結経路決定部を
も備えることを特徴とする縁取付刺繍模様用の刺繍デー
タ作成装置。
5. The embroidery data creating device for an edge-embroidered embroidery pattern according to claim 4, wherein the main stitch path includes a stitch path that fills each divided area;
The main stitch path determining means includes a connecting path determining unit that determines the connecting path according to a predetermined condition regarding a stitch forming order. An embroidery data creation device for edge-mounted embroidery patterns.
【請求項6】 請求項4又は請求項5に記載の縁取付刺
繍模様用の刺繍データ作成装置において、前記閉領域分
割手段は、前記点群の連続状態に基づいて前記主模様の
凹凸に関する状態を認識し、前記基準方向に平行で凹の
点を通る直線と主模様の輪郭線との所定の交点を求め、
主縫目経路の終点を出発点として検討し、前記主模様の
輪郭線上に前記交点,凸の点,凹の点の順番に連続し、
かつ間に他の交点,凸の点,凹の点を有しない部分を抽
出することで前記分割領域を決定することを特徴とする
縁取付刺繍模様用の刺繍データ作成装置。
6. The embroidery data creating device for an edge-embedded embroidery pattern according to claim 4 or 5, wherein the closed area dividing unit is configured to perform a state related to the unevenness of the main pattern based on a continuous state of the point group. To determine a predetermined intersection of a straight line passing through the concave point parallel to the reference direction and the contour of the main pattern,
The end point of the main seam path is considered as a starting point, and the intersection point, the convex point, and the concave point are successively arranged on the contour line of the main pattern,
An embroidery data creating apparatus for an edge-embroidered embroidery pattern, wherein the divided area is determined by extracting a portion having no other intersection, convex point, or concave point in between.
【請求項7】 請求項6に記載の縁取付刺繍模様用の刺
繍データ作成装置において、前記閉領域分割手段は、さ
らに、一つの分割領域を決定した後に、次の分割領域を
決定するに当たっては、既に決定された分割領域内の交
点,凸の点,凹の点は無視することを特徴とする縁取付
刺繍模様用の刺繍データ作成装置。
7. The embroidery data creating apparatus for an edge-embroidered embroidery pattern according to claim 6, wherein the closed area dividing means further determines one divided area and then determines the next divided area. An embroidery data creating apparatus for an edge-attached embroidery pattern, ignoring intersection points, convex points, and concave points in the determined divided area.
【請求項8】 請求項1〜請求項7のいずれかに記載の
縁取付刺繍模様用の刺繍データ作成装置において、さら
に、前記縁取縫目経路決定手段が決定した縁取縫目経路
の終点又は始点と、前記主縫目経路決定手段の決定した
主縫目経路の始点又は終点とを連結する縫目経路連結手
段をも備えることを特徴とする縁取付刺繍模様用の刺繍
データ作成装置。
8. The embroidery data creating device for an edge-embroidered embroidery pattern according to claim 1, further comprising: an end point or a start point of a border seam path determined by the border seam path determination means. An embroidery data creating device for an edge-mounted embroidery pattern, further comprising stitch path connecting means for connecting the start point or the end point of the main stitch path determined by the main stitch path determining means.
JP04024071A 1992-02-10 1992-02-10 Embroidery data creation device for edge-mounted embroidery patterns Expired - Fee Related JP3074053B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04024071A JP3074053B2 (en) 1992-02-10 1992-02-10 Embroidery data creation device for edge-mounted embroidery patterns

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04024071A JP3074053B2 (en) 1992-02-10 1992-02-10 Embroidery data creation device for edge-mounted embroidery patterns

Publications (2)

Publication Number Publication Date
JPH05212172A JPH05212172A (en) 1993-08-24
JP3074053B2 true JP3074053B2 (en) 2000-08-07

Family

ID=12128197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04024071A Expired - Fee Related JP3074053B2 (en) 1992-02-10 1992-02-10 Embroidery data creation device for edge-mounted embroidery patterns

Country Status (1)

Country Link
JP (1) JP3074053B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003241817A1 (en) * 2002-05-31 2003-12-19 Jenies Co., Ltd. Skirt structure of clothes and method of raising skirt part in the structure

Also Published As

Publication number Publication date
JPH05212172A (en) 1993-08-24

Similar Documents

Publication Publication Date Title
US5701830A (en) Embroidery data processing apparatus
JPH03140187A (en) Data processor for embroidery sewing machine
JPH10230088A (en) Embroidery data processor
JP2663743B2 (en) How to create underlay sewing data
JPH0844848A (en) Image processor and embroidery data preparing device
JPH073608A (en) Method for making embroidery data and device therefor and embroidered pattern formed on the embroidery data
JP4046370B2 (en) 3D shape drawing method
JPH03146088A (en) Embroidery data processor
JP3074053B2 (en) Embroidery data creation device for edge-mounted embroidery patterns
JP3145462B2 (en) Embroidery data creation device
JP3564371B2 (en) Figure editing apparatus and method
US5014223A (en) Method of filling inner region of a graphic with traces of imaging spot
JPH04174699A (en) Embroidery data making out method for sewing machine
EP0761860B1 (en) Embroidery data generating system
JPH1049688A (en) Method for partial erasing method and partial detection method for picture data
JPH09137357A (en) Making of embroidery data
US7069871B2 (en) Embroidery of patterns
JP2747997B2 (en) Embroidery data creation device
JP2637923B2 (en) Method for correcting stripe pattern direction data and information processing apparatus for executing the same, and method for correcting stripe pattern pitch data and information processing apparatus for executing the same
JP3524143B2 (en) Graphic processing method and apparatus
JP2773127B2 (en) Image editing method
JP4085205B2 (en) Embroidery data creation device and embroidery data creation program
JP2728193B2 (en) Drawing tracing method and apparatus
JP3671575B2 (en) Embroidery data processing device
JP3144076B2 (en) Embroidery data creation device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090602

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100602

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100602

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110602

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees