CN103679817A - Data processing method and device for computer graphic annotation - Google Patents

Data processing method and device for computer graphic annotation Download PDF

Info

Publication number
CN103679817A
CN103679817A CN201310657057.4A CN201310657057A CN103679817A CN 103679817 A CN103679817 A CN 103679817A CN 201310657057 A CN201310657057 A CN 201310657057A CN 103679817 A CN103679817 A CN 103679817A
Authority
CN
China
Prior art keywords
information
dimensional
annotation
index wire
affiliated partner
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
Application number
CN201310657057.4A
Other languages
Chinese (zh)
Other versions
CN103679817B (en
Inventor
余强
王学文
陈建来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN201310657057.4A priority Critical patent/CN103679817B/en
Publication of CN103679817A publication Critical patent/CN103679817A/en
Application granted granted Critical
Publication of CN103679817B publication Critical patent/CN103679817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a data processing method and device for computer graphic annotation. The data processing method comprises the step of receiving a request for carrying out three-dimensional annotation on an associated object to be annotated, wherein the request comprises adding information and two-dimensional annotation information; the step of adding a three-dimensional index line on the associated object to be annotated based on the adding information in the request; the step of calling a corresponding two-dimensional annotation based on the two-dimensional annotation information in the request; the step of carrying out information annotation on the associated object to be annotated through the three-dimensional index line and the two-dimensional annotation. By means of the data processing method and device, the problem that in the prior art, the three-dimensional annotation cannot be achieved through the two-dimensional annotation is solved, and the effect of utilizing the two-dimensional annotation for carrying out three-dimensional annotation is achieved.

Description

Data processing method and device for computer graphical mark
Technical field
The present invention relates to mapping software field, in particular to a kind of data processing method and device for computer graphical mark.
Background technology
Along with improving constantly of product object function and performance requirement, to product complete machine or the digitized description with the subsystem of standalone feature, also require more and more complete.
Model basic definition (Model Base Definition, be called for short MBD) adopt integrated three-dimensional entity model to carry out expressed intact Product Definition information, specified in more detail the mark rule of Product Definition, tolerance and the expression of technique information in three-dimensional entity model.Like this, three-dimensional entity model becomes the unique foundation in manufacturing process, has changed tradition and take engineering drawing as main, and take three-dimensional entity model as auxiliary manufacture method.
For realizing MBD, at three-dimensional computer Computer Aided Design (Computer-aided Design, CAD) in software, introduced Product Manufacturing Information (Product and Manufacturing Information, be called for short PMI) concept, for the information of product component design is correctly delivered to product manufacture.More particularly, the information that PMI transmits comprises geometric tolerances information, three-dimensional annotation, and surfaceness, and material specification etc.
PMI essence is a kind of three-dimensional labeling or annotation, and its essence is the same with two dimension mark or annotation, and it is the external declaration to model, rather than a part for model.
Because two dimension, the three-dimensional of CAD software is respectively disparate modules, for realizing the mark in three-dimensional software, the mode that on market, various CAD software adopts is all to develop data object and the function collection of a set of new three-dimensional labeling, in order to characterize PMI and generation, editor PMI.This mode is equivalent to again write a set of three-dimensional labeling software, cannot use for reference existing two dimension mark code in software, all can not be multiplexing in data and function, and construction cycle and cost are higher.
For utilizing two dimension annotation to carry out the problem of three-dimensional labeling in prior art, effective solution is not yet proposed at present.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of data processing method and device for computer graphical mark, to solve in prior art, cannot utilize two dimension annotation to carry out the problem of three-dimensional labeling.
To achieve these goals, according to an aspect of the present invention, provide a kind of data processing method for computer graphical mark.Data processing method for computer graphical mark according to the present invention comprises: be received in the request of carrying out three-dimensional labeling on affiliated partner to be marked, wherein, comprise interpolation information and two-dimentional annotation information in request; Interpolation information based in request is added three-dimensional index wire on affiliated partner to be marked; Two-dimentional annotation information based in request is called corresponding two dimension annotation; And utilize three-dimensional index wire and two dimension annotation to carrying out information labeling on affiliated partner to be marked.
Further, utilizing before three-dimensional index wire and two dimension annotation carry out information labeling on to affiliated partner to be marked, data processing method also comprises: obtain two dimension annotation; The inquiry two dimension annotation corresponding with object to be marked in two dimension annotation; If inquire the two dimension annotation corresponding with object to be marked, call the two dimension annotation inquiring; If do not inquire the two dimension annotation corresponding with object to be marked, generate new two dimension annotation.
Further, new two dimension annotation is for two-dimentional module or three-dimensional module.
Further, the interpolation information based in request is added three-dimensional index wire and is comprised on affiliated partner to be marked: receive and adjust the three-dimensional nemaline command information that guides; Based on adjusting the nemaline command information of three-dimensional guide, by list box, adjust the arrowhead form of three-dimensional index wire; Or receive the command information that regulates three-dimensional index wire length; Based on regulating the command information of three-dimensional index wire length, by folder, put the length of adjusting three-dimensional index wire.
Further, utilize three-dimensional index wire and two dimension annotation to comprise carrying out information labeling on affiliated partner to be marked: be received in the request of carrying out information labeling on the first affiliated partner and the second affiliated partner, the request of carrying out information labeling on the first affiliated partner and the second affiliated partner comprises index wire information and annotation information; Based on index wire information, on the first affiliated partner, add the first three-dimensional index wire, based on index wire information, on the second affiliated partner, add the second three-dimensional index wire, wherein, the first three-dimensional index wire and the second three-dimensional index wire intersect at a point, and any intersecting is as joining; Based on index wire information, take joining as starting point interpolation dash line; And at the destination terminal of the bearing of trend of dash line, carry out two dimension annotation based on annotation information.
To achieve these goals, according to a further aspect in the invention, provide a kind of data processing equipment for computer graphical mark.Data processing equipment for computer graphical mark according to the present invention comprises: receiving element, for being received in the request of carrying out three-dimensional labeling on affiliated partner to be marked, wherein, comprises interpolation information and two-dimentional annotation information in request; Adding device adds three-dimensional index wire for the interpolation information based on request on affiliated partner to be marked; Call unit, calls corresponding two dimension annotation for the two-dimentional annotation information based on request; And mark unit, for utilizing three-dimensional index wire and two dimension annotation to carrying out information labeling on affiliated partner to be marked.
Further, data processing equipment also comprises: acquiring unit, for utilizing before three-dimensional index wire and two dimension annotation carry out information labeling on to affiliated partner to be marked, obtains two dimension annotation; Query unit, for annotating in the two dimension annotation inquiry two dimension corresponding with object to be marked; Annotation unit, for when inquiring the two dimension annotation corresponding with object to be marked, calls the two dimension annotation inquiring; Generation unit, for when not inquiring the two dimension annotation corresponding with object to be marked, generates new two dimension annotation.
Further, new two dimension annotation is for two-dimentional module or three-dimensional module.
Further, adding device comprises: the first receiver module, for receiving, adjust the three-dimensional nemaline command information that guides; Adjusting module, for adjusting the arrowhead form of three-dimensional index wire based on adjusting the nemaline command information of three-dimensional guide by list box; Or the second receiver module, for receiving the command information that regulates three-dimensional index wire length; Adjustment module, puts for the command information based on the three-dimensional index wire length of adjusting the length that regulates three-dimensional index wire by folder.
Further, mark unit comprises: the 3rd receiver module, for being received in the request of carrying out information labeling on the first affiliated partner and the second affiliated partner, the request of carrying out information labeling on the first affiliated partner and the second affiliated partner comprises index wire information and annotation information; First adds module, for add the first three-dimensional index wire on the first affiliated partner based on index wire information, based on index wire information, on the second affiliated partner, add the second three-dimensional index wire, wherein, the first three-dimensional index wire and the second three-dimensional index wire intersect at a point, and any intersecting is as joining; Second adds module, for take joining based on index wire information as starting point interpolation dash line; And annotations module, for carrying out two dimension annotation based on annotation information at the destination terminal of the bearing of trend of dash line.
By the present invention, adopt and be received in the request of carrying out three-dimensional labeling on affiliated partner to be marked, wherein, in request, comprise interpolation information and two-dimentional annotation information; Interpolation information based in request is added three-dimensional index wire on affiliated partner to be marked; Two-dimentional annotation information based in request is called corresponding two dimension annotation; And utilize three-dimensional index wire to annotate carrying out information labeling on affiliated partner to be marked with two-dimentional, solved in prior art and cannot utilize two dimension annotation to carry out the problem of three-dimensional labeling, and then reached the two-dimentional effect of carrying out three-dimensional labeling that annotates of utilization.
Accompanying drawing explanation
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the process flow diagram of the data processing method for computer graphical mark of first embodiment of the invention;
Fig. 2 carries out the schematic diagram of information labeling according to the embodiment of the present invention to affiliated partner to be marked;
Fig. 3 is according to the process flow diagram of the data processing method for computer graphical mark of second embodiment of the invention;
Fig. 4 is according to the process flow diagram of the data processing method for computer graphical mark of third embodiment of the invention;
Fig. 5 carries out the schematic diagram of three-dimensional labeling according to the embodiment of the present invention to the first affiliated partner and the second affiliated partner;
Fig. 6 is according to the schematic diagram of the data processing equipment for computer graphical mark of first embodiment of the invention;
Fig. 7 is according to the schematic diagram of the data processing equipment for computer graphical mark of second embodiment of the invention; And
Fig. 8 is according to the schematic diagram of the data processing equipment for computer graphical mark of third embodiment of the invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, the term " first " in instructions of the present invention and claims and above-mentioned accompanying drawing, " second " etc. are for distinguishing similar object, and needn't be for describing specific order or precedence.The data that should be appreciated that such use suitably can exchanged in situation, so as embodiments of the invention described herein can with except diagram here or describe those order enforcement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, for example, those steps or unit that the process that has comprised series of steps or unit, method, system, product or equipment are not necessarily limited to clearly list, but can comprise clearly do not list or for these processes, method, product or equipment intrinsic other step or unit.
The embodiment of the present invention provides a kind of data processing method for computer graphical mark.
Fig. 1 is according to the process flow diagram of the data processing method for computer graphical mark of first embodiment of the invention.As shown in the figure, this data processing method comprises the steps:
Step S101, is received in the request of carrying out three-dimensional labeling on affiliated partner to be marked, wherein, comprises interpolation information and two-dimentional annotation information in request.
On affiliated partner to be marked, carry out the request of three-dimensional labeling, for asking, three-dimensional picture is carried out to information labeling, the information that can mark is as Product Manufacturing Informations such as surfaceness, material specifications, in the process that three-dimensional picture is marked, for fear of again developing a set of three-dimensional annotation information that is applicable to three-dimensional labeling, can call existing two-dimentional annotation information three-dimensional picture is carried out to information labeling.
Two dimension annotation information can annotate the product annotation information such as geometric tolerances information, word annotation, surfaceness and material specification such as product component, the general information such as the size of all right comment graphics, angle.Two dimension mark meets national standard and international standard (International Organization for Standardization, be called for short ISO) etc., in annotation procedure, the information such as shape, demonstration, style, attribute, index wire, tolerance and rounding of annotation are all had to huge and meticulous standard, make to utilize graphics software to draw the figure obtaining and meet general international standard, there is versatility.
Interpolation information is the additional information of introduction when utilizing existing two-dimentional annotation information to carry out three-dimensional labeling to three-dimensional picture, can be the information such as index wire, be used for representing the location of annotated information of affiliated partner to be marked, the relation of a plurality of affiliated partners to be marked and other information etc.
Step S102, the interpolation information based in request is added three-dimensional index wire on affiliated partner to be marked.
For the interpolation information in request, be the situation that the information of index wire is added in request, the index wire of interpolation is the information of adding three-dimensional index wire.For mark three-dimensional dimension object, generally can be placed in certain plane by 3 point locations, if leading point is not in the plane, the main part of size can be placed on two dimensional surface, and then add three-dimensional index wire.
For the interpolation information in request, it is the situation that affiliated partner is added in request, affiliated partner to be marked can be one or more, accordingly, the three-dimensional index wire of interpolation can be also one or more, and the three-dimensional index wire of interpolation can mark a plurality of affiliated partners to be marked.
For the interpolation information in request, be the situation of adding other information, can be according to the information such as three-dimensional process information, color attribute information, temperature information of needs mark of three-dimensional labeling, other information can mark according to the needs of each three-dimensional labeling.It should be noted that, the above-mentioned information type marking is just for the ease of to the understanding of invention technical scheme and illustrating of carrying out, should be appreciated that, the above-mentioned information marking includes but not limited to above-mentioned information type, and other information types identical with above-mentioned information type or that be equal to also can be applied to technical scheme of the present invention.
Step S103, the two-dimentional annotation information based in request is called corresponding two dimension annotation.
In request, two-dimentional annotation information is used for marking three-dimensional picture, for example, use the length of body diagonal in the length annotation callout three-dimensional picture in two-dimentional annotation information, by the aperture size in the aperture annotation information mark three-dimensional picture in two-dimentional annotation information.
Step S104, utilizes three-dimensional index wire and two dimension annotation to carrying out information labeling on affiliated partner to be marked.
As shown in Figure 2, in figure, 1 represents in Fig. 2, there are two three-dimensional index wires by three-dimensional index wire, and what in figure, mark 130 and 609.6 is two-dimentional annotation information, utilizes 2 pairs of three-dimensional picture of three-dimensional index wire 1 and two-dimentional annotation information to carry out information labelings.Cornerwise length that two-dimentional annotation information 130 shown in Fig. 2 in example is expression rectangular parallelepiped side, in like manner, can also be by adding three-dimensional index wire and calling the three-dimensional labeling that two-dimentional annotation information is carried out other.
By utilizing existing two-dimentional annotation information, and the three-dimensional index wire adding marks three-dimensional picture, can avoid again developing a set of three-dimensional annotation information, utilize the two-dimentional annotation information having existed, and add corresponding three-dimensional index wire, thereby make also can utilize two-dimentional annotation information to realize the mark of three-dimensional picture in three-dimensional annotation.In addition, because three-dimensional labeling has utilized two-dimentional annotation information, two dimension annotation information meets national standard and iso standard, therefore three-dimensional labeling also meets national standard and the regulation of iso standard to three-dimensional labeling, make user use three-dimensional labeling to meet style and the pattern of two dimension mark, facilitate user learning and use, promote user and experience.
Fig. 3 is according to the process flow diagram of the data processing method for computer graphical mark of second embodiment of the invention.As shown in the figure, utilizing before three-dimensional index wire and two dimension annotation carry out information labeling on to affiliated partner to be marked, this data processing method comprises the steps:
Step S201, obtains two dimension annotation.
Generally, CAD software can mark X-Y scheme and three-dimensional picture, when carrying out two dimension mark, utilizes two-dimentional labeling module to mark X-Y scheme, when carrying out three-dimensional labeling, utilizes three-dimensional labeling module to mark three-dimensional picture.
The present invention is in order to reduce overlapping development, save cost of development, when carrying out three-dimensional labeling, can call the two-dimentional annotation information in two-dimentional labeling module, two-dimentional annotation information is used in three-dimensional labeling, make the annotation information in three-dimensional labeling inherit pattern, the style of two dimension mark, and meet national standard and international standard.
Therefore,, utilizing before three-dimensional index wire and two dimension annotation carry out information labeling on to affiliated partner to be marked, obtain two dimension annotation.
Step S202, the inquiry two dimension annotation corresponding with object to be marked in two dimension annotation.
Step S203, if inquire the two dimension annotation corresponding with object to be marked, calls the two dimension annotation inquiring.
The inquiry two dimension annotation corresponding with object to be marked in the two dimension annotation getting, according to Object Query two dimension annotation to be marked, for example, three-dimensional picture to be marked needs radius dimension and coordinate, inquires about the two dimension annotation of radius dimension and coordinate in two dimension annotation.
After inquiring the two dimension annotation of radius dimension and coordinate, three-dimensional labeling module is called two dimension annotation, and utilizes two dimension annotation to mark three-dimensional picture.
Step S204, if do not inquire the two dimension annotation corresponding with object to be marked, generates new two dimension annotation.
If do not find the two dimension annotation corresponding with object to be marked in existing two dimension annotation, generate new two dimension annotation, in the existing two dimension annotation of new two dimension annotation, do not have, can carry out three-dimensional labeling to three-dimensional picture, meanwhile, also can when carrying out two dimension mark, utilize the new two dimension annotation generating.
Preferably, in order to reduce overlapping development, new two dimension annotation is for two-dimentional module or three-dimensional module.That is to say, new two dimension annotation, can also be for carrying out the two dimension mark of X-Y scheme not only for carrying out the three-dimensional labeling of three-dimensional picture.
Preferably, the interpolation information based in request is added three-dimensional index wire and is comprised on affiliated partner to be marked: receive and adjust the three-dimensional nemaline command information that guides; Based on adjusting the nemaline command information of three-dimensional guide, by list box, adjust the arrowhead form of three-dimensional index wire, or receive the command information that regulates three-dimensional index wire length; Based on regulating the command information of three-dimensional index wire length, by folder, put the length of adjusting three-dimensional index wire.
Three-dimensional index wire is that three-dimensional index wire is presented in three-dimensional labeling with three dimensional form, can adjust shape and the length of three-dimensional index wire for the three-dimensional index wire adding according to the index wire of national standard and international standard exploitation.
For example, receive to adjust three-dimensional guide nemaline command information after, can display column bezel, cluster, by list box, adjust the arrowhead form of three-dimensional index wire.Wherein, in list box, stored the arrowhead form of various patterns, the arrowhead form that meets national standard and international standard of the arrowhead form of these storages.
After receiving the instruction of the length of adjusting three-dimensional index wire, by adjustment, press from both sides the length of a little adjusting three-dimensional index wire.Folder point is a kind of integrated edit pattern, for example, uses that folder point can stretch to object, moves, the operation such as rotation, convergent-divergent and mirror image.By folder put to three-dimensional index wire stretch, move, the operation such as rotation, convergent-divergent and mirror image.
By the shape of three-dimensional index wire and length are adjusted, the three-dimensional index wire adding is met consumers' demand, make markup information more accurate, clear.
Fig. 4 is according to the process flow diagram of the data processing method for computer graphical mark of third embodiment of the invention.As shown in the figure, utilize three-dimensional index wire and two dimension annotation to comprise the steps: carrying out information labeling on affiliated partner to be marked
Step S301, is received in the request of carrying out information labeling on the first affiliated partner and the second affiliated partner, and the request of carrying out information labeling on the first affiliated partner and the second affiliated partner comprises index wire information and annotation information.
On the first affiliated partner and the second affiliated partner, carry out the relation that information labeling comprises mark the first affiliated partner and the second affiliated partner, for example, the distance of the central point of the central point of the first affiliated partner and the second affiliated partner, the information such as space angle of the first affiliated partner and the second affiliated partner.
The first affiliated partner and the second affiliated partner are carried out to index wire information and the annotation information that information labeling comprises mark the first affiliated partner and the second affiliated partner, index wire information can say that the first affiliated partner and the second affiliated partner connect, annotation information can the two-dimentional annotation information of bar, annotation the first affiliated partner and the second affiliated partner relation between the two.
Step S302, based on index wire information, on the first affiliated partner, add the first three-dimensional index wire, based on index wire information, on the second affiliated partner, add the second three-dimensional index wire, wherein, the first three-dimensional index wire and the second three-dimensional index wire intersect at a point, and any intersecting is as joining.
Based on index wire information, on the first affiliated partner, add the first three-dimensional index wire, based on index wire information, on the second affiliated partner, add the second three-dimensional index wire, the first three-dimensional index wire and the second three-dimensional index wire intersect at a point, and any intersecting is as joining.
Step S303, take joining as starting point interpolation dash line based on index wire information.
The dash line and the first three-dimensional index wire, the second three-dimensional index wire that add intersect at joining, and the elongated end of dash line points to annotation information and adjusts frame, adjusts frame can carry out three-dimensional labeling to the first affiliated partner and the second affiliated partner by annotation information.
Step S304, carries out two dimension annotation based on annotation information at the destination terminal of the bearing of trend of dash line.
The annotation information of the destination terminal of the bearing of trend by dash line is adjusted frame can carry out three-dimensional labeling to the first affiliated partner and the second affiliated partner.
Take figure shown in Fig. 5 as example, the first affiliated partner is rectangular parallelepiped, the second affiliated partner is right cylinder, on the first affiliated partner, add the first three-dimensional index wire 3, on the second affiliated partner, add the second three-dimensional index wire 4, at the first three-dimensional index wire 3 and the second three-dimensional index wire 4, intersect at a point, at intersection point place, add dash line 5, and have an annotation information to adjust frame 6 at the terminal of the elongated end of dash line 5.In annotation information, adjust the two-dimentional annotation information of the interior mark of frame 6, such as tolerance information etc.
By adding many three-dimensional index wires, and call two-dimentional annotation and can mark a plurality of affiliated partners, make a plurality of three-dimensional picture also can utilize two dimension annotation to carry out information labeling, thereby avoided overlapping development, also make software more be easy to study.
The data processing equipment that the data processing method of the embodiment of the present invention can provide by the embodiment of the present invention is carried out, the data processing method that the data processing equipment of the embodiment of the present invention also can provide for carrying out the embodiment of the present invention.
Below the preferred embodiment of data processing equipment of the present invention is introduced, the data processing equipment of following examples can be used as the preferred implementation of data processing equipment embodiment illustrated in fig. 1.
Fig. 6 is according to the schematic diagram of the data processing equipment for computer graphical mark of first embodiment of the invention.As shown in the figure, this data processing equipment comprises receiving element 10, adding device 20, call unit 30 and mark unit 40.
Receiving element 10, for being received in the request of carrying out three-dimensional labeling on affiliated partner to be marked, wherein, comprises interpolation information and two-dimentional annotation information in request.
On affiliated partner to be marked, carry out the request of three-dimensional labeling, for asking, three-dimensional picture is carried out to information labeling, the information that can mark is as Product Manufacturing Informations such as surfaceness, material specifications, in the process that three-dimensional picture is marked, for fear of again developing a set of three-dimensional annotation information that is applicable to three-dimensional labeling, can call existing two-dimentional annotation information three-dimensional picture is carried out to information labeling.
Two dimension annotation information can annotate the product annotation information such as geometric tolerances information, word annotation, surfaceness and material specification such as product component, the general information such as the size of all right comment graphics, angle.Two dimension mark meets national standard and international standard (International Organization for Standardization, be called for short ISO) etc., in annotation procedure, the information such as shape, demonstration, style, attribute, index wire, tolerance and rounding of annotation are all had to huge and meticulous standard, make to utilize graphics software to draw the figure obtaining and meet general international standard, there is versatility.
Interpolation information is the additional information of introduction when utilizing existing two-dimentional annotation information to carry out three-dimensional labeling to three-dimensional picture, can be the information such as index wire, be used for representing the location of annotated information of affiliated partner to be marked, the relation of a plurality of affiliated partners to be marked and other information etc.
Adding device 20 adds three-dimensional index wire for the interpolation information based on request on affiliated partner to be marked.
For the interpolation information in request, be the situation that the information of index wire is added in request, the index wire of interpolation is the information of adding three-dimensional index wire.For mark three-dimensional dimension object, generally can be placed in certain plane by 3 point locations, if leading point is not in the plane, the main part of size can be placed on two dimensional surface, and then add three-dimensional index wire.
For the interpolation information in request, it is the situation that affiliated partner is added in request, affiliated partner to be marked can be one or more, accordingly, the three-dimensional index wire of interpolation can be also one or more, and the three-dimensional index wire of interpolation can mark a plurality of affiliated partners to be marked.
For the interpolation information in request, be the situation of adding other information, can be according to the information such as three-dimensional process information, color attribute information, temperature information of needs mark of three-dimensional labeling, other information can mark according to the needs of each three-dimensional labeling.It should be noted that, the above-mentioned information type marking is just for the ease of to the understanding of invention technical scheme and illustrating of carrying out, should be appreciated that, the above-mentioned information marking includes but not limited to above-mentioned information type, and other information types identical with above-mentioned information type or that be equal to also can be applied to technical scheme of the present invention.
Call unit 30 calls corresponding two dimension annotation for the two-dimentional annotation information based on request.
In request, two-dimentional annotation information is used for marking three-dimensional picture, for example, use the length of body diagonal in the length annotation callout three-dimensional picture in two-dimentional annotation information, by the aperture size in the aperture annotation information mark three-dimensional picture in two-dimentional annotation information.
Mark unit 40 is for utilizing three-dimensional index wire and two dimension annotation to carrying out information labeling on affiliated partner to be marked.
As shown in Figure 2, in figure, 1 represents in Fig. 2, there are two three-dimensional index wires by three-dimensional index wire, and what in figure, mark 130 and 609.6 is two-dimentional annotation information, utilizes 2 pairs of three-dimensional picture of three-dimensional index wire 1 and two-dimentional annotation information to carry out information labelings.Cornerwise length that two-dimentional annotation information 130 shown in Fig. 2 in example is expression rectangular parallelepiped side, in like manner, can also be by adding three-dimensional index wire and calling the three-dimensional labeling that two-dimentional annotation information is carried out other.
By call unit 30, call existing two-dimentional annotation information, and the three-dimensional index wire of adding device 20 interpolations, making to mark 40 pairs of unit three-dimensional picture marks, can avoid again developing a set of three-dimensional annotation information, utilize the two-dimentional annotation information having existed, and add corresponding three-dimensional index wire, thereby make also can utilize two-dimentional annotation information to realize the mark of three-dimensional picture in three-dimensional annotation.In addition, because three-dimensional labeling has utilized two-dimentional annotation information, two dimension annotation information meets national standard and iso standard, therefore three-dimensional labeling also meets national standard and the regulation of iso standard to three-dimensional labeling, make user use three-dimensional labeling to meet style and the pattern of two dimension mark, facilitate user learning and use, promote user and experience.
Fig. 7 is according to the schematic diagram of the data processing equipment for computer graphical mark of second embodiment of the invention.As shown in the figure, this data processing equipment comprises receiving element 10, adding device 20, call unit 30 and mark unit 40, also comprises acquiring unit 50, query unit 60, annotation unit 70 and generation unit 80.
Acquiring unit 50, for utilizing before three-dimensional index wire and two dimension annotation carry out information labeling on to affiliated partner to be marked, obtains two dimension annotation.
Generally, CAD software can mark X-Y scheme and three-dimensional picture, when carrying out two dimension mark, utilizes two-dimentional labeling module to mark X-Y scheme, when carrying out three-dimensional labeling, utilizes three-dimensional labeling module to mark three-dimensional picture.
The present invention is in order to reduce overlapping development, save cost of development, when carrying out three-dimensional labeling, can call the two-dimentional annotation information in two-dimentional labeling module, two-dimentional annotation information is used in three-dimensional labeling, make the annotation information in three-dimensional labeling inherit pattern, the style of two dimension mark, and meet national standard and international standard.
Therefore,, utilizing before three-dimensional index wire and two dimension annotation carry out information labeling on to affiliated partner to be marked, obtain two dimension annotation.
Query unit 60 is for annotating in the two dimension annotation inquiry two dimension corresponding with object to be marked.
Annotation unit 70, for when inquiring the two dimension annotation corresponding with object to be marked, calls the two dimension annotation inquiring.
The inquiry two dimension annotation corresponding with object to be marked in the two dimension annotation getting, according to Object Query two dimension annotation to be marked, for example, three-dimensional picture to be marked needs radius dimension and coordinate, inquires about the two dimension annotation of radius dimension and coordinate in two dimension annotation.
After inquiring the two dimension annotation of radius dimension and coordinate, three-dimensional labeling module is called two dimension annotation, and utilizes two dimension annotation to mark three-dimensional picture.
Generation unit 80, for when not inquiring the two dimension annotation corresponding with object to be marked, generates new two dimension annotation.
If do not find the two dimension annotation corresponding with object to be marked in existing two dimension annotation, generate new two dimension annotation, in the existing two dimension annotation of new two dimension annotation, do not have, can carry out three-dimensional labeling to three-dimensional picture, meanwhile, also can when carrying out two dimension mark, utilize the new two dimension annotation generating.
Preferably, in order to reduce overlapping development, new two dimension annotation is for two-dimentional module or three-dimensional module.
Preferably, adding device 20 comprises the first receiver module, adjusting module, the second receiver module and adjustment module.The first receiver module is used for receiving the nemaline command information of the three-dimensional guide of adjustment, adjusting module is for adjusting the arrowhead form of three-dimensional index wire based on adjusting the nemaline command information of three-dimensional guide by list box, or the second receiver module is for receiving the command information that regulates three-dimensional index wire length, and adjustment module puts for the command information based on the three-dimensional index wire length of adjusting the length that regulates three-dimensional index wire by folder.
Three-dimensional index wire is that three-dimensional index wire is presented in three-dimensional labeling with three dimensional form, can adjust shape and the length of three-dimensional index wire for the three-dimensional index wire adding according to the index wire of national standard and international standard exploitation.
For example, receive to adjust three-dimensional guide nemaline command information after, can display column bezel, cluster, by list box, adjust the arrowhead form of three-dimensional index wire.Wherein, in list box, stored the arrowhead form of various patterns, the arrowhead form that meets national standard and international standard of the arrowhead form of these storages.
After receiving the instruction of the length of adjusting three-dimensional index wire, by adjustment, press from both sides the length of a little adjusting three-dimensional index wire.Folder point is a kind of integrated edit pattern, for example, uses that folder point can stretch to object, moves, the operation such as rotation, convergent-divergent and mirror image.By folder put to three-dimensional index wire stretch, move, the operation such as rotation, convergent-divergent and mirror image.
By the shape of three-dimensional index wire and length are adjusted, the three-dimensional index wire adding is met consumers' demand, make markup information more accurate, clear.
Fig. 8 is according to the schematic diagram of the data processing equipment for computer graphical mark of third embodiment of the invention.As shown in the figure, this data processing equipment comprises receiving element 10, adding device 20, call unit 30 and mark unit 40, and wherein, mark unit 40 comprises that the 3rd receiver module 401, first adds module 402, second and adds module 403 and annotations module 404.
The 3rd receiver module 401 is for being received in the request of carrying out information labeling on the first affiliated partner and the second affiliated partner, and the request of carrying out information labeling on the first affiliated partner and the second affiliated partner comprises index wire information and annotation information.
On the first affiliated partner and the second affiliated partner, carry out the relation that information labeling comprises mark the first affiliated partner and the second affiliated partner, for example, the distance of the central point of the central point of the first affiliated partner and the second affiliated partner, the information such as space angle of the first affiliated partner and the second affiliated partner.
The first affiliated partner and the second affiliated partner are carried out to index wire information and the annotation information that information labeling comprises mark the first affiliated partner and the second affiliated partner, index wire information can say that the first affiliated partner and the second affiliated partner connect, annotation information can the two-dimentional annotation information of bar, annotation the first affiliated partner and the second affiliated partner relation between the two.
First adds module 402 for add the first three-dimensional index wire on the first affiliated partner based on index wire information, based on index wire information, on the second affiliated partner, add the second three-dimensional index wire, wherein, the first three-dimensional index wire and the second three-dimensional index wire intersect at a point, and any intersecting is as joining.
Based on index wire information, on the first affiliated partner, add the first three-dimensional index wire, based on index wire information, on the second affiliated partner, add the second three-dimensional index wire, the first three-dimensional index wire and the second three-dimensional index wire intersect at a point, and any intersecting is as joining.
Second adds module 403 for take joining based on index wire information as starting point interpolation dash line.
The dash line and the first three-dimensional index wire, the second three-dimensional index wire that add intersect at joining, and the elongated end of dash line points to annotation information and adjusts frame, adjusts frame can carry out three-dimensional labeling to the first affiliated partner and the second affiliated partner by annotation information.
Annotations module 404 is for carrying out two dimension annotation based on annotation information at the destination terminal of the bearing of trend of dash line.
The annotation information of the destination terminal of the bearing of trend by dash line is adjusted frame can carry out three-dimensional labeling to the first affiliated partner and the second affiliated partner.
Take figure shown in Fig. 5 as example, the first affiliated partner is rectangular parallelepiped, the second affiliated partner is right cylinder, on the first affiliated partner, add the first three-dimensional index wire 3, on the second affiliated partner, add the second three-dimensional index wire 4, at the first three-dimensional index wire 3 and the second three-dimensional index wire 4, intersect at a point, at intersection point place, add dash line 5, and have an annotation information to adjust frame 6 at the terminal of the elongated end of dash line 5.In annotation information, adjust the two-dimentional annotation information of the interior mark of frame 6, such as tolerance information etc.
By adding many three-dimensional index wires, and call two-dimentional annotation and can mark a plurality of affiliated partners, make a plurality of three-dimensional picture also can utilize two dimension annotation to carry out information labeling, thereby avoided overlapping development, also make software more be easy to study.
The embodiment of the present invention also provides a kind of computer-readable storage medium.This computer-readable storage medium can have program stored therein, and this program is for carrying out the part or all of step of the above-mentioned data processing method for computer graphical mark.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part of detailed description, can be referring to the associated description of other embodiment.
In the several embodiment that provide in the application, should be understood that disclosed device can be realized by another way.For example, device embodiment described above is only schematic, the for example division of described unit, be only that a kind of logic function is divided, during actual realization, can there is other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrical or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises that some instructions are with so that a computer equipment (can be personal computer, server or the network equipment etc.) is carried out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CDs.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. for a data processing method for computer graphical mark, it is characterized in that, comprising:
Be received in the request of carrying out three-dimensional labeling on affiliated partner to be marked, wherein, in described request, comprise interpolation information and two-dimentional annotation information;
Described interpolation information based in described request is added three-dimensional index wire on described affiliated partner to be marked;
Described two-dimentional annotation information based in described request is called corresponding two dimension annotation; And
Utilize described three-dimensional index wire and described two dimension annotation to carrying out information labeling on described affiliated partner to be marked.
2. data processing method according to claim 1, is characterized in that, is utilizing before described three-dimensional index wire and described two dimension annotation carry out information labeling on to described affiliated partner to be marked, and described data processing method also comprises:
Obtain described two dimension annotation;
The inquiry two dimension annotation corresponding with described object to be marked in described two dimension annotation;
If inquire the two dimension annotation corresponding with described object to be marked, call the two dimension annotation inquiring;
If do not inquire the two dimension annotation corresponding with described object to be marked, generate new two dimension annotation.
3. data processing method according to claim 2, is characterized in that, described new two dimension annotation is for two-dimentional module or three-dimensional module.
4. data processing method according to claim 1, is characterized in that, the described interpolation information based in described request is added three-dimensional index wire and comprised on described affiliated partner to be marked:
Receive and adjust the described three-dimensional nemaline command information that guides;
Based on adjusting the nemaline command information of described three-dimensional guide, by list box, adjust the arrowhead form of described three-dimensional index wire; Or
Receive the command information that regulates described three-dimensional index wire length;
Based on regulating the command information of described three-dimensional index wire length, by folder, put the length of adjusting described three-dimensional index wire.
5. data processing method according to claim 1, is characterized in that, utilizes described three-dimensional index wire and described two dimension annotation to comprise carrying out information labeling on described affiliated partner to be marked:
Be received in the request of carrying out information labeling on the first affiliated partner and the second affiliated partner, the request of carrying out information labeling on the first affiliated partner and the second affiliated partner comprises index wire information and annotation information;
Based on described index wire information, on described the first affiliated partner, add the first three-dimensional index wire, based on described index wire information, on described the second affiliated partner, add the second three-dimensional index wire, wherein, described the first three-dimensional index wire and described the second three-dimensional index wire intersect at a point, and any intersecting is as joining;
Based on described index wire information, take described joining as starting point interpolation dash line; And
Based on described annotation information, at the destination terminal of the bearing of trend of described dash line, carry out two dimension annotation.
6. for a data processing equipment for computer graphical mark, it is characterized in that, comprising:
Receiving element, for being received in the request of carrying out three-dimensional labeling on affiliated partner to be marked, wherein, comprises interpolation information and two-dimentional annotation information in described request;
Adding device adds three-dimensional index wire for the described interpolation information based on described request on described affiliated partner to be marked;
Call unit, calls corresponding two dimension annotation for the described two-dimentional annotation information based on described request; And
Mark unit, for utilizing described three-dimensional index wire and described two dimension annotation to carrying out information labeling on described affiliated partner to be marked.
7. data processing equipment according to claim 6, is characterized in that, described data processing equipment also comprises:
Acquiring unit, for utilizing before described three-dimensional index wire and described two dimension annotation carry out information labeling on to described affiliated partner to be marked, obtains described two dimension annotation;
Query unit, for annotating in the described two dimension annotation inquiry two dimension corresponding with described object to be marked;
Annotation unit, for when inquiring the two dimension annotation corresponding with described object to be marked, calls the two dimension annotation inquiring;
Generation unit, for when not inquiring the two dimension annotation corresponding with described object to be marked, generates new two dimension annotation.
8. data processing equipment according to claim 7, is characterized in that, described new two dimension annotation is for two-dimentional module or three-dimensional module.
9. data processing equipment according to claim 6, is characterized in that, described adding device comprises:
The first receiver module, adjusts the described three-dimensional nemaline command information that guides for receiving;
Adjusting module, for adjusting the arrowhead form of described three-dimensional index wire based on adjusting the nemaline command information of described three-dimensional guide by list box; Or
The second receiver module, for receiving the command information that regulates described three-dimensional index wire length;
Adjustment module, puts for the command information based on the described three-dimensional index wire length of adjusting the length that regulates described three-dimensional index wire by folder.
10. data processing equipment according to claim 6, is characterized in that, described mark unit comprises:
The 3rd receiver module, for being received in the request of carrying out information labeling on the first affiliated partner and the second affiliated partner, the request of carrying out information labeling on the first affiliated partner and the second affiliated partner comprises index wire information and annotation information;
First adds module, for add the first three-dimensional index wire on described the first affiliated partner based on described index wire information, based on described index wire information, on described the second affiliated partner, add the second three-dimensional index wire, wherein, described the first three-dimensional index wire and described the second three-dimensional index wire intersect at a point, and any intersecting is as joining;
Second adds module, for take described joining based on described index wire information as starting point interpolation dash line; And
Annotations module, for carrying out two dimension annotation based on described annotation information at the destination terminal of the bearing of trend of described dash line.
CN201310657057.4A 2013-12-06 2013-12-06 Data processing method and device for computer graphical mark Active CN103679817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310657057.4A CN103679817B (en) 2013-12-06 2013-12-06 Data processing method and device for computer graphical mark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310657057.4A CN103679817B (en) 2013-12-06 2013-12-06 Data processing method and device for computer graphical mark

Publications (2)

Publication Number Publication Date
CN103679817A true CN103679817A (en) 2014-03-26
CN103679817B CN103679817B (en) 2016-08-24

Family

ID=50317258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310657057.4A Active CN103679817B (en) 2013-12-06 2013-12-06 Data processing method and device for computer graphical mark

Country Status (1)

Country Link
CN (1) CN103679817B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678038A (en) * 2016-03-28 2016-06-15 北京数码大方科技股份有限公司 Data processing method and device for computer-aided design
CN105825551A (en) * 2016-03-11 2016-08-03 广州视睿电子科技有限公司 Three-dimensional tag realization method and apparatus
CN106503403A (en) * 2016-11-29 2017-03-15 上海卫星工程研究所 A kind of satellite cellular sandwich plate three-dimensional labeling method
CN109685899A (en) * 2018-12-25 2019-04-26 成都四方伟业软件股份有限公司 Three-dimensional visualization marks management system, method and computer storage medium
US10831179B2 (en) 2017-03-16 2020-11-10 General Electric Company Systems and methods for generating PMI association among features on a machine part of a model

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0724149A1 (en) * 1995-01-27 1996-07-31 Gec Alsthom Systemes Et Services Sa Method for nondestructive control of a surface, especially in a hostile environment
CN102254045A (en) * 2011-08-17 2011-11-23 北京数码大方科技有限公司 Graphic file processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0724149A1 (en) * 1995-01-27 1996-07-31 Gec Alsthom Systemes Et Services Sa Method for nondestructive control of a surface, especially in a hostile environment
CN102254045A (en) * 2011-08-17 2011-11-23 北京数码大方科技有限公司 Graphic file processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程五四等: ""面向三维工艺的产品设计制造信息三维标注研究"", 《中国制造业信息化》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825551A (en) * 2016-03-11 2016-08-03 广州视睿电子科技有限公司 Three-dimensional tag realization method and apparatus
WO2017152703A1 (en) * 2016-03-11 2017-09-14 广州视睿电子科技有限公司 Three-dimensional tag implementation method and device
CN105678038A (en) * 2016-03-28 2016-06-15 北京数码大方科技股份有限公司 Data processing method and device for computer-aided design
CN105678038B (en) * 2016-03-28 2019-06-28 北京数码大方科技股份有限公司 Data processing method and device for CAD
CN106503403A (en) * 2016-11-29 2017-03-15 上海卫星工程研究所 A kind of satellite cellular sandwich plate three-dimensional labeling method
US10831179B2 (en) 2017-03-16 2020-11-10 General Electric Company Systems and methods for generating PMI association among features on a machine part of a model
CN109685899A (en) * 2018-12-25 2019-04-26 成都四方伟业软件股份有限公司 Three-dimensional visualization marks management system, method and computer storage medium

Also Published As

Publication number Publication date
CN103679817B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN103679817A (en) Data processing method and device for computer graphic annotation
CN101308488B (en) Document stream type information processing method based on format document and device therefor
CN110929310A (en) Cloud drawing intelligent generation and editing method
CN105045775A (en) Method and apparatus for generating Excel document in designated format
CN101877021B (en) Method for automatically converting data among kinetic analysis, three-dimensional modeling and finite-element analysis software
CN102637184A (en) Method and system for customizing webpages
US7383092B2 (en) Information processing apparatus and method, and program
CN104077446A (en) Method and system for extracting two-dimensional electric construction drawing from digitized three-dimensional model
CN102129718A (en) Undistorted heterogeneous CAD model conversion method
CN106407199A (en) Network article comment processing method and apparatus
CN112818457A (en) BIM (building information modeling) model intelligent generation method and system based on CAD (computer-aided design) drawing
CN105335309A (en) Data transmission method and computer
CN113010945A (en) BIM model linkage method and system
CN116630468A (en) Two-dimensional drawing generation method and device, storage medium and electronic equipment
CN103678263A (en) Graphical interface display method and system for incidence relations among document chapters
CN202171802U (en) Computer aided design (CAD) system for mould part
CN104156209B (en) Cross-platform interface modeling method and device
Song et al. Development of a lightweight CAE middleware for CAE data exchange
CN110312990A (en) Configuration method and system
JP2014215769A (en) Drawing generation apparatus, drawing generation method and program
CN114036721A (en) Method and device for constructing three-dimensional temperature cloud field of micro-module
CN106126056A (en) A kind of lantern slide based on PowerPoint automatically creates method and device
CN113407080A (en) Method and device for generating component label, computer equipment and storage medium
CN100498765C (en) Method and device for making electric newspaper printing plate
CN105354295A (en) Dynamic display apparatus and method for three-dimensional dynamic plotted-point label

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant