This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2015-141556 filed Jul. 15, 2015.
(i) Technical Field
The present invention relates to a determination system, a determination method, and a non-transitory computer readable medium.
(ii) Related Art
Design support systems, including a three-dimensional computer aided design system, have been used to design a component forming a mechanical workpiece.
According to an aspect of the invention, there is provided a determination system that determines a measurement standard. The determination system includes a memory that stores information concerning a three-dimensional shape of a produced workpiece and the measurement standard that is set in a surface forming the workpiece in response to a location where the workpiece is supported when a length of the workpiece is measured, a calculating unit that calculates, in a projection plane perpendicular to a line normal to the surface having the measurement standard set thereon, an area of a first region that is based on an external shape of a projection image of the entire workpiece, and an area of a second region that is based on only a projection image of the surface having the measurement standard set thereon, and a determining unit that determines that the measurement standard is appropriate if a magnitude of the area of the second region to the area of the first region is higher than a predetermined threshold value.
Exemplary embodiments of the present invention will be described in detail based on the following figures, wherein:
Exemplary embodiments of the present invention are described with reference to the drawing. The present invention is not limited to the exemplary embodiments.
In the following discussion with reference to the drawings, elements other than those that help understand the present invention are omitted in the drawings.
Referring to
The client personal computer PC of the first exemplary embodiment includes a computer body Hl. The computer body H1 connects to a display H2 serving as a display device. The computer body H1 also connects to a keyboard H3 and a mouse H4 serving as examples of input devices. The computer body H1 includes a hard disk (HD) drive (not illustrated) as an example of a memory, or a compact disk (CD) drive as an example of a reading device of a storage medium. Like the client personal computer PC, the license server LSV of the first exemplary embodiment includes a computer body H1 and a hard disk drive (not illustrated) or a CD drive (not illustrated).
Referring to
The computer body H1 also includes a random-access memory (RAM). The RAM temporarily stores data. The computer body H1 further includes a central processing unit (CPU). The CPU performs a process responsive to the program stored on the hard disk. The computer body H1 also includes a clock generator.
The client personal computer PC implements a variety of functions by executing the program stored on the hard disk, the ROM, or the like.
The hard disk in the client personal computer PC stores an operating system OS. The operating system OS controls the basic operations of the computer.
The hard disk in the client personal computer PC also stores an authentication program AP1 for design support. The authentication program AP1 for design support acquires information as to a license to use the design support system S from the license server LSV.
The hard disk in the client personal computer PC stores a design support program AP2 serving as an example of a determination program of measurement standard. The design support program AP2 includes a startup processing module AP21, a datum input module AP22, and a datum determination module AP23. The startup processing module AP21 performs a setting process to start the datum input module AP22 and the datum determination module AP23. The datum input module AP22 performs an input process of datum. The datum determination module AP23 performs a determination process of the datum.
The hard disk in the client personal computer PC also stores application programs including word processing software for document creation, and electronic mail transmitting and receiving software.
The function (controller) of each of the programs AP1 and AP2, excluding the operating system OS and application programs of related art, is described below.
The authentication program AP1 includes an application information transmitting unit C1, a license information receiving unit C2, and a license information memory C3.
The application information transmitting unit C1 transmits application information to apply for the use of the design support system S.
The license information receiving unit C2 receives license information that indicates a license to use the design support system S.
The license information memory C3 stores the license information.
The client personal computer PC of the first exemplary embodiment receives a license to use the design support system S by transmitting the application information to the license server LSV and receiving the license information from the license server LSV.
A use permit determination unit C101 determines whether to use the design support system S, based the license information in the license information memory C3.
If the determination indicates that the client personal computer PC is not permitted to use the design support system S, the use permit determination unit C101 displays on the display H2 an image indicating non-permission. The use permit determination unit C101 then ends the design support program A22.
In the drawings described below, the shape of the workpiece may not necessarily remain identical but may be different depending on the explanation of each figure.
A memory C102 includes a shape memory unit C102A and an attribute memory unit C102B.
The shape memory unit C102A stores information concerning a three-dimensional shape of the workpiece. Note that the shape memory unit C102A stores three-dimensional data of surface information as an example of three-dimensional shape information of the workpiece. More specifically, the shape memory unit C102A of the first exemplary embodiment stores, as the surface information, information concerning surface areas B1 through Bn of surfaces A1 through An forming the workpiece, and the shapes and locations of the surfaces A1 through An. The shape memory unit C102A of the first exemplary embodiment also stores information related to the inside of the workpiece surrounded by the surfaces A1 through An, namely, information identifying the inside of the workpiece.
The attribute memory unit C102B stores the attribute of each of the surfaces A1 through An forming the workpiece. For example, the attribute memory unit C102B of the first exemplary embodiment stores each of the surfaces A1 through An that is a fillet surface F serving as an example of a connecting surface or an end surface serving as an example of a thickness surface. The attribute memory unit 0102B of the first exemplary embodiment also stores, as an example of the attributes of surfaces, datums, and a priority order corresponding to the order according to which the datums are supported. In the first exemplary embodiment, the datum is set in a surface forming the workpiece, and is set by the unit of surface or part of the surface. Note that the setting of display colors predetermined for the fillet surface F, the end surface E, and the datum is also stored.
A startup image display C103 of the first exemplary embodiment displays an image of a workpiece 1 on the display H2 in accordance with the three-dimensional data of the workpiece 1. The startup image display C103 also displays on the display H2 the button of an image 2 to start the execution of an input process of the datum. The startup image display C103 further displays on the display H2 the button of an image 3 to start the execution of a determination process of the datum. The startup image display C103 further displays on the display H2 the button of an image 4 to end a design support process.
When the input process of the datum starts, an attribute display unit C111 displays on the display H2 plane settings F and E in different colors with respect to the surfaces A1 through An of the workpiece in accordance with information stored in the memory C102. The datums D, if set, are also displayed in different colors.
A datum setting unit C112 sets the datum D as an example of the measurement standard in response to an input to the keyboard H3 or the mouse H4. The datum D is set at a location where the workpiece is supported when a length of the workpiece manufactured is measured for component inspection or other purposes. The datum D is also set in the surfaces A1 through An forming the workpiece 1. Referring to
A datum updating unit C113 updates information stored in the attribute memory unit C102B when the datum D is input.
When the determination process of the datum starts, an attribute acquisition unit C121 acquires attribute information set in the surfaces A1 through An of the workpiece 1, namely, the plane settings F and E, and the setting of the datum D in accordance with the information stored in the memory C102.
A continuation permit determination unit C122 determines whether to continue the determination process of the datum D. If the datum D is not set in the first exemplary embodiment, the determination process of the datum D ends.
When the datum D is set, a projection plane setting unit C123 sets a projection plane α in which the image of the workpiece 1 is projected. Referring to
A projector C124 includes an entire workpiece projection unit C124A and a datum projection unit C124B. The projector C124 performs a process to acquire a projection image that is obtained when the image of the workpiece 1 is projected on the projection plane α.
The entire workpiece projection unit C124A, serving as an example of a calculating unit of the projection image of the entire workpiece, projects points on each of the surfaces A1 through An onto the projection plane α. Referring to
The datum projection unit C124B serving as an example of a calculating unit that calculates the projection image of a measurement standard projects each of the points on the surfaces A1 through An having the datum D onto the projection plane α. If the datum D is set in the surfaces A1 through An as illustrated in
An entire projection setter C125 includes an initialization unit C125A, a start point extracting unit C125B, an adjacent point extracting unit C125C, and an extraction end determination unit C125D. The entire projection setter C125 sets an entire region R1 as an example of a first region in accordance with the external shape of projection images P1′ through Pk′ of the entire workpiece 1 in response to the locations P1′ through Pk′. The entire projection setter C125 of the first exemplary embodiment sets the entire region R1 in accordance with a convex polygon including the locations P1′ through Pk′. The entire projection setter C125 of the first exemplary embodiment sets the entire region R1 by extracting outer periphery points G1 through Gm placed along the outer periphery of the entire region R1 from the locations P1′ through Pk′.
In the following discussion, a location in the projection plane α of the first exemplary embodiment is described using st coordinates (s, t) of an s axis and a t axis mutually perpendicular to each other.
The initialization unit C125A performs an initial setting to extract outer periphery points G (G1 through Gm). Referring to
The start point extracting unit C1253 extracts a start point G1 as an outer periphery point of the entire region R1. In the first exemplary embodiment, as illustrated in
The adjacent point extracting unit C125C extracts an outer periphery point Gi+1 (one of G2 through Gm) adjacent to an extracted outer periphery point Gi (one of G1 through Gm−1). If the outer periphery point Gi is extracted as illustrated in
The extraction end determination unit C125D serves as an example of a determining unit configured to determine region completion, and determines whether the extraction of the outer periphery points G1 through Gm of the entire region R1 is complete. When the outer periphery point Gi is extracted, the extraction end determination unit C125D of the first exemplary embodiment determines whether one of the locations P1′ through Pk′ extracted as the outer periphery point Gi is one of the other outer periphery points G1 through Gm that has been extracted. If the one of the locations P1′ through Pk′ is extracted, the extraction end determination unit C125D determines that all the outer periphery points G1 through Gm of the entire region R1 have been extracted. More specifically, as illustrated in
A datum region setter C126 includes an initialization unit C126A, a start point extracting unit 126B, an adjacent point extracting unit 126C, and an extraction end determination unit C126D. In accordance with locations Q1′ through QL′, the datum region setter C126 sets as an example of a second region a datum region R2 that is based on only the locations Q1′ through QL′ serving as an example of a projection image of the surface having the datum D. The datum region setter C126 operates in a way similar to the way the entire projection setter C125 operates except that the datum region setter C126 sets the datum region R2 that is responsive to a convex polygon including the locations Q1′ through QL′ in place of the locations P1′ through Pk′.
An area calculator C127 calculates an area S1 of the entire region R1 and an area S2 of the datum region R2 in the projection plane α. When all the outer periphery points G1 through Gm of the entire region R1 are extracted in the first exemplary embodiment, the area calculator C127 calculates the area S1 of the entire region R1. When all the outer periphery points G1′ through Gm′ of the datum region R2 are extracted, the area calculator C127 calculates the area S2 of the datum region R2.
An area ratio calculator C128 calculates an area ratio C2/S1 as an example of a magnitude of the area S2 of the datum region R2 to the area S1 of the entire region R1.
A datum appropriateness determination unit C129 includes a memory C129A that stores a predetermined threshold value. The datum appropriateness determination unit C129 determines whether the area ratio S2/S1 is higher than 60% that serves as an example of a predetermined threshold value. If the area ratio S2/S1 is higher than 60%, the datum appropriateness determination unit C129 determines that the datum D is appropriate. If the area ratio S2/S1 is equal to or lower than 60%, the datum appropriateness determination unit C129 determines that the datum D is inappropriate.
A determination result display C130 serves as an example of a notifying unit and displays on the display H2 a message image serving as an example of a notification image, and the image of the workpiece 1 and the datum D. If the datum D is determined to be appropriate, the determination result display C130 displays on the display H2 the message image indicating that the datum D is appropriate, and the image of the workpiece 1 and the datum D. If the datum D is determined to be inappropriate, the determination result display C130 displays on the display H2 a message image indicating that the datum D is inappropriate, and the image of the workpiece 1 and the datum D. If the continuation permit determination unit C122 determines that the datum D has not been set, the determination result display C130 displays on the display H2 a message image indicating that the datum D has not been set.
Referring to
The functions of the authentication program AP1′ are described below.
The authentication program AP1′ includes an application information receiving unit C1′, a license information transmitting unit C2′, and an application information memory C3′.
The application information receiving unit C1′ receives the application information from the client personal computer PC.
The license information transmitting unit C2′ transmits the license information.
The application information memory C3′ stores the application information.
The license server LSV of the first exemplary embodiment transmits and receives information to and from the client personal computer PC, and licenses the client personal computer PC to use the design support system S by transmitting the license information in response to the application information.
The process flow of the design support program AP2 of the client personal computer PC of the first exemplary embodiment is described with reference to flowcharts. The processes of the authentication programs AP1 and AP1′ of the client personal computer PC and the license server LSV are not described with reference to flowcharts since the client personal computer PC simply receives and stores the license information by transmitting the application information while the license server LSV simply receives and stores the application information and transmits the license information.
Operation in each ST (step) of the flowchart of
The process in the flowchart of
In ST1 of
In ST2, the controller determines whether to permit the client personal computer PC to use the design support system S. If the determination result is yes in ST2, processing proceeds to ST3. If the determination result is no in ST2, processing proceeds to ST10.
In ST3, the controller acquires shape data of the surfaces A1 through An from the information stored on the memory C102. Processing proceeds to ST4.
The controller proceeds to ST5 after performing operations (1) through (4).
(1) Displaying image 1 of the workpiece.
(2) Displaying image 2 to start inputting the datum D.
(3) Displaying image 3 to start determining the datum D.
(4) Displaying image 4 to end the process.
In ST5, the controller determines whether the image 2 has been selected. If the determination result in ST5 is yes, processing proceeds to ST6. If the determination result in ST5 is no, processing proceeds to ST7.
In ST6, the control performs the input process to input the datum D in a flowchart illustrated in
In ST7, the controller determines whether the image 3 has been selected. If the determination result in ST7 is yes, processing proceeds to ST8. If the determination result in ST7 is no, processing proceeds to ST9.
In ST8, the controller performs the determination process of the datum represented by a flowchart illustrated in
In ST9, the controller determines whether the image 4 has been selected. If the determination result in ST9 is yes, processing proceeds to ST10. If the determination result in ST9 is no, processing returns to step ST5.
In ST10, the controller ends the process thereof.
In ST101 of
In ST102, the controller acquires the input datum D. Processing proceeds to ST103.
In ST103, the controller determines whether there is an input indicating the end of the setting of the datum D. If the determination result in ST103 is yes, processing proceeds to ST104. If the determination result in ST103 is no, processing returns to ST102.
In ST104, the controller updates the stored information. More specifically, the controller updates the setting of the datum D. The controller then returns to the original routine.
In ST201 of
(1) Acquiring data of the surfaces A1 through An.
(2) Acquiring the attribute information of the surfaces A1 through An.
In ST202, the controller determines whether the datum D has been set. If the determination result in ST202 is yes, processing proceeds to ST203. If the determination result in ST202 is no, processing proceeds to ST213.
In ST203, the controller sets the projection plane α in accordance with the datum D. Processing proceeds to ST204.
In ST204, the controller proceeds to ST205 after performing the following operations (1) through (3).
(1) Calculating location P′ in the projection plane α to which an end point P of the boundary line of the surfaces A1 through An is projected.
(2) Calculating location Q′ in the projection plane α to which an end point Q of the boundary line on the plane of the datum D is projected.
(3) Calculating location Q′ in the projection plane α to which a quarter point Q of a partial region of the datum D is projected.
In ST205, the controller performs the subroutine as the setting process of the entire region illustrated in
The controller proceeds to ST207 after calculating the area S1 of the entire region R1 in ST206.
In ST207, the controller performs the subroutine as the setting process of a datum region illustrated in
In ST208, the controller calculates the area S2 of the datum region R2. Processing then proceeds to ST209.
In ST209, the controller calculates the area ratio S2/S1 of the area of the datum region R2 to the area of the entire region R1. Processing then proceeds to ST210.
In ST210, the controller determines whether the area ratio S2/S1 is higher than the threshold value of 60%. If the determination result in ST210 is yes, processing proceeds to ST211. If the determination result in ST210 is no, processing proceeds to ST212.
In ST211, the controller performs the following operations (1) and (2), and then returns to the original routine.
(1) Displaying indication on the display H2 that the datum D is appropriate.
(2) Displaying the image of the workpiece 1 and the datum D on the display H2.
In ST212, the controller performs the following operations (1) and (2), and then returns to the original routine.
(1) Displaying indication on the display H2 that the datum D is not appropriate.
(2) Displaying the image of the workpiece 1 and the datum D on the display H2.
In ST213, the controller displays on the display H2 an indication that the datum D has not yet been set, and then returns to the original routine.
In ST301 of
(1) Setting the start point G0 for the projection plane α.
(2) Setting the end point G—1 for the projection plane α.
In ST302, the controller calculates a reference vector ua extending from the start point location G0 to the end point location G−1, and then proceeds to ST303.
In ST303, the controller calculates a vector υb extending from the start point location G0 to each of the locations P1′ through Pk′, and then proceeds to ST304.
In ST304, the controller calculates the inner product υa·υb for each vector ub, and proceeds to ST305.
In ST305, the controller extracts as the start point G1 one of the locations P1′ through Pk′ minimizing the inner product, and then proceeds to ST306.
In ST306, the controller sets i to be equal to 1 (i=1), and then proceeds to ST307.
In ST307, the controller calculates a reference vector υ1 extending from the extracted outer periphery point Gi to the point Gi−1 that has been used to extract the outer periphery point Gi, and then proceeds to ST308.
In ST308, the controller calculates a vector υ2 extending from the extracted outer periphery point Gi to each of the locations P1′ through Pk′, and then proceeds to ST309.
In ST309, the controller calculates the inner product υ1·υ2 for each vector υ2, and then proceeds to ST310.
In ST310, the controller extracts, as an outer periphery point Gi+1, one of the locations P1′ through Pk′ minimizing the inner product, and then proceeds to ST311.
In ST311, the controller determines whether one of the locations P1′ through Pk′ extracted as the outer periphery point Gi+1 has been extracted as a point along the outer periphery. If the determination result in ST311 is yes, the controller proceeds to ST313. If the determination result in ST311 is no, the controller proceeds to ST312.
In ST312, the controller sets i to be equal to (i+1), and then returns to ST307.
In ST313, the controller sets the entire region R1 by connecting the outer periphery points G1 through Gm with line segments, and then returns to the determination process of the datum D.
Since the setting process of
The controller performs the process of
When an input to start determining the datum D is entered as illustrated in
Referring to
Referring to
A length of a workpiece manufactured is measured, and then compared with a design length of the workpiece to check a deviation of the length of the workpiece from the design length. The datum D is set in accordance with a location of the workpiece where the workpiece is supported. More specifically, the datum D is typically set in advance by a design engineer. A measuring engineer, including a machining operator or an inspector, supports and secures the workpiece 1 with reference to the datum D, and measures the length and shape of the workpiece 1. The datum D is set for the purpose of making the measurement methods of measuring engineers uniform and stabilizing the measurement results. However, the datum D may still possibly be subject to the knowledge and experience of each design engineer, and there are cases when the datum D set by the design engineer is inappropriate.
A datum surface having a smaller area with reference to the entire workpiece 1 or plural datum surfaces having narrow spacings therebetween may be set. In such a case, the workpiece 1 tends to be supported in a localized fashion. In other words, the workpiece 1 may be supported at a location thereof off the center of gravity of the workpiece 1, and may be inclined by the effect of moment. Even if the support location is aligned with the center of gravity of the workpiece 1, localized supporting may cause the workpiece 1 to be distorted if the workpiece 1 has an elongated shape. The end portion of the workpiece 1 off the support location is not supported, leading to a distortion of the workpiece 1. In other words, an inappropriate datum may cause the measuring engineer to measure the workpiece 1 in an unstable posture or shape, possibly leading to an error in the measurement of the length and shape. In the related art that does not involve a determination as to whether the datum D is appropriate or not, a measurement operation may be performed without noticing an inappropriate datum. The measurement reliability may thus be degraded.
In accordance with the first exemplary embodiment, a determination as to whether the datum D is appropriate or not is determined in accordance with the area ratio S2/S1 of the datum region R2 to the entire region R1. If the ratio of the datum region R2 is smaller, the datum D is determined to be inappropriate. More specifically, the datum region R2 of the first exemplary embodiment depends on locations of the datums D or a region sandwiched between the datums D. During the measurement, the datum region R2 depends on the support locations or the region that is sandwiched between and both-end supported by the support locations. In this case, the datum region R2 is a region that is easier to stabilize in posture, but a larger measurement error may result as the magnitude of the datum region R2 to the entire region R1 increases. In the first exemplary embodiment, the determination as to whether the datum D is appropriate or not is determined by referring to the magnitude of the datum region R2 that occupies the entire region R1.
In accordance with the first exemplary embodiment, the datum D likely to cause the workpiece 1 to be unstable in posture or shape is more easily recognized during the use of the design support system S.
The datum D set in two types of components 11 and 21 that are in a bent shape as an example of the workpiece 1 is described below.
As illustrated in
The first component 11 is supported at the flange portions 16 and 17 striding across the body plate portion 12. In other words, the first component 11 is supported at separate locations on outer periphery ends. The body plate portions 12, and the side plate portions 13 and 14 are less susceptible to distortion and inclination, and measurement accuracy is easy to achieve. On the other hand, the second entire component 21 is supported at the flange portions 26 and 27 which are deviated in position from the whole component 21. In the component 21, the center of gravity thereof is off the support locations and the side plate portion 28 in a projected form that is spaced apart from the support locations. The component 21 may possibly suffer from inclination and distortion. In particular, the side plate portion 28 far apart from the support locations is more likely to suffer from the effect of inclination and distortion. There is a possibility of measurement error.
In the first exemplary embodiment, the datum D of the first component 11 of
Referring to
To measure a workpiece manufactured in the first exemplary embodiment, the workpiece may be supported and secured at part of the surface depending on the shape of the workpiece or the configuration of a measuring apparatus. This is intended for a measuring engineer to smoothly set the workpiece on the measuring apparatus. For example, the workpiece may have a surface that is wide enough to be distorted or deflected in the outer edge portion thereof as the distance from the support location at the part of the surface increases. A larger measurement error may result. If the surface is set as the datum D, geometric tolerance of the surface needs to be accounted for. There are cases that a dot is desirably set as the datum D. In such a case, the appropriateness of the datum D is desirably determined by specifying a spot in place of a surface for the datum D. The first exemplary embodiment is thus configured so that the datum D of a spot may be input.
If a determination is made on a surface-based datum D only in the design support system S, each of the surfaces A1 through An having the datums D3 through D5 is determined as a surface-based datum D rather than as spot-based datums D3 through D5. In this case, a datum region responsive to the surface-based datum tends to be larger than a datum region responsive to the spot-based datum. As a result, the area ratio S2/S1 is likely to be higher than the threshold value, and the datum D is likely to be determined to be appropriate. This could lead to an erroneous determination result, namely, although the spot-based datum actually supported is inappropriate, there is a possibility that the datum is determined to be appropriate.
In contrast, the design support system S of the first exemplary embodiment sets quarter points Q1 through QL on each of the spot-based datums D3 through D5, and then sets the datum region R2 in accordance with the locations Q1′ through QL′ to which the quarter points Q1 through QL are projected. The datum region R2 is thus more easily set in response to only parts of the datums D3 through D5, and the area S2 responsive to the set locations of the spot-based datums D3 through D5 is more easily calculated. The appropriateness of the spot-based datums D3 through D5 is determined at a high precision level in the first exemplary embodiment in comparison with the case in which a determination is performed on the surface-based datum only.
In the first exemplary embodiment, the controller calculates the area ratio S2/S1 in accordance with the regions R1 and R2 that are set in a convex inclusion shape serving as an example of a shape of a convex polygon including the projection image of the workpiece 1 and the datum D. The area herein may refer to an area of a maximum dimensional external shape that is approximated by a rectangle having sides in parallel with the coordinates axes so that the projection image is included in the area as illustrated in
Datums D11 and D12 may now be set at the two ends of a letter-L projection shape 31 serving as an example of a projection image. In accordance with the method of using the maximum dimensional external shape, an area S1a of the entire workpiece is an area of a rectangle enclosed by a dot-dash line and having two diagonally opposite corners at the ends of the letter-L projection shape 31. An area S2a of the datums D11 and D12 is an area of a rectangle enclosed by a broken line and having two diagonally opposite corners respectively near the two ends of a letter-L shape. The area ratio S2a/S1a is close to 1, and the datums D11 and D12 tend to be determined to be appropriate.
A corner 32 of the letter-L projection shape 31 is off a line connecting the datums D11 and D12 in the letter-L projection shape 31, and there is a possibility that a measurement error results. The datums D11 and D12 are desirably determined to be inappropriate.
The entire region R1 is a region of a pentagon enclosed by a dot-dash line in the convex inclusion shape (a circumscribing polygon) of the first exemplary embodiment as illustrated in
Referring to
The frame 43 on the right-hand side in the projection shape 41 of
The entire region R1 is a rectangular region enclosed by a dot-dash line in the convex inclusion shape (a circumscribing polygon) of the first exemplary embodiment as illustrated in
A design support system S of the second exemplary embodiment of the present invention is described below. In the discussion of the second exemplary embodiment, elements identical to those of the first exemplary embodiment are designated with the same reference numerals, and the discussion thereof is omitted. Differences between the first exemplary embodiment and the second exemplary embodiment are described below.
Referring to
The surface candidate extracting unit C201 extracts a surface candidate of additional datum D″ as an example of a second measurement standard from the surfaces A1 through An. If the datum D is determined to be inappropriate, the surface candidate extracting unit C201 of the second exemplary embodiment extracts as a surface candidate of the additional datum D″ one of the surfaces A1 through An that has no datum D set thereon and has the same normal line direction as the datum D. If no such surface is extracted, the controller ends the process and returns to the original routine.
The additional datum setting unit C202 serves as an example of a second measurement standard setting unit. Based on the datum D, the controller sets in one of the surfaces A1 through An different from the datum D, the additional datum D″ as an example of part different from the datum D. The additional datum setting unit C202 of the second exemplary embodiment sets to be the additional datum D″ in one of the surfaces A1 through An that is farthest apart from the datum D having the highest input priority, from among extracted surface candidates A1 through An.
When the additional datum D″ is set, the datum updating unit C203 updates the information stored in the memory C102. In the second exemplary embodiment, the additional datum D″ is stored in the same way as the datum D except that attribute information indicating the datum that is added by the surface candidate extracting unit C201 and the additional datum setting unit C202 is attached to the additional datum D″. More specifically, the additional datum D″ is processed by the units C122 through C128 other than the units C121′, C126′, C127′, and C130′ in a way similar to the way the datum D is processed.
The attribute acquisition unit C121′ of the second exemplary embodiment acquires the setting of the datum D (D″) in response to the start of the input process of the datum D or in response to the setting of the additional datum D″. This operation is different from the first exemplary embodiment.
Prior to the setting of the additional datum D″, the datum region setter C126′ of the second exemplary embodiment sets to be an example of the second region the datum region R2 that is based on only the projection images Q1′ through QL′ of the surface having the datum D. Subsequent to the setting of the additional datum D″, the datum region setter C126′ of the second exemplary embodiment sets the datum region R2 that is based on the projection image of the surface having the datum D and the projection images Q1′ through QL′ of the surface having the additional datum D″. Since this is the only difference between the datum region setter C126′ and the datum region setter C126 in the first exemplary embodiment, the detailed discussion of the datum region setter C126′ is omitted.
Prior to the setting of the additional datum D″, the area calculator C127′ of the second exemplary embodiment calculates the area S2 of the datum region R2 that is based on only the projection image of the surface having the datum D. Subsequent to the setting of the additional datum D″, the area calculator C127′ of the second exemplary embodiment calculates the area of the datum region R2 that is based on the projection image of the surface having the datum D and the projection image of the surface having the additional datum D″. Since this is the only difference between the area calculator C127′ and the area calculator C127 in the first exemplary embodiment, the detailed discussion of the area calculator C127′ is omitted.
If the datum D is determined to be appropriate subsequent to the setting of the additional datum D″, the determination result display C130′ of the second exemplary embodiment displays on the display H2 a message indicating that the datum D (D″) is appropriate together with the images of the workpiece 1, the datum D, and the additional datum D″.
The flowchart of
In ST251 of
In ST252, the controller determines whether the surface candidate has been extracted. If the determination result in ST252 is yes, processing proceeds to ST253. If the determination result in ST252 is no, the controller returns to the original routine.
In ST253, the controller sets the additional datum and then proceeds to ST254.
In ST254, the controller updates the stored information. More specifically, the controller updates the setting of the additional datum, and then returns to ST203.
The design support system S configured in accordance with the second exemplary embodiment receives the datum D in a way similar to the way the design support system S in the first exemplary embodiment receives the datum D, and determines whether the datum D input by a design engineer or other engineers is appropriate. In the second exemplary embodiment, as in the first embodiment, an appropriate measurement standard is easy to set in comparison with the case in which the user determines whether the measurement standard is appropriate or not.
The design support system S of the second exemplary embodiment sets the additional datum D″ if the input datums D1 and D2 are determined to be inappropriate as illustrated in
If the datums D and D″ are appropriate, the controller displays on the display H2 an indication that the input datum D and the additional datum D″ are appropriate.
The second exemplary embodiment allows the machining engineer to recognize the appropriate additional datum D″. This allows the design engineer or other engineers to use the set additional datum D″ as is or reset the datum D by referencing the additional datum D″.
If a first additional datum D″ is set but determined to be inappropriate in the second exemplary embodiment, additional datums D″ are successively set until no further surface is available, and the controller determines whether the datums D and D″ are appropriate or not.
The exemplary embodiments of the present invention have been described. The present invention is not limited to the exemplary embodiments, and a variety of modifications are made within the scope of the present invention defined by the claims. Modifications 1 through 7 of the exemplary embodiments of the present invention are described below.
In each of the exemplary embodiments, the outer periphery points G and G′ of the convex inclusion shape are extracted in accordance with the locations P′ and Q′ to which the end points P and Q of the boundary line of the surfaces and the predetermined quarter points Q are projected. The present invention is not limited to this method. For example, plural points P and Q are set at predetermined space intervals along a curved boundary line and the outer periphery points G and G′ are extracted in accordance with locations P′ and Q′ that more accurately reflect a shape approximation of the curved boundary line. Alternatively, the boundary line rather than the point may be projected, and a line serving as an outer periphery may be extracted from the projected boundary line to form a convex inclusion shape.
In each of the exemplary embodiments, the outer periphery points G and G′ of the convex inclusion shape are extracted in accordance with all the locations P′ and Q′ to which the end points P and Q of the boundary line of the surface and the predetermined quarter points Q are projected. The present invention is not limited to this method. For example, if the locations P′ and Q′ is closer to each other than a predetermined spacing, the outer periphery points may be extracted with one of the locations decimated. In other words, the calculation process may be performed with the number of locations reduced.
The convex inclusion shape in the context of the specification may refer to a shape that is formed by wrapping with a rubber band a projection shape into which the surfaces A1 through An are projected, a polygon circumscribing the projection shape, or a shape approximating the projection shape.
In each of the exemplary embodiments, the area S1 of the entire region R1 and the area S2 of the datum region R2 are desirably based on the area responsive to the convex inclusion shape, but may be the area of the maximum dimensional external shape or the projection area.
In each of the exemplary embodiments, a determination as to whether the datum D is appropriate or not is based on whether the area ratio S2/S1 is higher than a constant threshold value. The present invention is not limited to this method. For example, the datum determination may be carried out by using a different threshold value. For example, the user may input a threshold value, or may select one from plural threshold values.
In each of the exemplary embodiments, a circle is used as the datum D if the datum D is set in part of a surface. The present invention is not limited to a circle. The datum D may be set in any form, for example, a rectangle or a spot.
In each of the exemplary embodiments, the magnitude of the area of the second region to the area of the first region is an area ratio. The magnitude may be represented by a difference between the areas.
In the second exemplary embodiment, the determination process of datum is terminated if the datum D is not yet set. The present invention is not limited to this method. For example, if the datum D is not yet set, the additional datum D″ may be set, followed by the determination of the additional datum D″. In such a case, one of the surfaces Al through An having the largest area may be set to be the additional datum D″, followed by the datum determination.
The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2015-141556 | Jul 2015 | JP | national |