Embodiment
Propose in the computer graphics method in the embodiment of the invention, use the draw data of the package assembly that defines an element and correspondence thereof in the design document, and merge this element and a computer graphics model, to set up a new computer graphics model by package assembly.So, can improve user's ease of use, set up the required time of computer graphics model thereby reduce.
Please refer to Fig. 1, it is depicted as the process flow diagram according to an example of the computer graphics method of one embodiment of the invention.This computer graphics method is applicable in the computer system.One storage element of computer system comprises a plurality of design documents, and each design document comprises the draw data of the package assembly of definition one element and correspondence thereof.This computer graphics method comprises the following steps.
At first, in step S110, a computer graphics model that shows an object is in a display unit of computer system.Then, in step S120, show a control option in display unit, the element of corresponding at least one these a little design document of control option.Then, in step S130, by choosing the control option, to obtain the draw data of the pairing design document of element that is selected.Afterwards, in step S140, the package assembly of element that demonstration is selected and correspondence thereof is in display unit.Then, in step S150, element that is selected with the towing of the cursor of display unit and corresponding package assembly thereof are to the desired location of computer graphics model.Then, in step S160, utilize the package assembly that merges this element and correspondence thereof, set up a new computer graphics model to the computer graphics model.
Please refer to Fig. 2, the synoptic diagram of an example of the computer system that its computer graphics method that is depicted as the embodiment of the invention is suitable for.Computer system 200 for example comprises a processing unit 210, a display unit 220, a storage element 230, reaches a master station 240.Storage element 230 is in order to store a plurality of design documents.Master station 240 for example comprises an indicator device 242 and a keyboard 244.Processing unit 210 for example descends and the instruction of generation in user's operation according to the indicator device 242 or the keyboard 244 of master station 240, to carry out computer graphics method as shown in Figure 1.In other words, but the stored a plurality of design documents of processing unit 210 access storage elements 230 are set up a computer graphics model according to this and are shown in display unit 220.Now describe the computer graphics method how computer system 200 uses present embodiment in detail with a plurality of embodiment.
First embodiment
Please refer to Fig. 3 A~Fig. 3 E, it is depicted as the synoptic diagram of the computer system of Fig. 2 according to an example of the shown picture of the computer graphics method of first embodiment of the invention respectively.Processing unit 210 shows a picture W according to the instruction from master station 240 to control display unit 220 accordingly.
This picture W for example is the window picture of a computer graphics software, and this computer graphics software for example is to have to know obtainable mapping software of the knowledgeable or instrument usually, as Pro/E.Picture W comprises a plurality of zones, as a modelling district A1, a directorial area A2, an and feature list district A3.Modelling district A1 is in order to show computer graphics model 310.Directorial area A2 is shown in the computer graphics model 310 of modelling district A1 in order to management, and presents title and a plurality of feature of computer graphics model 310 in the set mode of stratum.Feature list district A3 is shown in the top of picture W, and it has a plurality of function choosing-items, as traditional file, editor or view option.Certainly, picture W also comprises other and is not depicted as zone in this example, for example is one can be in order to show the zone of user at the course of setting up this computer graphics model 310 and state.This kind zone for example is shown in the below of picture W.The various zones of picture W are in order to explanation the present invention, but not the conduct restriction.
In step S110, as shown in Figure 3A, processing unit 210 control display units 220 show a computer graphics model 310 of an object.In this example, the computer graphics model 310 of this object is a pedestal.
In step S120, as shown in Figure 3A, processing unit 210 control display units 220 show a control option 302, and it for example is to be shown in feature list district A3.Control option 302 corresponds to the element of these a little design documents of storage element 230.So-called control option 302 corresponds to element and for example is meant, the element that this control option 302 can present at least one design document in the mode of chart or literal for you to choose, its practice explanation as after.
In step S130, processing unit 210 allow users by control option 302 choose these elements one of them, to obtain the draw data of selected element and the corresponding pairing design document of package assembly thereof.
In embodiments of the invention, in order to allow the user can select the element of at least one design document easily by control option 302, processing unit 210 can be when control option 302 be clicked, control display unit 220 shows a plurality of patterning options, and each patterning option corresponds to the element of partial design file at least.Now with an example explanation.
In first embodiment, display unit 220 for example shows these patterning options in the mode of stratum.Shown in (1) among Fig. 3 B, display unit 220 shows a plurality of first patterning option SL1-a~SL1-c, and the element of each pairing design document of the first patterning option belongs to same kind.Then, shown in (2) among Fig. 3 B, when one first patterning option was clicked, display unit 220 showed a plurality of second patterning option SL2-a~SL2-b, and the element of each pairing design document of the second patterning option belongs to same specification.Then, shown in (3) among Fig. 3 B, when one second patterning option was clicked, display unit 220 showed a plurality of the 3rd patterning option SL3-a~SL3-d, and each the 3rd patterning option corresponds to the element of a design document
Each patterning option for example is graphical options or type options.For example, in this example shown in Fig. 3 B, first patterning option SL1-a~SL1-c can be the type options in the extension menu of controlling option 302, and second and third patterning option SL2-a~SL2-b, SL3-a~SL3-d can be the graphical options of a dialogue window of being presented in new unlatching.So, processing unit 210 result that chooses of these patterning options that can detect control option 302 chooses an element.This kind practice can allow the user select required element easily.Yet the present invention also is not limited thereto, as long as can allow the user can select the element of at least one design document easily with the patterning option, be all attainable embodiment.
Then, processing unit 210 is also obtained the draw data of the pairing design document of package assembly of selected element and correspondence thereof.The package assembly of selected element correspondence for example is in order to being created on the structure on the computer graphics model (as computer graphics model 310), and the draw data of selected element and corresponding package assembly thereof for example saves as a design document in advance.So, when this element was selected, present embodiment can use this design document of previous storage, and package assembly is created on the computer graphics model, merged element and computer graphics model.So, can improve user's ease of use, set up the required time of computer graphics model thereby reduce.Now under describe it in detail.
In step S140, shown in Fig. 3 C, processing unit 210 control display units 220 show that the package assembly 306 of selected element 304 and correspondence thereof is in modelling district A1.In the example shown in Fig. 3 C, element 304 is a support column, and package assembly 306 is in order to be created on the structure on the computer graphics model (as computer graphics model 310).
Package assembly 306 for example comprises the feature in order to the expression geometric configuration.The feature of package assembly 306 for example but can not comprise limitedly that a profile, extends entity, a cutting, a circular hole, a rounding, a mirror, a projection, a groove or other not in this detailed description but know usually that for having the knowledgeable utilizes existing or future computer graphics software to set up the minimum unit of model.With Fig. 3 C is example, and the feature of package assembly 306 for example is a circular groove.
In step S150, shown in Fig. 3 D, processing unit 210 allows the user to pull the desired location of the package assembly 306 of selected element 304 and correspondence thereof to computer graphics model 310 with the cursor Cr of display unit 220.When carrying out this towing step S150, processing unit 210 for example can detect the indicator device 242 that the master console 20 of computer system 110 is comprised, to obtain the position of cursor Cr.Indicator device 242 can comprise a mouse or a trace ball.
In step S160, shown in Fig. 3 E, processing unit 210 utilizes the package assembly 306 of merge selected element 304 and correspondence thereof to computer graphics model 310, to set up a new computer graphics model 320.When merging element 304 and corresponding package assembly 306 thereof to computer graphics model 310, package assembly 306 (being circular groove) can be created on computer graphics model 310, and element 304 and computer graphics model 310 are merged, and becomes new computer graphics model 320.
In the described computer graphics method of first embodiment, can use the draw data of the design document of the element of previous storage and corresponding package assembly thereof, set up the computer graphics model.So, can improve user's ease of use, set up the required time of computer graphics model thereby reduce.
Second embodiment
Please refer to Fig. 4, it is depicted as the synoptic diagram of the computer system of Fig. 2 according to an example of the shown picture of the display unit of second embodiment of the invention.Different with first embodiment is that in second embodiment, display unit 220 shows two patterning options, as element option SL4-a and SL4-b when the shows patterned metal option.The function or the structure of the two elements of this two elements option SL4-a and pairing two design documents of SL4-b cooperatively interact.For instance, two patterning option SL4-a and the pairing two elements of SL4-b are for example but can not be respectively a battery lock and a battery latch limitedly or be respectively a trip and a draw-in groove.
In the described computer graphics method of second embodiment, the patterning option of the element that cooperatively interacts can be provided, can allow the user select required element easily, so can further increase user's ease of use.
The 3rd embodiment
Please refer to Fig. 5 A and Fig. 5 B, it is depicted as the synoptic diagram of the computer system of Fig. 2 according to an example of the shown picture of the computer graphics method of third embodiment of the invention respectively.Computer graphics method according to the present invention can be deduced for single model and comprise a plurality of features and circuit elements design tree (design tree) notion, the computer graphics model 510 of object design may relate to a plurality of primary elements, and design relates to a pedestal 512 and a location support 514 at least as the display locating support.
Please refer to Fig. 5 A, the user chooses model by control option 302.Then, processing unit 210 is obtained the design document of pedestal 512 and locating support 514 from selected model correspondence, in order to set up computer graphics model 510.
Please refer to Fig. 5 B, model comprises outside pedestal 512 and the locating support 514, also comprises element 304 and corresponding package assembly.A plurality of features are incorporated in the single model, and for example, locating support 514 comprises a plurality of pilot hole 514a~514c, and element 304 comprises a circular hole 304a, and wherein, the pilot hole 514a~514c of body elements 514 is corresponding mutually with the circular hole 304a of element 304.
Shown in Fig. 5 B, the user chooses model name by control option 302, and the package assembly 306 of processing unit 210 reproduction elements 304 and correspondence is to the position of these pilot holes 514a~514c of body elements 514.Then, execution in step S160, processing unit 210 utilize the package assembly 306 of merge selected element 304 and correspondence thereof to the computer graphics model, to set up a new computer graphics model 520.
In the described computer graphics method of the 3rd embodiment, design at specific products, the matched combined of many elements and feature is for fixing or limited, therefore can be by the various models of taxonomic revision in advance, on desired location, save the time of product design with setting element apace.So, can improve user's ease of use, set up the required time of computer graphics model thereby reduce.
The 4th embodiment
Please refer to Fig. 6 A~Fig. 6 C, it is depicted as the synoptic diagram of the computer system of Fig. 2 according to an example of the shown picture of the computer graphics method of fourth embodiment of the invention respectively.In this example, the computer graphics model 610 of object is a frame type pedestal.Different with first embodiment is that in the 4th embodiment, processing unit 210 is also controlled display unit 220 and shown a plurality of input fields, as input field FL1~FL6.These input fields FL1~FL6 is in order to determine the spacing between a plurality of position P1~P10 of selected element 304 in computer graphics model 610.
Afterwards, processing unit 210 duplicates these position P1~P10 of the package assembly 306 of selected element 304 and correspondence to computer graphics model 610.Then, execution in step S160, processing unit 210 utilize the package assembly 306 of merge selected element 304 and correspondence thereof to computer graphics model 610, to set up a new computer graphics model 620, shown in Fig. 6 C.
In the described computer graphics method of the 4th embodiment, can utilize a plurality of input fields to decide the desired location of element in the computer graphics model, with setting element apace on desired location.So, can improve user's ease of use, set up the required time of computer graphics model thereby reduce.
When practical application, the body elements of computer graphics model for example comprises a preceding frame (bezel) of a display and a display casing (cover).And a plurality of elements that processing unit 210 can utilize the practice of second embodiment to obtain works in coordination for example are trip and draw-in groove.Afterwards, utilize the practice of the 4th embodiment to make trip and draw-in groove be copied to the correspondence position of frame and display casing before the display respectively again, to merge these trips and draw-in groove frame and display casing to the display respectively.This kind practice only is explanation the present invention's usefulness, and among the Yu Shizuo, the combination in any that the computer graphics method can the foregoing description is carried out.
The disclosed computer graphics method of the embodiment of the invention can be embodied as one with plug-in (plug-in) software of computer graphics softwarecompatible, the performed instruction after loading computer program product of program that promptly above-mentioned computer-readable formula information storage medium are stored or computer system.
The disclosed computer graphics method of the above embodiment of the present invention can be used the draw data of the package assembly that defines an element and correspondence thereof in the design document, sets up the computer graphics model.So, can improve user's ease of use, set up the required time of computer graphics model thereby reduce.
In sum, though the present invention with the preferred embodiment exposure as above, yet it is not in order to limit the present invention.The persond having ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope of the present invention, when doing various changes that are equal to or replacement.Therefore, protection scope of the present invention is when looking being as the criterion that claims define.