JPH082394B2 - Method of creating line drawing embroidery data for computer embroidery machine - Google Patents

Method of creating line drawing embroidery data for computer embroidery machine

Info

Publication number
JPH082394B2
JPH082394B2 JP32674887A JP32674887A JPH082394B2 JP H082394 B2 JPH082394 B2 JP H082394B2 JP 32674887 A JP32674887 A JP 32674887A JP 32674887 A JP32674887 A JP 32674887A JP H082394 B2 JPH082394 B2 JP H082394B2
Authority
JP
Japan
Prior art keywords
embroidery
line
data
original image
line segment
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
JP32674887A
Other languages
Japanese (ja)
Other versions
JPH01170494A (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.)
Janome Sewing Machine Co Ltd
Original Assignee
Janome Sewing Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Janome Sewing Machine Co Ltd filed Critical Janome Sewing Machine Co Ltd
Priority to JP32674887A priority Critical patent/JPH082394B2/en
Publication of JPH01170494A publication Critical patent/JPH01170494A/en
Publication of JPH082394B2 publication Critical patent/JPH082394B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はコンピュータ刺繍機に使用される線画刺繍デ
ータの作成方法に関するものである。
The present invention relates to a method of creating line drawing embroidery data used in a computer embroidery machine.

(従来の技術) 従来のコンピュータ刺繍機に使用される線画刺繍デー
タの作成方法は原画の輪郭線を適宜の長さに区切りその
線分をデジタイザー等の入力装置で手動で入力していた
が、縫製順序を考慮しながら入力する為所要時間が長く
なり特に原画が複雑な場合には著しく困難であった。
(Prior Art) In the conventional method of creating line drawing embroidery data used in a computer embroidery machine, the contour line of the original image is divided into appropriate lengths and the line segment is manually input with an input device such as a digitizer. Since it takes time to input data while considering the sewing order, it takes a long time, which is extremely difficult especially when the original image is complicated.

(発明が解決しようとする問題点) 本発明はコンピュータ刺繍機に使用される線画刺繍デ
ータの作成方法を簡略化すると共に線画刺繍データの作
成時間を短縮化しようとするものである。
(Problems to be Solved by the Invention) The present invention intends to simplify the method for creating line drawing embroidery data used in a computer embroidery machine and to shorten the time for creating line drawing embroidery data.

(問題点を解決するための手段) 本発明はコンピュータ刺繍機に使用される線画刺繍デ
ータの作成をまず原画の全体像を記憶させ次いで内臓の
コンピュータ記憶部に記憶されたプログラムに基づいて
前述の記憶した原画の全体像を自動的に解析して線画刺
繍に適した長さの線分と各線分の両端の交点の刺繍用デ
ータが登録され、該刺繍データに基づいて布枠の駆動を
行い線画刺繍を迅速に作成せしめるものである。
(Means for Solving the Problems) In the present invention, the creation of the line drawing embroidery data used in the computer embroidery machine is performed by first storing the entire image of the original image and then based on the program stored in the internal computer storage unit. The entire image of the stored original image is automatically analyzed, and the embroidery data of the line segment having the length suitable for the line image embroidery and the intersections of both ends of each line segment are registered, and the cloth frame is driven based on the embroidery data. It allows you to quickly create line drawing embroidery.

(作用) 本発明はコンピュータ制御刺繍機に使用する線画刺繍
データの作成方法に関するものであり、原画を自動的又
は手動的に第1次記憶部であるX−YRAMに記憶し、該X
−YRAMに記憶された原画データを演算装置にて自動的に
解析して原画を各線分に分け、該各線分、各線分の両端
で他の線分と交わる交点、線種線巾、線分の縫始め側の
点、線分の刺繍回数等を第2の記憶装置に自動的に登録
して刺繍データを作成することを特徴とするものであ
る。
(Operation) The present invention relates to a method of creating line drawing embroidery data used in a computer-controlled embroidery machine, which automatically or manually stores an original image in an X-YRAM which is a primary storage unit, and
-The original image data stored in YRAM is automatically analyzed by an arithmetic device to divide the original image into each line segment, and each line segment, the intersection of each line segment with another line segment, line type line width, line segment The point is that the embroidery data is created by automatically registering the point on the sewing start side, the number of embroidery lines, etc. in the second storage device.

(実施例) 本発明の実施例を以下に説明する。(Examples) Examples of the present invention will be described below.

まず第1図に示されるような線画で描かれた原画1を
自動入力する場合は例えばイメージスキャナ2の如き自
動入力装置を使用して読み取れば第2図に示すブロック
図の実線の順序でインターフェース3及び演算装置(CP
U)4を介してX−YRAM5に一担は記憶せしめられ、該X
−YRAMに記憶された原画データが再び前記演算装置4に
取り出されて演算され原画の刺繍データとして記憶部の
フロッピーディスク6或は刺繍機RAM7に登録せしめられ
る。
First, in the case of automatically inputting an original image 1 drawn by a line drawing as shown in FIG. 1, if it is read by using an automatic input device such as an image scanner 2, the interface is in the order of the solid line in the block diagram shown in FIG. 3 and arithmetic unit (CP
U) 4 is stored in the X-YRAM 5 via the
-Original image data stored in YRAM is again taken out by the arithmetic unit 4 and operated to be registered as embroidery data of the original image in the floppy disk 6 or the RAM 7 of the embroidery machine in the storage unit.

又、原画1を手動入力する場合は例えばデジタイザー
8(その外マウス、ライトペン等)で読みとれば第2図
に示す点線の順序でインターフェース9を介して前述の
自動入力の場合と同様一担は前記X−YRAM5に記憶され
た後前記フロッピーディスク6或は刺繍機RAM7に登録せ
しめられる。第1図に示した原画1においてSの部分が
線の末端処理のために開放されているが、連続線でも処
理は出来る。
In the case of manually inputting the original image 1, for example, if it is read by a digitizer 8 (outside of which, a mouse, a light pen, etc.), it is possible to perform the same operation as in the case of the above-described automatic input through the interface 9 in the order of the dotted lines shown in FIG. After being stored in the X-YRAM 5, it is registered in the floppy disk 6 or the embroidery machine RAM 7. In the original image 1 shown in FIG. 1, the S portion is open for the end treatment of the line, but it is also possible to treat it with a continuous line.

第1図における原画1を読み取ってから線画の刺繍デ
ータを作成する詳細な経過は第3図に示すブロック図を
参照して以下に説明する。
The detailed process of creating the embroidery data of the line drawing after reading the original image 1 in FIG. 1 will be described below with reference to the block diagram shown in FIG.

前述した如く自動入力装置即ちイメージスキャナ2を
使用した場合は原画を2値データ[1(又は白)及び0
(又は黒)]で読み取り、原画の各部をベクトル線状化
してから刺繍線図データが記憶せしめられる。線の巾に
差があれば線の巾の大小のデータも自動的に記憶せしめ
られる。
As described above, when the automatic input device, that is, the image scanner 2 is used, the original image is converted into binary data [1 (or white) and 0].
(Or black)] to convert each part of the original image into a vector line, and then the embroidery diagram data is stored. If there is a difference in the line width, the size data of the line width can be automatically stored.

又手動入力装置即ちデジタイザー8を使用した場合は
操作者がデジタイザーで原画の輪郭及び内側の主要線を
なぞることにより刺繍線図データが第1記憶部に記憶せ
しめられ線の巾の大小も操作者の操作により記憶せしめ
られる。
Further, when the manual input device, that is, the digitizer 8 is used, the operator traces the outline of the original image and the main lines on the inner side with the digitizer so that the embroidery diagram data is stored in the first storage portion and the size of the line width is also changed by the operator. Can be memorized by the operation of.

