JPH031893A - Data creation device for embroidery sewing machine - Google Patents
Data creation device for embroidery sewing machineInfo
- Publication number
- JPH031893A JPH031893A JP1136562A JP13656289A JPH031893A JP H031893 A JPH031893 A JP H031893A JP 1136562 A JP1136562 A JP 1136562A JP 13656289 A JP13656289 A JP 13656289A JP H031893 A JPH031893 A JP H031893A
- Authority
- JP
- Japan
- Prior art keywords
- data
- point
- needle
- contour
- outline
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- D—TEXTILES; PAPER
- D05—SEWING; EMBROIDERING; TUFTING
- D05B—SEWING
- D05B19/00—Program-controlled sewing machines
- D05B19/02—Sewing machines having electronic memory or microprocessor control unit
- D05B19/04—Sewing machines having electronic memory or microprocessor control unit characterised by memory aspects
- D05B19/08—Arrangements for inputting stitch or pattern data to memory ; Editing stitch or pattern data
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
- G05B19/4093—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part program, for the NC machine
- G05B19/40931—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part program, for the NC machine concerning programming of geometry
- G05B19/40932—Shape input
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Textile Engineering (AREA)
- Sewing Machines And Sewing (AREA)
- Automatic Embroidering For Embroidered Or Tufted Products (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は1.上下動される針と被縫製物との間の相対位
置を示す針位置データ若しくは針位置に関連したデータ
に基づき前記針と被縫製物との間に相対移動を発生させ
、被縫製物に刺繍模様を形成する刺繍ミシンのためのデ
ータ作成装置に関する。[Detailed Description of the Invention] [Industrial Field of Application] The present invention includes 1. A relative movement is generated between the needle and the workpiece based on needle position data indicating the relative position between the needle that is moved up and down and the workpiece, or data related to the needle position, and embroidery is performed on the workpiece. The present invention relates to a data creation device for an embroidery sewing machine that forms patterns.
[従来技術]
従来、この種のデータ作成装置としては、例えば、特開
昭58−198375号公報に記載された装置が知られ
ている。この記載技術は、タブレットボードに刺繍縫い
する原画が描かれた図面を貼着し、作業者は原画を分割
する複数の閉領域を想定し、その想定された閉領域の輪
郭線上の複数の点をカーソルで指定することにより閉領
域の輪郭線を設定記憶させ、その設定記憶された閉領域
毎に刺繍縫いするための針位置データが演算されるもの
である。[Prior Art] Conventionally, as this type of data creation device, for example, the device described in Japanese Unexamined Patent Publication No. 198375/1983 is known. In this writing technique, a drawing containing the original drawing to be embroidered is pasted on a tablet board, the operator imagines multiple closed regions that will divide the original drawing, and then selects multiple points on the outline of the envisioned closed regions. By specifying with a cursor, the outline of a closed area is set and stored, and needle position data for embroidery stitching is calculated for each closed area set and stored.
この針位置データの演算方法は、前記閉領域の輪郭線と
所定の直線との交点を、直線を平行移動させることによ
り順次求め、その交点を順次選択して針位置データとす
るものである。This calculation method of needle position data is to sequentially find the intersection points of the contour line of the closed area and a predetermined straight line by moving the straight line in parallel, and sequentially select the intersection points to obtain the needle position data.
一方、特開昭63−132690号公報には、刺繍原画
をテレビカメラ等で撮像してCRTに画像表示させ、作
業者は表示された画像を見ながらライトベン等で画像の
輪郭線上の任意の点を指定して輪郭線を設定した後、そ
の輪郭線を分割するための分割線をライトベン等で指定
して刺繍画像を多角形の閉領域に分割し、その閉領域の
頂点等の位置データを針位置に関連するデータ(ブロッ
クデータと称す)として順次演算作成する技術が開示さ
れている。この後、ブロックデータ及び予め設定された
縫目密度データに基づき、実際の針位置を示す針位置デ
ータが演算される。On the other hand, Japanese Patent Application Laid-Open No. 63-132690 discloses that an embroidery original is imaged with a television camera or the like, the image is displayed on a CRT, and while viewing the displayed image, the operator uses a light ben or the like to select arbitrary points on the outline of the image. After specifying the outline and setting the outline, divide the embroidery image into polygonal closed areas by specifying dividing lines using a light bevel, etc., and then save the position data such as the vertices of the closed areas. A technique has been disclosed for sequentially calculating and creating data (referred to as block data) related to the needle position. Thereafter, needle position data indicating the actual needle position is calculated based on the block data and preset stitch density data.
[発明が解決しようとする課題]
前記従来装置は何れも刺繍模様を分割する閉領域を作業
者が想定し、その閉領域を設定記憶させるために閉領域
の頂点等の座標点を作業者がカーソルやライトベン等に
より指定するものである。[Problems to be Solved by the Invention] In all of the above-mentioned conventional devices, an operator imagines a closed area that divides an embroidery pattern, and in order to set and memorize the closed area, the operator sets coordinate points such as vertices of the closed area. This is specified using a cursor, light bar, etc.
その閉領域が設定されると、データ作成装置は針位置を
演算して作成するものである。Once the closed area is set, the data creation device calculates and creates the needle position.
しかしながら、前記閉領域は、刺繍模様の形状に応じて
手動設定しなければならず、その設定作業が面倒で時間
がかかるという問題点が存在する。However, the closed area must be manually set according to the shape of the embroidery pattern, and the setting work is troublesome and time-consuming.
また、作業者が設定する閉領域の形状も針位置演算が可
能な形状にしなければならず、閉領域の設定に熟練を要
するものとされている。これは、作業者が設定した閉領
域の形状が例えば略U字型の場合、前者の従来装置にお
いては閉領域の輪郭線と、縫目形成方向と平行に移動さ
れる直線との交点が3点以上になり針位置演算が不可能
になる場合があるためである。Further, the shape of the closed area set by the operator must be such that the needle position can be calculated, and skill is required to set the closed area. This means that when the shape of the closed area set by the operator is approximately U-shaped, for example, in the former conventional device, the intersection of the outline of the closed area and the straight line moved parallel to the seam forming direction is 3. This is because the needle position calculation may become impossible if the number exceeds the point.
[課題を解決するための手段]
本発明は前述の問題点を解決するためになされたもので
あり、その目的は、刺繍模様の連続した任意形状の輪郭
線内を刺繍模様の長辺若しくは短辺方向に対し所定角度
で交差する方向を縫目形成方向として刺繍縫いするため
の針位置データ若しくは針位置に関連したデータを、自
動的に作成することが可能な刺繍ミシンのためのデータ
作成装置を提供することにある。[Means for Solving the Problems] The present invention has been made to solve the above-mentioned problems, and its purpose is to line up the long side or short side of the embroidery pattern within the continuous arbitrary shape outline of the embroidery pattern. A data creation device for an embroidery sewing machine that can automatically create needle position data or data related to the needle position for performing embroidery sewing with a direction intersecting the side direction at a predetermined angle as the stitch formation direction. Our goal is to provide the following.
その目的を達成するため、本発明は、与えられた刺繍模
様の輪郭データを記憶するだめの第1の記憶手段と、そ
の輪郭データに基づき刺繍模様の長辺若しくは短辺方向
を基準方向として演算する基準方向決定手段と、前記輪
郭データ及び基準方向に基づき前記刺繍模様を前記基準
方向に対し所定角度で交差する区切線分で複数の閉領域
に分割し、その分割された閉領域の輪郭を示す閉領域輪
郭データを演算する第1の演算手段と、前記閉領域輪郭
データ及び前記区切線分の延びる方向に基づき閉領域を
刺繍繕いするための針位置データ若しくは針位置に関連
したデータを演算する第2の演算手段と、その第2の演
算手段により演算されたデータを記憶する第2の記憶手
段とを備えた。In order to achieve the object, the present invention includes a first storage means for storing contour data of a given embroidery pattern, and a calculation based on the contour data with the long side or short side direction of the embroidery pattern as a reference direction. a reference direction determining means for dividing the embroidery pattern into a plurality of closed regions by dividing lines that intersect at a predetermined angle with respect to the reference direction based on the contour data and the reference direction; a first calculating means for calculating closed area contour data shown; and calculating needle position data or data related to the needle position for embroidering the closed area based on the closed area contour data and the extending direction of the dividing line segment. and a second storage means for storing data calculated by the second calculation means.
[作用]
本発明において、第1の記憶手段に刺繍模様の輪郭デー
タが記憶されると、基準方向決定手段が前記輪郭データ
に基づき刺繍模様の長辺若しくは短辺方向を基準方向と
して演算する。第1の演算手段は、前記輪郭データ及び
前記基準方向に基づいて前記刺繍模様を、基準方向に対
し所定角度で交差する区切線、分で複数に分割し、その
分割された閉領域の輪郭を示ず閉領域輪郭データを演算
し、第2の演算手段が前記閉領域輪郭データ及び前記区
切線分の延びる方向に基づき当該閉領域を刺繍縫いする
ための針位置データ若しくは針位置に関連したデータを
演算する。第2の記憶手段は第2の演算手段により演算
されたデータを記憶する。[Operation] In the present invention, when the outline data of the embroidery pattern is stored in the first storage means, the reference direction determining means calculates the long side or short side direction of the embroidery pattern as the reference direction based on the outline data. The first calculation means divides the embroidery pattern into a plurality of parts based on the outline data and the reference direction by dividing lines and minutes that intersect at a predetermined angle with respect to the reference direction, and calculates the outline of the divided closed area. needle position data or data related to the needle position for embroidering the closed area based on the closed area outline data and the direction in which the dividing line segment extends; Calculate. The second storage means stores data calculated by the second calculation means.
この結果、刺繍縫いすべき刺繍模様の輪郭データのみか
ら、刺繍模様を、その長辺方向若しくは短辺方向に対し
所定の角度で交差する方向を縫目形成方向として刺繍縫
いするための針位置データ若しくは針位置に関連したデ
ータが自動的に作成される。As a result, from only the outline data of the embroidery pattern to be embroidered, needle position data for embroidering the embroidery pattern with the stitch formation direction in a direction that intersects the long side or short side at a predetermined angle. Alternatively, data related to the needle position is automatically created.
[実施例コ
以下、この発明を多針型刺繍ミシンに具体化した一実施
例を図面を参照して説明する。[Embodiment 1] An embodiment in which the present invention is embodied in a multi-needle type embroidery sewing machine will be described below with reference to the drawings.
ミシンアーム1はテーブル2上に配設され、その前端部
には針棒支持ケース3が第2図における矢印X方向に沿
って移動可能に支持されている。The sewing machine arm 1 is disposed on a table 2, and a needle bar support case 3 is supported at its front end so as to be movable along the direction of arrow X in FIG.
5本の針棒4は前記支持ケース3にそれぞれ上下動可能
に支持され、下端には針5がそれぞれ着脱可能に取着さ
れている。そして、各針には図示しない糸供給源から針
棒支持ケース3上の糸調子器6及び天秤7を介して種類
の異なる糸が供給される。針選択モータ8はミシンアー
ム1上に配設され、前記針棒支持ケース3に駆動連結さ
れている。The five needle bars 4 are each supported by the support case 3 so as to be movable up and down, and each needle 5 is detachably attached to the lower end thereof. Different types of thread are supplied to each needle from a thread supply source (not shown) via a thread tension device 6 and thread take-up 7 on the needle bar support case 3. A needle selection motor 8 is disposed on the sewing machine arm 1 and is drivingly connected to the needle bar support case 3.
そして、所定の針棒選択信号が前記針選択モータ8に入
力された時、前記針選択モータ8は針棒支持ケース3を
移動させて、1本の針5を所定の使用位置に選択配置す
る。When a predetermined needle bar selection signal is input to the needle selection motor 8, the needle selection motor 8 moves the needle bar support case 3 to select and arrange one needle 5 at a predetermined use position. .
ミシンモータ9はミシンアーム1の後部に配設され、そ
の動力がミシンアーム1内の動力伝達機構(図示しない
)を介して前記使用位置の針棒4に伝達されてその針棒
4が上下動される。ミシンベツド10は前記使用位置に
配置された針棒4に対向してミシンテーブル2に突設さ
れ、前記針5との協働により被縫製物Wに縫目を形成す
るための糸輪捕捉器(図示しない)を内蔵している。前
記針5.糸輪捕捉器等により縫目形成手段が構成されて
いる。The sewing machine motor 9 is disposed at the rear of the sewing machine arm 1, and its power is transmitted to the needle bar 4 in the use position through a power transmission mechanism (not shown) in the sewing machine arm 1, causing the needle bar 4 to move up and down. be done. A sewing machine bed 10 is protruded from the sewing machine table 2 opposite to the needle bar 4 disposed in the use position, and has a thread loop catcher ( (not shown) is built-in. Said needle5. A seam forming means is constituted by a thread loop catcher and the like.
一対のY方向移動枠11(一方のみ図示)はミシンテー
ブル2の左右両側縁においてY方向へ往復動可能に配設
され、図示しないY方陣駆動モータによって駆動される
。又、両移動枠11間には支持棒12が架設されている
。X方向移動枠13はその基端において前記支持棒12
に沿ってX方向へ移動可能に配設され、図示しないX方
向駆動モータによって駆動される。保持手段としての保
持枠14は前記X方向移動枠13に装着され、被縫製物
Wを着脱可能に保持する。A pair of Y-direction moving frames 11 (only one shown) is disposed on both left and right edges of the sewing machine table 2 so as to be able to reciprocate in the Y-direction, and is driven by a Y-square drive motor (not shown). Further, a support rod 12 is installed between both moving frames 11. The X-direction moving frame 13 is connected to the support rod 12 at its base end.
It is disposed so as to be movable in the X-direction along the X-direction, and is driven by an X-direction drive motor (not shown). A holding frame 14 serving as a holding means is attached to the X-direction moving frame 13, and detachably holds the workpiece W to be sewn.
尚、前記X、 Y方向移動枠11.1B、支持棒12及
びY、X方向駆動モータにより、前記針5の上下動に同
期して保持枠14と針5との相対位置を変化させるため
の送り装置15が構成され、保持枠14と針5との相対
移動によって被縫製物Wに刺繍縫目模様が形成される。In addition, the relative position between the holding frame 14 and the needle 5 is changed in synchronization with the vertical movement of the needle 5 by the X- and Y-direction moving frame 11.1B, the support rod 12, and the Y- and X-direction drive motors. A feeding device 15 is configured, and an embroidery stitch pattern is formed on the workpiece W by relative movement between the holding frame 14 and the needle 5.
次に本実施例における刺繍ミシンの電気的構成について
説明する。Next, the electrical configuration of the embroidery sewing machine in this embodiment will be explained.
中央演算処理装置(以後CPUと称す)17のインター
フェイス36には、操作キーボード18が接続され、そ
の操作キーボード18にはデータ作成キー20.針位置
データ作成キー21.ブロックデータ作成キー22.縫
い順設窓モードキー23、輪郭点大カキー24.閉領域
分割指令キー25、縫製スタートキー26.基準方向指
定キー29等が設けられている。また、インターフェイ
ス36には駆動回路39〜41を介して前記針選択モー
タ8.ミシンモータ9.加工布送り装置15がそれぞれ
接続されている。更に、インターフェイス36にはCR
T駆動回路34を介してCRT35が接続され、CRT
35の画像表示面上の任意の点を指定するためのライト
ベン37が位置検出回路38を介して接続されている。An operation keyboard 18 is connected to the interface 36 of the central processing unit (hereinafter referred to as CPU) 17, and the operation keyboard 18 has data creation keys 20. Needle position data creation key 21. Block data creation key 22. Sewing order setting window mode key 23, contour point large key 24. Closed area division command key 25, sewing start key 26. A reference direction designation key 29 and the like are provided. Also, the needle selection motor 8. is connected to the interface 36 via drive circuits 39-41. Sewing machine motor9. Work cloth feeding devices 15 are connected to each. Furthermore, the interface 36 has a CR
A CRT 35 is connected via the T drive circuit 34, and the CRT
A light bevel 37 for specifying an arbitrary point on the image display surface of 35 is connected via a position detection circuit 38.
また、CPU17には刺繍原画を撮像するためのテレビ
カメラ30とイメージセンサ31とがビデオインターフ
ェイス33を介してそれぞれ接続されている。CPU1
7には、その動作プログラムが記憶されたプログラムメ
モリ42と、第1゜第2の記憶手段を主として構成する
読出し書込み可能な作業用メモリ43と、作成された針
位置データ若しくは針位置に関連するデータ(以後ブロ
ックデータと称す)を記憶させておくための外部記憶装
置16と、テレビカメラ30等により撮像された刺繍原
画や、前記ライトベン37により指示されたCRT表示
画面上の点の位置データを記憶するだめの画像メモリ4
4とが接続されている。Further, a television camera 30 and an image sensor 31 for capturing an image of an embroidery original are connected to the CPU 17 via a video interface 33, respectively. CPU1
7 includes a program memory 42 in which the operation program is stored, a readable and writable working memory 43 mainly constituting the first and second storage means, and created needle position data or data related to the needle position. An external storage device 16 for storing data (hereinafter referred to as block data), original embroidery images captured by a television camera 30, etc., and position data of points on the CRT display screen instructed by the light ben 37. Image memory to remember 4
4 is connected.
次に、第7図に示された刺繍模様を刺繍するための針位
置データ若しくはブロックデータを作成する場合につい
て第3図(a)〜(C)、第4図(a)、 (b)の
フローチャートを参照しながらCPU17の動作を説明
する。Next, regarding the case of creating needle position data or block data for embroidering the embroidery pattern shown in FIG. 7, the steps in FIGS. The operation of the CPU 17 will be explained with reference to a flowchart.
まず、与えられる刺繍模様は、1本の連続した任意形状
の輪郭線を有するものであり、データ作成装置は、その
輪郭線内を、刺繍模様の長辺若しくは短辺方向に対し所
定角度で交差する方向を縫目形成方向として刺繍縫いす
るための針位置データ若しくはブロックデータを自動的
に作成するものである
作業者が刺繍原画をセットし、テレビカメラ30若しく
はイメージセンサ31を有効化し、針位置データ作成キ
ー21若しくはブロックデータ作成キー22をオンした
後にデータ作成キー20をオンすると、CPU17は第
3図(a)〜(C)に記載されたフローチャートに従っ
て動作を開始する。尚、前記針位置データ作成キー21
がオンされた時は、針位置データ作成フラグが「1」と
なる。First, the given embroidery pattern has one continuous contour line of an arbitrary shape, and the data creation device intersects the inside of the contour line at a predetermined angle with respect to the long side or short side direction of the embroidery pattern. The operator sets the embroidery original image, activates the television camera 30 or the image sensor 31, and creates the needle position data or block data for sewing the embroidery with the stitch forming direction set as the stitch forming direction. When the data creation key 20 is turned on after turning on the data creation key 21 or block data creation key 22, the CPU 17 starts operating according to the flowcharts shown in FIGS. 3(a) to 3(C). Note that the needle position data creation key 21
When turned on, the needle position data creation flag becomes "1".
CPU17は、テレビカメラ30若しくはイメージセン
サ31からの刺繍原画の画像をCRT35に表示すると
ともに、その画像データを画像メモリ44に記憶させる
(ステップ5100)。この後、作業者はCRT35の
表示画像を見ながら刺繍画像の輪郭線上の任意の点Ti
をライトベン37で指示し、輪郭点大カキ−24を押圧
する。The CPU 17 displays the image of the embroidery original from the television camera 30 or the image sensor 31 on the CRT 35, and stores the image data in the image memory 44 (step 5100). After this, the operator selects an arbitrary point Ti on the outline of the embroidery image while looking at the image displayed on the CRT 35.
with the light ben 37 and press the contour point large oyster 24.
すると、CPU17は、ライトベン37で指示された点
Tiの位置データを求め、輪郭点データとして作業用メ
モリ43に記憶させるとともに、画像メモリ44にも位
置データを記憶させる(ステップ5102)。作業者が
この作業を輪郭線に沿って順次繰り返すことにより輪郭
点データが記憶されていく。この時、作業メモリ43に
は、第7図に示す点列T。、・・・、Ti、 ・・・
、Tn。Then, the CPU 17 obtains the position data of the point Ti specified by the light ben 37, stores it in the working memory 43 as contour point data, and also stores the position data in the image memory 44 (step 5102). As the operator repeats this operation sequentially along the contour line, contour point data is stored. At this time, the working memory 43 stores the point sequence T shown in FIG. ,...,Ti,...
,Tn.
・・・、Tmが刺繍閉領域A。の輪郭データとして記憶
され、各点は、直線若しくは曲線で結ばれてCRT35
に表示される。..., Tm is the embroidery closed area A. Each point is connected with a straight line or curved line and displayed on the CRT35.
will be displayed.
作業者が基準方向設定キー29をオンすると、CPU1
7は、ステップ8103において、前記作業メモリ43
から前記輪郭点データを読出し、その輪郭点データが示
す点列TO+ ・・・、Ti。When the operator turns on the reference direction setting key 29, the CPU 1
7, in step 8103, the working memory 43
The contour point data is read out from the point sequence TO+ . . . , Ti indicated by the contour point data.
・・・、Tnから組合せ得る全ての一対の輪郭点を検索
し、その一対の輪郭点間の距離が最長で、且つ一対の輪
郭点をそれぞれ通りその輪郭点を結ぶ直線に対する一対
の垂線を仮定した時に、雨垂線間に他の輪郭点が全て位
置するもの(一対の輪郭点)を選択する。その選択され
た一対の輪郭点を通る直線の方向が前記輪郭点データの
示す閉領域(刺繍模様)の長辺方向となる。一方、この
ステップ8103において、輪郭点間の距離が最小で、
且つ一対の輪郭点をそれぞれ通り、その輪郭点を結ぶ直
線に対する一対の垂線を仮定した時に、雨垂線間に他の
輪郭点が全て位置するもの(一対の輪郭点)を選択した
時は、閉領域の短辺方向となる。..., search all pairs of contour points that can be combined from Tn, and assume a pair of perpendicular lines to the straight line that has the longest distance between the pair of contour points and that passes through each pair of contour points and connects the contour points. Then, select the contour points (pair of contour points) in which all other contour points are located between the rain perpendicular lines. The direction of the straight line passing through the selected pair of contour points becomes the long side direction of the closed area (embroidery pattern) indicated by the contour point data. On the other hand, in this step 8103, the distance between the contour points is the minimum,
In addition, when we assume a pair of perpendicular lines to a straight line that passes through a pair of contour points and connects the contour points, if we select a line in which all other contour points are located between the perpendiculars (a pair of contour points), it is closed. The direction is the short side of the area.
CPU17は、前記長辺方向若しくは短辺方向を基準方
向として設定記憶し、その基準方向と、輪郭点データを
規定するXY座標系のX軸のなす角度θを演算する。The CPU 17 sets and stores the long side direction or the short side direction as a reference direction, and calculates the angle θ formed between the reference direction and the X axis of the XY coordinate system that defines the contour point data.
CPU17は、閉領域分割指令キー25のオンを待ち(
ステップ5104)、そのキー25がオンされると前記
作業メモリ43から輪郭データを読出して各輪郭点を、
前記基準方向がX軸方向と一致する′ように前記角度θ
の回転座標変換して作業メモリ43に記憶させる(ステ
ップ5105)。The CPU 17 waits for the closed area division command key 25 to be turned on (
Step 5104), when the key 25 is turned on, the contour data is read from the working memory 43 and each contour point is
The angle θ is adjusted such that the reference direction coincides with the X-axis direction.
The rotational coordinates of are converted and stored in the working memory 43 (step 5105).
以後の説明は、回転座標変換された輪郭点データを、説
明の便宜上、単に輪郭点データとする。また、本実施例
の縫目形成方向は、刺繍模様の長辺方向に対し、直交す
る方向とする。In the following description, contour point data subjected to rotational coordinate conversion will be simply referred to as contour point data for convenience of explanation. Furthermore, the stitch forming direction in this embodiment is perpendicular to the long side direction of the embroidery pattern.
CPU17は、細分化する閉領域(この場合A。The CPU 17 subdivides the closed region (A in this case).
の輪郭データTO+ ・・・、Tmを順次読出し、各
点”O+ ・・・、TmのX軸成分が最大となる点T
n(max点とする)と、X軸成分が最小となる点T。Sequentially read out the contour data TO+..., Tm, and select each point "O+..., the point T where the X-axis component of Tm is maximum.
n (taken as the max point) and the point T where the X-axis component is the minimum.
(m i n点)とを求める(ステップ5106)。(m i n points) is determined (step 5106).
この後、CPU17は、輪郭データ’ro、os、Tm
に基づき、min点からmax点に至る2つの経路の内
の一方(To、 ・・・、Ti。After this, the CPU 17 processes the contour data 'ro, os, Tm
Based on, one of the two paths from the min point to the max point (To, ..., Ti.
・・、Tn)を上アウトライン点列Uiとして設定し、
残る他方(To、 ・・・、Tm、 ・・・Tn)
を下アウトライン点列diとして設定する(ステップ5
108、SIIO)。そして、cpU17は後述する閉
領域細分化サブルーチン5200に移行し、そのサブル
ーチンで閉領域が2分割された場合、次のステップ51
12に移行する。..., Tn) as the upper outline point sequence Ui,
The remaining other (To, ..., Tm, ...Tn)
is set as the lower outline point sequence di (step 5
108, SIIO). Then, the cpU 17 moves to a closed region subroutine 5200 to be described later, and if the closed region is divided into two in this subroutine, the next step 51
12.
また、閉領域細分化サブルーチン5200で、CPU1
7は与えられた閉領域を2分割できない時、その閉領域
について輪郭点データとともに閉領域細分化終了フラグ
を作業用メモリ43に記憶させる。In addition, in the closed region subroutine 5200, the CPU1
7, when a given closed area cannot be divided into two, a closed area subdivision end flag is stored in the working memory 43 along with contour point data for the closed area.
ステップ5112においてCPU17は、分割して求め
られた全ての閉領域について閉領域細分化終了フラグが
記憶されるまで、前記ステップ5106〜SIIO、S
200を繰り返し、それが終了すると細分化された閉領
域をCRT35に画像表示させる(ステップ5114)
。In step 5112, the CPU 17 performs the steps 5106 to SIIO, S
200 is repeated, and when it is completed, the subdivided closed area is displayed as an image on the CRT 35 (step 5114).
.
ここで、閉領域細分化サブルーチン5200について第
4図(a)及び第4図(b)を参照して説明する。Here, the closed region subroutine 5200 will be explained with reference to FIGS. 4(a) and 4(b).
先ず、このサブルーチンは、後述する針位置データ作成
ルーチン(ステップ5122)及びブロックデータ作成
ルーチン(ステップS 124)での演算が可能になる
まで、閉領域を細分化するためのものであることに留意
されたい。First, it should be noted that this subroutine is for subdividing the closed region until calculations can be made in the needle position data creation routine (step 5122) and block data creation routine (step S124), which will be described later. I want to be
CPU17は、上アウトライン点列のX成分Uxiをm
in点からmax点に至るまで順次大小判別し、Ux
i >Ux 1−1−1となる点(分割候補点と称す)
を検索する(ステップS 210)。第7図の閉領域A
。の場合は点Uiが求められる。The CPU 17 sets the X component Uxi of the upper outline point sequence to m
The size is determined sequentially from the in point to the max point, and the Ux
Points where i > Ux 1-1-1 (referred to as division candidate points)
is searched for (step S210). Closed area A in Figure 7
. In this case, the point Ui is found.
この分割候補点が上アウトライン点列に存在しない時、
CPU17は、ステップ5210と同様に、下アウトラ
イン点列に分割候補点が存在しないか検索する(ステッ
プ5230)。この分割候補点が下アウトライン点列に
存在しない時、CPUl7は、与えられた閉領域を分割
不可能、換言すれば針位置データ作成ルーチン及びブロ
ックデータ作成ルーチンでの演算可能と判断し、閉領域
細分化終了フラグを輪郭点データとともに作業メモリ4
3に記憶させ、ステップ5114に進む(ステップS
240)。When this division candidate point does not exist in the upper outline point sequence,
Similar to step 5210, the CPU 17 searches for a division candidate point in the lower outline point sequence (step 5230). When this division candidate point does not exist in the lower outline point sequence, the CPU 17 determines that the given closed region cannot be divided, in other words, it is possible to perform calculations in the needle position data creation routine and the block data creation routine, and The subdivision end flag is stored in working memory 4 along with the contour point data.
3 and proceeds to step 5114 (step S
240).
前記ステップ5210において、上アウトライン点列に
分割候補点の存在が判別された時、分割候補点(第8図
における点Ui)と、それよりも1つ前の点(第8図に
おける点Ui−1)とを通る直線!よりも、分割候補点
よりも1つ後の点(第8図における点Ui++)がY軸
方向1q沿って上方に位置するか否か判別しくステップ
5211)、肯定判断の場合は、分割候補点を通り、Y
軸に平行な直線「(第8図における直線:x−Uxi)
と、閉領域の輪郭線との交点の内、分割候補点よりも上
方で、最も分割候補点に近い点Pを求める(ステップ5
212)。この後、CPUl7は閉領域を分割候補点(
第8図における点Ui)と前記点Pとを結ぶ線分Uip
で2分割しく第9図において、閉領域Aoが閉領域A1
とA2とに2分割される)、2分割された閉領域の輪郭
点データを演算して作業メモリ43に記憶させる(ステ
ップ3213、S214)。例えば、第9図の閉領域A
1の輪郭点データはTon ・拳a Ti。In step 5210, when it is determined that there is a division candidate point in the upper outline point sequence, the division candidate point (point Ui in FIG. 8) and the previous point (point Ui- in FIG. 8) are separated. 1) A straight line passing through! , it is determined whether the point after the division candidate point (point Ui++ in FIG. 8) is located above along the Y-axis direction 1q (step 5211), and if the determination is affirmative, the division candidate point is through Y
A straight line parallel to the axis ((straight line in Figure 8: x-Uxi)
Among the points of intersection between P and the outline of the closed region, a point P which is above the dividing candidate point and closest to the dividing candidate point is found (Step 5
212). After this, the CPU 17 divides the closed region into candidate points (
Line segment Uip connecting point Ui) in FIG. 8 and the point P
In Fig. 9, the closed area Ao is divided into two parts by the closed area A1.
and A2), the contour point data of the divided closed region is calculated and stored in the working memory 43 (steps 3213, S214). For example, closed region A in FIG.
The contour point data of 1 is Ton・Fist a Ti.
P、・・・Tnとなり、閉領域A2の輪郭点データはT
t、Tl+l r T1+2+ ”・拳Pとなる。P,...Tn, and the contour point data of closed area A2 is T
t, Tl+l r T1+2+ ”・Fist P.
一方、前記ステップ5211において否定判断の場合、
CPU17は、前記ステップ5210で求めた点(例え
ば第10図における閉領域B。の輪郭線上の点Ui)の
分割候補点としての指定を取消す。これは第10図にお
いて直線X−Uxiで閉領域Boを分割できないためで
ある。この後CPU17は分割候補点としての指定を取
消した点からmax点に向けて上アウトライン点列のX
成分Uxkを順次比較し、X成分の変化が減少から増大
に変化する点、即ちUxk<Uxk−zとなる点(第1
0図においては点Uk)を分割候補点として求める(ス
テップ5215)。この後、CPU17は、分割候補点
(Uk)と、その点よりも1つ前の点(Uk−+)とを
通る直線(第10図において直線f)よりも、分割候補
点(Uk)よりも1つ後の点(Uk+t)がY軸に沿う
下方に位置するか否かを判別しくステップS 216)
、下方に位置する時、分割候補点(Uk)を通りY軸に
平行な直線(X−Ukx)と、閉領域の輪郭線との交点
の内、分割候補点よりも上方で且つ最も分割候補点に近
い交点qを演算して求める(ステップS 217)。こ
の後、CPUは閉領域を分割候補点と交点qとを結ぶ線
分で2分割し、2分割された閉領域の輪郭点データをそ
れぞれ作業メモリ43に記憶させる(ステップ5218
.S21つ)。従って、例えば第10図に示された閉領
域Boは第11図に示されているように閉領域B+。On the other hand, in the case of a negative determination in step 5211,
The CPU 17 cancels the designation of the point obtained in step 5210 (for example, the point Ui on the outline of the closed region B in FIG. 10) as the division candidate point. This is because the closed region Bo cannot be divided by the straight line X-Uxi in FIG. After this, the CPU 17 moves the X
The components Uxk are compared sequentially, and the point where the change in the X component changes from decreasing to increasing, that is, the point where Uxk<Uxk-z (first
The point Uk in Figure 0) is determined as a division candidate point (step 5215). After this, the CPU 17 selects a line that passes through the division candidate point (Uk) and the point (Uk-+) one point before that point (straight line f in FIG. 10), and the division candidate point (Uk). Step S216)
, when located below, among the intersections of the straight line (X-Ukx) passing through the division candidate point (Uk) and parallel to the Y axis and the outline of the closed region, the division candidate that is above the division candidate point and is the most division candidate. An intersection q close to the point is calculated and found (step S217). Thereafter, the CPU divides the closed region into two by the line segment connecting the division candidate point and the intersection q, and stores the contour point data of each of the two divided closed regions in the working memory 43 (step 5218
.. S21). Therefore, for example, the closed area Bo shown in FIG. 10 becomes the closed area B+ as shown in FIG. 11.
B2に分割される。It is divided into B2.
ところで、前記ステップ5216において否定判断の場
合、CPU17は、ステップ5215+:l:で求めら
れた点の分割候補点としての指定を取消し、前記ステッ
プ5210に戻る。この場合のステップ5210におけ
る判別は、前記ステップ5215にて求められた分割候
補点よりも1つ後の上アウトライン点列の点から行われ
る。このステップ5216において否定判断となる場合
としては、例えば第12図に示された閉領域C,が考え
られる。この閉領域coの場合は、前記ステップ521
0に戻った後に求められる分割候補点Ueに対してもス
テップ5211にて否定判断され、その後求められる分
割候補点Umに対してもステップ5216にて否定判断
され、その後求められた分割候補点Usに対して初めて
ステップ5211にて肯定判断され、その結果、閉領域
coは分割候補点Usと点Pとを通る線分UsPで閉領
域C1と閉領域C2とに分割される(第13図参照)こ
のように、上アウトラインに対しては、ステップ821
0〜S219によりあらゆる形状のものでも細分化が行
われる。By the way, in the case of a negative determination in step 5216, the CPU 17 cancels the designation of the point obtained in step 5215+:l: as a division candidate point, and returns to step 5210. In this case, the determination in step 5210 is made from the point in the upper outline point sequence that is one point after the division candidate point found in step 5215. An example of a case in which a negative determination is made in step 5216 is the closed region C shown in FIG. 12, for example. In the case of this closed region co, the step 521
A negative determination is made in step 5211 for the division candidate point Ue obtained after returning to 0, and a negative determination is made in step 5216 for the division candidate point Um subsequently determined. For the first time, an affirmative determination is made in step 5211, and as a result, the closed region co is divided into a closed region C1 and a closed region C2 by a line segment UsP passing through the division candidate point Us and the point P (see FIG. 13). ) Thus, for the upper outline, step 821
0 to S219, even objects of any shape are subdivided.
次に与えられた閉領域の上アウトラインに対して、ステ
ップ5210の判断をmax点まで行ったにもかかわら
ず、X値の変化が増大から減少に転する点が存在しない
時、CPU17は前記ステップ5110にて求めた下ア
ウトラインについて、前記ステップ8210〜219と
同様の処理ステップ8231〜8239を行う。ただし
、ステップ5231,32B2、S236、S237に
関しては対応するステップ5211、S212、S21
6.5217と異なるので、その部分のみ第4図(b)
を参照して説明する。Next, when there is no point at which the change in the X value changes from increasing to decreasing even though the determination in step 5210 has been made up to the max point for the upper outline of the given closed region, the CPU 17 performs the step Processing steps 8231 to 8239 similar to steps 8210 to 219 are performed for the lower outline obtained in step 5110. However, regarding steps 5231, 32B2, S236, and S237, the corresponding steps 5211, S212, and S21
6.5217, so only that part is shown in Figure 4(b)
Explain with reference to.
ステップ8231において、CPU17は、ステップ8
230で求めた分割候補点diと、その点diよりも1
つ前の点di−Hとを通る直線よりも、分割候補点di
よりも1つ後の点di+。In step 8231, the CPU 17
The division candidate point di obtained in step 230 and 1 from that point di.
The division candidate point di
Point di+ one point after.
がY軸に沿う下方に位置するか否か判別する。ステップ
8231において肯定判断の時、C,PU17は分割候
補点diを通りY軸に平行な直線(X−dxi)と、閉
領域の輪郭線との交点の内、分割候補点diよりも下方
で且つ最も点diに近い点Pを求める(ステップ52B
2)。この場合は、例えば第11図に示された閉領域B
1が相当する。is located below along the Y axis. When an affirmative determination is made in step 8231, the C, PU 17 selects a point below the division candidate point di among the intersections between the straight line (X-dxi) passing through the division candidate point di and parallel to the Y axis and the outline of the closed region. Also, find the point P closest to the point di (step 52B
2). In this case, for example, the closed area B shown in FIG.
1 corresponds.
この閉領域B1は、線分「T下により2分割され、閉領
域B3+ B4に分割される。This closed area B1 is divided into two by the line segment "T", and is divided into closed areas B3+B4.
一方、前記ステップ8231において否定判断の場合、
CPUl7は、ステップ8235にて下アウトライン点
列のX値が減少から増大に変化する点dkを分割候補点
として求め、ステップ5236において、分割候補点d
kと、その点よりも1つ前の点dk−,とを通る直線よ
りも、点dkよりも1つ後の点dk+、がY軸に沿う上
方に位置するか否か判別する。このステップ8236に
おいて否定判断の場合、CPU17はステップ8230
に戻り、肯定判断の場合は分割候補点dkを通るY軸に
平行な直線(X−dxk)と、閉領域の輪郭線との交点
の内、分割候補点dkよりも下方で且つ点dkに最も近
い点qを求める。On the other hand, in the case of a negative determination in step 8231,
In step 8235, the CPU 17 determines the point dk at which the X value of the lower outline point sequence changes from decreasing to increasing as a division candidate point, and in step 5236, determines the division candidate point dk.
It is determined whether a point dk+, which is one point after the point dk, is located above the point dk-, which is one point before the point dk, along the Y axis than a straight line passing through the point k and the point dk-, which is one point before the point. In the case of a negative determination in this step 8236, the CPU 17
Returning to , in the case of an affirmative judgment, among the intersections between the straight line (X-dxk) parallel to the Y axis passing through the division candidate point dk and the outline of the closed region, below the division candidate point dk and at the point dk. Find the nearest point q.
このようにして、下アウトラインに対して、ステップ8
230〜8239によりあらゆる形状のものでも細分化
が行われる。In this way, for the bottom outline, step 8
230-8239, subdivision is performed even for objects of any shape.
つまり、ステップ5106〜SIIO、S200を繰返
すことにより、例えば閉領域Aoは閉領域A 1. A
2に分割され、閉領域B。は閉領域B2゜B3.B、
に分割される。That is, by repeating steps 5106 to SIIO and S200, for example, the closed area Ao is changed to the closed area A1. A
The closed region B is divided into two parts. is the closed region B2°B3. B,
divided into
閉領域の細分化が終了すると、CPU17は、求められ
た閉領域を全てCRT35に表示させ(ステップ511
4)、縫い順序決定ルーチン5115に進む。このルー
チン5115において、作業者は縫い順設窓モードキー
23を押圧した後にライトベン37を操作して表示され
た閉領域を指定し、閉領域毎の縫い順を作業メモリ43
に記憶させる。When the subdivision of the closed region is completed, the CPU 17 causes the CRT 35 to display all the obtained closed regions (step 511).
4) Proceed to the sewing order determination routine 5115. In this routine 5115, the operator presses the sewing order setting window mode key 23, operates the light bevel 37 to specify the displayed closed area, and stores the sewing order for each closed area in the work memory 43.
to be memorized.
この後、CPU17は、前記針位置データ作成フラグが
「1」か否か判別しくステップ5120と肯定判断の時
は針位置データ作成ルーチン(ステップ5122)に進
み、否定判断の時はブロックデータ作成ルーチン(ステ
ップS 124)に進む。Thereafter, the CPU 17 determines whether the needle position data creation flag is "1" or not (Step 5120); if the determination is affirmative, the CPU 17 proceeds to the needle position data creation routine (Step 5122); if the determination is negative, the CPU 17 proceeds to the block data creation routine. Proceed to (step S124).
この針位置データ作成ルーチンにおいて、CPU17は
、第5図及び第14図に示されているように、決定され
た縫い順に従って閉領域毎の輪郭点データを読出しくス
テップ300)、その輪郭点データからmin点及びm
ax点を求め(ステップ5301)、更に、そのmin
点からmax点に至る2つのアウトラインを上アウトラ
イン。In this needle position data creation routine, as shown in FIGS. 5 and 14, the CPU 17 reads the contour point data for each closed area according to the determined sewing order (step 300), and the contour point data to min point and m
Find the ax point (step 5301), and further find its min
Upper outline the two outlines from the point to the max point.
下アウトラインとして求める(ステップ5302)。The lower outline is obtained (step 5302).
この後、CPU17は、min点を通りY軸に平行な直
線V (X−Uxo)を設定するとともに、(ステップ
5303)、予め設定された縫目密度に応じた移動量α
ずつ該直線V (X−Uxq )をmax点に向けて平
行移動させる。この直線と、前記上アウトライン及び下
アウトラインとの交点を、min点からmax点までの
前記直線(X−Ux□)の平行移動の毎に求め、順次針
位置データとして作業メモリ43に記憶させる(ステッ
プ8304〜S 307)。このようにして、閉領域を
縫製するための針位置データが閉領域毎に作成される(
ステップ3308)。After that, the CPU 17 sets a straight line V (X-Uxo) passing through the min point and parallel to the Y axis (step 5303), and also sets a movement amount α according to the preset stitch density.
Then, the straight line V (X-Uxq) is moved in parallel toward the max point. The intersection points of this straight line with the upper outline and the lower outline are determined every time the straight line (X-Ux□) is moved in parallel from the min point to the max point, and are sequentially stored in the working memory 43 as needle position data ( Steps 8304-S307). In this way, needle position data for sewing closed areas is created for each closed area (
Step 3308).
次に、ブロックデータ作成ルーチン(ステップ5124
.第6図)について説明する。CPUl7は、作業メモ
リ43から縫い順に従って閉領域の輪郭点データを読出
しくステップ5350)、第15図に示されているよう
に、X成分が最小となる点Toをmin点とし、X成分
が最大となる点Tnをmax点として求め(ステップS
351)min点からmax点に至る2経路の一方を上
アウトライン点列Uo、 U+ T ・e *Ui、
e a aUnとして求め、他方を下アウトライン
点列ddm、・・・dnとして求める(ステップ535
2゜第16図参照)。Next, the block data creation routine (step 5124
.. Fig. 6) will be explained. The CPU 17 reads contour point data of the closed area from the working memory 43 in accordance with the sewing order (step 5350), and as shown in FIG. Find the maximum point Tn as the max point (step S
351) One of the two routes from the min point to the max point is the upper outline point sequence Uo, U+ T ・e *Ui,
e a aUn, and the other as the lower outline point sequence ddm,...dn (step 535
2゜See Figure 16).
この後、CPU17は、第17図に示されているように
、上アウトライン点列(Uo l U I +・・Ui
、・・・Un)の各点を通りY軸に平行な直線をそれぞ
れ設定し、各直線と下アウトラインとの交点を求め、そ
の交点を下アウトライン点列に加える(ステップS 3
53)。次に、CPU17は、第18図に示されている
ように、下アウトライ4ン点列(do r d m
、 ・・・dn)の各点を通り、Y軸に平行な直線を
それぞれ設定し、各直線と上アウトラインとの交点を求
め、その交点を上アウトライン点列に加える(ステップ
5354)。この時、上アウトライン点列のデータ数と
、下アウトライン点列のデータ数とは同じになる。After this, the CPU 17 executes the upper outline point sequence (Uo l U I +...Ui
, . . . Un) passing through each point parallel to the Y axis, find the intersection of each straight line with the lower outline, and add the intersection to the lower outline point sequence (Step S 3
53). Next, as shown in FIG.
, . . . dn) and parallel to the Y axis, find the intersection of each straight line with the upper outline, and add the intersection to the upper outline point sequence (step 5354). At this time, the number of data in the upper outline point sequence and the number of data in the lower outline point sequence become the same.
この後、CPU17は、第19図に示されているように
min点からmax点に至るまで、上アウトライン上の
点と、下アウトライン上の点とを、互いに同順のもの同
志を結んで多数のブロック00〜Gnを設定し、各ブロ
ックの頂点を表す上アウトライン上の点と、下アウトラ
イン上の点とを交互にブロックデータとして作業用メモ
リ43に記憶させる(ステップ8355〜3358)。After this, the CPU 17 connects the points on the upper outline and the points on the lower outline in a large number from the min point to the max point as shown in FIG. Blocks 00 to Gn are set, and points on the upper outline and points on the lower outline representing the vertices of each block are alternately stored as block data in the working memory 43 (steps 8355 to 3358).
例えば、ブロックGiのブロックデータは、点Ui→点
di−点ui+、→点di4−1となる。こうして、閉
領域が更に多数のブロックGO−Gnに分割され2、各
ブロックの頂点がブロックデータとして作成される。For example, the block data of block Gi becomes point Ui -> point di - point ui+, -> point di4-1. In this way, the closed region is further divided into a large number of blocks GO-Gn2, and the vertices of each block are created as block data.
前記針位置データ作成ルーチン(ステップ5122)が
終了した後、及び前記ブロックデータ作成ルーチン(ス
テップS 124)が終了した後、CPU17は針位置
データの場合はCRT35に縫目模様をシュミレーショ
ン表示させ、ブロックデータの場合はCRT35に全ブ
ロックを表示させ(ステップ5i2B)、キーボード1
8から訂正要求信号が、入力されたか否かを判別する(
ステップ5125)。訂正要求信号が入力された時は、
所定の訂正処理(ブロックデータの変更等)が行われ(
ステップ5126)、訂正要求がない時は、前記ブロッ
クデータ若しくは針位置データを前記ステップ8103
で演算された角度θに対して逆方向に角度θの回転変換
を行ってデータを、刺繍模様の輪郭データの座標系に変
換する(ステップ8127)。After the needle position data creation routine (step 5122) is completed, and after the block data creation routine (step S124) is completed, the CPU 17 causes the CRT 35 to display a simulation of the stitch pattern in the case of needle position data, and In the case of data, display all blocks on the CRT 35 (step 5i2B), and
8 to determine whether a correction request signal has been input (
Step 5125). When a correction request signal is input,
Predetermined correction processing (change of block data, etc.) is performed (
Step 5126), when there is no correction request, the block data or needle position data is transferred to step 8103.
A rotational transformation of the angle θ is performed in the opposite direction to the angle θ calculated in step 8127 to convert the data into the coordinate system of the contour data of the embroidery pattern.
この後、針糸コード選択ルーチン5128に移行し、分
割された閉領域毎の針棒番号が入力される。こうして、
閉領域毎に針糸コード、縫い順データ、針位置データ若
しくはブロックデータから構成される縫製データの作成
が終了する(縫製モード)
次に縫製モードについて第3図(C)を参照しながら説
明する。Thereafter, the process moves to the needle thread code selection routine 5128, and the needle bar number for each divided closed area is input. thus,
Creation of sewing data consisting of needle thread code, sewing order data, needle position data, or block data for each closed area is completed (sewing mode) Next, the sewing mode will be explained with reference to FIG. 3(C). .
CPU17は、縫製スタートスイッチ26のオンを待ち
(ステップ5150)、そのオンに応答して作業用メモ
リ43から縫製データを読出す。The CPU 17 waits for the sewing start switch 26 to be turned on (step 5150), and reads sewing data from the working memory 43 in response to the turning on.
その縫製データに含まれている針棒番号データを読出し
、その番号データに応じて針選択モータ8を駆動させ、
針棒選択が終了するとミシンモータ駆動信号を出力する
(ステップ5151. 5152.3153)。Reads the needle bar number data included in the sewing data, drives the needle selection motor 8 according to the number data,
When the needle bar selection is completed, a sewing machine motor drive signal is output (steps 5151, 5152, and 3153).
ミシンモータ駆動信号の出力の後、CPU17は針位置
データ作成フラグが「1」か否か判別しくステップ51
54)、肯定判断ならば針位置データを1針毎に読出し
て加工布送り装置15のX。After outputting the sewing machine motor drive signal, the CPU 17 determines whether the needle position data creation flag is "1" or not (step 51).
54) If the judgment is affirmative, the needle position data is read out for each stitch and the processing cloth feeding device 15 is moved to X.
・Yパルスモータを駆動制御して閉領域の刺繍縫製を終
了する(ステップS 155)。この時、ミシンモータ
9は停止されるとともに糸切りが行われ、次の閉領域の
縫製データがあるか否かを判別しくステップ5157)
、ある場合は前記ステップ5151に戻り、ない場合は
終了する。- The Y pulse motor is driven and controlled to finish the embroidery sewing of the closed area (step S155). At this time, the sewing machine motor 9 is stopped and the thread is trimmed, and it is determined whether there is sewing data for the next closed area (step 5157).
, if there is, the process returns to step 5151; otherwise, the process ends.
一方、前記ステップ5154において、針位置データ作
成フラグが「1」でない場合、ブロックデータが作成さ
れているので、CPU17は、ブロック毎にその頂点の
位置座標と、予め決定されていた縫目密度データとから
公知のように針位置データを演算して求め、1針毎に針
位置データに基づいて加工布送り装置15のX、 Yパ
ルスモータを駆動制御してブロック単位での刺繍縫製を
終了し、これを閉領域の刺繍が終了するまで行う(ステ
ップ5156)。この後は、前述と同様にして次の閉領
域の縫製データの有無を判別し、有りの場合は前記ステ
ップ5151に戻り、無しの場合は終了する。On the other hand, if the needle position data creation flag is not "1" in step 5154, block data has been created, so the CPU 17 calculates the position coordinates of the apex and the predetermined stitch density data for each block. The needle position data is calculated and determined from the above in a well-known manner, and the X and Y pulse motors of the workpiece cloth feeding device 15 are driven and controlled based on the needle position data for each stitch to complete the embroidery sewing in block units. , this is repeated until the embroidery of the closed area is completed (step 5156). Thereafter, the presence or absence of sewing data for the next closed area is determined in the same manner as described above, and if there is, the process returns to step 5151, and if not, the process ends.
尚、本発明は前述の実施例にのみ限定されるものではな
く、種々の変更が可能である。例えば、前記実施例にお
いては基準方向を刺繍模様の長辺方向と設定していたが
、短辺方向を設定してもよい。また、縫目形成方向は基
準方向に対し直交する方向に設定されていたが、直交方
向以外に設定する事も可能である。It should be noted that the present invention is not limited to the above-described embodiments, and various modifications are possible. For example, in the embodiment described above, the reference direction is set to be the long side direction of the embroidery pattern, but the reference direction may be set to the short side direction. Further, although the stitch forming direction is set perpendicular to the reference direction, it is also possible to set it in a direction other than the perpendicular direction.
この他に、前述の実施例では分割候補点の検索をX軸に
沿って閉領域のmin点からm a x点に向けて行っ
ていたが、逆に行うこともできる。In addition, in the above-mentioned embodiment, the search for division candidate points was performed from the min point to the max point of the closed area along the X axis, but the search can also be performed in the opposite direction.
また、前述の実施例では最初に任意形状の連続した輪郭
線で囲まれた閉領域の輪郭データを入力する際に、作業
者が点を指定する事により行っていたが、記録紙等に描
かれた原画を撮像手段により撮像し、その画像データか
ら輪郭データを抽出する自動化プログラムも採用するこ
とが可能である。In addition, in the above-mentioned embodiment, when first inputting contour data of a closed area surrounded by continuous contour lines of arbitrary shape, the operator specified points, but instead of It is also possible to employ an automated program that captures an original image with an imaging means and extracts contour data from the image data.
[発明の効果]
以上詳述したように、本発明は、第1の記憶手段に刺繍
模様の輪郭データを記憶させるだけで基準方向決定手段
が輪郭データから刺繍模様の長辺若しくは短辺方向を基
準方向として演算し、第1の演算手段が前記輪郭データ
及び基準方向データに基づき、刺繍模様(輪郭データに
より表される閉領域)を、基準方向に対し所定角度で交
差する区分線分で複数の閉領域に分割して分割された閉
領域の輪郭データを演算し、第2の演算手段が第1の演
算手段により演算された輪郭データ及び区切線分の延び
る方向に基づき、区切線分の延びる方向を縫目形成方向
として当該閉領域を刺繍縫いするための針位置データ若
しくは針位置に関連したデータを演算し、そのデータが
第2の記憶手段に記憶されるよ7うに構成されている。[Effects of the Invention] As described in detail above, the present invention allows the reference direction determining means to determine the long side or short side direction of the embroidery pattern from the contour data simply by storing the contour data of the embroidery pattern in the first storage means. Based on the contour data and the reference direction data, the first calculation means calculates the embroidery pattern (closed area represented by the contour data) using a plurality of line segments that intersect at a predetermined angle with respect to the reference direction. The second calculation means calculates the contour data of the divided closed area based on the contour data calculated by the first calculation means and the extending direction of the separation line segment. The needle position data or data related to the needle position for embroidering the closed area is calculated with the extending direction as the stitch forming direction, and the data is stored in the second storage means. .
従って、任意形状の1本の連続した輪郭線で囲まれた領
域(閉領域)の輪郭データを用意するだけで、閉領域の
長辺苦しく短辺方向に所定角度で交差する方向を縫目形
成方向とした刺繍縫いを行うための針位置データ若しく
は針位置に関連したデータを自動的に作成することがで
きるので、従来のデータ作成器におけるように、作業者
が針位置データの演算が可能な形状に閉領域を指定する
必要がなく、データ作成に要する時間を大幅に短縮し得
、非熟練者であっても容易にデータ作成が可能である利
点を有する。Therefore, by simply preparing the contour data of a region (closed region) surrounded by one continuous contour line of an arbitrary shape, seams can be formed in a direction that intersects the long side of the closed region at a predetermined angle with the short side direction. Since it is possible to automatically create needle position data or data related to needle position for performing embroidery stitches with a specific direction, it is possible for the operator to calculate the needle position data, unlike in conventional data generators. There is no need to specify a closed region in the shape, the time required for data creation can be significantly shortened, and even an unskilled person can easily create data.
第1図は本発明の一実施例を示し、その電気的構成を示
すブロック図、第2図は多針式刺繍ミシンを示す立体斜
視図、第3図(a)乃至第3図(c)は中央演算処理装
置(CPU)の主な動作を示すフローチャート、第4図
(a)及び第4図(b)は閉領域細分化サブルーチンを
示すフローチャート、第5図は針位置データ作成サブル
ーチンを示すフローチャート、第6図はブロックデータ
(針位置に関連したデータ)作成サブルーチンを示すフ
ローチャート、第7図は刺繍縫いすべき閉領域AOの輪
郭データを示す説明図、第8図及び第9図は閉領域Ao
の細分化の説明図、第10図及び第11図は刺繍縫いす
べき閉領域Boの細分化の説明図、第12図及び第13
図は刺繍縫いすべき閉領域C,の細分化の説明図、第1
4図は針位置データの作成を示す説明図、第15図乃至
第19図はブロックデータの作成を示す説明図である。
図中、5は針、15は送り装置、17は中央演算処理装
置、30はテレビカメラ、31はイメージセンサ、35
はCRT、37はライトベン、43は作業用メモリ、A
o (Bo、Co )は刺繍縫いすべき閉領域、AI
(A2等)は分割された閉領域、Wは被縫製物であ
る。Fig. 1 shows an embodiment of the present invention, and is a block diagram showing its electrical configuration, Fig. 2 is a three-dimensional perspective view showing a multi-needle embroidery sewing machine, and Figs. 3(a) to 3(c) 4(a) and 4(b) are flowcharts showing the closed region subroutine, and FIG. 5 shows the needle position data creation subroutine. Flowchart, FIG. 6 is a flowchart showing a block data (data related to needle position) creation subroutine, FIG. 7 is an explanatory diagram showing contour data of a closed area AO to be embroidered, and FIGS. 8 and 9 are closed Area Ao
FIGS. 10 and 11 are explanatory diagrams of the subdivision of the closed area Bo to be embroidered, and FIGS. 12 and 13 are
The figure is an explanatory diagram of the subdivision of the closed area C to be embroidered.
FIG. 4 is an explanatory diagram showing the creation of needle position data, and FIGS. 15 to 19 are explanatory diagrams showing the creation of block data. In the figure, 5 is a needle, 15 is a feeding device, 17 is a central processing unit, 30 is a television camera, 31 is an image sensor, 35
is a CRT, 37 is a light bench, 43 is a working memory, A
o (Bo, Co) is the closed area to be embroidered, AI
(A2, etc.) are divided closed regions, and W is a sewing object.
Claims (1)
対位置を示す針位置データ若しくは針位置に関連したデ
ータに基づき前記針と被縫製物との間に相対移動を発生
させ、被縫製物に刺繍模様を形成する刺繍ミシンのため
のデータ作成装置であって、 そのデータ作成装置は、 与えられた刺繍模様の輪郭(A_o、B_o、C_o)
を示す輪郭データを記憶するための第1の記憶手段(4
3)と、 前記輪郭データに基づき刺繍模様の、長辺方向若しくは
短辺方向を基準方向として演算する基準方向決定手段(
17、ステップS103等)と、前記輪郭データ及び基
準方向に基づき前記刺繍模様を前記基準方向に対し所定
角度で交差する区切線分で複数の閉領域に分割し、その
閉領域の輪郭を示す閉領域輪郭データを演算する第1の
演算手段(17、ステップS106〜S112、S20
0等)と、 前記閉領域輪郭データ及び前記区切線分の延びる方向に
基づき閉領域を刺繍縫いするための前記針位置データ若
しくは針位置に関連したデータを演算する第2の演算手
段(17、ステップS122、S124等)と、 その第2の演算手段により演算されたデータを記憶する
第2の記憶手段(43)と より構成されたことを特徴とする刺繍ミシンのためのデ
ータ作成装置。[Claims] 1. Based on needle position data indicating the relative position between the needle (5) that is moved up and down and the workpiece (W), or data related to the needle position, the needle and the workpiece (W) are determined This is a data creation device for an embroidery sewing machine that generates a relative movement between the two to form an embroidery pattern on a workpiece, and the data creation device generates relative movement between the outlines (A_o, B_o, C_o) of a given embroidery pattern.
first storage means (4) for storing contour data indicating the
3) and a reference direction determining means for calculating based on the contour data, with the long side direction or the short side direction of the embroidery pattern as the reference direction.
17, step S103, etc.), the embroidery pattern is divided into a plurality of closed regions by dividing lines that intersect at a predetermined angle with respect to the reference direction based on the outline data and the reference direction, and a closed region indicating the outline of the closed region is divided into a plurality of closed regions. First calculation means (17, steps S106 to S112, S20) for calculating area contour data
0, etc.), and a second calculation means (17, 1. A data creation device for an embroidery sewing machine, characterized in that it comprises steps S122, S124, etc.) and a second storage means (43) for storing data calculated by the second calculation means.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1136562A JPH0771590B2 (en) | 1989-05-30 | 1989-05-30 | Data creation device for embroidery sewing machine |
| US07/523,379 US5179520A (en) | 1989-05-30 | 1990-05-15 | Method of and apparatus for preparing sewing data for a multi-needle embroidery sewing machine |
| GB9011410A GB2242286A (en) | 1989-05-30 | 1990-05-22 | Sewing data preparation for embroidering machine |
| DE4017179A DE4017179C2 (en) | 1989-05-30 | 1990-05-29 | Method and device for preparing control data for a sewing embroidery machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1136562A JPH0771590B2 (en) | 1989-05-30 | 1989-05-30 | Data creation device for embroidery sewing machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH031893A true JPH031893A (en) | 1991-01-08 |
| JPH0771590B2 JPH0771590B2 (en) | 1995-08-02 |
Family
ID=15178145
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1136562A Expired - Lifetime JPH0771590B2 (en) | 1989-05-30 | 1989-05-30 | Data creation device for embroidery sewing machine |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US5179520A (en) |
| JP (1) | JPH0771590B2 (en) |
| DE (1) | DE4017179C2 (en) |
| GB (1) | GB2242286A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5576968A (en) * | 1994-05-31 | 1996-11-19 | Brother Kogyo Kabushiki Kaisha | Embroidery data creating system for embroidery machine |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2880306B2 (en) * | 1991-02-22 | 1999-04-05 | 蛇の目ミシン工業株式会社 | Embroidery data creation device |
| JPH0813317B2 (en) * | 1991-07-16 | 1996-02-14 | ブラザー工業株式会社 | Embroidery data processing device |
| JPH07136361A (en) * | 1993-11-18 | 1995-05-30 | Brother Ind Ltd | Embroidery data creation device |
| US5458075A (en) * | 1994-09-15 | 1995-10-17 | Tice Engineering And Sales, Inc. | Electronically geared sewing machine |
| US5839382A (en) * | 1994-09-15 | 1998-11-24 | Tice Engineering And Sales, Inc. | Electronically geared sewing machine |
| JPH08141244A (en) * | 1994-11-22 | 1996-06-04 | Brother Ind Ltd | Embroidery data creation device |
| JP3908804B2 (en) * | 1995-09-01 | 2007-04-25 | ブラザー工業株式会社 | Embroidery data processing device |
| JP3760541B2 (en) * | 1996-12-27 | 2006-03-29 | ブラザー工業株式会社 | Embroidery data processing device |
| DE19938712C2 (en) * | 1999-08-14 | 2002-07-11 | Titv Greiz | Process for the production of graphical information for the blind and visually impaired |
| US7426302B2 (en) * | 2003-11-28 | 2008-09-16 | John Amico | System and method for digitizing a pattern |
| US9574292B2 (en) * | 2014-03-24 | 2017-02-21 | L&P Property Management Company | Method of dynamically changing stitch density for optimal quilter throughput |
| KR101743997B1 (en) * | 2016-05-26 | 2017-06-07 | 주식회사 비오지엠 | Pattern Sewing machine Controlled automatically and the Method for Controlling thereof |
| US11762370B2 (en) * | 2019-06-15 | 2023-09-19 | Clemson University Research Foundation | Precision control through stitching for material properties of textiles |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE2157215B2 (en) * | 1970-11-19 | 1977-08-25 | Ricamatic International srl, Mailand (Italien) | METHOD AND DEVICE FOR MANUFACTURING AN INFORMATION CARRIER FOR CONTROLLING AN EMBROIDERY MACHINE |
| CH652770A5 (en) * | 1980-10-03 | 1985-11-29 | Semcos Ag St Gallen | METHOD AND DEVICE FOR PRODUCING AN INFORMATION CARRIER FOR CONTROLLING AN EMBROIDERY MACHINE. |
| JPS58198375A (en) * | 1982-05-17 | 1983-11-18 | ジューキ株式会社 | Indication of embroidering stitch in data input apparatus of embroidering machine |
| JPS58198371A (en) * | 1982-05-17 | 1983-11-18 | ジューキ株式会社 | Fabrication of data of embroidering machine |
| JPS63113672A (en) * | 1986-10-31 | 1988-05-18 | Janome Sewing Mach Co Ltd | Data input device with editing function |
| US4849902A (en) * | 1986-11-21 | 1989-07-18 | Brother Kogyo Kabushiki Kaisha | Stitch data processing apparatus for embroidery sewing machine |
| JP2523346B2 (en) * | 1988-02-26 | 1996-08-07 | 蛇の目ミシン工業株式会社 | Automatic device for creating embroidery data for computer embroidery machines |
-
1989
- 1989-05-30 JP JP1136562A patent/JPH0771590B2/en not_active Expired - Lifetime
-
1990
- 1990-05-15 US US07/523,379 patent/US5179520A/en not_active Expired - Lifetime
- 1990-05-22 GB GB9011410A patent/GB2242286A/en not_active Withdrawn
- 1990-05-29 DE DE4017179A patent/DE4017179C2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5576968A (en) * | 1994-05-31 | 1996-11-19 | Brother Kogyo Kabushiki Kaisha | Embroidery data creating system for embroidery machine |
Also Published As
| Publication number | Publication date |
|---|---|
| DE4017179A1 (en) | 1990-12-06 |
| DE4017179C2 (en) | 1997-11-27 |
| US5179520A (en) | 1993-01-12 |
| JPH0771590B2 (en) | 1995-08-02 |
| GB2242286A (en) | 1991-09-25 |
| GB9011410D0 (en) | 1990-07-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2754730B2 (en) | Embroidery ▼ Data creation device for sewing machine | |
| JP2503655B2 (en) | Data creation device for embroidery sewing machine | |
| JPH031893A (en) | Data creation device for embroidery sewing machine | |
| US5592891A (en) | Embroidery data processing apparatus and process of producing an embroidery product | |
| US5151863A (en) | Embroidery pattern data processor having a sewing order designation mechanism | |
| KR930008388B1 (en) | Sewing machine for sewing data | |
| US5283747A (en) | Embroidery pattern data processor | |
| JP3332276B2 (en) | Embroidery data creation device | |
| JPH0515668A (en) | Embroidery data processing device | |
| JP2940230B2 (en) | Embroidery data creation device | |
| JP2982833B2 (en) | Embroidery data processing device for embroidery sewing machine | |
| JP2884844B2 (en) | Data processing device for embroidery sewing machine | |
| JP3580861B2 (en) | Pattern input device that adds a frame to a pattern | |
| JP2797432B2 (en) | Sewing data creation device for embroidery sewing machine | |
| JP3505750B2 (en) | Embroidery data creation device | |
| JP2779009B2 (en) | Embroidery frame selection support device | |
| JPH09137360A (en) | Embroidery data processing device | |
| JP2884833B2 (en) | Embroidery sewing machine data processor | |
| JPH05146573A (en) | Data processing device for embroidery sewing machine | |
| JPH01170494A (en) | Preparation of line drawing embroidery data for computer embroidary machine | |
| JPS63132690A (en) | Needle position data processing device for embroidery sewing machine | |
| JPS63139586A (en) | Needle position data processing device for embroidery sewing machine | |
| JPH06102115B2 (en) | Underlay data creation device for embroidery sewing machine | |
| JPH09188956A (en) | Sewing data processing device | |
| JP2000061182A (en) | Sewing data processing method, sewing data processing device and recording medium for sewing data processing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080802 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090802 Year of fee payment: 14 |
|
| EXPY | Cancellation because of completion of term |