1. Technical Field
Embodiments of the present disclosure generally relate to measurement technology, and more particularly to a product report method using a computing device.
2. Description of Related Art
When a drawing of a product (e.g., a shell of a mobile phone) is generated, the designer needs to check all details of the drawing. Sometimes, the details in the drawing may be incorrect. For example, a part of the drawing is supposed to be designed as a rounded corner, but the part of the drawing is actually designed as a square corner by mistake. Therefore, the designer needs to check if the drawing is correct. However, at present, the designer manually checks the drawing, which is very time-consuming, especially when the drawing is huge and complicated. Therefore, there is room for improvement in the art.
The disclosure, including the accompanying drawings, is illustrated by way of example and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
In one embodiment, the computing device 1 may be a computer, a server, a portable electronic device, or any other electronic device that includes a storage system 12, and at least one processor 14. In one embodiment, the storage system 12 may be a magnetic or an optical storage system, such as a hard disk drive (HDD), an optical drive, a compact disc, a digital video disc, a tape drive, a flash, a cache, a flash memory, an erasable programmable read only memory (EPROM), a flash memory, or other suitable storage medium. The processor 14 may be a central processing unit including a math co-processor, for example.
The computing device 1 is connected to a displaying device 2. The displaying device 2 is operable to display the measuring program. In one embodiment, the measuring program includes an operation interface for a user to start the measuring program.
The obtaining module 100 obtains a panoramic drawing of a product from the storage system 12. The panoramic drawing of the product may be drawn by an image drawing application. The panoramic drawing of the product also may be generated by a scanner (e.g., laser scanner). For example, the laser scanner scans a surface of a physical product (e.g., a surface of a mobile phone) and generates the panoramic drawing of the surface of the physical product. The panoramic drawing of the product may be saved as a format (e.g., a drawing interchange format) into the storage system 12. The panoramic drawing further includes a color bar, and the color bar may include one or more colors. Each color shown in the color bar is defined for distinguishing each tolerance range. A plurality of tolerance ranges is defined for an area of a panoramic drawing of the product having a tolerance in a predetermined range. For example, blue-black is assigned to a first tolerance range [−0.14 mil, −0.12 mil], bright-yellow is assigned to a second tolerance range [+0.12 mil, +0.14 mil]. It is easier for a user to distinguish the tolerance ranges in the panoramic drawing by the color. For example, as shown in
The selection module 102 selects a partial drawing from the panoramic drawing using a frame. In one embodiment, the partial drawing is a part of the panoramic drawing. The partial drawing also includes the color bar as shown in
The mark module 104 marks the frame in the panoramic drawing. In one embodiment, the mark module 104 highlights a rim of the frame in the panoramic drawing. For example, the mark module 104 changes the rim of the frame to be a broken line as shown in
The selection module 102 sets a pattern of a report 1100 and shows the partial drawing and the panoramic drawing in the report 1100. In one embodiment, the pattern of the report 1100 is defined as a pattern that includes the partial drawing and the panoramic drawing. As shown in
The adjustment module 106 adjusts the size of the panoramic drawing and the size of the panoramic drawing in the report 1100. The panoramic drawing may superpose on the partial drawing in the report 1100 as shown in
The generation module 108 generates a measuring program which includes programmed computerized code of the modules 100-106. The measuring program repeatedly executes from the module 100 to the module 106 in order when a user starts the measuring program. In one embodiment, when the user starts the measuring program, the measuring program obtains the panoramic drawing of the product from the storage system 12, selects the partial drawing from the panoramic drawing using the frame, marks the frame in the panoramic drawing, sets the pattern of the report 1100, and adjusts the size of the panoramic drawing and the size of the panoramic drawing in the report 1100. The measuring program includes functions of the modules 100-106. Additionally, the generation module 108 displays the measuring program on the displaying device 2, and stores the measuring program into the storage system 12.
In step S10, the obtaining module 100 obtains a panoramic drawing of a product from the storage system 12. As mentioned above, the panoramic drawing further includes a color bar, and the color bar may include one or more colors. Each color shown in the color bar is defined for distinguishing each tolerance range. For example, as shown in
In step S20, the selection module 102 selects a partial drawing from the panoramic drawing using a frame. As mentioned above, the partial drawing also includes the color bar as shown in
In step S30, the mark module 104 marks the frame in the panoramic drawing. For example, the mark module 104 changes the rim of the frame to be a broken line as shown in
In step S40, the selection module 102 sets a pattern of a report 1100 and shows the partial drawing and the panoramic drawing in the report 1100. As mentioned above, the pattern of the report 1100 is defined as a pattern that includes the partial drawing and the panoramic drawing. In one embodiment, as shown in
In step S50, the adjustment module 106 adjusts the size of the panoramic drawing and the size of the panoramic drawing in the report 1100. As mentioned above, the size of the panoramic drawing and the size of the panoramic drawing are adjusted until the panoramic drawing does not superpose on the partial drawing in the report 1100. The partial drawing is shown in the partial drawing area as big as possible. The panoramic drawing is shown in the partial drawing area as big as possible. In one embodiment, the adjustment module 106 may adjust the size of the partial drawing area and the size of the panoramic drawing area, the size of the partial drawing and the size of the panoramic drawing are adjusted accordingly. In order to display more details of the partial drawing, the size of the partial drawing area is adjusted to be four fifths of the report 1100, and the size of the panoramic drawing area is adjusted to be one fifth of the report 1100. After adjustment, the report is changed from
In step S60, the generation module 108 generates a measuring program which is capable of repeating steps S10-S50 when a user starts the measuring program. The measuring program is generated by programming computerized code of the modules 110-106. Additionally, the generation module 108 displays the measuring program on the displaying device 2, and stores the measuring program into the storage system 12.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2011 1 0383852 | Nov 2011 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7656543 | Atkins | Feb 2010 | B2 |
7719548 | Ubillos et al. | May 2010 | B2 |
7760956 | Lin et al. | Jul 2010 | B2 |
7990394 | Vincent et al. | Aug 2011 | B2 |
8195383 | Wipplinger et al. | Jun 2012 | B2 |
8234066 | Wipplinger et al. | Jul 2012 | B2 |
8400469 | Kuwabara et al. | Mar 2013 | B2 |
8532675 | Pasquero et al. | Sep 2013 | B1 |
8564623 | Cohen et al. | Oct 2013 | B2 |
8645056 | Wipplinger et al. | Feb 2014 | B2 |
20130106893 | Davis et al. | May 2013 | A1 |
Number | Date | Country | |
---|---|---|---|
20130135355 A1 | May 2013 | US |