第1記憶部であるX−YRAMに記憶された原画データか
ら全ての線分の交点が検出され(第4図参照)て各交点
Qa〜Qhが第2記憶部であるフロッピーディスク又は刺繍
機RAMに登録される。線分の行き止り点(例えばQh)も
一つの交点として取扱う。次に各交点間の線分la〜lkが
登録される。
The intersections of all line segments are detected from the original image data stored in the X-YRAM, which is the first storage unit (see FIG. 4), and each intersection is detected.
Qa to Qh are registered in the floppy disk or the embroidery machine RAM, which is the second storage unit. Treat the dead end of a line segment (eg, Qh) as one intersection. Next, the line segments la to lk between the intersections are registered.

第2記憶部内のテーブル1(表1)には前記各線分la
〜lkの外、該各線分に対する各線分の両端の交点Qa〜Q
h、前記各線分の軌跡データ(例えばΔx:Δyの折線デ
ータ)、線巾等が格納されたものが作成される。
Each line segment la is shown in Table 1 (Table 1) in the second storage unit.
~ Lk, intersections Qa ~ Q of both ends of each line segment with respect to each line segment
h, locus data of each line segment (for example, broken line data of Δx: Δy), line width and the like are stored.

又第2記憶部内のテーブル2(表2)には前記各交点
Qa〜Qhに対する分岐線分が適宜の基準線(水平線)を基
に反時計方向にまわって分岐する線分が格納されたもの
が作成される。
In addition, in Table 2 (Table 2) in the second storage unit, each of the intersections
A branch line for Qa to Qh is created by storing a line segment that branches in a counterclockwise direction based on an appropriate reference line (horizontal line).

又第2記憶部内のテーブル3(表3)には前記各線分
la〜lkに対する刺繍回数が登録され各線分la〜lkに対す
る進入線分(縫い始め側)lin、線種Kが登録されて作
成される。該表3は第5図のプログラムに従って進めば
作成されるものであり、現在作成中の状態を示し線分lc
及びlfの欄は未登録を示す。
Further, in Table 3 (Table 3) in the second storage unit, each line segment is
The number of times of embroidery for la to lk is registered, and the approach line segment (starting sewing side) lin and the line type K for each line segment la to lk are registered and created. Table 3 is created by proceeding with the program shown in FIG. 5, and shows the state currently being created.
The columns lf and lf indicate unregistered.

又第2記憶部内のテーブル4(表4)には前記表1、
表2及び表3を参照して各線分を合理的に且つ円滑に連
続的に刺繍する順序が示された線分の伝達順が作成さ
れ、該表4には各線分la〜lkに対する進入点、刺繍回
数、線種、線巾が登録される。
Further, the table 4 (Table 4) in the second storage unit is
The transmission order of the line segments is created by referring to Tables 2 and 3 and the order in which the line segments are satisfactorily and smoothly embroidered continuously is shown. In Table 4, the entry points for the line segments la to lk are created. The number of embroidery, line type, and line width are registered.

但し、第1図の如き原図を登録する場合は線巾が太い
部分の線分に対しては刺繍回数が2となった時にwideが
格納される。wideが格納されている部分はジグザグにて
刺繍が行なわれる。
However, when registering the original drawing as shown in FIG. 1, wide is stored when the number of times of embroidery is 2 for a line segment having a thick line width. The area where wide is stored is embroidered in zigzag.

次に第5図に各線分に対する刺繍の順序を決定する伝
達順決定ルーチンが書かれたブロック図を示し、以下に
該ブロック図について説明する。Nは伝達順序、Pは刺
繍回数、Kは線種、lは線分、Qinは進入点、Sは出発
点を示し、各線分の刺繍回数はすべて2回行なわれる。
Next, FIG. 5 shows a block diagram in which a transmission order determining routine for determining the order of embroidery for each line segment is written, and the block diagram will be described below. N is a transmission order, P is the number of embroidery, K is a line type, l is a line segment, Qin is an entry point, S is a starting point, and each line segment is embroidered twice.

刺繍データの作成の際、各線分の軌跡を示す折線の折
点座標は前記テーブル1(表1)には格納された軌跡デ
ータを参照するが、線分への進入方向は前記テーブル4
に格納されている進入点Qinに示されており、それは前
記テーブル1に格納された交点QI又は交点QIIのどちら
かに一致するかによって軌跡データが異なる。即ち進入
点Qin=交点QIの場合は軌跡データが前記テーブル1に
記載の通り(Δx1,Δy1)→(Δx2,Δy2)→(Δx3
Δy3)→の順方向となるが、進入点Qin=交点QIIの場合
は経過が逆になり軌跡データが(−Δxn,−Δyn)→
(−Δxn-1,−Δyn-1)→(−Δxn-2,−Δyn-2)→の
逆方向となる。
When creating the embroidery data, refer to the locus data stored in the table 1 (Table 1) for the breaking point coordinates of the broken line indicating the locus of each line segment, but refer to the table 4 for the approach direction to the line segment.
Is shown in the entry point Qin stored in the table 1, and the trajectory data differs depending on whether it matches the intersection point QI or the intersection point QII stored in the table 1. That is, when the approach point Qin = intersection point QI, the trajectory data is as described in Table 1 above (Δx 1 , Δy 1 ) → (Δx 2 , Δy 2 ) → (Δx 3 ,
Δy 3 ) → in the forward direction, but when approach point Qin = intersection point QII, the course is reversed and the trajectory data becomes (−Δx n , −Δy n ) →
The reverse direction is (−Δx n−1 , −Δy n−1 ) → (−Δx n-2 , −Δy n-2 ) →.

本発明の線画刺繍データには線の縫い方についても登
録されている。即ちスイッチSWには全線分を直進縫で最
終までに2回縫うデータを引き出すG=1と、外輪郭線
と広幅曲線とをジグザグ縫により縫い、他を直線縫にて
縫うデータを引き出すG=2と、全線分をジグザグ縫で
縫うデータを引き出すG=3との3種を備えている。
In the line drawing embroidery data of the present invention, how to sew lines is also registered. That is, G = 1 for drawing data to sew all line segments two times by the straight advance sewing to the switch SW, zigzag sewing for the outer contour line and wide curve, and drawing data for sewing the other for straight sewing G = 2 and G = 3 for drawing out data for sewing all line segments by zigzag sewing are provided.

刺繍前の各スイッチの選択操作により縫い方の判別は
テーブル4の線種Kの項に表示されたin又はoutにより
識別されて全直線刺繍か、全ジグザグ刺繍か、直線とジ
グザグを適宜採用した刺繍かのいずれかを選択して行な
うことが出来る。
Judgment of the sewing method by the selection operation of each switch before embroidery is discriminated by in or out displayed in the item of line type K of Table 4, and all straight embroidery, all zigzag embroidery, straight line and zigzag are appropriately adopted. Either embroidery can be selected and performed.

前記SWの各G=1、G=2、G=3のうちいずれかを
選択した場合の刺繍データ作成はテーブル4のN=1か
ら順序に従うと以下の通りとなる。
When any one of G = 1, G = 2, and G = 3 of the SW is selected, the embroidery data creation is as follows according to the order from N = 1 in Table 4.

