DRAWING DEVICE
20230001706 · 2023-01-05
Inventors
Cpc classification
International classification
Abstract
A drawing device for drawing an object on a workpiece using a pen includes a holder, a movement portion to move the holder, a rotation portion to rotate the holder, and a memory storing, for each of a plurality of line segments configuring the object, drawing data relating to a position and a length of the line segment, and angle data relating to a rotation angle of the holder. The drawing device acquires the drawing data and the angle data of a preceding line segment from the memory, rotates the rotation portion in accordance with the angle data, and draws the object by controlling the movement portion in accordance with the drawing data. The drawing device acquires the drawing data and the angle data of a subsequent line segment continuously subsequent to the preceding line segment, rotates, and draws the object in the same manner as the preceding line segment.
Claims
1. A drawing device that draws an object on a workpiece using a pen, the drawing device comprising: a holder configured to hold the pen; a first movement portion configured to move the holder and the workpiece relative to each other in an X direction and a Y direction that are mutually orthogonal; a rotation portion configured to rotate the holder around a rotational axis parallel to a Z direction orthogonal to the X direction and the Y direction; a processor; and a memory storing, for each of a plurality of line segments configuring the object, drawing data relating to a position of the line segment and to a length of the line segment, and angle data relating to a rotation angle of the holder, the rotation angle corresponding to a line width of the line segment, and the memory storing computer-readable instructions that, when executed by the processor, cause the processor to perform processes comprising: first acquiring of acquiring, from the memory, the drawing data and the angle data of a preceding line segment; first rotating of rotating the rotation portion, in accordance with the angle data of the preceding line segment acquired by the first acquiring; first drawing of controlling the first movement portion to draw on the workpiece using the pen, in accordance with the drawing data of the preceding line segment acquired by the first acquiring; second acquiring of acquiring, from the memory, the drawing data and angle data of a subsequent line segment continuously subsequent to the preceding line segment; second rotating of rotating the rotation portion in accordance with the angle data of the subsequent line segment acquired by the second acquiring; and second drawing of controlling the first movement portion to draw on the workpiece using the pen, in accordance with the drawing data of the subsequent line segment acquired by the second acquiring.
2. The drawing device according to claim 1, wherein the computer-readable instructions instruct the processor to perform the first drawing after the first rotating, and to perform the second drawing after the second rotating.
3. The drawing device according to claim 1, further comprising: a second movement portion coupled to the holder, and configured to move the holder in the Z direction, wherein when, after the first drawing, the rotation angle corresponding to the line width of the preceding line segment and the rotation angle corresponding to the line width of the subsequent line segment are different to each other, the computer-readable instructions instruct the processor to control the second movement portion, before the second rotating, to perform separating of displacing the holder to a separated position at which the pen and the workpiece are separated from each other.
4. The drawing device according to claim 3, wherein the computer-readable instructions further instruct the processor to perform a process comprising: third acquiring of acquiring an angle value that changes the rotation angle of the holder from the rotation angle corresponding to the line width of the preceding line segment to the rotation angle corresponding to the line width of the subsequent line segment, and when the rotation angle corresponding to the line width of the preceding line segment and the rotation angle corresponding to the line width of the subsequent line segment are different to each other, the computer-readable instructions instruct the processor to perform the second rotating after the separating, when the angle value is larger than an angle threshold value, and perform the second rotating without performing the separating, when the angle value is equal to or less than the angle threshold value.
5. The drawing device according to claim 1, wherein the angle data of the line segment includes a first rotation angle and a second rotation angle, which are the rotation angles of the holder at two specific positions separated from each other on the line segment, the first drawing and the second drawing respectively include rotating drawing and fixed drawing, the rotating drawing controlling the first movement portion while controlling the rotation portion to rotate the holder, and the fixed drawing controlling the first movement portion without rotating the holder, and the computer-readable instructions instruct the processor to perform the rotating drawing when the first rotation angle and the second rotation angle are different to each other, and perform the fixed drawing when the first rotation angle and the second rotation angle are the same as each other.
6. The drawing device according to claim 5, wherein the computer-readable instructions further instruct the processor to perform processes comprising: first calculating of calculating a position of a division point dividing the line segment into a plurality of portions; and second calculating of calculating a division angle dividing an angle between the first rotation angle and the second rotation angle into a plurality of sections, the drawing data of the line segment includes a position of a start point and a position of an end point on the line segment, as the two specific positions separated from each other on the line segment, the first rotation angle is the rotation angle of the holder at the start point, the second rotation angle is the rotation angle of the holder at the end point, the rotating drawing includes first rotating drawing and second rotating drawing, the first rotating drawing controlling the first movement portion while controlling the rotation portion to rotate the holder, in accordance with the position of the start point, the position of the end point, the first rotation angle, the second rotation angle, the position of the division point, and the division angle, and the second drawing controlling the first movement portion while controlling the rotation portion to rotate the holder, in accordance with the position of the start point, the position of the end point, the first rotation angle, the second rotation angle, and the position of the division point, and the computer-readable instructions instruct the processor to perform the first calculating, the second calculating and the first rotating drawing, without performing the second rotating drawing, when the length of the line segment is larger than a length threshold value, and perform the first calculating and the second rotating drawing, without performing the first rotating drawing, when the length of the line segment is equal to or less than the length threshold value.
7. The drawing device according to claim 6, wherein when the length of the line segment is larger than the length threshold value, the first calculating calculates a position of a first division point, a position of a second division point, and a position of a third division point, the first division point being a point dividing the line segment at a midpoint between the position of the start point and the position of the end point, the second division point being a point dividing the line segment at a midpoint between the position of the start point and the position of the first division point, and the third division point being a point dividing the line segment at a midpoint between the position of the first division point and the position of the end point, and the second calculating calculates a first division angle and a second division angle, by dividing the angle between the first rotation angle and the second rotation angle into the plurality of sections, the first division angle being an angle of the line segment from the position of the second division point to the position of the first division point, and the second division angle being an angle of the line segment from the position of the first division point to the position of the third division point, and the first rotating drawing includes moving the holder relative to the workpiece from the position of the start point to the position of the second division point, while fixing the holder at the first rotation angle, changing, at the position of the second division point, the rotation angle of the holder from the first rotation angle to the first division angle, moving the holder relative to the workpiece from the position of the second division point to the position of the first division point, while fixing the holder at the first division angle, changing, at the position of the first division point, the rotation angle of the holder from the first division angle to the second division angle, moving the holder relative to the workpiece from the position of the first division point to the position of the third division point, while fixing the holder at the second division angle, changing, at the position of the third division point, the rotation angle of the holder from the second division angle to the second rotation angle, and moving the holder relative to the workpiece from the position of the third division point to the position of the end point, while fixing the holder at the second rotation angle, and when the length of the line segment is equal to or less than the length threshold value, the first calculating calculates the position of the first division point, the first division point being the point dividing the line segment at the midpoint between the position of the start point and the position of the end point, and the second rotating drawing includes moving the holder relative to the workpiece from the position of the start point to the position of the first division point, while fixing the holder at the first rotation angle, changing, at the first division point, the rotation angle of the holder from the first rotation angle to the second rotation angle, and moving the holder relative to the workpiece from the position of the first division point to the position of the end point, while fixing the holder at the second rotation angle.
8. The drawing device according to claim 1, wherein the angle data includes a rotation direction in which the holder is to be rotated, and the rotation angle of the holder, and the first rotating and the second rotating include rotating the rotation portion in accordance with the rotation direction and the rotation angle of the angle data.
9. The drawing device according to claim 1, wherein the drawing data includes coordinates of a start point and coordinates of an end point per line segment, and as the rotation angle of the holder, the angle data is configured by rotation angle positions set using an origin point as a reference, and includes the rotation angle position of the holder at the start point of the line segment, and the rotation angle position of the holder at the end point of the line segment.
Description
[0007] According to the above-described drawing device, since the rotation portion rotates the holder in accordance with the angle data of the line segment, the pen held by the holder can perform the rotation per line segment while drawing the single object. In other words, compared to a case in which the pen is not rotated while drawing the single object, the line width of the drawn object changes per line segment, and a power of expression of the drawn object is improved.
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
EMBODIMENTS
[0021] Hereinafter, a drawing device 1A that is an embodiment of the present disclosure will be described with reference to the drawings.
[0022] Mechanical Configuration of Drawing Device 1A
[0023] The mechanical configuration of the drawing device 1A will be described with reference to
[0024] The drawing device 1A is provided with a main body cover 9, a holder 10, a platen 3, a conveyance portion 7, a head 5, a movement portion 8, and an operation portion 50.
[0025] The main body cover 9 is a rectangular cuboid housing that is long in the left-right direction. An opening 91, a cover 92, and the operation portion 50 are provided at the main body cover 9. The opening 91 is an opening provided in a front surface portion of the main body cover 9. The cover 92 is a plate-shaped member that is long in the left-right direction. The lower end of the cover 92 is rotatably supported by the main body cover 9.
[0026] The holder 10 is a rectangular mat. An adhesive is applied to the upper surface of the holder 10 so as to hold the workpiece 20.
[0027] The platen 3 is provided inside the main body cover 9. The platen 3 receives the lower surface of the holder 10, the holder 10 holding the workpiece 20 can be placed thereon. The holder 10 is placed on the platen 3 in the state in which the opening 91 is open.
[0028] The conveyance portion 7 is configured to be able to convey the holder 10 set on the platen 3, in the front-rear direction (hereinafter also referred to as a Y direction) of the drawing device 1A. In other words, the conveyance portion 7 conveys the workpiece 20 held by the holder 10, in the front-rear direction. The conveyance portion 7 is provided with a drive roller 12, a pinch roller 13, an attachment frame 14, and a Y-axis motor 15. A pair of side wall portions 111 and 112 are disposed so as to face each other inside the main body cover 9. The side wall portion 111 is positioned to the left of the platen 3. The side wall portion 112 is positioned to the right of the platen 3. The drive roller 12 and the pinch roller 13 are rotatably supported between the side wall portions 111 and 112. The drive roller 12 and the pinch roller 13 extends in the left-right direction (hereinafter also referred to as an X direction) of the drawing device 1A, and are disposed so as to be aligned with each other in the up-down direction. A roller portion that is not shown in the drawings is disposed at a left portion of the pinch roller 13, and a roller portion 131 is disposed at a right portion of the pinch roller 13. The attachment frame 14 is fixed to the right surface of the side wall portion 112. The Y-axis motor 15 is fixed to the attachment frame 14. A drive gear that is not shown in the drawings is fixed to an output shaft of the Y-axis motor 15. The drive gear meshes with a driven gear fixed to a leading end of a right end portion of the drive roller 12.
[0029] The head 5 is provided with a carriage 19, an up-down drive portion 33, and a rotation portion 36 shown in
[0030] The movement portion 8 is configured to be able to move the head 5 in the X direction that is the left-right direction. The movement portion 8 is provided with an upper and lower pair of guide rails 21 and 22, an attachment frame 24, an X-axis motor 25, a drive gear 27, a driven gear 29, and a transmission mechanism 30. The guide rails 21 and 22 are fixed between the side wall portions 111 and 112. The guide rails 21 and 22 are positioned to the rear and above the pinch roller 13. The guide rails 21 and 22 are disposed in parallel to the pinch roller 13 and extend in the left-right direction. The carriage 19 of the head 5 is supported by the guide rails 21 and 22 so as to be able to move in the X direction along the guide rails 21 and 22. The attachment frame 24 is fixed to the left surface of the side wall portion 111. The X-axis motor 25 is attached, so as to be oriented downward, to the rear of the attachment frame 24. The drive gear 27 is fixed to an output shaft of the X-axis motor 25. The driven gear 29 meshes with the drive gear 27. The transmission mechanism 30 is provided with a left and right pair of timing pulleys that are not shown in the drawings, and a timing belt. A timing pulley 28 that is one of the left and right pair of timing pulleys, is fixed to the attachment frame 24 so as to be able to rotate integrally with the driven gear 29. The other of the timing pulleys that is not shown in the drawings is supported by the attachment frame 14. The timing belt that is not shown in the drawings has an endless belt shape that is stretched over the right and left pair of timing pulleys, and extends in the X direction. The timing belt is coupled to the carriage 19.
[0031] The operation portion 50 is provided with a liquid crystal display (LCD) 51, a plurality of operation switches 52, and a touch panel 53. The touch panel 53 is disposed at the surface of the LCD 51.
[0032] Electrical Configuration of Drawing Device 1A
[0033] The electrical configuration of the drawing device 1A will be described with reference to
[0034] A flash memory 74, the operation switches 52, the touch panel 53, the LCD 51, and drive circuits 77 to 80 are connected to the I/O interface 75. The flash memory 74 is a non-volatile storage element that stores various parameters, a data table 740 to be described later, and the like. The drive circuits 77 to 80 respectively drive the Y-axis motor 15, the X-axis motor 25, the Z-axis motor 34, and the rotation motor 38. The conveyance portion 7, the movement portion 8, the up-down drive portion 33, and the rotation portion 36 are respectively operated by the driving of each of these motors.
[0035] Images including various items, such as commands, illustrations, setting value, messages, and the like, are displayed on the LCD 51. Software buttons are displayed on the LCD 51 with which it is possible to select the character, symbol, or pattern, set various parameters, perform inputs, and the like. The touch panel 53 detects a pressed position that is pressed by one of a finger of the user or a stylus pen. In accordance with the pressed position detected by the touch panel 53, the controller 71 recognizes which of the items is to be selected or not.
[0036] A detection portion 82 is connected to the Y-axis motor 15 and the drive circuit 77. The detection portion 82 detects a conveyance position of the workpiece 20 and the holder 10 that are conveyed in the Y direction, which is the front-rear direction, by the driving of the Y-axis motor 15 by the conveyance portion 7. An origin position that is set in advance is prescribed to be zero, and the conveyance position is represented by an absolute value that is a distance from that origin point. The drive circuit 77 drives the Y-axis motor 15 in accordance with a conveyance position command from the controller 71, and a detection signal from the detection portion 82.
[0037] A detection portion 83 is connected to the X-axis motor 25 and the drive circuit 78. The detection portion 83 detects a movement position of the cartridge 4 and the head 5 that are conveyed in the X direction, which is the left-right direction, by the driving of the X-axis motor 25 by the movement portion 8. An origin position that is set in advance is prescribed to be zero, and the movement position is represented by an absolute value that is a distance from that origin point. The drive circuit 78 drives the X-axis motor 25 in accordance with a movement position command from the controller 71, and a detection signal from the detection portion 83.
[0038] A detection portion 84 is connected to the Z-axis motor 34 and the drive circuit 79. The detection portion 84 detects that the carriage 19 and the cartridge 4 are moved to a lowered position or a raised position by the driving of the Z-axis motor 34. The lowered position is a position at which the pen P held by the cartridge 4 and the workpiece 20 are in contact with each other. The raised position is a position at which the pen P held by the cartridge 4 and the workpiece 20 are separated from each other. The drive circuit 79 drives the Z-axis motor 34 in accordance with a lowered/raised position command from the controller 71, and a detection signal from the detection portion 84.
[0039] A detection portion 85 is connected to the rotation motor 38 and the drive circuit 80. The detection portion 85 detects a rotation angle position to which the cartridge 4 is rotated by the driving of the rotation motor 38, where the rotational axis thereof is the center line M, which is parallel to the up-down direction, of the cartridge 4. An origin position that is set in advance is prescribed to be zero degrees, and the rotation angle position is represented by an absolute value that is a rotation angle rotated from that origin position. The drive circuit 80 drives the rotation motor 38 in accordance with a rotation angle position command from the controller 71, and a detection signal from the detection portion 85.
[0040] Data Table 740
[0041] A plurality of data tables are stored in the flash memory 74. Of the plurality of data tables, the data table 740 shown in
[0042] The type data is data indicating an object type, a font type, and an object code. The object type indicates whether the object to be drawn is a character, a symbol, or a pattern. The font type indicates a font of the character, only when the object type is the character. When the object type is the type other than the character, a code is stored, as the font type, indicating that the font is not to be specified. The object code indicates a code representing each of the objects. When the object type is the character, as the object code, a code is stored in the data table representing each of the characters in the hiragana alphabet, the katakana alphabet, numerals, the roman alphabet, and the like. The data table 740 indicates stored content when the object type, the font type, and the object code are respectively set to “Character,” “Italic,” and “A.” As the object code in the data table 740 shown in
[0043] The line segment number data indicates the number of line segments included in the object. In the data table 740, the line segment number data indicates that the character “A” includes four line segments L1 to L4.
[0044] The line segment data is set for each of the line segments included in the object. The line segment data include angle data and drawing data.
[0045] The angle data is data representing a rotation direction, a start angle position, and an end angle position. The rotation direction indicates whether to rotate the cartridge 4 and the pen P in a rightward rotation (a clockwise rotation) or in a leftward rotation (a counter-clockwise rotation), when the workpiece 20 is viewed from above the carriage 19 and the cartridge 4 in
[0046] The drawing data is data representing a vertical position, start coordinates, and end coordinates. The vertical position indicates whether the pen P has been moved to the raised position, or whether the pen P has been moved to the lowered position. In the data table 740 shown in
[0047] Operations of Drawing Device 1A
[0048] Operations by which the drawing device 1A draws the object on the workpiece 20 will be described with reference to
[0049] Drawing Mode Processing
[0050] The drawing mode processing will be described with reference to
[0051] As shown in
[0052] When it is determined that the software button of the object has been selected (yes at S1), the controller 71 stores, in the RAM 73, the ID of the object corresponding to the selected software button (S2).
[0053] When the ID of the object is stored, from among the plurality of data tables stored in the flash memory 74, the controller 71 acquires the data table 740 corresponding to the stored ID of the object, and stores the acquired data table 740 in the RAM 73 (S3).
[0054] When the data table 740 is stored, the controller 71 displays, on the LCD 51, a relative position of the selected object with respect to the workpiece 20, as a preview image (S4). At the same time as displaying the preview image of the relative position, the controller 71 displays, on the LCD 51, a software button for starting the drawing of the object. When causing the drawing of the preview image displayed on the LCD 51 to be performed, the user presses the drawing start software button.
[0055] When the preview image and the drawing start software button are displayed, the controller 71 determines whether or not the drawing start software button has been pressed within a predetermined time period (S5). When it is determined that the drawing start software button has not been pressed within the predetermined time period (no at S5), the controller 71 returns the processing to S1.
[0056] When it is determined that the drawing start software button has been pressed (yes at S5), the controller 71 performs cartridge movement processing (S6) to be described later, and causes the selected object to be drawn on the workpiece 20.
[0057] When the cartridge movement processing (S6) is complete, the drawing mode processing ends.
[0058] Cartridge Movement Processing
[0059] The cartridge movement processing will be described in detail with reference to
[0060] When the line segment data is acquired, the controller 71 drives the Z-axis motor 34 and moves the mount portion 32, the cartridge 4, and the pen P to the raised position (S12).
[0061] When the mount portion 32, the cartridge 4, and the pen P are moved to the raised position, the controller 71 drives the rotation motor 38 and rotates the cartridge 4 and the pen P such that the pen P is disposed at the start angle position of 45° in the line segment data of the line segment L1 (S13). When rotating the pen P, the pen P is rotated in the rightward rotation, which is the rotation direction specified by the line segment data of the line segment L1, and the pen P is disposed at the start angle position.
[0062] When the pen P is disposed at the start angle position of the line segment L1, the controller 71 performs drawing processing to be described later (S14).
[0063] When the drawing processing is complete, the controller 71 determines whether or not the line segment data of the line segment L2 to be drawn next is present in the data table 740 stored in the RAM 73 (S15).
[0064] When it is determined that the line segment data of the line segment L2 to be drawn next is present (yes at S15), the controller 71 acquires, from the data table 740 stored in the RAM 73, the next line segment data of the line segment L2 (step S16).
[0065] When the next line segment data of the line segment L2 is acquired, the controller 71 determines whether or not the end angle position of 45° in the line segment data of the preceding line segment L1 and the start angle position of 45° in the line segment data of the next line segment L2 match each other (step S17).
[0066] When it is determined that the end angle position of the preceding line segment L1 and the start angle position of the next line segment L2 match each other (yes at S17), the controller 71 performs the drawing processing, to be described later, such that the next line segment L2 is drawn (step S14).
[0067] When it is determined that the end angle position of the preceding line segment and the start angle position of the next line segment do not match each other (no at S17), the controller 71 calculates an angle difference between the end angle position of the preceding line segment and the start angle position of the next line segment, and stores the calculated angle difference in the RAM 73 (step S18). Here, the angle difference will also be referred to as an angle value. In
[0068] When the angle difference is stored, the controller 71 determines whether or not the angle difference is larger than a preset angle threshold value (step S19). The angle threshold value is set such that, when the pen P is rotated in the state in which the pen tip Ps of the pen P and the workpiece 20 are in contact with each other, the angle threshold value is a maximum angle at which it is possible to suppress the ink of the pen P from seeping into the workpiece 20, a maximum angle at which it is possible to suppress the workpiece 20 from becoming damaged due to friction between the pen tip Ps and the workpiece 20, or a maximum angle at which it is possible to suppress the occurrence of an accumulation of ink on the workpiece 20. The angle threshold value is stored in the flash memory 74.
[0069] When it is determined that the angle difference is larger than the angle threshold value (yes at S19), the controller 71 advances the processing to S12, and moves the pen P to the raised position. When it is determined that the angle difference is equal to or less than the angle threshold value (no at S19), the controller 71 advances the processing to S13, and rotates the pen P to the start angle position of the next line segment.
[0070] When it is determined that the line segment data of the next line segment is not present (no at S15), in a similar manner to the processing at S12, the controller 71 drives the Z-axis motor 34 and moves the cartridge 4 and the pen P to the raised position (step S20). In
[0071] When the pen P is moved to the raised position, the controller 71 ends the cartridge movement processing, and returns the processing to the drawing mode processing.
[0072] Drawing Processing
[0073] The drawing processing will be described in detail with reference to
[0074] When it is determined that the vertical position is “Down” (yes at S31), the controller 71 drives the Z-axis motor 34 and moves the cartridge 4 and the pen P to the lowered position (step S32). In the case of the line segment L1 shown in
[0075] When the pen P is moved to the lowered position, the controller 71 determines whether or not the start angle position and the end angle position of the line segment to be drawn match each other (S33). For example, in the case of the line segment L1 shown in
[0076] When it is determined that the start angle position and the end angle position match each other (yes at S33), the controller 71 drives the Y-axis motor 15 and the X-axis motor 25, and relatively moves the pen P and the workpiece 20 (S34). In other words, the drawing device 1A draws the line segment on the workpiece 20. For example, the line segments L1, L2, and L4 shown in
[0077] When it is determined that the vertical position is not “Down” (no at S31), that is, that the vertical position is “Up,” the controller 71 drives the Z-axis motor 34 and moves the cartridge 4 and the pen P to the raised position (S35). In the case of the line segment L3 shown in
[0078] When the pen P is moved to the raised position, in a similar manner to the processing at S34, the controller 71 drives the Y-axis motor 15 and the X-axis motor 25 and relatively moves the pen P and the workpiece 20 (S36). For example, the line segment L3 shown in
[0079] When it is determined that the start angle position and the end angle position do not match each other (no at S33), the controller 71 calculates division coordinates between the start coordinates and the end coordinates of the line segment, and stores the division coordinates in the RAM 73 (S37). In the data table 740 shown in
x.sub.3=(x.sub.1+x.sub.2)/2 (1)
y.sub.3=(y.sub.1+y.sub.2)/2 (2)
[0080] When the division coordinates are stored, the controller 71 calculates a length L.sub.A of a line segment portion specified by the start coordinates and the division coordinates, and stores the length L.sub.A in the RAM 73 (S38). In other words, as shown in
L.sub.A={(x.sub.3−x.sub.1).sup.2+(y.sub.3−y.sub.1).sup.2}.sup.1/2 (3)
[0081] When the length L.sub.A is stored, the controller 71 determines whether or not the length L.sub.A of the line segment portion specified by the start coordinates and the division coordinates is larger than a length threshold value (S39). The length threshold value of the line segment portion is a maximum length with which it is possible for a person to visually recognize that a contour of the drawn line segment L5 changes smoothly, as shown in
[0082] When it is determined that the length L.sub.A is larger than the length threshold value (yes at S39), the controller 71 calculates the division angle positions R.sub.3 and R.sub.4 between the start angle position and the end angle position of the line segment, and stores the division angle positions R.sub.3 and R.sub.4 in the RAM 73 (S40). In other words, as shown in
R.sub.3=R.sub.1−(R.sub.1−R.sub.2)/3=(2R.sub.1+R.sub.2)/3 (4)
R.sub.4=R.sub.3−(R.sub.1−R.sub.2)/3=(R.sub.1+2R.sub.2)/3 (5)
[0083] When the division angle positions R.sub.3 and R.sub.4 are stored, the controller 71 returns the processing to S37 and performs processing at S37 to S39.
[0084] When the length L.sub.A of the line segment portion in the line segment L5 is larger than the length threshold value, as shown in
[0085] When it is determined that the length L.sub.B is larger than the length threshold value (yes at S39), the controller 71 once more performs the processing at S40, and at S37 to S39. In other words, as shown in
[0086] When it is determined that the length L.sub.C is larger than the length threshold value (yes at S39), the controller 71 once more performs the processing at S40, and at S37 to S39. When the processing at S40 and at S37 to S39 is repeated N times (N is an integer of two or more), at S40, the division angle positions are calculated so as to divide the angle between the start angle position R.sub.1 and the end angle position R.sub.2 into (2.sup.N−1) sections. At S37, the division coordinates are calculated so as to divide the line segment between the start point P.sub.1 and the end point P.sub.2 into 2.sup.N equal portions. At S38, a length between the start point P.sub.1 and the division point closest to the start point P.sub.1 is calculated. At S39, it is determined whether or not that length is larger than the length threshold value.
[0087] When it is determined that the calculated length is not larger than the length threshold value (no at S39), that is, when it is determined that the calculated length is equal to or less than the threshold value, while rotating the pen P on the division coordinates, the controller 71 drives the Y-axis motor 15 and the X-axis motor 25 and relatively moves the pen P and the workpiece 20 (S41). An example will be described in which the line segment L5 is drawn via the division points P.sub.3 to P.sub.9 and the division angle positions R.sub.5 to R.sub.10 shown in
[0088] When the pen P and the workpiece 20 are moved relative to each other by the processing at S34, S36, or S41, the controller 71 ends the drawing processing at S14, and returns the processing to the cartridge movement processing at S6.
[0089] Drawing of Object Using Calligraphy
[0090] In the description of the above-described drawing mode processing, a case is described in which the character “A” is drawn using the italic font, using the data table 740 shown in
Effects of Present Embodiment
[0091] When the end angle position of the preceding line segment and the start angle position of the next line segment differ from each other, by the processing at S13 and S17, the pen P is rotated per line segment. Thus, compared to a case in which a pen is not rotated during the drawing of a single object, the line width of the drawn object changes, and a power of expression of the drawn object is improved.
[0092] When the angle difference is larger than the angle threshold value, by the processing at S19 and S12, the pen P is rotated in the state in which the pen P and the workpiece 20 are separated from each other, and thus, it is possible to inhibit the ink of the pen P from seeping into the workpiece 20. Further, it is possible to inhibit the workpiece 20 from being damaged by the friction between the pen P and the workpiece 20. In addition, it is possible to inhibit the occurrence of an accumulation of ink on the workpiece 20.
[0093] When the angle difference is equal to or less than the angle threshold value, in the processing at S19 and S13, even if the pen P is rotated in the state of the pen P and the workpiece 20 being in contact with each other, there is a low risk of the seeping of the ink into the workpiece 20, of the damage to the workpiece 20, and of the occurrence of the accumulation of ink. Thus, since the pen P is rotated in the state in which the pen P and the workpiece 20 are in contact with each other, compared to a case in which the pen P and the workpiece 20 are caused to separate from each other each time the pen P is rotated, a time period to move from the preceding line segment to the next line segment can be shortened.
[0094] By the processing at S34 and S41, there is a case in which the line segment is drawn while controlling the operation of the rotation portion 36 such that the rotation angle position of the cartridge 4 and the pen P is changed, and there is a case in which the line segment is drawn while the rotation angle position of the cartridge 4 and the pen P is fixed as it is. Thus, the power of expression of the drawn object is improved.
[0095] By the processing at S37 to S40, for the line segment, the division coordinates and the division angle positions are calculated such that the length between the start coordinates and the division coordinates of the line segment is equal to or less than the length threshold value, and by the processing at S41, the line segment is drawn while rotating the pen P on the division coordinates. It is thus possible to draw the line segment in which a person can visually recognize that the contour of the line segment changes smoothly, and, as a result, the power of expression of the drawn object is improved.
[0096] As shown in
[0097] As shown in
Modified Examples
[0098] While the present disclosure has been described in conjunction with various example structures outlined above and illustrated in the figures, various alternatives, modifications, variations, improvements, and/or substantial equivalents, whether known or that may be presently unforeseen, may become apparent to those having at least ordinary skill in the art. Accordingly, the example embodiments of the disclosure, as set forth above, are intended to be illustrative of the disclosure, and not limiting the disclosure. Various changes may be made without departing from the spirit and scope of the disclosure. Therefore, the disclosure is intended to embrace all known or later developed alternatives, modifications, variations, improvements, and/or substantial equivalents. Some specific examples of potential alternatives, modifications, or variations in the described disclosure are provided below:
[0099] (1) In the present embodiment, as shown in
[0100] (2) In the present embodiment, the configuration is adopted in which the cartridge 4 and the pen P are rotated by the rotation of the rotation motor 38, around the center line M, which is parallel to the up-down direction, of the cartridge 4 as the rotational axis. However, the cartridge 4 and the pen P may be rotated around a rotational axis that is an axis parallel to the up-down direction and that is different from the center line M of the cartridge 4.
[0101] (3) In the present embodiment, as shown in
[0102] (4) In the present embodiment, as shown in
[0103] (5) In the present embodiment, as shown in
[0104] (6) In the present embodiment, as shown in
[0105] (7) In the present embodiment, as shown in
[0106] (8) In the present embodiment, as shown in
[0107] (9) In the present embodiment, as shown in
[0108] (10) In the present embodiment, as shown in
[0109] (11) In the present embodiment, as shown in
[0110] (12) In the present embodiment, as shown in
t=(x.sub.2−x.sub.1)/v.sub.x (6)
v.sub.y=(y.sub.2−y.sub.1)/t (7)
A rotation speed v.sub.R of the rotation portion 36 is calculated using the following Formula (8), based on the drawing time period t, the start angle position R.sub.1, and the end angle position R.sub.2.
v.sub.R=(R.sub.2−R.sub.1)/t (8)
[0111] The drawing device 1A rotates the pen P at the rotation speed v.sub.R while causing the conveyance portion 7 to perform the conveyance at the conveyance speed v.sub.y, and causing the movement portion 8 to move at the movement speed v.sub.x, and can thus draw the line segment whose contour changes smoothly. As a result, the power of expression of the drawn object improves.
[0112] (13) In the present embodiment, as shown in
[0113] (14) In the present embodiment, the configuration is adopted in which the flash memory 74 stores the plurality of data tables, but a configuration may be adopted in which a memory that can be attached to and detached from the drawing device 1A stores the plurality of data tables. When the detachable memory is used, a temporary storage memory, such as the RAM 73, provided in the drawing device 1A stores at least one of the data tables that has been selected.