CN103679817B - Data processing method and device for computer graphical mark - Google Patents
Data processing method and device for computer graphical mark Download PDFInfo
- Publication number
- CN103679817B CN103679817B CN201310657057.4A CN201310657057A CN103679817B CN 103679817 B CN103679817 B CN 103679817B CN 201310657057 A CN201310657057 A CN 201310657057A CN 103679817 B CN103679817 B CN 103679817B
- Authority
- CN
- China
- Prior art keywords
- dimensional
- information
- 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.)
- Active
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of data processing method for computer graphical mark and device.This data processing method includes receiving the request carrying out three-dimensional labeling on affiliated partner to be marked, wherein, comprises interpolation information and two-dimensional annotation information in request;On affiliated partner to be marked, three-dimensional index wire is added based on the interpolation information in request;Corresponding two-dimensional annotation is called based on the two-dimensional annotation information in request;And utilize three-dimensional index wire and two-dimensional annotation to performing information labeling on affiliated partner to be marked.By the present invention, solve and prior art cannot utilize two-dimensional annotation carry out the problem of three-dimensional labeling, and then reached the effect utilizing two-dimensional annotation to carry out three-dimensional labeling.
Description
Technical field
The present invention relates to mapping software field, process in particular to a kind of data for computer graphical mark
Method and apparatus.
Background technology
Along with improving constantly of product object function and performance requirement, to product complete machine or the subsystem with standalone feature
Digitized description also require that more and more complete.
Model basic definition (Model Base Definition is called for short MBD) uses integrated three-dimensional entity model
Expressed intact Product Definition information, Product Definition, the mark rule of tolerance and work in specified in more detail three-dimensional entity model
The expression of skill information.So, three-dimensional entity model becomes the unique foundation during the manufacturing, changes biography
System is based on engineering drawing, and is auxiliary manufacture method with three-dimensional entity model.
For realizing MBD, draw in three-dimensional computer Computer Aided Design (Computer-aided Design, CAD) software
Having entered Product Manufacturing Information (Product and Manufacturing Information is called for short PMI) concept, being used for will
The information of product component design is correctly delivered in product manufacturing.More particularly, the information of PMI transmission includes geometry
Tolerance information, three-dimensional annotation, surface roughness, and material specification etc..
PMI essence is a kind of three-dimensional labeling or annotation, and it is essential is the same with two dimension mark or annotation, and i.e. it is
External declaration rather than a part for model to model.
Due to two dimension, the three-dimensional respectively disparate modules of CAD software, for realizing the mark in three-dimensional software, market
The mode that upper various CAD software use is all to develop data object and the function collection of a set of new three-dimensional labeling, uses
To characterize PMI and generation, editor PMI.This mode is equivalent to again write a set of three-dimensional labeling software, it is impossible to borrow
Existing two dimension mark code in mirror software, data and the most all can not multiplexing, construction cycle and relatively costly.
For prior art utilizing two-dimensional annotation carry out the problem of three-dimensional labeling, effective solution is the most not yet proposed
Certainly scheme.
Summary of the invention
Present invention is primarily targeted at and a kind of data processing method for computer graphical mark and device are provided, with
The problem solving two-dimensional annotation to be utilized to carry out three-dimensional labeling in prior art.
To achieve these goals, according to an aspect of the invention, it is provided a kind of for computer graphical mark
Data processing method.The data processing method for computer graphical mark according to the present invention includes: receives and marks waiting
Carry out the request of three-dimensional labeling on the affiliated partner of note, wherein, request comprises interpolation information and two-dimensional annotation information;
On affiliated partner to be marked, three-dimensional index wire is added based on the interpolation information in request;Based on the two dimension note in request
The information of releasing calls corresponding two-dimensional annotation;And utilize three-dimensional index wire and two-dimensional annotation on affiliated partner to be marked
Perform information labeling.
Further, utilize three-dimensional index wire and two-dimensional annotation to perform on affiliated partner to be marked information labeling it
Before, data processing method also includes: obtain two-dimensional annotation;Two-dimensional annotation is inquired about corresponding with object to be marked
Two-dimensional annotation;If inquiring the two-dimensional annotation corresponding with object to be marked, then call the two dimension note inquired
Release;Without inquiring the two-dimensional annotation corresponding with object to be marked, then generate new two-dimensional annotation.
Further, new two-dimensional annotation is in two dimension module or three-dimensional module.
Further, on affiliated partner to be marked, add three-dimensional index wire based on the interpolation information in request to include:
Receive and adjust the three-dimensional nemaline command information of guide;Nemaline command information is guided to pass through list based on adjusting three-dimensional
Frame adjusts the arrowhead form of three-dimensional index wire;Or receive the command information of the three-dimensional index wire length of regulation;Based on regulation
The command information of three-dimensional index wire length adjusts the length of three-dimensional index wire by folder point.
Further, utilize three-dimensional index wire and two-dimensional annotation to performing information labeling bag on affiliated partner to be marked
Include: receive the request of information labeling of performing on the first affiliated partner and the second affiliated partner, at the first affiliated partner and
The request performing information labeling on second affiliated partner includes index wire information and annotation information;Exist based on index wire information
Add the first three-dimensional index wire on first affiliated partner, on the second affiliated partner, add the two or three based on index wire information
Dimension index wire, wherein, the first three-dimensional index wire and the second three-dimensional index wire intersect at a point, and any intersected is as phase
Intersection point;Dash line is added with joining for starting point based on index wire information;And based on annotation information prolonging at dash line
The destination terminal stretching direction carries out two-dimensional annotation.
To achieve these goals, according to a further aspect in the invention, it is provided that a kind of for computer graphical mark
Data processing equipment.The data processing equipment for computer graphical mark according to the present invention includes: receive unit,
On affiliated partner to be marked, carry out the request of three-dimensional labeling for receiving, wherein, request comprises interpolation information and
Two-dimensional annotation information;Adding device, for adding three based on the interpolation information in request on affiliated partner to be marked
Dimension index wire;Call unit, for calling corresponding two-dimensional annotation based on the two-dimensional annotation information in request;And mark
Note unit, for utilizing three-dimensional index wire and two-dimensional annotation to performing information labeling on affiliated partner to be marked.
Further, data processing equipment also includes: acquiring unit, for utilizing three-dimensional index wire and two-dimensional annotation
Before performing information labeling on affiliated partner to be marked, obtain two-dimensional annotation;Query unit, for noting in two dimension
Release the two-dimensional annotation that middle inquiry is corresponding with object to be marked;Annotation unit, for inquire right with to be marked
During as corresponding two-dimensional annotation, call the two-dimensional annotation inquired;Signal generating unit, for not inquiring and treating
During the two-dimensional annotation corresponding to object of mark, generate new two-dimensional annotation.
Further, new two-dimensional annotation is in two dimension module or three-dimensional module.
Further, adding device includes: the first receiver module, is used for receiving adjustment three-dimensional and guides nemaline instruction
Information;Adjusting module, for guiding nemaline command information to adjust three-dimensional guide by list box based on adjustment three-dimensional
The arrowhead form of line;Or the second receiver module, for receiving the command information of the three-dimensional index wire length of regulation;Regulation
Module, for the command information based on the three-dimensional index wire length of the regulation length by the folder point three-dimensional index wire of regulation.
Further, mark unit includes: the 3rd receiver module, for receiving in the first affiliated partner and the second association
Perform the request of information labeling on object, the first affiliated partner and the second affiliated partner perform the request of information labeling
Including index wire information and annotation information;First adds module, is used for based on index wire information at the first affiliated partner
Add the first three-dimensional index wire, on the second affiliated partner, add the second three-dimensional index wire based on index wire information, its
In, the first three-dimensional index wire and the second three-dimensional index wire intersect at a point, and any intersected is as joining;Second
Add module, for adding dash line with joining for starting point based on index wire information;And annotations module, for base
Two-dimensional annotation is carried out at the destination terminal of the bearing of trend of dash line in annotation information.
By the present invention, use the request carrying out three-dimensional labeling on affiliated partner to be marked that receives, wherein, request
In comprise interpolation information and two-dimensional annotation information;Add on affiliated partner to be marked based on the interpolation information in request
Three-dimensional index wire;Corresponding two-dimensional annotation is called based on the two-dimensional annotation information in request;And utilize three-dimensional index wire
With two-dimensional annotation to performing information labeling on affiliated partner to be marked, solve and prior art cannot utilize two dimension note
Release the problem carrying out three-dimensional labeling, and then reach the effect utilizing two-dimensional annotation to carry out three-dimensional labeling.
Accompanying drawing explanation
The accompanying drawing of the part constituting the application is used for providing a further understanding of the present invention, and the present invention's is schematic real
Execute example and illustrate for explaining the present invention, being not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the data processing method for computer graphical mark according to a first embodiment of the present invention;
Fig. 2 is the schematic diagram that affiliated partner to be marked carries out information labeling according to embodiments of the present invention;
Fig. 3 is the flow chart of the data processing method for computer graphical mark according to a second embodiment of the present invention;
Fig. 4 is the flow chart of the data processing method for computer graphical mark according to a third embodiment of the present invention;
Fig. 5 is the signal that the first affiliated partner and the second affiliated partner carry out three-dimensional labeling according to embodiments of the present invention
Figure;
Fig. 6 is the schematic diagram of the data processing equipment for computer graphical mark according to a first embodiment of the present invention;
Fig. 7 is the schematic diagram of the data processing equipment for computer graphical mark according to a second embodiment of the present invention;
And
Fig. 8 is the schematic diagram of the data processing equipment for computer graphical mark according to a third embodiment of the present invention.
Detailed description of the invention
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases
Combination mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention
Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment
It is only the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ability
The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, all should belong to
The scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing,
" second " etc. are for distinguishing similar object, without being used for describing specific order or precedence.Should manage
Solve the data so used can exchange in the appropriate case, in order to embodiments of the invention described herein can be to remove
Order beyond those that here illustrate or describe is implemented.Additionally, term " includes " and " having " and he
Any deformation, it is intended that cover non-exclusive comprising, such as, contain the mistake of series of steps or unit
Journey, method, system, product or equipment are not necessarily limited to those steps or the unit clearly listed, but can include not
Have that clearly list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiments provide a kind of data processing method for computer graphical mark.
Fig. 1 is the flow chart of the data processing method for computer graphical mark according to a first embodiment of the present invention.
As it can be seen, this data processing method comprises the steps:
Step S101, receives the request carrying out three-dimensional labeling on affiliated partner to be marked, wherein, wraps in request
Containing interpolation information and two-dimensional annotation information.
The request carrying out three-dimensional labeling on affiliated partner to be marked carries out information labeling for request to 3-D graphic, can
With the information such as Product Manufacturing Information such as surface roughness, material specification of mark, the process that 3-D graphic is labeled
In, in order to avoid exploitation is applicable to a set of three-dimensional annotation information of three-dimensional labeling again, existing two dimension note can be called
Information of releasing carries out information labeling to 3-D graphic.
Two-dimensional annotation information can annotate the geometric tolerances information of such as product component, textual annotation, surface roughness with
And the product annotation information such as material specification, it is also possible to the general information such as the size of comment graphics, angle.Two dimension mark
Meet national standard and international standard (International Organization for Standardization is called for short ISO)
Deng, in annotation procedure to information such as shape, display, style, attribute, index wire, tolerance and the roundings annotated all
There is huge and fine standard so that utilize graphics software to draw the figure obtained and meet general international standard, have
Versatility.
Interpolation information is in order to when utilizing existing two-dimensional annotation information that 3-D graphic is carried out three-dimensional labeling, introduction adds
Information, may refer to the information such as lead-in wire, is used for representing the location of annotated information of affiliated partner to be marked, multiple to be marked
The relation of affiliated partner and other information etc..
Step S102, adds three-dimensional index wire based on the interpolation information in request on affiliated partner to be marked.
When the interpolation information in request is the information that index wire is added in request, the index wire of interpolation is interpolation three
The information of dimension index wire.For dimensioning of three-dimensional sized objects, typically certain plane can be placed on by 3 point locations
On, if leading point is the most in the plane, then the main part of size can be placed on two dimensional surface, add the most again
Add three-dimensional index wire.
When the interpolation information in request is request interpolation affiliated partner, affiliated partner to be marked can be one
Individual or multiple, accordingly, the three-dimensional index wire of interpolation can also be one or more, and the three-dimensional index wire of interpolation can
To mark multiple affiliated partners to be marked.
For request in interpolation information be add other information in the case of, can according to three-dimensional labeling need mark example
Such as information such as three-dimensional process information, color attribute information, temperature informations, other information can be according to each three-dimensional labeling
Needs be labeled.It should be noted that the above-mentioned information type marked is only to facilitate to inventive technique side
The understanding of case and the illustration that carries out, it should being appreciated that, the above-mentioned information marked includes but not limited to above-mentioned letter
Breath type, other information types identical with above-mentioned information type or equivalent can also be applied to the technical side of the present invention
Case.
Step S103, calls corresponding two-dimensional annotation based on the two-dimensional annotation information in request.
In request, two-dimensional annotation information is used for dimensioning of three-dimensional figure, such as by the length annotation callout in two-dimensional annotation information
The length of body diagonal in 3-D graphic, with the hole in the aperture annotation information dimensioning of three-dimensional figure in two-dimensional annotation information
Footpath size.
Step S104, utilizes three-dimensional index wire and two-dimensional annotation to performing information labeling on affiliated partner to be marked.
As in figure 2 it is shown, the 1 three-dimensional index wire of expression in figure, there are two three-dimensional index wires in fig. 2, mark in figure
130 and 609.6 is two-dimensional annotation information, utilizes three-dimensional index wire 1 and two-dimensional annotation information 2 that 3-D graphic is performed letter
Breath mark.Two-dimensional annotation information 130 in example shown in Fig. 2 is the cornerwise length representing cuboid side, with
Reason, it is also possible to by adding three-dimensional index wire and calling two-dimensional annotation information and carry out other three-dimensional labeling.
By utilizing existing two-dimensional annotation information, and 3-D graphic is labeled by the three-dimensional index wire added, energy
Enough avoid again developing a set of three-dimensional annotation information, utilize the two-dimensional annotation information existed, and add corresponding three
Dimension index wire, so that also can utilize two-dimensional annotation information to realize the mark of 3-D graphic in three-dimensional annotates.Separately
Outward, owing to three-dimensional labeling make use of two-dimensional annotation information, two-dimensional annotation information to meet national standard and iso standard, because of
This three-dimensional labeling also complies with national standard and the iso standard regulation to three-dimensional labeling so that user uses three-dimensional labeling to accord with
Close style and the pattern of two dimension mark, facilitate user learning and use, promote Consumer's Experience.
Fig. 3 is the flow chart of the data processing method for computer graphical mark according to a second embodiment of the present invention.
As it can be seen, before utilizing three-dimensional index wire and two-dimensional annotation to performing information labeling on affiliated partner to be marked,
This data processing method comprises the steps:
Step S201, obtains two-dimensional annotation.
Under normal circumstances, X-Y scheme and 3-D graphic can be labeled by CAD software, carrying out two dimension mark
Time, utilize two dimension labeling module that X-Y scheme is labeled, when carrying out three-dimensional labeling, utilize three-dimensional labeling module
3-D graphic is labeled.
The present invention, in order to reduce overlapping development, saves development cost, when carrying out three-dimensional labeling, can call two dimension mark
Two-dimensional annotation information in injection molding block, by two-dimensional annotation Information Pull to three-dimensional labeling so that the note in three-dimensional labeling
Release the pattern of Information inheriting two dimension mark, style, and meet national standard and international standard.
Therefore, before utilizing three-dimensional index wire and two-dimensional annotation to performing information labeling on affiliated partner to be marked,
Obtain two-dimensional annotation.
Step S202, inquires about the two-dimensional annotation corresponding with object to be marked in two-dimensional annotation.
Step S203, if inquiring the two-dimensional annotation corresponding with object to be marked, then calls two inquired
Dimension annotation.
The two-dimensional annotation corresponding with object to be marked is inquired about, according to object to be marked in the two-dimensional annotation got
Inquiry two-dimensional annotation, such as, 3-D graphic to be marked needs radius dimension and coordinate, inquiry mark in two-dimensional annotation
Note radius and the two-dimensional annotation of coordinate.
After inquiring the two-dimensional annotation of radius dimension and coordinate, three-dimensional labeling module calls two-dimensional annotation, and utilizes
3-D graphic is labeled by two-dimensional annotation.
Step S204, without inquiring the two-dimensional annotation corresponding with object to be marked, then generates new two dimension
Annotation.
If not finding the two-dimensional annotation corresponding with object to be marked in existing two-dimensional annotation, then generate new
Two-dimensional annotation, new two-dimensional annotation is not have in existing two-dimensional annotation, and 3-D graphic can carry out three-dimensional mark
Note, it is also possible to utilize, when carrying out two dimension mark, the new two-dimensional annotation generated.
Preferably, in order to reduce overlapping development, new two-dimensional annotation is in two dimension module or three-dimensional module.Namely
Saying, new two-dimensional annotation is applied not only to carry out the three-dimensional labeling of 3-D graphic, it is also possible to for carrying out the two of X-Y scheme
Dimension mark.
The interpolation information being preferably based in request is added three-dimensional index wire on affiliated partner to be marked and is included: connect
Receive and adjust the three-dimensional nemaline command information of guide;Nemaline command information is guided to pass through list box based on adjusting three-dimensional
Adjust the arrowhead form of three-dimensional index wire, or receive the command information of the three-dimensional index wire length of regulation;Based on regulation three
The command information of dimension index wire length adjusts the length of three-dimensional index wire by folder point.
Three-dimensional index wire is the index wire developed according to national standard and international standard, and three-dimensional index wire shows in three dimensions
Showing in three-dimensional labeling, the three-dimensional index wire for adding can adjust shape and the length of three-dimensional index wire.
Such as, receive after adjusting the three-dimensional nemaline command information of guide, list box can be shown, pass through list box
Adjust the arrowhead form of three-dimensional index wire.Wherein, list box stores the arrowhead form of various pattern, these storages
The arrowhead form meeting national standard and international standard of arrowhead form.
After receiving the instruction of the length adjusting three-dimensional index wire, adjust the length of three-dimensional index wire by adjusting folder point
Degree.Folder point is a kind of integrated edit pattern, such as, uses folder point can stretch object, move, revolve
Turn, scaling and the operation such as mirror image.By folder point, three-dimensional index wire is stretched, moves, rotates, scales and mirror image
Deng operation.
By the shape of three-dimensional index wire and length are adjusted so that the three-dimensional index wire of interpolation meets user's need
Ask so that markup information is more accurate, clear.
Fig. 4 is the flow chart of the data processing method for computer graphical mark according to a third embodiment of the present invention.
As it can be seen, utilize three-dimensional index wire and two-dimensional annotation to include as follows to execution information labeling on affiliated partner to be marked
Step:
Step S301, receives the request of information labeling of performing on the first affiliated partner and the second affiliated partner, the
The request performing information labeling on one affiliated partner and the second affiliated partner includes index wire information and annotation information.
First affiliated partner and the second affiliated partner perform information labeling and includes that marking the first affiliated partner and second closes
The relation of connection object, such as, the central point of the first affiliated partner and the distance of the central point of the second affiliated partner, first
The information such as the space angle of affiliated partner and the second affiliated partner.
First affiliated partner and the second affiliated partner perform information labeling include marking the first affiliated partner and the second association
The index wire information of object and annotation information, index wire information can say the first affiliated partner and the contact of the second affiliated partner
Get up, annotation information can bar two-dimensional annotation information, annotate the first affiliated partner and the second affiliated partner between the two
Relation.
Step S302, adds the first three-dimensional index wire based on index wire information, based on guide on the first affiliated partner
Line information adds the second three-dimensional index wire on the second affiliated partner, and wherein, the first three-dimensional index wire and the second three-dimensional refer to
Lead-in wire intersects at a point, and any intersected is as joining.
On the first affiliated partner, the first three-dimensional index wire is added, based on index wire information second based on index wire information
Add the second three-dimensional index wire, the first three-dimensional index wire and the second three-dimensional index wire on affiliated partner to intersect at a point, phase
Any handed over is as joining.
Step S303, adds dash line with joining for starting point based on index wire information.
The dash line added and the first three-dimensional index wire, the second three-dimensional index wire intersect at joining, the extension of dash line
End points to annotation information and adjusts frame, and adjusting frame by annotation information can enter the first affiliated partner and the second affiliated partner
Row three-dimensional labeling.
Step S304, carries out two-dimensional annotation based on annotation information at the destination terminal of the bearing of trend of dash line.
Adjust frame by the annotation information of the destination terminal of the bearing of trend of dash line can the first affiliated partner and second be closed
Connection object carries out three-dimensional labeling.
As a example by figure shown in Fig. 5, the first affiliated partner is cuboid, and the second affiliated partner is cylinder, first
Add the first three-dimensional index wire 3 on affiliated partner, the second affiliated partner adds the second three-dimensional index wire 4, the
One three-dimensional index wire 3 and the second three-dimensional index wire 4 intersect at a point, and add dash line 5 in point of intersection, and at short stroke
The terminal of the elongated end of line 5 has an annotation information to adjust frame 6.Two-dimensional annotation letter is marked in annotation information adjusts frame 6
Breath, such as tolerance information etc..
By adding a plurality of three-dimensional index wire, and call two-dimensional annotation and multiple affiliated partners can be labeled so that
Multiple 3-D graphic also are able to utilize two-dimensional annotation to carry out information labeling, thus avoid overlapping development, also make software
More easily learn.
The data processing method of the embodiment of the present invention can be held by the data processing equipment that the embodiment of the present invention is provided
OK, the data processing equipment of the embodiment of the present invention can be used for performing the data process side that the embodiment of the present invention is provided
Method.
Being introduced the preferred embodiment of the data processing equipment of the present invention below, the data of following example process dress
Putting can be as the preferred embodiment of the data processing equipment of embodiment illustrated in fig. 1.
Fig. 6 is the schematic diagram of the data processing equipment for computer graphical mark according to a first embodiment of the present invention.
As it can be seen, this data processing equipment includes receiving unit 10, adding device 20, call unit 30 and mark unit
40。
Receive unit 10 on affiliated partner to be marked, carry out the request of three-dimensional labeling, wherein, request for reception
In comprise interpolation information and two-dimensional annotation information.
The request carrying out three-dimensional labeling on affiliated partner to be marked carries out information labeling for request to 3-D graphic, can
With the information such as Product Manufacturing Information such as surface roughness, material specification of mark, the process that 3-D graphic is labeled
In, in order to avoid exploitation is applicable to a set of three-dimensional annotation information of three-dimensional labeling again, existing two dimension note can be called
Information of releasing carries out information labeling to 3-D graphic.
Two-dimensional annotation information can annotate the geometric tolerances information of such as product component, textual annotation, surface roughness with
And the product annotation information such as material specification, it is also possible to the general information such as the size of comment graphics, angle.Two dimension mark
Meet national standard and international standard (International Organization for Standardization is called for short ISO)
Deng, in annotation procedure to information such as shape, display, style, attribute, index wire, tolerance and the roundings annotated all
There is huge and fine standard so that utilize graphics software to draw the figure obtained and meet general international standard, have
Versatility.
Interpolation information is in order to when utilizing existing two-dimensional annotation information that 3-D graphic is carried out three-dimensional labeling, introduction adds
Information, may refer to the information such as lead-in wire, is used for representing the location of annotated information of affiliated partner to be marked, multiple to be marked
The relation of affiliated partner and other information etc..
Adding device 20 is for adding three-dimensional guide based on the interpolation information in request on affiliated partner to be marked
Line.
When the interpolation information in request is the information that index wire is added in request, the index wire of interpolation is interpolation three
The information of dimension index wire.For dimensioning of three-dimensional sized objects, typically certain plane can be placed on by 3 point locations
On, if leading point is the most in the plane, then the main part of size can be placed on two dimensional surface, add the most again
Add three-dimensional index wire.
When the interpolation information in request is request interpolation affiliated partner, affiliated partner to be marked can be one
Individual or multiple, accordingly, the three-dimensional index wire of interpolation can also be one or more, and the three-dimensional index wire of interpolation can
To mark multiple affiliated partners to be marked.
For request in interpolation information be add other information in the case of, can according to three-dimensional labeling need mark example
Such as information such as three-dimensional process information, color attribute information, temperature informations, other information can be according to each three-dimensional labeling
Needs be labeled.It should be noted that the above-mentioned information type marked is only to facilitate to inventive technique side
The understanding of case and the illustration that carries out, it should being appreciated that, the above-mentioned information marked includes but not limited to above-mentioned letter
Breath type, other information types identical with above-mentioned information type or equivalent can also be applied to the technical side of the present invention
Case.
Call unit 30 is for calling corresponding two-dimensional annotation based on the two-dimensional annotation information in request.
In request, two-dimensional annotation information is used for dimensioning of three-dimensional figure, such as by the length annotation callout in two-dimensional annotation information
The length of body diagonal in 3-D graphic, with the hole in the aperture annotation information dimensioning of three-dimensional figure in two-dimensional annotation information
Footpath size.
Mark unit 40 is for utilizing three-dimensional index wire and two-dimensional annotation to performing information mark on affiliated partner to be marked
Note.
As in figure 2 it is shown, the 1 three-dimensional index wire of expression in figure, there are two three-dimensional index wires in fig. 2, mark in figure
130 and 609.6 is two-dimensional annotation information, utilizes three-dimensional index wire 1 and two-dimensional annotation information 2 that 3-D graphic is performed letter
Breath mark.Two-dimensional annotation information 130 in example shown in Fig. 2 is the cornerwise length representing cuboid side, with
Reason, it is also possible to by adding three-dimensional index wire and calling two-dimensional annotation information and carry out other three-dimensional labeling.
Existing two-dimensional annotation information, and the three-dimensional guide that adding device 20 adds is called by call unit 30
Line so that 3-D graphic is labeled by mark unit 40, it is possible to avoid again developing a set of three-dimensional annotation information,
Utilize the two-dimensional annotation information existed, and add corresponding three-dimensional index wire, so that in three-dimensional annotates also
Two-dimensional annotation information can be utilized to realize the mark of 3-D graphic.Further, since three-dimensional labeling make use of two-dimensional annotation to believe
Breath, two-dimensional annotation information meets national standard and iso standard, and therefore three-dimensional labeling also complies with national standard and ISO mark
The accurate regulation to three-dimensional labeling so that user uses three-dimensional labeling to meet style and the pattern of two dimension mark, facilitates user
Study and use, promote Consumer's Experience.
Fig. 7 is the schematic diagram of the data processing equipment for computer graphical mark according to a second embodiment of the present invention.
As it can be seen, this data processing equipment includes receiving unit 10, adding device 20, call unit 30 and mark unit
40, also include acquiring unit 50, query unit 60, annotation unit 70 and signal generating unit 80.
Acquiring unit 50 is for utilizing three-dimensional index wire and two-dimensional annotation to performing information on affiliated partner to be marked
Before mark, obtain two-dimensional annotation.
Under normal circumstances, X-Y scheme and 3-D graphic can be labeled by CAD software, carrying out two dimension mark
Time, utilize two dimension labeling module that X-Y scheme is labeled, when carrying out three-dimensional labeling, utilize three-dimensional labeling module
3-D graphic is labeled.
The present invention, in order to reduce overlapping development, saves development cost, when carrying out three-dimensional labeling, can call two dimension mark
Two-dimensional annotation information in injection molding block, by two-dimensional annotation Information Pull to three-dimensional labeling so that the note in three-dimensional labeling
Release the pattern of Information inheriting two dimension mark, style, and meet national standard and international standard.
Therefore, before utilizing three-dimensional index wire and two-dimensional annotation to performing information labeling on affiliated partner to be marked,
Obtain two-dimensional annotation.
Query unit 60 is for inquiring about the two-dimensional annotation corresponding with object to be marked in two-dimensional annotation.
Annotation unit 70 for when inquiring the two-dimensional annotation corresponding with object to be marked, calls and inquires
Two-dimensional annotation.
The two-dimensional annotation corresponding with object to be marked is inquired about, according to object to be marked in the two-dimensional annotation got
Inquiry two-dimensional annotation, such as, 3-D graphic to be marked needs radius dimension and coordinate, inquiry mark in two-dimensional annotation
Note radius and the two-dimensional annotation of coordinate.
After inquiring the two-dimensional annotation of radius dimension and coordinate, three-dimensional labeling module calls two-dimensional annotation, and utilizes
3-D graphic is labeled by two-dimensional annotation.
Signal generating unit 80, for when not inquiring the two-dimensional annotation corresponding with object to be marked, generates new two
Dimension annotation.
If not finding the two-dimensional annotation corresponding with object to be marked in existing two-dimensional annotation, then generate new
Two-dimensional annotation, new two-dimensional annotation is not have in existing two-dimensional annotation, and 3-D graphic can carry out three-dimensional mark
Note, it is also possible to utilize, when carrying out two dimension mark, the new two-dimensional annotation generated.
Preferably, in order to reduce overlapping development, new two-dimensional annotation is in two dimension module or three-dimensional module.
Preferably, adding device 20 includes the first receiver module, adjusting module, the second receiver module and regulation mould
Block.First receiver module is used for receiving adjustment three-dimensional and guides nemaline command information, and adjusting module is for based on adjustment
The nemaline command information of three-dimensional guide adjusts the arrowhead form of three-dimensional index wire by list box, or second receives mould
Block is for receiving the command information of the three-dimensional index wire length of regulation, and adjustment module is for based on the three-dimensional index wire length of regulation
The command information length by the folder point three-dimensional index wire of regulation.
Three-dimensional index wire is the index wire developed according to national standard and international standard, and three-dimensional index wire shows in three dimensions
Showing in three-dimensional labeling, the three-dimensional index wire for adding can adjust shape and the length of three-dimensional index wire.
Such as, receive after adjusting the three-dimensional nemaline command information of guide, list box can be shown, pass through list box
Adjust the arrowhead form of three-dimensional index wire.Wherein, list box stores the arrowhead form of various pattern, these storages
The arrowhead form meeting national standard and international standard of arrowhead form.
After receiving the instruction of the length adjusting three-dimensional index wire, adjust the length of three-dimensional index wire by adjusting folder point
Degree.Folder point is a kind of integrated edit pattern, such as, uses folder point can stretch object, move, revolve
Turn, scaling and the operation such as mirror image.By folder point, three-dimensional index wire is stretched, moves, rotates, scales and mirror image
Deng operation.
By the shape of three-dimensional index wire and length are adjusted so that the three-dimensional index wire of interpolation meets user's need
Ask so that markup information is more accurate, clear.
Fig. 8 is the schematic diagram of the data processing equipment for computer graphical mark according to a third embodiment of the present invention.
As it can be seen, this data processing equipment includes receiving unit 10, adding device 20, call unit 30 and mark unit
40, wherein, mark unit 40 includes that the 3rd receiver module 401, first adds module 402, second and adds module
403 and annotations module 404.
3rd receiver module 401 performs asking of information labeling for receiving on the first affiliated partner and the second affiliated partner
Asking, the request performing information labeling on the first affiliated partner and the second affiliated partner includes index wire information and annotation letter
Breath.
First affiliated partner and the second affiliated partner perform information labeling and includes that marking the first affiliated partner and second closes
The relation of connection object, such as, the central point of the first affiliated partner and the distance of the central point of the second affiliated partner, first
The information such as the space angle of affiliated partner and the second affiliated partner.
First affiliated partner and the second affiliated partner perform information labeling include marking the first affiliated partner and the second association
The index wire information of object and annotation information, index wire information can say the first affiliated partner and the contact of the second affiliated partner
Get up, annotation information can bar two-dimensional annotation information, annotate the first affiliated partner and the second affiliated partner between the two
Relation.
First adds module 402 is used for adding the first three-dimensional index wire on the first affiliated partner based on index wire information,
On the second affiliated partner, the second three-dimensional index wire is added based on index wire information, wherein, the first three-dimensional index wire and the
Two three-dimensional index wires intersect at a point, and any intersected is as joining.
On the first affiliated partner, the first three-dimensional index wire is added, based on index wire information second based on index wire information
Add the second three-dimensional index wire, the first three-dimensional index wire and the second three-dimensional index wire on affiliated partner to intersect at a point, phase
Any handed over is as joining.
Second adds module 403 for adding dash line with joining for starting point based on index wire information.
The dash line added and the first three-dimensional index wire, the second three-dimensional index wire intersect at joining, the extension of dash line
End points to annotation information and adjusts frame, and adjusting frame by annotation information can enter the first affiliated partner and the second affiliated partner
Row three-dimensional labeling.
Annotations module 404 is for carrying out two-dimensional annotation based on annotation information at the destination terminal of the bearing of trend of dash line.
Adjust frame by the annotation information of the destination terminal of the bearing of trend of dash line can the first affiliated partner and second be closed
Connection object carries out three-dimensional labeling.
As a example by figure shown in Fig. 5, the first affiliated partner is cuboid, and the second affiliated partner is cylinder, first
Add the first three-dimensional index wire 3 on affiliated partner, the second affiliated partner adds the second three-dimensional index wire 4, the
One three-dimensional index wire 3 and the second three-dimensional index wire 4 intersect at a point, and add dash line 5 in point of intersection, and at short stroke
The terminal of the elongated end of line 5 has an annotation information to adjust frame 6.Two-dimensional annotation letter is marked in annotation information adjusts frame 6
Breath, such as tolerance information etc..
By adding a plurality of three-dimensional index wire, and call two-dimensional annotation and multiple affiliated partners can be labeled so that
Multiple 3-D graphic also are able to utilize two-dimensional annotation to carry out information labeling, thus avoid overlapping development, also make software
More easily learn.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium.This computer-readable storage medium can have program stored therein,
This program is for performing the above-mentioned part or all of step in the data processing method of computer graphical mark.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as one it be
The combination of actions of row, but those skilled in the art should know, the present invention not limiting by described sequence of movement
System, because according to the present invention, some step can use other orders or carry out simultaneously.Secondly, art technology
Personnel also should know, embodiment described in this description belongs to preferred embodiment, involved action and module
Not necessarily necessary to the present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be by other side
Formula realizes.Such as, device embodiment described above is only schematically, the division of the most described unit, only
Being only a kind of logic function to divide, actual can have other dividing mode when realizing, and the most multiple unit or assembly can
To combine or to be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, is shown
The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, device or unit
INDIRECT COUPLING or communication connection, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to
On multiple NEs.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment
The purpose of scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit
Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme
Completely or partially can producing with software of the part that the most in other words prior art contributed or this technical scheme
The form of product embodies, and this computer software product is stored in a storage medium, including some instructions in order to make
Obtain a computer equipment (can be personal computer, server or the network equipment etc.) and perform each enforcement of the present invention
All or part of step of method described in example.And aforesaid storage medium includes: USB flash disk, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive,
The various medium that can store program code such as magnetic disc or CD.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made
Any modification, equivalent substitution and improvement etc., should be included within the scope of the present invention.
Claims (8)
1. the data processing method for computer graphical mark, it is characterised in that including:
Receive the request carrying out three-dimensional labeling on affiliated partner to be marked, wherein, described request comprises and adds
Add information and two-dimensional annotation information;
On described affiliated partner to be marked, three-dimensional guide is added based on the described interpolation information in described request
Line;
Corresponding two-dimensional annotation is called based on the described two-dimensional annotation information in described request;And
Utilize described three-dimensional index wire and described two-dimensional annotation to performing information mark on described affiliated partner to be marked
Note,
Wherein, described three-dimensional index wire and described two-dimensional annotation is utilized to perform on described affiliated partner to be marked
Information labeling includes:
Receive the request performing information labeling on the first affiliated partner and the second affiliated partner, right in the first association
As performing the request of information labeling and include index wire information and annotation information on the second affiliated partner;
On described first affiliated partner, the first three-dimensional index wire is added, based on described based on described index wire information
Index wire information adds the second three-dimensional index wire on described second affiliated partner, and wherein, described first three-dimensional refers to
Lead-in wire and the described second three-dimensional index wire intersect at a point, and any intersected is as joining;
Dash line is added with described joining for starting point based on described index wire information;And
Two-dimensional annotation is carried out at the destination terminal of the bearing of trend of described dash line based on described annotation information.
Data processing method the most according to claim 1, it is characterised in that utilizing described three-dimensional index wire and institute
Stating two-dimensional annotation to perform before information labeling on described affiliated partner to be marked, described data processing method is also
Including:
Obtain described two-dimensional annotation;
The two-dimensional annotation corresponding with described object to be marked is inquired about in described two-dimensional annotation;
If inquiring the two-dimensional annotation corresponding with described object to be marked, then call the two dimension note inquired
Release;
Without inquiring the two-dimensional annotation corresponding with described object to be marked, then generate new two-dimensional annotation.
Data processing method the most according to claim 2, it is characterised in that described new two-dimensional annotation is for two dimension
In module or three-dimensional module.
Data processing method the most according to claim 1, it is characterised in that based on the described interpolation in described request
Information is added three-dimensional index wire on described affiliated partner to be marked and is included:
Receive and adjust the nemaline command information of described three-dimensional guide;
Described three-dimensional index wire is adjusted by list box based on adjusting the nemaline command information of described three-dimensional guide
Arrowhead form;Or
Receive the command information of the described three-dimensional index wire length of regulation;
Command information based on the described three-dimensional index wire length of regulation adjusts the length of described three-dimensional index wire by folder point
Degree.
5. the data processing equipment for computer graphical mark, it is characterised in that including:
Receive unit, for receiving the request carrying out three-dimensional labeling on affiliated partner to be marked, wherein, institute
State and request comprises interpolation information and two-dimensional annotation information;
Adding device, is used for based on the described interpolation information in described request at described affiliated partner to be marked
Add three-dimensional index wire;
Call unit, for calling corresponding two-dimensional annotation based on the described two-dimensional annotation information in described request;
And
Mark unit, for utilizing described three-dimensional index wire and described two-dimensional annotation right to described association to be marked
As upper execution information labeling,
Wherein, described mark unit includes:
3rd receiver module, performs information labeling for receiving on the first affiliated partner and the second affiliated partner
Request, the first affiliated partner and the second affiliated partner perform the request of information labeling include index wire information and
Annotation information;
First adds module, for adding the one or three on described first affiliated partner based on described index wire information
Dimension index wire, adds the second three-dimensional index wire based on described index wire information on described second affiliated partner, its
In, the described first three-dimensional index wire and the described second three-dimensional index wire intersect at a point, and any intersected is as phase
Intersection point;
Second adds module, for adding dash line with described joining for starting point based on described index wire information;
And
Annotations module, for carrying out two based on described annotation information at the destination terminal of the bearing of trend of described dash line
Dimension annotation.
Data processing equipment the most according to claim 5, it is characterised in that described data processing equipment also includes:
Acquiring unit, for utilizing described three-dimensional index wire and described two-dimensional annotation to described association to be marked
Before performing information labeling on object, obtain described two-dimensional annotation;
Query unit, for inquiring about the two dimension note corresponding with described object to be marked in described two-dimensional annotation
Release;
Annotation unit, for when inquiring the two-dimensional annotation corresponding with described object to be marked, calls and looks into
Ask the two-dimensional annotation arrived;
Signal generating unit, for when not inquiring the two-dimensional annotation corresponding with described object to be marked, generates
New two-dimensional annotation.
Data processing equipment the most according to claim 6, it is characterised in that described new two-dimensional annotation is for two dimension
In module or three-dimensional module.
Data processing equipment the most according to claim 5, it is characterised in that described adding device includes:
First receiver module, is used for receiving the adjustment nemaline command information of described three-dimensional guide;
Adjusting module, for adjusting institute based on the adjustment nemaline command information of described three-dimensional guide by list box
State the arrowhead form of three-dimensional index wire;Or
Second receiver module, for receiving the command information of the described three-dimensional index wire length of regulation;
Adjustment module, described by folder point regulation for command information based on the described three-dimensional index wire length of regulation
The length of three-dimensional index wire.
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 CN103679817A (en) | 2014-03-26 |
CN103679817B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105825551A (en) * | 2016-03-11 | 2016-08-03 | 广州视睿电子科技有限公司 | Three-dimensional tag realization method and apparatus |
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 |
Citations (2)
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 |
-
2013
- 2013-12-06 CN CN201310657057.4A patent/CN103679817B/en active Active
Patent Citations (2)
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)
Title |
---|
"面向三维工艺的产品设计制造信息三维标注研究";程五四等;《中国制造业信息化》;20120930;第41卷(第17期);第54页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103679817A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103679817B (en) | Data processing method and device for computer graphical mark | |
US10449673B2 (en) | Enhanced configuration and control of robots | |
CN109213078B (en) | Virtual object display system | |
CN110929310A (en) | Cloud drawing intelligent generation and editing method | |
CN104985939B (en) | A kind of laser marking machine control method and laser marking machine | |
CN108509195A (en) | Production method, electronic device and the readable storage medium storing program for executing of H5 loose-leafs | |
US20100305908A1 (en) | Harness verification apparatus, harness verification method and storage medium | |
CN105867930B (en) | A kind of display methods of function calling relationship, device and terminal | |
CN114036594B (en) | Method and device for generating process image and electronic equipment | |
CN106054815A (en) | Laser track control method based on LabView and MPC 28010 type motion control card | |
CN112308910A (en) | Data generation method and device and storage medium | |
CN110082713A (en) | Localization method, terminal device and storage medium | |
CN103605957A (en) | Image identification method and device thereof | |
Otto et al. | A framework to support 3D explicit modeling education and practice | |
WO2014127338A1 (en) | Method and system for optimized projection in a multidisciplinary engineering system | |
CN112036442A (en) | Method and device for tracking and labeling objects in multi-frame 3D point cloud data and storage medium | |
JP4753612B2 (en) | Sheet metal 3D-CAD system and sheet metal development drawing creation method | |
KR101530895B1 (en) | Methods for extracting object data for 2d cad from 3d cad and vice versa | |
CN108460839A (en) | A kind of editing machine of AR applications | |
CN112783156A (en) | Sweeping robot and sweeping task planning method and device thereof | |
CN104461905A (en) | Method and system for debugging intelligent card virtual machine, API bank and upper layer application at same time | |
CN117056994B (en) | Data processing system for big data modeling | |
CN116703891B (en) | Welding detection method and device for cylindrical lithium battery busbar | |
CN104039083A (en) | Method for determining information of positioning hole, electronic equipment and printed circuit board | |
CN116628872A (en) | MBD model-based relay method and system for sectional dimension in process model |
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 |