G=1の場合(N=1から順次直線縫で登録) (直線縫)(順)N=1(la)→N=2(lb)→N=3
(ld)→N=4(le)→… G=2の場合(N=1から順次登録するが、P=2及び
K=outの場合と、b=wideの場合にジグザグ縫、他は
直線縫で登録)(第6図参照) (直線縫)(順)N=1(la)→N=2(lb)→…
(逆)N=7(lk)→(ZZ縫)(逆)N=8(lj)→
(直線縫)(逆)N=9(lg)→(順)N=10(lh)→
(順)N=11(li)→(ZZ縫)(逆)N=12(li)→… G=3の場合(N=1から登録するがP=1の時は直線
でP=2の時はすべてジグザグ縫で登録) (直線縫)(順)N=1(la)→(順)N=2(lb)…
(ZZ縫)(逆)N=7(lk)→(逆)N=8(lj)→
(直線縫)(逆)N=9(lg)→… (発明の効果) 本発明の線画刺繍データ作成方法は以上の通りである
から、原画を自動的に又は手動的に記憶すれば原画はマ
イクロコンピュータに記憶されているプログラムにより
自動的に各線分に解析されて伝達順及び線の太さ、種類
等が登録されて刺繍データが作成せしめられるので、非
常に簡単に且つ迅速に行なうことが出来る。従って本発
明によると、所望の原画を線画刺繍する為のデータ作成
が著しく容易となるので刺繍希望者は勿論、刺繍作業者
に対し効果大なるものである。
When G = 1 (Registered by linear stitching sequentially from N = 1) (Linear stitching) (sequential) N = 1 (la) → N = 2 (lb) → N = 3
(Ld) → N = 4 (le) → ... When G = 2 (Registering sequentially from N = 1, but when P = 2 and K = out, and when b = wide, zigzag stitching, otherwise straight line) (Registered by sewing) (See Fig. 6) (Straight line sewing) (Sequential) N = 1 (la) → N = 2 (lb) → ...
(Reverse) N = 7 (lk) → (ZZ sewing) (Reverse) N = 8 (lj) →
(Straight line) (Reverse) N = 9 (lg) → (Forward) N = 10 (lh) →
(Forward) N = 11 (li) → (ZZ sewing) (Reverse) N = 12 (li) → ... G = 3 (Register from N = 1, but when P = 1, it is a straight line P = 2) (Zigzag sewing is used for all times) (Linear sewing) (Order) N = 1 (la) → (Order) N = 2 (lb) ...
(ZZ sewing) (reverse) N = 7 (lk) → (reverse) N = 8 (lj) →
(Straight stitch) (Reverse) N = 9 (lg) → ... (Effect of the invention) Since the line drawing embroidery data creating method of the present invention is as described above, if the original image is stored automatically or manually, the original image is obtained. Since the program stored in the microcomputer automatically analyzes each line segment and the transmission order, line thickness, type, etc. are registered to create the embroidery data, it can be performed very easily and quickly. I can. Therefore, according to the present invention, it is extremely easy to create data for embroidering a desired original image on a line, which is effective not only for an embroidering person but also for an embroidery operator.

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

図面は本発明の実施例を示すものにして第1図は本発明
の実施例に使用の原画、第2図は本発明の原画を記憶す
るフローチャート図、第3図は本発明の原画についての
刺繍データ作成のフローチャート図、第4図は本発明の
原画を解析した線図、第5図は本発明の刺繍データ作成
の為の線分伝達順決定ルーチン図、第6図は本発明の刺
繍作成データのうちの一つを選択して刺繍された刺繍ワ
ーク図、第7図は本発明第1表の線分軌跡図である。
1 shows an embodiment of the present invention, FIG. 1 is an original image used in the embodiment of the present invention, FIG. 2 is a flow chart for storing the original image of the present invention, and FIG. 3 is an original image of the present invention. FIG. 4 is a flow chart for creating embroidery data, FIG. 4 is a diagram obtained by analyzing an original image of the present invention, FIG. 5 is a routine for determining a line segment transmission order for creating embroidery data of the present invention, and FIG. 6 is an embroidery of the present invention. FIG. 7 is a line segment locus diagram of Table 1 of the present invention, in which an embroidery work diagram in which one of the created data is selected and embroidered.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】駆動装置により上下運動せしめられる針棒
の下端に装着せしめられる針と該針と協働して前記針が
担持する糸輪を捕捉する糸輪捕捉部とを設けたミシン
と、作業物を保持可能に構成され駆動部により前記ミシ
ンの機枠上をX軸方向及び該X軸方向に対して直角のY
軸方向に駆動せしめられる刺繍枠と、該刺繍枠のX−Y
軸方向の駆動を制御する制御データが記憶せしめられる
データ記憶部とが備えられたコンピュータ刺繍機のため
の刺繍データ作成方法であり、原画をX−YRAMに記憶し
たのち、X−YRAMに記憶された原画データを演算装置に
て演算し、前記原画を両端に交点をもつ各線分に解析
し、該各線分をスタート点から停止点まで連続的に接続
されるように伝達順を決めて記憶部に登録すると共に前
記各線分の両端の交点及び各線分の進入点及び線種及び
線巾及び前記各線分に対する刺繍回数が登録せしめられ
る線画刺繍データの作成方法。
1. A sewing machine provided with a needle attached to a lower end of a needle bar which is vertically moved by a drive device, and a thread catching portion which cooperates with the needle and catches a thread carried by the needle. A Y-axis that is configured to be capable of holding a work and that is perpendicular to the X-axis direction and the X-axis direction on the machine frame of the sewing machine by the drive unit.
An embroidery frame that can be driven in the axial direction, and XY of the embroidery frame
A method for creating embroidery data for a computer embroidery machine, which is provided with a data storage unit for storing control data for controlling axial drive, and stores an original image in X-YRAM and then in X-YRAM. The original image data is calculated by a calculation device, the original image is analyzed into line segments having intersections at both ends, and the transmission order is determined so that each line segment is continuously connected from a start point to a stop point, and a storage unit A method for creating line drawing embroidery data, in which the intersections of both ends of each line segment, the entry points of each line segment, the line type, the line width, and the number of times of embroidery for each line segment are registered.
JP32674887A 1987-12-25 1987-12-25 Method of creating line drawing embroidery data for computer embroidery machine Expired - Fee Related JPH082394B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32674887A JPH082394B2 (en) 1987-12-25 1987-12-25 Method of creating line drawing embroidery data for computer embroidery machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32674887A JPH082394B2 (en) 1987-12-25 1987-12-25 Method of creating line drawing embroidery data for computer embroidery machine

Publications (2)

Publication Number Publication Date
JPH01170494A JPH01170494A (en) 1989-07-05
JPH082394B2 true JPH082394B2 (en) 1996-01-17

Family

ID=18191239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32674887A Expired - Fee Related JPH082394B2 (en) 1987-12-25 1987-12-25 Method of creating line drawing embroidery data for computer embroidery machine

Country Status (1)

Country Link
JP (1) JPH082394B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2883429B2 (en) * 1990-09-21 1999-04-19 三菱電機株式会社 Sewing machine sewing data creation device
KR20040001775A (en) * 2002-06-28 2004-01-07 현대자동차주식회사 Oil reserve tank equiped oil skimmer device
JP6904805B2 (en) * 2017-06-23 2021-07-21 蛇の目ミシン工業株式会社 Embroidery data creation device, embroidery data creation method, and embroidery data creation device program

Also Published As

Publication number Publication date
JPH01170494A (en) 1989-07-05

Similar Documents

Publication Publication Date Title
JP2523346B2 (en) Automatic device for creating embroidery data for computer embroidery machines
JPH03862A (en) Data-creating device for embroidery machine
JPH08266759A (en) Embroidery data processing device
JPH04314490A (en) Under pick stitch data origination method
JPH073608A (en) Method for making embroidery data and device therefor and embroidered pattern formed on the embroidery data
US6502006B1 (en) Method and system for computer aided embroidery
JPH031893A (en) Data-generating device for embroidering-machine
JP2015104442A (en) Sewing machine
JPH0815512B2 (en) Sewing data of sewing machine
JPH082394B2 (en) Method of creating line drawing embroidery data for computer embroidery machine
US10662564B2 (en) Sewing machine and non-transitory computer-readable medium
JP3733626B2 (en) Embroidery data processing device
JP2770989B2 (en) Embroidery sewing machine
JP2852930B2 (en) Automatic embroidery sewing machine
US10619279B2 (en) Decoration pattern data generating apparatus, sewing machine, and non-transitory recording medium
JP3525680B2 (en) Automatic sewing machine
JPH06306759A (en) Formation of embroidery data for applique
JPH11188188A (en) Electronic control type pattern sewing machine
JPH0245086A (en) Automatic embroidery sewing machine
JP2927078B2 (en) Sewing data processing device
JP2921199B2 (en) Sewing data processing device
JP4826691B2 (en) Sewing machine programming device
JPH06154444A (en) Enbroidery sewing machine
JPH0497775A (en) Apparatus for confirming shape of sewn pattern
JPH0681640B2 (en) Sewing data creation device for sewing machine

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees