WO2009119693A1 - Device and method for selecting graphic element - Google Patents

Device and method for selecting graphic element Download PDF

Info

Publication number
WO2009119693A1
WO2009119693A1 PCT/JP2009/056011 JP2009056011W WO2009119693A1 WO 2009119693 A1 WO2009119693 A1 WO 2009119693A1 JP 2009056011 W JP2009056011 W JP 2009056011W WO 2009119693 A1 WO2009119693 A1 WO 2009119693A1
Authority
WO
WIPO (PCT)
Prior art keywords
graphic element
search
graphic
information
condition
Prior art date
Application number
PCT/JP2009/056011
Other languages
French (fr)
Japanese (ja)
Inventor
雄典 原口
圭介 中村
Original Assignee
シャープ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by シャープ株式会社 filed Critical シャープ株式会社
Priority to CN2009801114581A priority Critical patent/CN101981577B/en
Publication of WO2009119693A1 publication Critical patent/WO2009119693A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to a graphic element selection apparatus and method for selecting a graphic element constituting a shape, and more specifically, in order to generate a shape composed of a plurality of graphic elements in a CAD system, the graphic element constituting the shape is selected.
  • the present invention relates to an apparatus and method for selecting a graphic element to be selected.
  • a graphic selection method as a second related technique is configured to include a step of searching for a graphic element in contact with a specified graphic element when selecting a graphic composed of a plurality of graphic elements.
  • a graphic element can be selected with a minimum number of operations (see, for example, Japanese Patent Laid-Open No. 2000-182071).
  • the multi-element batch selection method as the third related technique specifies a first plane and a second plane parallel to the first plane, and identifies the first plane identified from the plurality of geometric elements. Geometric elements existing in a space region sandwiched between the plane and the second plane are selected at once (see, for example, JP-A-2003-271676).
  • the graphic selection method as the fourth related technique when a representative element is selected from graphic elements displayed on the display screen, the shape information and attribute information of the representative element are displayed.
  • the first related technique can select a figure that is not in a selected state from among the overlappingly displayed figures, and the second related technique can select a graphic element that touches the third related technique.
  • the selection range is limited, and in order to select an element outside the selection range, it is necessary to repeat the same multiple operations.
  • the selection range is not limited, but a specific condition determined by the shape information and attribute information of the graphic element, for example, a graphic element having the same radius or angle is selected. There is a problem that a graphic element having a specific positional relationship cannot be selected.
  • the object of the present invention is to select graphic elements that can narrow down candidates of graphic elements on which parts of the same shape are arranged from among the graphic elements constituting the shape of the placement object on which the parts are arranged, by conditions including positional relationships.
  • the present invention relates to geometric element storage means for storing geometric information representing graphic elements constituting the shape of an object on which a part is arranged and graphic element identification information for identifying the graphic elements in association with each other;
  • Search condition information storage means for storing search condition information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged;
  • Graphic element selection means for selecting graphic element identification information of a graphic element constituting a shape at a position where one part is arranged from among graphic element identification information stored in the graphic element storage means;
  • the geometric information of the first graphic element indicated by the graphic element identification information selected by the graphic element selection means among the geometric information stored in the graphic element storage means, and the search condition stored in the search condition information storage means Search means for searching for a graphic element candidate in which a component having the same shape as the component arranged at the position of the first graphic element is based on a predetermined search condition indicated by the information;
  • a graphic element selection device comprising: display means for selectively displaying graphic element identification information
  • a second graphic for selecting second graphic element identification information different from the graphic element identification information of the first graphic element from graphic element identification information displayed in a selectable manner by the display means.
  • the search means includes the second graphic element indicated by the second graphic element identification information selected by the second graphic element selection means among the geometric information stored in the graphic element storage means, and the first graphic element. It is preferable to search for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched based on the geometric information of the graphic element and the predetermined search condition.
  • the shape of the graphic element is a circular or arc shape
  • the predetermined search condition preferably includes a condition that a radius of the shape of the graphic element candidate is equal to a radius of the shape of the first graphic element.
  • the predetermined search condition is that the direction of the normal of the virtual plane including the candidate for the graphic element is the same as the direction of the normal of the virtual plane including the first graphic element. It is preferable that it is further included.
  • the predetermined search condition is that when the position of the center of the graphic element is expressed in an XYZ coordinate system with the position of the center of gravity of the placement object as the origin, one of the X coordinate axis, the Y coordinate axis, and the Z coordinate axis
  • the coordinate axis further includes a condition that the absolute value of the coordinate of the center position of the graphic element candidate is equal to the absolute value of the coordinate of the center position of the first graphic element.
  • the predetermined search condition is that, among the surfaces constituting the surface of the object to be placed, when the surface including the first graphic element includes a straight outer peripheral edge,
  • the distance between the first straight line and the center of the graphic element candidate preferably further includes a condition that the distance between the first straight line and the center of the first graphic element is equal.
  • the predetermined search condition further includes a condition that the center of the graphic element candidate is on a straight line passing through the center of the first graphic element and the center of the second graphic element. Is preferred.
  • the predetermined search condition is that the center of the graphic element candidate is perpendicular to a straight line passing through the center of the first graphic element and the center of the second graphic element, and It is preferable to further include a condition of being on a straight line passing through the center of the graphic element or the second graphic element.
  • the second graphic element selection means is configured to select graphic element identification information of the first graphic element and the second graphic element from graphic element identification information displayed so as to be selectable by the display means. And further select third graphic element identification information different from The search means is a third graphic selected by the first graphic element, the second graphic element, and the second graphic element selection means among the geometric information stored in the graphic element storage means.
  • the graphic element Based on the geometric information of the third graphic element indicated by the element identification information and the predetermined search condition, the graphic element in which the part having the same shape as the part arranged at the position of the first graphic element is arranged.
  • the predetermined search condition is that the center of the graphic element candidate is on a circle passing through the center of the first graphic element, the center of the second graphic element, and the center of the third graphic element. It is preferable to further include conditions.
  • the present invention stores in a graphic element storage unit which stores geometric information representing graphic elements constituting the shape of an arrangement object on which a part is arranged and graphic element identification information for identifying graphic elements in association with each other.
  • the geometric information stored in the graphic element storage unit is searched for the geometric element having the same shape as the geometric information of the first graphic element indicated by the graphic element identification information selected in the graphic element selection step.
  • a search step of searching for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is based on a predetermined search condition including a positional relationship for And a display step for selectively displaying graphic element identification information of graphic element candidates searched in the search step.
  • the graphic element storage means associates and stores geometric information representing graphic elements constituting the shape of the object on which the part is arranged and graphic element identification information for identifying the graphic elements.
  • the search condition information storage means stores search condition information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged, and the graphic element selection means stores the graphic elements. From the graphic element identification information stored in the storage means, graphic element identification information of a graphic element constituting a shape at a position where one part is arranged is selected.
  • the geometric information of the first graphic element indicated by the graphic element identification information selected by the graphic element selection means among the geometric information stored in the graphic element storage means by the search means, and the search condition information storage means A graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched based on a predetermined search condition indicated by the search condition information stored in
  • graphic element identification information of graphic element candidates searched by the search means is displayed so as to be selectable. Therefore, candidates for graphic elements in which parts having the same shape are arranged can be narrowed down by the condition including the positional relationship from among the graphic elements constituting the shape of the placement object on which the parts are arranged.
  • the graphic element selection step the geometric information representing the graphic elements constituting the shape of the placement object on which the part is arranged and the graphic element identification information for identifying the graphic elements are stored in association with each other.
  • the graphic element identification information of the graphic element constituting the shape at the position where one part is arranged is selected from the graphic element identification information stored in the graphic element storage unit.
  • the search step parts having the same shape as the geometric information of the first graphic element indicated by the graphic element identification information selected in the graphic element selection step among the geometric information stored in the graphic element storage unit are arranged.
  • a candidate for a graphic element in which a part having the same shape as the part arranged at the position of the first graphic element is searched.
  • the graphic element identification information of the graphic element candidates searched in the search step is displayed in a selectable manner. Therefore, if the graphic element selection method according to the present invention is applied, candidates for graphic elements in which parts having the same shape are arranged among the graphic elements constituting the shape of the placement object in which the parts are arranged are included in the positional relationship. It can be narrowed down by conditions.
  • FIG. 1 It is a block diagram which shows the structure of the graphical element selection apparatus which is one Embodiment of this invention. It is a figure which shows an example of the basic search formula information memorize
  • FIG. 1 is a block diagram showing a configuration of a graphic element selection apparatus 1 according to an embodiment of the present invention.
  • the graphic element selection method according to the present invention is executed by the graphic element selection apparatus 1.
  • the graphic element selection device 1 is configured by, for example, a computer system, and includes a shape data storage device 11, a shape data reading unit 12, a shape data storage unit 13, a screen output device 14, a dialog input device 15, a shape element selection unit 16, and an arrangement component.
  • a selection unit 17, a search basic formula storage device 18, a search basic formula reading unit 19, a search formula creation unit 20, a search unit 21, a search result storage unit 22, and a search result output device 23 are included.
  • the computer system constituting the graphic element selection device 1 includes a storage device, a central processing unit (hereinafter referred to as “CPU”), an input device, and an output device.
  • the storage device stores a control program executed by the CPU to control the graphic element selection device 1 and data used by the CPU to control the graphic element selection device 1, and the shape data storage device 11 and the search basics
  • a formula storage device 18 is included.
  • the CPU controls the screen output device 14, the dialog input device 15, and the search result output device 23 by executing a control program stored in the storage device, and the shape data reading unit 12, the shape data storage unit 13, the shape element
  • the functions of the selection unit 16, the arrangement part selection unit 17, the search basic formula reading unit 19, the search formula creation unit 20, the search unit 21, and the search result storage unit 22 are realized.
  • the input device is a device for inputting information, and is configured by a dialog input device 15 such as a keyboard or a mouse.
  • the output device is a device that outputs information, and includes a screen output device 14 and a search result output device 23 that are configured by a display device such as a liquid crystal display.
  • the search result output device 23 may be shared by the screen output device 14.
  • the shape data storage device 11 stores design data related to products.
  • the design data includes assembly data indicating the configuration of the product and part data indicating the parts constituting the product.
  • the component data identifies a component name that is identification information for identifying each component, shape information that represents the shape of each component, geometric information that represents a graphic element that forms the shape of each component, and each graphic element. Data including graphic element identification information, for example, an element name.
  • the shape data reading unit 12 reads design data from the shape data storage device 11 and sends the read design data to the shape data storage unit 13.
  • the shape data storage unit 13 which is a graphic element storage means and a graphic element storage unit stores design data received from the shape data reading unit 12 in the storage device, and stores the shape indicated by the design data stored in the storage device in the screen output device 14. It is possible to output.
  • the dialogue input device 15 allows the user to select a part name of a part to be placed on the placement object on which the part is placed, and a graphic element that configures the shape of the placed part at the position to place the part name.
  • the input device inputs an element name of a selected graphic element as selected element information.
  • the dialog input device 15 inputs the selected information by selecting any information by the dialog input device 15 in response to the information displayed on the screen output device 14 or the search result output device 23. Can do.
  • the dialogue input device 15 sends the selected selection element information to the shape element selection unit 16 and sends the inputted part name to the arrangement component selection unit 17.
  • the shape element selection unit 16 receives the selection element information from the dialogue input device 15
  • the geometric element of the graphic element indicated by the selection element information received from the dialogue input device 15 is obtained from the geometric information of the part data stored in the shape data storage unit 13.
  • the geometric information is read, and the read geometric information is sent to the search formula creation unit 20.
  • the search result list is stored in the storage device
  • the selected element included in the search result list is read as the selected element information
  • the geometric information of the graphic element indicated by the read selected element information is stored in the shape data storage.
  • the geometric information read out from the unit 13 is sent to the search formula creation unit 20 together with the geometric information of the graphic element indicated by the selected element information received from the dialogue input device 15.
  • the search result list is a list that summarizes the search results searched according to the search condition of the search expression described later, and includes a selection element and a placement part name.
  • the selection element is selection element information input from the dialog input device 15
  • the arrangement component name is the component name input from the dialog input device 15.
  • the dialog input device 15 and the shape element selection unit 16 are graphic element selection means and second graphic element selection means.
  • the arrangement component selection unit 17 sends the component name received from the dialogue input device 15 to the retrieval basic expression reading unit 19.
  • the search result list is stored in the storage device, the arrangement part name included in the search result list is read as a part name, and the read basic name is read instead of the part name received from the dialog input device 15 Send to part 19.
  • the basic search expression storage device 18 as search condition information storage means stores basic search expression information 31 shown in FIG.
  • the basic search information 31 that is search condition information is information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged.
  • the search basic formula information 31 includes items of “part name”, “element type”, “meaning of search formula”, “search formula”, “condition”, and “number of elements”, and is associated with each part name. It is shown in the order of “No”.
  • Part name is identification information for identifying each part, and includes, for example, a part name such as a screw or a boss.
  • the “element type” is information indicating the type of graphic element that forms the shape of the part indicated by the part name. For example, there is an element type such as “circle” or “arc”.
  • “Meaning of search expression” is information indicating the meaning of the search expression to be associated.
  • Search expression is an expression indicating a search condition.
  • “Condition” is information that specifies whether or not to exclude from the selection candidates when the search condition indicated by the corresponding search expression is not met. When the condition is “1”, it is excluded from the selection candidates, and when the condition is “2”, it is not excluded from the selection candidates.
  • the “number of elements” is the number of graphic elements indicated by the selected element information and the selected element information input from the dialogue input device 15. No. 1-No.
  • shape of the graphic element is a circular or arc shape
  • predetermined search condition is that the radius of the shape of the graphic element candidate is equal to the radius of the shape of the first graphic element. Therefore, a graphic element having a circle or arc shape with the same radius can be selected as a candidate.
  • search expression and “search expression” are respectively "same normal direction of plane with arc edge" and "F1"
  • the search condition indicated by the search expression is an arc of the graphic element of the selection candidate
  • the predetermined search condition is that the direction of the normal line of the virtual plane including the candidate graphic element is the same as the direction of the normal line of the virtual plane including the first graphic element.
  • the predetermined search condition is that when the position of the center of the graphic element is expressed in the XYZ coordinate system with the position of the center of gravity of the placement object as the origin, one coordinate axis among the X coordinate axis, the Y coordinate axis, and the Z coordinate axis
  • the graphic element at the coaxial or plane-symmetrical position further includes a condition that the absolute value of the coordinate of the center position of the graphic element candidate is equal to the absolute value of the coordinate of the central position of the first graphic element. Elements can be selected as candidates. No.
  • “Meaning of search formula” and “search formula” of 8 are “having a center point on an axis passing through the center of the first element and parallel to the edge of the plane on which the first element rides” and “F2”, respectively.
  • the search condition indicated by the search formula is that when the coordinates of the graphic element to be selected represent the position of the center of the graphic element in the XYZ coordinate system, and the origin of the XYZ coordinate system is the position of the center of gravity of the arrangement object
  • one of the X coordinate axis, the Y coordinate axis, and the Z coordinate axis is a condition that the graphic element is equal to the absolute value of the coordinates of the center position of the graphic element indicated by the selected element information.
  • the predetermined search condition is that the surface including the first graphic element among the surfaces constituting the surface of the object to be arranged includes a straight outer peripheral edge
  • the distance between the first straight line and the center of the graphic element candidate is equal to the distance between the first straight line and the center of the first graphic element
  • the predetermined search condition further includes a condition that the center of the graphic element candidate is on a straight line passing through the center of the first graphic element and the center of the second graphic element.
  • a graphic element having a center on the same straight line as the center of two already selected graphic elements can be selected as a candidate. No.
  • search expression and “search expression” are respectively “having a center point on an axis perpendicular to a straight line connecting the centers of the first and second elements and passing through the first or second center” and
  • the search condition indicated by the search formula is “F4”, and the center of the graphic element of the selection candidate is perpendicular to a straight line passing through the center of the graphic element indicated by the selected element information and the center of the graphic element indicated by the selected element information.
  • the condition is that it is on a straight line passing through the center of the graphic element indicated by the selected element information or the center of the graphic element indicated by the selected element information.
  • the predetermined search condition is that the center of the graphic element candidate is perpendicular to a straight line passing through the center of the first graphic element and the center of the second graphic element, and the first graphic element. Since it further includes a condition that it is on a straight line passing through the center of the element or the second graphic element, a straight line that is perpendicular to the straight line passing through the center of the two already selected graphic elements and passes through the center of any graphic A graphic element with the center on top can be selected as a candidate. No. 11 "meaning of search expression” and “search expression” are "having a center point on the circumference passing through the centers of the first, second, and third arcs" and "F5", respectively.
  • the search condition shown is that the center of the graphic element of the selection candidate is on the circumference passing through the center of the graphic element indicated by the selected element information and the center of each of the two graphic elements indicated by the selected two element information. Indicates that this is a condition.
  • the first graphic element and the second graphic element can be selected from among the element names displayed by the dialog input device 15 and the shape element selection unit 16 so as to be selectable by the search result storage unit 22 and the search result output device 23.
  • a third element name different from the element name of the graphic element is further selected.
  • the third graphic indicated by the third element name selected by the dialog input device 15 and the shape element selection unit 16 among the geometric information stored in the shape data storage unit 13 by the search formula creation unit 20 and the search unit 21 A component having the same shape as the component arranged at the position of the first graphic element is arranged based on the geometric information of the element, the first graphic element and the second graphic element, and the predetermined search condition.
  • Candidate graphic elements to be searched are searched.
  • the predetermined search condition is that the center of the graphic element candidate is on a circumference passing through the center of the first graphic element, the center of the second graphic element, and the center of the third graphic element. It further includes the condition of being.
  • a graphic element having a center on the same circumference as the center of three graphic elements that have already been selected can be selected as a candidate.
  • No. 1-No. No. 3 “condition” is “1”. 4 to No.
  • the “condition” of 11 is “2”.
  • the “number of elements” of No. 8 is “1”. 9 and no.
  • the “number of elements” of No. 10 is “2”.
  • the number of elements of “11” is “3”.
  • the search formula 11 is a search condition that defines the positional relationship. With reference to FIG. 1, the retrieval basic expression reading unit 19 searches the retrieval basic expression information 31 stored in the retrieval basic expression storage device 18 in association with the component name received from the arrangement component selecting unit 17.
  • Basic formula information is read, and the retrieved basic search formula information is sent to the search formula creation unit 20.
  • the search formula creation unit 20 creates search formula information based on the geometric information received from the shape element selection unit 16 and the search basic formula information received from the search basic formula reading unit 19, and the created search formula information is stored in the search unit. Send to 21.
  • the search unit 21 searches the geometric information of the part data stored in the shape data storage unit 13 using the search formula information received from the search formula creation unit 20 as a search condition, and finds the graphic element of the geometric information that matches the search condition. Extract and calculate the number of search conditions that match the extracted graphic elements.
  • a search result list is generated based on the extracted element name of the graphic element and the number of matching search conditions, and the generated search result list is sent to the search result storage unit 22.
  • the search formula creation unit 20 and the search unit 21 are search means.
  • the search result storage unit 22 stores the search result list received from the search unit 21 in the storage device and sends the search result list to the search result output device 23.
  • the search result output device 23 outputs the search result list received from the search result storage unit 22 to a selection candidate list display screen described later.
  • the search result storage unit 22 and the search result output device 23 are display means.
  • the user uses the dialogue input device 15 to place the part name of the part to be placed on the placement object and the first graphic element to place the part with the part name among the graphic elements constituting the shape of the placement object.
  • an element name hereinafter referred to as “first graphic element”
  • the graphic element selecting device 1 selects the component and the component based on the component name and the element name input by the dialogue input device 15.
  • a candidate of a second graphic element hereinafter referred to as “second graphic element” in which a part having the same part name, that is, a part having the same shape is searched as a selection candidate and displayed on the search result output device 23.
  • the graphic element selecting device 1 is The same as the above part based on the element name of the first graphic element previously input, that is, the element name indicated by the selected element information, and the element name of the second graphic element selected by the dialog input device 15 A part having a part name, that is, a third graphic element candidate in which a part having the same shape is arranged is searched as a selection candidate and displayed on the search result output device 23.
  • FIG. 3A and 3B are views showing the appearance of a cover component 8 that is an example of a placement component on which the placement component is placed.
  • FIG. 3A is a perspective view of the cover part 8
  • FIG. 3B is a view showing a part of the parts constituting the cover part 8.
  • Ten holes are formed in the component 8a, and two holes are formed in the component 8b.
  • FIG. 4 is a diagram illustrating an appearance of a screw component 9 that is an example of a placement component placed on the placement target component.
  • the user inputs the element name of the graphic element forming the hole into which the screw part 9 is inserted among the 12 holes of the cover part 8 by the dialogue input device 15.
  • the graphic element selection device 1 when the screw part 9 shown in FIG. 4 is arranged on the cover part 8 shown in FIGS. 3A and 3B, the second graphic element selection candidate is searched. A description will be given in the order of searching for selection candidates for the third graphic element.
  • the user inputs “cover” as the placement object and “screw” as the component to be placed on the placement object by the dialogue input device 15.
  • These parts names may be input by displaying the part name candidates on the screen output device 14 and selecting them from the displayed part name candidates.
  • the user inputs the element name of the first graphic element in which the screw component 9 is arranged among the graphic elements constituting the shape of the cover component 8, that is, the edges 1 to 24, for example, “edge 1”.
  • the input of the element name is based on the design data stored in the shape data storage unit 13 and the shape of the placement object including the graphic elements is displayed on the screen output device 14 and the graphic elements are displayed from the displayed graphic elements.
  • the element name may be input by selecting.
  • the dialog input device 15 sends the input element name, that is, the selected element information “edge 1” to the shape element selection unit 16, and sends the input component name “screw” to the arrangement component selection unit 17.
  • the shape element selecting unit 16 receives the selected element information “Edge 1” received from the dialog input device 15 from the geometric information stored in the shape data storage unit 13. , And sends the read geometric information to the search expression creation unit 20.
  • FIG. 5 is a diagram illustrating an example of the geometric information 32 stored in the shape data storage unit 13.
  • the geometric information 32 includes items of “element name”, “element type”, “radius”, “center coordinates”, and “normal vector”. “Element name” is the name of a graphic element.
  • the “element type” indicates the type of graphic element, and specifically, for example, “circle” or “arc”.
  • “Radius” is the shape of a graphic element, that is, the radius of a circle or arc
  • center coordinate is a coordinate indicating the position of the center of the circle or arc in the XYZ coordinate system.
  • the “normal vector” is a coordinate indicating the direction of a vector indicating the direction of the normal of the virtual plane including the circle or arc in the XYZ coordinate system.
  • the arrangement component selection unit 17 sends the component name “screw” received from the dialogue input device 15 to the retrieval basic expression reading unit 19.
  • the retrieval basic expression reading unit 19 retrieves retrieval basic expression information associated with the component name “screw” received from the arrangement component selecting unit 17 from the retrieval basic expression information 31 stored in the retrieval basic expression storage device 18. The retrieved basic formula information is sent to the search formula creation unit 20.
  • the search formula creation unit 20 creates search formula information based on the geometric information received from the shape element selection unit 16 and the search basic formula information received from the search basic formula reading unit 19, and the created search formula information is stored in the search unit. Send to 21.
  • FIG. 6 is a diagram illustrating an example of the search formula information 33 created by the search formula creation unit 20.
  • the search formula information 33 includes items of “element type”, “geometric information”, “search formula”, and “condition”. “Element type”, “search formula” and “condition” are “element type”, “search formula” and “condition” of the basic search formula information received from the basic search formula reading unit 19, respectively, and “geometric information” Is information defining a search expression among pieces of information on the geometric information received from the shape element selection unit 16.
  • the search formula information 33 shown in FIG. 6 seven combinations are shown as “element type”, “geometric information”, “search formula”, and “condition”.
  • the second combination is “arc”, “X1, Y1, Z1”, “F1” and “1”
  • the eighth combination is “arc”, “X0, Y0, Z0”, “F2” and
  • the search unit 21 searches the geometric information stored in the shape data storage unit 13 using “arc” in the search formula information 33 received from the search formula creation unit 20 as a search condition, and finds a geometry that matches the search condition. Extract graphic elements of information. Since the cover part 8 has 24 edges 1 to 24 as circular graphic elements, the search unit 21 searches for the edges 1 to 24, but since the edge 1 has already been selected, the edge 1 is excluded. Edges 2 to 24 are extracted. Next, the search unit 21 narrows down the extracted graphic elements using a search expression whose condition is “1”.
  • FIG. 7 is a diagram illustrating an example of a search result 34 narrowed down by a search formula whose condition of the search formula information 33 is “1”.
  • the search results are shown by sequentially narrowing down according to the search condition “Z”, that is, “on the same plane”.
  • the “ ⁇ ” mark indicates that the search condition is met, and the “X” mark indicates that the search condition is not met and is excluded.
  • the search unit 21 excludes the edges 5 to 10 and the edges 15 to 20 under the search condition “same radius”, and from the remaining conditions under the search condition “same normal direction of the plane with the arc edge” In the search condition “on the same plane” excluding the edges 11 to 14 and the edges 21 to 24, there is nothing to exclude from the remaining ones. Accordingly, the search unit 21 excludes the edges 5 to 24 and leaves the edges 2 to 4 as a result of narrowing down by the search formula having the condition “1”.
  • FIG. 8 is a diagram illustrating an example of a search result 34 that is searched with a search formula whose condition of the search formula information 33 is “2”.
  • the search unit 21 searches for a graphic element that matches the search condition of the search expression whose condition is “2” after the narrowing down by the search expression whose condition of the search expression information 33 is “1”, and the number of matching search conditions Is counted for each graphic element.
  • FIG. 8 shows the search formulas of the search formula information 33 for seven graphic elements of the graphic element edges 2 to 4 and edges 7 to 10 narrowed down by the search formula of the search formula information 33 being “1”.
  • a search result is shown in which a graphic element matching the search condition “having a center point on an axis parallel to the edge of the plane on which the first element rides” is shown. “ ⁇ ” indicates that the search condition is met, and no mark indicates that the search condition is not met.
  • the numbers shown outside the column are the number of matching search conditions counted for each graphic element.
  • the edge 4 matches the search condition “X coaxial”, the edge 2 matches the search condition “Y coaxial”, and the search condition “XZ plane symmetry”
  • the edge 2 that matches the search condition “YZ plane symmetry” is the edge 4, and “the center point is on an axis passing through the center of the first element and parallel to the edge of the plane on which the first element rides.
  • the number of matching search conditions is “2” for the edges 2 and 4 and “0” for the edges 3 and 7 to 10.
  • FIG. 9 is a diagram illustrating an example of the search result list 36 generated by the search unit 21.
  • the search result list 36 includes items of “placed part name”, “selected element”, “search list”, and “number of matches”.
  • the “placed part name” is a part name input by the dialogue input device 15.
  • “Search list” is an element name of a graphic element narrowed down by a search formula having a condition of “1”.
  • “Number of matches” is the number of search conditions that match. In the search result list 36 shown in FIG. 9, the arrangement part name “screw.PRT” and the selection element “edge 1” are shown, and seven combinations are shown as the search list and the number of matches.
  • FIG. 10 is a diagram illustrating an example of the selection candidate list display screen 51 that displays the search results indicated by the search result list 36.
  • the search result storage unit 22 rearranges the search result list received from the search unit 21 in an order having a large number of matches, sends it to the search result output device 23 as a selection candidate list, and outputs it as a selection candidate list display screen 51.
  • the selection candidate list display screen 51 is provided with a title “selection candidate list”, a selection candidate display field 511, a scroll button 512, a selection button 513, and a selection cancel button 514.
  • the selection candidate display field 511 the element names of the search list are displayed together with the element types in the order of the number of matches.
  • the scroll button 512 is an operation button for displaying element names that cannot be displayed in the selection candidate display field 511.
  • the selection button 513 is an operation button for selecting, from among the element names displayed in the selection candidate display field 511, a graphic element that places a part having the same part name as the part name input by the dialog input device 15. .
  • the selection cancel button 514 is an operation button for canceling the selection of the graphic element and closing the selection candidate list display screen 51.
  • the operation button can be operated, for example, by moving a pointer displayed on the screen to the position of the operation button with a mouse and left-clicking the mouse.
  • the arrangement part selection unit 17 selects “screw” of the arrangement part name “screw.PRT” in the search result list stored in the storage device by the search result storage unit 22. As the part name, and the read part name “screw” is sent to the retrieval basic expression reading unit 19.
  • the shape element selecting unit 16 Upon receiving the selected element information “Edge 2” from the dialog input device 15, the shape element selecting unit 16 selects the element name “Edge 1” of the selected element in the search result list stored in the storage device by the search result storage unit 22. Read as completed element information.
  • the dialog input device 15 selects The element name “Edge 2” is sent to the shape element selection unit 16 as selection element information.
  • FIG. 11 is a diagram illustrating an example of the search result list 37 initialized by the shape element selection unit 16.
  • the shape element selection unit 16 When the shape element selection unit 16 receives the element name “edge 2” as selection element information from the dialog input device 15, the selection element information received from the dialog input device 15 is selected as the selection element of the search result list stored in the storage device. “Edge 2” is added and the search list and the number of matches in the search result list are deleted.
  • the search result list 37 shown in FIG. 11 shows the arrangement part name “screw.PRT” and the selection elements “edge 1” and “edge 2”, and the search list and the number of matches are blank. Then, the shape element selection unit 16 selects the selected element information “edge 1” read from the storage device from the geometric information stored in the shape data storage unit 13 and the selected element information “edge” received from the dialogue input device 15.
  • FIG. 12 is a diagram illustrating an example of the geometric information 38 to which the geometric information of the second graphic element is added.
  • the geometric information 38 is information obtained by adding the geometric information of the selected element information “edge 2” received from the dialogue input device 15 by the second graphic element, that is, the shape element selecting unit 16 to the geometric information 32 shown in FIG. .
  • the geometric information 38 shown in FIG. 12 includes an element type “arc”, a radius “R1”, a center coordinate “(X4, Y4, Z4)”, and a normal vector “(X5, 5) for the element name“ edge 2 ”. Y5, Z5) "is added.
  • the retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name “screw” received from the arrangement component selecting unit 17 from the retrieval basic expression information stored in the retrieval basic expression storage device 18.
  • the read basic formula information is sent to the search formula creation unit 20.
  • the search formula creating unit 20 creates search formula information based on the geometric information 38 received from the shape element selection unit 16 and the basic search formula information received from the basic search formula reading unit 19 and searches the created search formula information. Send to part 21.
  • the search basic formula reading unit 19 creates first search formula information based on the geometric information of the edge 1 in the geometric information 38 as the search formula information having the number of elements “1”, and the geometric information
  • the second search formula information is created based on the geometric information of edge 2 of 38, and further, the geometric information of edge 1 and edge 2 of geometric information 38 is used as search formula information with the number of elements being “2”.
  • the third search expression information is created.
  • FIG. 13 is a diagram illustrating an example of the first search formula information 39 created by the shape element selection unit 16.
  • FIG. 14 is a diagram illustrating an example of the second search expression information 40 created by the shape element selection unit 16.
  • FIG. 15 is a diagram illustrating an example of the third search expression information 41 created by the shape element selection unit 16.
  • the first search formula information 39 shown in FIG. 13 shows eight combinations as “element type”, “geometric information”, “search formula”, and “condition”.
  • the second combination is “arc”, “X1, Y1, Z1”, “F1” and “1”
  • the eighth combination is “arc”, “X0, Y0, Z0”, “F2” and
  • the second search formula information 40 shown in FIG. 14 eight combinations are shown as “element type”, “geometric information”, “search formula”, and “condition”.
  • the second combination is “arc”, “X5, Y5, Z5”, “F1” and “1”
  • the eighth combination is “arc”, “X4, Y4, Z4”, “F2” and “
  • the third search formula information 41 shown in FIG. 15 three combinations are shown as “element type”, “geometric information”, “search formula”, and “condition”.
  • the first combination is “arc”, “X0, Y0, Z0, X4, Y4, Z4”, “F3” and “2”
  • the second combination is “arc”, “X0, Y0” , Z0, X4, Y4, Z4 ",” F4 "and” 2 ".
  • the search unit 21 performs a search based on the first search formula information 39, the second search formula information 40, and the third search formula information 41 received from the search formula creation unit 20.
  • a graphic element that matches the search condition is extracted from the expression information 39 using “arc” as a search condition, and then the condition of the search expression with the number of elements in the first search expression information 39 being “1” is “1”.
  • the extracted graphic elements are narrowed down by the search expression “”.
  • the search unit 21 searches for a graphic element that matches the search condition of the search expression whose condition is “2” among the search expressions whose number of elements in the first search expression information 39 is “1”, and the matching search condition Is counted for each graphic element.
  • a graphic element that matches the search condition of the search expression whose condition is “2” among the search expressions whose number of elements in the second search expression information 40 is “1” is searched, and the number of the matching search conditions is determined as a graphic element.
  • the graphic elements that match the search conditions of the search expression of the third search expression information 41 are searched, and the number of search conditions that match is counted for each graphic element.
  • the search unit 21 first selects the geometry of the component data stored in the shape data storage unit 13 using “arc” in the first search formula information 39 received from the search formula creation unit 20 as a search condition. Information is searched, and graphic elements of geometric information that match the search conditions are extracted.
  • FIG. 16 is a diagram illustrating an example of a search result 42 narrowed down by a search formula whose condition of the first search formula information 39 is “1”.
  • FIG. 16 shows the first search formula information for 22 graphic elements of edges 3 to 24 excluding the already selected edge 1 and edge 2 among the graphic elements extracted under the condition of “arc”. The result narrowed down under condition 1 indicated by 39 is shown.
  • FIG. 16 is the same as the search result 34 shown in FIG. 7 excluding the item of edge 2, and the description thereof is omitted to avoid duplication.
  • the search unit 21 narrows down the graphic elements using the search formula whose condition indicated by the first search formula information 39 is “1”, and then searches for the search formula whose number of elements in the first search formula information 39 is “1”. Among them, a graphic element that matches the search condition of the search expression with the condition “2” is searched, and the number of search conditions that match is counted for each graphic element narrowed down by the search expression with the condition “1”.
  • FIG. 17 is a diagram illustrating an example of a search result 43 searched by a search formula whose condition of the first search formula information 39 is “2”.
  • the search unit 21 uses the first search formula information for the six graphic elements of the graphic element edges 3 and 4 and the edges 7 to 10 narrowed down by the search formula whose condition of the first search formula information 39 is “1”.
  • the first search expression “Y0 Y”, that is, “X coaxial”
  • the second search expression “X0 X”, that is, “Y coaxial”
  • the third search expression “Y0 ( ⁇ 1) ⁇ Y ”, that is,“ XZ plane symmetry ”
  • the fourth search expression“ X0 ( ⁇ 1) ⁇ X ”, that is,“ YZ plane symmetry ”
  • the fifth search expression“ F2 that is,“ th ”
  • the search result is shown as a search condition that has a center point on an axis passing through the center of one element and parallel to the edge of the plane on which the first element rides.
  • the numbers shown outside the column are the number of matching search conditions counted for each graphic element.
  • the edge 4 matches the search condition “X coaxial”, and the edge 4 matches the search condition “YZ plane symmetry”. There is no graphic element that satisfies the search condition “having a center point on an axis passing through the center of one element and parallel to the edge of the plane on which the first element rides”. Therefore, the number of matching search conditions is “2” for edge 4 and “0” for edges 3, 7 to 10.
  • FIG. 18 is a diagram illustrating an example of a search result 44 searched by a search formula whose condition of the second search formula information 40 is “2”.
  • the search unit 21 uses the second search formula information for the six graphic elements of the graphic element edges 3 and 4 and the edges 7 to 10 narrowed down by the search formula whose condition of the first search formula information 39 is “1”.
  • the first search expression “Y4 Y”, that is, “X coaxial”
  • the second search expression “X4 X”, that is, “Y coaxial”
  • the third search expression “Y4 ( ⁇ 1) ⁇ Y ”, that is,“ XZ plane symmetry ”
  • the fourth retrieval formula“ X4 ( ⁇ 1) ⁇ X ”, that is,“ YZ plane symmetry ”
  • the fifth retrieval formula“ F2 that is,“ th ”
  • the search result is shown as a search condition that has a center point on an axis passing through the center of one element and parallel to the edge of the plane on which the first element rides.
  • the numbers shown outside the column are the number of matching search conditions counted for each graphic element.
  • the edge 3 matches the search condition “X coaxial”, and the edge 3 matches the search condition “YZ plane symmetry”, “Y coaxial”, “XZ plane symmetry”, There is no graphic element that satisfies the search condition “having a center point on an axis passing through the center of one element and parallel to the edge of the plane on which the first element rides”. Therefore, the number of matching search conditions is “2” for edge 3 and “0” for edges 4, 7 to 10.
  • the search unit 21 counts the number of search conditions that match the search condition of the search expression whose condition of the second search expression information 40 is “2”, and then searches for the search expression of the third search expression information 41.
  • the graphic elements that match the conditions are searched, and the number of matching search conditions is counted for each graphic element that is narrowed down by the search expression with the condition “1”.
  • FIG. 19 is a diagram illustrating an example of a search result 45 searched with the search formula of the third search formula information 41.
  • the search formula of the third search formula information 41 For the six graphic elements of the graphic element edges 3 and 4 and the edges 7 to 10 narrowed down by the search formula whose condition of the first search formula information 39 is “1”, the search formula of the third search formula information 41 Of these, the first search expression “F3”, that is, “having a center point on the axis passing through the center points of the first and second elements”, and the second search expression “F4”, that is, “first, first
  • the search result is shown as a result of the search condition that “the center point is on an axis that is perpendicular to the straight line connecting the centers of the two elements and passes through the first or second center”. “ ⁇ ” indicates that the search condition is met, and no mark indicates that the search condition is not met.
  • the numbers shown outside the column are the number of matching search conditions counted for each graphic element.
  • the number of matching search conditions is “0” for all of the edges 3, 4, 7 to 10.
  • the search unit 21 When the search by the search formula of the third search formula information 41 is completed, the search unit 21 generates a search result list based on the search results 43 to 45 and sends the generated search result list to the search result storage unit 22. .
  • the search result storage unit 22 stores the search result list received from the search unit 21 in the storage device, and edits the search result list and sends it to the search result output device 23 for output.
  • FIG. 20 is a diagram illustrating an example of the search result list 46 generated by the search unit 21. The items included in the search result list 36 shown in FIG.
  • FIG. 20 are the same items as the items in the search result list 36 shown in FIG. 9, and the description of the items is omitted to avoid duplication.
  • the search result list 36 shown in FIG. 20 the arrangement part name “screw.PRT” and the selection elements “edge 1” and “edge 2” are shown, and seven combinations are shown as the search list and the number of matches. Yes.
  • the seven combinations are the same as the search list and the number of matches in the search result list 36 shown in FIG. 9, and a description thereof will be omitted to avoid duplication.
  • FIG. 21 is a diagram illustrating an example of the selection candidate list display screen 52 that displays the search results indicated by the search result list 46.
  • the search result storage unit 22 rearranges the search result list 46 received from the search unit 21 in the order in which the number of matches is large, sends it to the search result output device 23 as a selection candidate list, and outputs it as a selection candidate list display screen 52.
  • the configuration and display contents of the selection candidate list display screen 52 are the same as the configuration and display contents of the selection candidate list display screen 51 shown in FIG. 10, and a description thereof will be omitted to avoid duplication.
  • the user can select the third graphic element from the selection candidates for the third graphic element on the selection candidate list display screen 52 shown in FIG.
  • the shape data storage unit 13 stores the geometric information representing the graphic elements constituting the shape of the object on which the part is arranged and the element names for identifying the graphic elements in association with each other, and searches them.
  • the basic formula storage device 18 stores basic search formula information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged.
  • the dialog input device 15 and the shape element selection unit 16 are stored.
  • the element name of the graphic element constituting the shape at the position where one part is arranged is selected from the element names stored in the shape data storage unit 13.
  • the first graphic element indicated by the element name selected by the dialog input device 15 and the shape element selection unit 16 among the geometric information stored in the shape data storage unit 13 by the search formula creation unit 20 and the search unit 21 A component having the same shape as the component arranged at the position of the first graphic element is arranged based on the geometric information of the first graphic element and a predetermined search condition indicated by the basic search formula information stored in the basic search formula storage device 18.
  • the candidate of the graphic element to be searched is searched, and the search result storage unit 22 and the search result output device 23 display the selectable element names of the graphic elements searched by the search formula creation unit 20 and the search unit 21 in a selectable manner. .
  • candidates for graphic elements in which parts having the same shape are arranged can be narrowed down by the condition including the positional relationship from among the graphic elements constituting the shape of the placement object on which the parts are arranged. Further, among the element names displayed so as to be selectable by the search result storage unit 22 and the search result output unit 23 by the dialog input device 15 and the shape element selection unit 16, a different one from the element name of the first graphic element. 2 is selected, and the second selected from the geometric information stored in the shape data storage unit 13 by the search formula creation unit 20 and the search unit 21 is selected by the dialog input device 15 and the shape element selection unit 16.
  • FIG. 22 is a flowchart showing the processing procedure of the first element search process executed by the graphic element selection device 1. For example, when a function for selecting a graphic element is selected from the main menu displayed on the screen output device 14, the process proceeds to step A1. In step A1, an arrangement component is selected.
  • step A2 which is a graphic element selection step, an arrangement reference element is selected.
  • the shape element selection unit 16 reads the geometric information of the first graphic element indicated by the input element name from the geometric information stored in the shape data storage unit 13, and creates a retrieval formula for the read geometric information. Send to part 20.
  • step A3 the presence / absence of a basic search expression is determined.
  • basic search formula information 31 associated with the part name received from the arrangement part selection unit 17 is stored in the basic search information 31 stored in the basic search storage device 18. Then, it is determined that there is a basic search formula, and the process proceeds to Step A4. If the basic search formula information 31 associated with the component name received from the placement component selection unit 17 is not stored in the basic search formula information 31 stored in the basic search formula storage device 18, there is no basic search formula. The first element search process is terminated. In step A4, the basic retrieval formula is read.
  • the retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name received from the arrangement component selection unit 17 from the retrieval basic expression storage device 18, and the retrieved retrieval basic expression information. Is sent to the search expression creation unit 20.
  • a search formula is created.
  • the search formula creation unit 20 creates search formula information based on the geometric information received from the shape element selection unit 16 and the search basic formula information received from the search basic formula reading unit 19, and the created search The formula information is sent to the search unit 21.
  • a search is performed. Specifically, the search unit 21 searches the geometric information stored in the shape data storage unit 13 using the search formula information received from the search formula creation unit 20 as a search condition, and the geometric information figure that matches the search condition.
  • Steps A4 to A6 are search steps.
  • step A7 which is a display step, the search result is displayed and the first element search process is terminated.
  • the search result storage unit 22 stores the search result list received from the search unit 21 in the storage device, and edits the search result list and sends it to the search result output device 23 to display the selection candidate list.
  • the screen is output as a screen, and the first element search process is terminated.
  • step A2 the geometric information representing the graphic element that forms the shape of the placement object on which the part is arranged is associated with the element name for identifying the graphic element.
  • the element name of the graphic element constituting the shape at the position where one part is arranged is selected from the element names stored in the shape data storage unit 13 stored.
  • steps A4 to A6 the geometric information of the first graphic element indicated by the element name selected in step A2 among the geometric information stored in the shape data storage unit 13 and the graphic element in which a part having the same shape is arranged.
  • a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched.
  • step A7 the candidate element names of graphic elements searched in steps A4 to A6 are displayed so as to be selectable. Therefore, if the graphic element selection method according to the present invention is applied, candidates for graphic elements in which parts having the same shape are arranged among the graphic elements constituting the shape of the placement object in which the parts are arranged are included in the positional relationship. It can be narrowed down by conditions.
  • FIG. 23 is a flowchart showing the processing procedure of the second element search processing executed by the graphic element selection device 1. When the first element search process ends, the process proceeds to step B1. In step B1, an arrangement part is read.
  • the arrangement part selection unit 17 reads the arrangement part name in the search result list stored in the storage device by the search result storage unit 22 as the part name, and sends the read part name to the search basic expression reading unit 19. .
  • an arrangement reference element is read.
  • the shape element selection unit 16 reads the element name of the selected element in the search result list stored in the storage device by the search result storage unit 22 as an arrangement reference element, that is, selected element information.
  • an arrangement reference element is selected. Specifically, when the user selects the element name of the second graphic element from the selection candidates of the second graphic element on the selection candidate list display screen 51 shown in FIG. The element name of the selected element in the search result list stored in the storage device is read as selected element information.
  • the shape element selection unit 16 selects the selected element information read from the storage device from the geometric information stored in the shape data storage unit 13 and the geometry of the graphic element indicated by the selection element information received from the dialogue input device 15. The information is read, and the read geometric information is sent to the search formula creation unit 20. In step B4, the presence / absence of a basic search expression is determined. In the basic search expression unit 19, basic search formula information 31 associated with the part name received from the arrangement part selection unit 17 is stored in the basic search information 31 stored in the basic search storage device 18. Then, it is determined that there is a basic search formula, and the process proceeds to Step B5.
  • step B5 the basic search formula is read. Specifically, the retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name received from the arrangement component selection unit 17 from the retrieval basic expression storage device 18, and the retrieved retrieval basic expression information. Is sent to the search expression creation unit 20. In step B6, a search expression is created.
  • the search formula creation unit 20 creates search formula information based on the geometric information received from the shape element selection unit 16 and the search basic formula information received from the search basic formula reading unit 19, and the created search The formula information is sent to the search unit 21.
  • a search is performed. Specifically, the search unit 21 searches the geometric information of the part data stored in the shape data storage unit 13 using the search formula information received from the search formula creation unit 20 as a search condition, and finds a geometry that matches the search condition. The graphic elements of information are extracted, and the number of search conditions that match the extracted graphic elements is calculated. Then, a search result list is generated based on the extracted element name of the graphic element and the number of matching search conditions, and the generated search result list is sent to the search result storage unit 22.
  • step B8 the search result is displayed and the second element search process is terminated.
  • the search result storage unit 22 stores the search result list received from the search unit 21 in the storage device, and edits the search result list and sends it to the search result output device 23 to display the selection candidate list.
  • the screen is output as a screen, and the second element search process is terminated.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A device and method for selecting a graphic element. A search formula creation part (20) creates search formula information on the basis of geometric information relating to a graphic element indicated by an element name inputted by a speech input device (15) and search basic formula information corresponding to a component name inputted by the speech input device (15). A search part (21) searches geometric information stored in a shape data storage part (13) with a search formula contained in the search formula information created by the search formula creation part (20) as a search condition, extracts the graphic element of geometric information coincident with the search condition, and calculates the number of search conditions coincident with the extracted graphic element. Then, search part (21) creates a search result list on the basis of the element name of the extracted graphic element and the number of coincident search conditions, and outputs the created search result list to a search result output device (23).

Description

図形要素選択装置および方法Graphic element selection apparatus and method
 本発明は、形状を構成する図形要素を選択する図形要素選択装置および方法に関し、より詳細には、CADシステムにおいて複数の図形要素からなる形状を生成するために、その形状を構成する図形要素を選択する図形要素選択装置および方法に関する。 The present invention relates to a graphic element selection apparatus and method for selecting a graphic element constituting a shape, and more specifically, in order to generate a shape composed of a plurality of graphic elements in a CAD system, the graphic element constituting the shape is selected. The present invention relates to an apparatus and method for selecting a graphic element to be selected.
 CAD(Computer Aided Design)システムなどにおいて、画面に表示される複数の図形要素の中から図形要素を選択する関連技術がある。
 第1の関連技術である図形順次選択装置は、ディスプレイに表示された重なった図形の中から、選択状態にある図形の内部の座標を指示することによって、指示された座標を含む図形のうちで、前記選択状態にある図形の次の重ね順位の図形を新たに選択状態とする(たとえば特開平9-114633号公報参照)。
 第2の関連技術である図形選択方法は、複数の図形要素から構成される図形を選択する際に、指定された図形要素に接する図形要素を検索する工程を含むように構成され、接する一連の図形要素を最小限の操作回数で選択することができる(たとえば特開2000-182071号公報参照)。
 第3の関連技術である複数要素一括選択方法は、第1の平面、および第1の平面に平行な第2の平面を特定し、複数の幾何形状要素の中から、特定された第1の平面および第2の平面によって挟まれる空間領域に存在する幾何形状要素を一括選択する(たとえば特開2003-271676号公報参照)。
 第4の関連技術である図形選択方法は、表示画面に表示された図形要素の中から代表要素を選択すると、代表要素の形状情報および属性情報を表示する。そして、表示された代表要素の形状情報および属性情報から条件項目として抽出しない情報を選択して条件項目を確定し、確定された条件項目に合致したすべての図形要素を検索して選択する。特定の条件を等しくする複数の図形要素を簡単な操作で選択することができる。形状情報は、半径および角度などの形状特有な項目であり、属性情報は、ペン番号、線種、カラー、およびレイヤ番号などの標準属性である(たとえば特開平7-114633号公報参照)。
 第1の関連技術は、重なって表示されている図形のうち、選択状態でない図形を選択状態とすることができ、第2の関連技術は、接する図形要素を選択することができ、第3の関連技術は、2つの平行な平面に挟まれる幾何形状要素を選択することができる。しかしながら、いずれの関連技術も選択範囲が限定され、選択範囲外にある要素を選択するには、同様の複数回の操作を繰り返す必要がある。
 第4の関連技術は、選択範囲は限定されないが、図形要素の形状情報および属性情報によって定まる特定の条件、たとえば半径あるいは角度などを等しくする図形要素を選択するものであり、選択された図形要素と特定の位置関係にある図形要素を選択することはできないという問題がある。
In a CAD (Computer Aided Design) system or the like, there is a related technique for selecting a graphic element from a plurality of graphic elements displayed on a screen.
The graphic sequential selection device, which is the first related technology, indicates the coordinates inside the selected figure from among the overlapping figures displayed on the display, and thus includes the indicated coordinates. Then, a graphic having the next overlapping order of the graphic in the selected state is newly selected (see, for example, Japanese Patent Laid-Open No. 9-114633).
A graphic selection method as a second related technique is configured to include a step of searching for a graphic element in contact with a specified graphic element when selecting a graphic composed of a plurality of graphic elements. A graphic element can be selected with a minimum number of operations (see, for example, Japanese Patent Laid-Open No. 2000-182071).
The multi-element batch selection method as the third related technique specifies a first plane and a second plane parallel to the first plane, and identifies the first plane identified from the plurality of geometric elements. Geometric elements existing in a space region sandwiched between the plane and the second plane are selected at once (see, for example, JP-A-2003-271676).
In the graphic selection method as the fourth related technique, when a representative element is selected from graphic elements displayed on the display screen, the shape information and attribute information of the representative element are displayed. Then, information that is not extracted as a condition item is selected from the displayed shape element and attribute information of the representative element to determine the condition item, and all graphic elements that match the determined condition item are searched and selected. A plurality of graphic elements that equalize a specific condition can be selected by a simple operation. The shape information is a shape-specific item such as a radius and an angle, and the attribute information is a standard attribute such as a pen number, a line type, a color, and a layer number (see, for example, JP-A-7-114633).
The first related technique can select a figure that is not in a selected state from among the overlappingly displayed figures, and the second related technique can select a graphic element that touches the third related technique. Related techniques can select geometric elements that are sandwiched between two parallel planes. However, in any related technique, the selection range is limited, and in order to select an element outside the selection range, it is necessary to repeat the same multiple operations.
In the fourth related technique, the selection range is not limited, but a specific condition determined by the shape information and attribute information of the graphic element, for example, a graphic element having the same radius or angle is selected. There is a problem that a graphic element having a specific positional relationship cannot be selected.
 本発明の目的は、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる図形要素選択装置および方法を提供することである。
 本発明は、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とを対応付けて記憶する図形要素記憶手段と、
 同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す検索条件情報を記憶する検索条件情報記憶手段と、
 前記図形要素記憶手段に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する図形要素選択手段と、
 前記図形要素記憶手段に記憶される幾何情報のうち前記図形要素選択手段によって選択された図形要素識別情報が示す第1の図形要素の幾何情報と、前記検索条件情報記憶手段に記憶される検索条件情報が示す予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する検索手段と、
 前記検索手段によって検索された図形要素の候補の図形要素識別情報を選択可能に表示する表示手段とを含むことを特徴とする図形要素選択装置である。
 また本発明において、前記表示手段によって選択可能に表示される図形要素識別情報の中から、前記第1の図形要素の図形要素識別情報と異なる第2の図形要素識別情報を選択する第2の図形要素選択手段をさらに含み、
 前記検索手段は、前記図形要素記憶手段に記憶される幾何情報のうち、前記第2の図形要素選択手段によって選択された第2の図形要素識別情報が示す第2の図形要素および前記第1の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索することが好ましい。
 また本発明において、前記図形要素の形状が円または円弧の形状であり、
 前記予め定める検索条件は、図形要素の候補の形状の半径が、前記第1の図形要素の形状の半径に等しいという条件を含むことが好ましい。
 また本発明において、前記予め定める検索条件は、図形要素の候補が含まれる仮想平面の法線の方向が、前記第1の図形要素が含まれる仮想平面の法線の方向と同じであるという条件をさらに含むことが好ましい。
 また本発明において、前記予め定める検索条件は、図形要素の中心の位置を前記被配置物の重心の位置を原点とするXYZ座標系で表すとき、X座標軸、Y座標軸およびZ座標軸のうち1つの座標軸で、図形要素の候補の中心の位置の座標の絶対値と前記第1の図形要素の中心の位置の座標の絶対値とが等しいという条件をさらに含むことが好ましい。
 また本発明において、前記予め定める検索条件は、前記被配置物の表面を構成する面のうち、前記第1の図形要素を含む面が直線の外周縁を含むとき、その外周縁の直線のうちの第1の直線と図形要素の候補の中心との距離が、前記第1の直線と前記第1の図形要素の中心との距離に等しいという条件をさらに含むことが好ましい。
 また本発明において、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線上にあるという条件をさらに含むことが好ましい。
 また本発明において、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線に垂直で、かつ前記第1の図形要素または前記第2の図形要素の中心を通る直線上にあるという条件をさらに含むことが好ましい。
 また本発明において、前記第2の図形要素選択手段は、前記表示手段によって選択可能に表示される図形要素識別情報の中から、前記第1の図形要素および第2の図形要素の図形要素識別情報と異なる第3の図形要素識別情報をさらに選択し、
 前記検索手段は、前記図形要素記憶手段に記憶される幾何情報のうち、前記第1の図形要素、前記第2の図形要素、および前記第2の図形要素選択手段によって選択された第3の図形要素識別情報が示す第3の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索し、
 前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心と前記第3の図形要素の中心とを通る円周上にあるという条件をさらに含むことが好ましい。
 また本発明は、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とを対応付けて記憶する図形要素記憶部に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する図形要素選択ステップと、
 前記図形要素記憶部に記憶される幾何情報のうち前記図形要素選択ステップで選択された図形要素識別情報が示す第1の図形要素の幾何情報と、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する検索ステップと、
 前記検索ステップで検索された図形要素の候補の図形要素識別情報を選択可能に表示する表示ステップとを含むことを特徴とする図形要素選択方法である。
 本発明によれば、図形要素記憶手段によって、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とが対応付けて記憶され、検索条件情報記憶手段によって、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す検索条件情報が記憶され、図形要素選択手段によって、前記図形要素記憶手段に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報が選択される。
 そして、検索手段によって、前記図形要素記憶手段に記憶される幾何情報のうち前記図形要素選択手段によって選択された図形要素識別情報が示す第1の図形要素の幾何情報と、前記検索条件情報記憶手段に記憶される検索条件情報が示す予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補が検索され、表示手段によって、前記検索手段によって検索された図形要素の候補の図形要素識別情報が選択可能に表示される。
 したがって、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる。
 本発明によれば、図形要素選択ステップでは、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とを対応付けて記憶する図形要素記憶部に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する。
 検索ステップでは、前記図形要素記憶部に記憶される幾何情報のうち前記図形要素選択ステップで選択された図形要素識別情報が示す第1の図形要素の幾何情報と、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する。そして、表示ステップでは、前記検索ステップで検索された図形要素の候補の図形要素識別情報を選択可能に表示する。
 したがって、本発明に係る図形要素選択方法を適用すれば、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる。
The object of the present invention is to select graphic elements that can narrow down candidates of graphic elements on which parts of the same shape are arranged from among the graphic elements constituting the shape of the placement object on which the parts are arranged, by conditions including positional relationships. An apparatus and method is provided.
The present invention relates to geometric element storage means for storing geometric information representing graphic elements constituting the shape of an object on which a part is arranged and graphic element identification information for identifying the graphic elements in association with each other;
Search condition information storage means for storing search condition information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged;
Graphic element selection means for selecting graphic element identification information of a graphic element constituting a shape at a position where one part is arranged from among graphic element identification information stored in the graphic element storage means;
The geometric information of the first graphic element indicated by the graphic element identification information selected by the graphic element selection means among the geometric information stored in the graphic element storage means, and the search condition stored in the search condition information storage means Search means for searching for a graphic element candidate in which a component having the same shape as the component arranged at the position of the first graphic element is based on a predetermined search condition indicated by the information;
A graphic element selection device comprising: display means for selectively displaying graphic element identification information of graphic element candidates searched by the search means.
In the present invention, a second graphic for selecting second graphic element identification information different from the graphic element identification information of the first graphic element from graphic element identification information displayed in a selectable manner by the display means. Further comprising element selection means,
The search means includes the second graphic element indicated by the second graphic element identification information selected by the second graphic element selection means among the geometric information stored in the graphic element storage means, and the first graphic element. It is preferable to search for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched based on the geometric information of the graphic element and the predetermined search condition.
Further, in the present invention, the shape of the graphic element is a circular or arc shape,
The predetermined search condition preferably includes a condition that a radius of the shape of the graphic element candidate is equal to a radius of the shape of the first graphic element.
In the present invention, the predetermined search condition is that the direction of the normal of the virtual plane including the candidate for the graphic element is the same as the direction of the normal of the virtual plane including the first graphic element. It is preferable that it is further included.
Also, in the present invention, the predetermined search condition is that when the position of the center of the graphic element is expressed in an XYZ coordinate system with the position of the center of gravity of the placement object as the origin, one of the X coordinate axis, the Y coordinate axis, and the Z coordinate axis Preferably, the coordinate axis further includes a condition that the absolute value of the coordinate of the center position of the graphic element candidate is equal to the absolute value of the coordinate of the center position of the first graphic element.
Also, in the present invention, the predetermined search condition is that, among the surfaces constituting the surface of the object to be placed, when the surface including the first graphic element includes a straight outer peripheral edge, The distance between the first straight line and the center of the graphic element candidate preferably further includes a condition that the distance between the first straight line and the center of the first graphic element is equal.
In the present invention, the predetermined search condition further includes a condition that the center of the graphic element candidate is on a straight line passing through the center of the first graphic element and the center of the second graphic element. Is preferred.
In the present invention, the predetermined search condition is that the center of the graphic element candidate is perpendicular to a straight line passing through the center of the first graphic element and the center of the second graphic element, and It is preferable to further include a condition of being on a straight line passing through the center of the graphic element or the second graphic element.
Further, in the present invention, the second graphic element selection means is configured to select graphic element identification information of the first graphic element and the second graphic element from graphic element identification information displayed so as to be selectable by the display means. And further select third graphic element identification information different from
The search means is a third graphic selected by the first graphic element, the second graphic element, and the second graphic element selection means among the geometric information stored in the graphic element storage means. Based on the geometric information of the third graphic element indicated by the element identification information and the predetermined search condition, the graphic element in which the part having the same shape as the part arranged at the position of the first graphic element is arranged. Search for suggestions,
The predetermined search condition is that the center of the graphic element candidate is on a circle passing through the center of the first graphic element, the center of the second graphic element, and the center of the third graphic element. It is preferable to further include conditions.
Further, the present invention stores in a graphic element storage unit which stores geometric information representing graphic elements constituting the shape of an arrangement object on which a part is arranged and graphic element identification information for identifying graphic elements in association with each other. A graphic element selection step of selecting graphic element identification information of a graphic element constituting a shape at a position where one part is arranged from among the graphic element identification information to be displayed;
The geometric information stored in the graphic element storage unit is searched for the geometric element having the same shape as the geometric information of the first graphic element indicated by the graphic element identification information selected in the graphic element selection step. A search step of searching for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is based on a predetermined search condition including a positional relationship for
And a display step for selectively displaying graphic element identification information of graphic element candidates searched in the search step.
According to the present invention, the graphic element storage means associates and stores geometric information representing graphic elements constituting the shape of the object on which the part is arranged and graphic element identification information for identifying the graphic elements. The search condition information storage means stores search condition information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged, and the graphic element selection means stores the graphic elements. From the graphic element identification information stored in the storage means, graphic element identification information of a graphic element constituting a shape at a position where one part is arranged is selected.
Then, the geometric information of the first graphic element indicated by the graphic element identification information selected by the graphic element selection means among the geometric information stored in the graphic element storage means by the search means, and the search condition information storage means A graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched based on a predetermined search condition indicated by the search condition information stored in Thus, graphic element identification information of graphic element candidates searched by the search means is displayed so as to be selectable.
Therefore, candidates for graphic elements in which parts having the same shape are arranged can be narrowed down by the condition including the positional relationship from among the graphic elements constituting the shape of the placement object on which the parts are arranged.
According to the present invention, in the graphic element selection step, the geometric information representing the graphic elements constituting the shape of the placement object on which the part is arranged and the graphic element identification information for identifying the graphic elements are stored in association with each other. The graphic element identification information of the graphic element constituting the shape at the position where one part is arranged is selected from the graphic element identification information stored in the graphic element storage unit.
In the search step, parts having the same shape as the geometric information of the first graphic element indicated by the graphic element identification information selected in the graphic element selection step among the geometric information stored in the graphic element storage unit are arranged. Based on a predetermined search condition including a positional relationship for searching for a graphic element, a candidate for a graphic element in which a part having the same shape as the part arranged at the position of the first graphic element is searched. In the display step, the graphic element identification information of the graphic element candidates searched in the search step is displayed in a selectable manner.
Therefore, if the graphic element selection method according to the present invention is applied, candidates for graphic elements in which parts having the same shape are arranged among the graphic elements constituting the shape of the placement object in which the parts are arranged are included in the positional relationship. It can be narrowed down by conditions.
 本発明の目的、特色、および利点は、下記の詳細な説明と図面とからより明確になるであろう。
本発明の一実施形態である図形要素選択装置の構成を示すブロック図である。 検索基本式記憶装置に記憶される検索基本式情報の一例を示す図である。 配置部品が配置される被配置部品の一例であるカバー部品の外観を示す図である。 配置部品が配置される被配置部品の一例であるカバー部品の外観を示す図である。 被配置部品に配置される配置部品の一例であるネジ部品の外観を示す図である。 形状データ記憶部に記憶される幾何情報の一例を示す図である。 検索式作成部によって作成される検索式情報の一例を示す図である。 検索式情報の条件が「1」の検索式で絞り込まれた検索結果の一例を示す図である。 検索式情報の条件が「2」の検索式で検索された検索結果の一例を示す図である。 検索部によって生成された検索結果リストの一例を示す図である。 検索結果リストが示す検索結果を表示する選択候補リスト表示画面の一例を示す図である。 形状要素選択部によって初期化された検索結果リストの一例を示す図である。 第2の図形要素の幾何情報が追加された幾何情報の一例を示す図である。 形状要素選択部によって作成される第1の検索式情報の一例を示す図である。 形状要素選択部によって作成される第2の検索式情報の一例を示す図である。 形状要素選択部によって作成される第3の検索式情報の一例を示す図である。 第1の検索式情報の条件が「1」の検索式で絞り込まれた検索結果の一例を示す図である。 第1の検索式情報の条件が「2」の検索式で検索された検索結果の一例を示す図である。 第2の検索式情報の条件が「2」の検索式で検索された検索結果の一例を示す図である。 第3の検索式情報の検索式で検索された検索結果の一例を示す図である。 検索部によって生成された検索結果リストの一例を示す図である。 検索結果リストが示す検索結果を表示する選択候補リスト表示画面の一例を示す図である。 図形要素選択装置が実行する第1要素検索処理の処理手順を示すフローチャートである。 図形要素選択装置が実行する第2要素検索処理の処理手順を示すフローチャートである。
Objects, features, and advantages of the present invention will become more apparent from the following detailed description and drawings.
It is a block diagram which shows the structure of the graphical element selection apparatus which is one Embodiment of this invention. It is a figure which shows an example of the basic search formula information memorize | stored in a basic search formula memory | storage device. It is a figure which shows the external appearance of the cover component which is an example of the to-be-arranged component by which an arrangement | positioning component is arrange | positioned. It is a figure which shows the external appearance of the cover component which is an example of the to-be-arranged component by which an arrangement | positioning component is arrange | positioned. It is a figure which shows the external appearance of the screw component which is an example of the arrangement | positioning components arrange | positioned at a to-be-arranged component. It is a figure which shows an example of the geometric information memorize | stored in a shape data memory | storage part. It is a figure which shows an example of the search formula information produced by the search formula production part. It is a figure which shows an example of the search result narrowed down by the search formula whose conditions of search formula information are "1". It is a figure which shows an example of the search result searched with the search formula whose conditions of search formula information are "2." It is a figure which shows an example of the search result list | wrist produced | generated by the search part. It is a figure which shows an example of the selection candidate list display screen which displays the search result which a search result list shows. It is a figure which shows an example of the search result list initialized by the shape element selection part. It is a figure which shows an example of the geometric information to which the geometric information of the 2nd figure element was added. It is a figure which shows an example of the 1st search expression information produced by the shape element selection part. It is a figure which shows an example of the 2nd search formula information produced by the shape element selection part. It is a figure which shows an example of the 3rd search expression information produced by the shape element selection part. It is a figure which shows an example of the search result narrowed down by the search formula whose conditions of 1st search formula information are "1". It is a figure which shows an example of the search result searched with the search formula whose conditions of 1st search formula information are "2." It is a figure which shows an example of the search result searched with the search formula whose conditions of 2nd search formula information are "2." It is a figure which shows an example of the search result searched with the search formula of 3rd search formula information. It is a figure which shows an example of the search result list | wrist produced | generated by the search part. It is a figure which shows an example of the selection candidate list display screen which displays the search result which a search result list shows. It is a flowchart which shows the process sequence of the 1st element search process which a graphic element selection apparatus performs. It is a flowchart which shows the process sequence of the 2nd element search process which a graphic element selection apparatus performs.
 以下図面を参考にして本発明の好適な実施形態を詳細に説明する。
 図1は、本発明の一実施形態である図形要素選択装置1の構成を示すブロック図である。本発明に係る図形要素選択方法は、図形要素選択装置1で実行される。図形要素選択装置1は、たとえばコンピュータシステムによって構成され、形状データ記憶装置11、形状データ読込部12、形状データ記憶部13、画面出力装置14、対話入力装置15、形状要素選択部16、配置部品選択部17、検索基本式記憶装置18、検索基本式読込部19、検索式作成部20、検索部21、検索結果記憶部22、および検索結果出力装置23を含む。
 図形要素選択装置1を構成するコンピュータシステムは、記憶装置、中央処理装置(Central Processing Unit;以下「CPU」という)、入力装置および出力装置を含む。
 記憶装置は、図形要素選択装置1を制御するためにCPUによって実行される制御プログラム、および図形要素選択装置1を制御するためにCPUによって用いられるデータを記憶し、形状データ記憶装置11および検索基本式記憶装置18を含む。CPUは、記憶装置に記憶される制御プログラムを実行することによって、画面出力装置14、対話入力装置15および検索結果出力装置23を制御し、形状データ読込部12、形状データ記憶部13、形状要素選択部16、配置部品選択部17、検索基本式読込部19、検索式作成部20、検索部21および検索結果記憶部22の各機能を実現する。各機能は、データを記憶装置に書き込み、かつ記憶装置に記憶されるデータを読み出すことができる。
 入力装置は、情報を入力する装置であり、たとえばキーボードあるいはマウスなどの対話入力装置15によって構成される。出力装置は、情報を出力する装置であり、液晶ディスプレイなどの表示装置によって構成される画面出力装置14および検索結果出力装置23によって構成される。検索結果出力装置23は、画面出力装置14によって兼用されてもよい。
 形状データ記憶装置11は、製品に関する設計データを記憶している。設計データは、製品の構成を示すアセンブリデータ、および製品を構成する部品を表す部品データを含む。部品データは、各部品を識別するための識別情報である部品名と、各部品の形状を表す形状情報と、各部品の形状を構成する図形要素を表す幾何情報と、各図形要素を識別するための図形要素識別情報たとえば要素名とを含むデータである。
 形状データ読込部12は、形状データ記憶装置11から設計データを読み出し、読み出した設計データを形状データ記憶部13に送る。図形要素記憶手段および図形要素記憶部である形状データ記憶部13は、形状データ読込部12から受け取る設計データを記憶装置に記憶し、記憶装置に記憶する設計データが示す形状を画面出力装置14に出力する可能である。
 対話入力装置15は、ユーザが、部品が配置される被配置物に配置する部品の部品名、およびその部品名を配置する位置にある被配置部品の形状を構成する図形要素の中からユーザが選択した図形要素の要素名を選択要素情報として入力する入力装置である。さらに、対話入力装置15は、画面出力装置14あるいは検索結果出力装置23に表示される情報に応答して、いずれかの情報を対話入力装置15によって選択することによって、選択した情報を入力することができる。対話入力装置15は、入力された選択要素情報を形状要素選択部16に送り、入力された部品名を配置部品選択部17に送る。
 形状要素選択部16は、対話入力装置15から選択要素情報を受け取ると、形状データ記憶部13に記憶される部品データの幾何情報から、対話入力装置15から受け取った選択要素情報が示す図形要素の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。検索結果リストが記憶装置に記憶されている場合は、検索結果リストに含まれる選択要素を選択済みの要素情報として読み出し、読み出した選択済みの要素情報が示す図形要素の幾何情報を、形状データ記憶部13から読み出し、読み出した幾何情報を、対話入力装置15から受け取った選択要素情報が示す図形要素の幾何情報とともに検索式作成部20に送る。
 検索結果リストは、後述する検索式の検索条件によって検索された検索結果をまとめた一覧表であり、選択要素および配置部品名を含む。選択要素は、対話入力装置15か入力された選択要素情報であり、配置部品名は、対話入力装置15か入力された部品名である。対話入力装置15および形状要素選択部16は、図形要素選択手段および第2の図形要素選択手段である。
 配置部品選択部17は、対話入力装置15から受け取った部品名を検索基本式読込部19に送る。検索結果リストが記憶装置に記憶されている場合は、検索結果リストに含まれる配置部品名を部品名として読み出し、読み出した部品名を、対話入力装置15から受け取る部品名に代えて検索基本式読込部19に送る。
 図2は、検索基本式記憶装置18に記憶される検索基本式情報31の一例を示す図である。検索条件情報記憶手段である検索基本式記憶装置18は、図2に示す検索基本式情報31を記憶する。検索条件情報である検索基本式情報31は、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す情報である。検索基本式情報31は、「部品名」、「要素タイプ」、「検索式の意味」、「検索式」、「条件」および「要素数」の項目を含み、各部品名に対応付けられて「No」順に示される。
 「部品名」は、各部品を識別するための識別情報であり、たとえばネジあるいはボスなどの部品名がある。「要素タイプ」は、部品名が示す部品の形状を構成する図形要素の種類を示す情報であり、たとえば「円」あるいは「円弧」などの要素タイプがある。「検索式の意味」は、対応付けられる検索式の意味を示す情報である。「検索式」は、検索条件を示す式である。「条件」は、対応する検索式が示す検索条件に合致しない場合、選択候補から除外するか否かを指定する情報であり。条件が「1」のとき、選択候補から除外し、条件が「2」のとき、選択候補から除外しない。「要素数」は、対話入力装置15から入力された選択要素情報および選択済みの要素情報が示す図形要素の数である。
 No.1~No.11のいずれについても、「部品名」は「ネジ」であり、「要素タイプ」は「円弧」である。No.1の「検索式の意味」および「検索式」は、それぞれ「半径同一」および「R1=R」であり、検索式が示す検索条件は、選択候補の図形要素の半径Rが、選択要素情報または選択済みの要素情報が示す図形要素の半径R1に等しいという条件であることを示している。
 このように、前記図形要素の形状が円または円弧の形状であり、前記予め定める検索条件は、図形要素の候補の形状の半径が、前記第1の図形要素の形状の半径に等しいという条件を含むので、半径の等しい円または円弧の形状の図形要素を候補として選択することができる。
 No.2の「検索式の意味」および「検索式」は、それぞれ「円弧エッジのある平面の法線方向同一」および「F1」であり、検索式が示す検索条件は、選択候補の図形要素の円弧を含む仮想平面の法線の方向と、選択要素情報または選択済みの要素情報が示す図形要素の円弧を含む仮想平面の法線の方向とが同じであるという条件であることを示している。
 このように、前記予め定める検索条件は、図形要素の候補が含まれる仮想平面の法線の方向が、前記第1の図形要素が含まれる仮想平面の法線の方向と同じであるという条件をさらに含むので、図形要素の含まれる仮想平面の法線の方向が同じである図形要素を候補として選択することができる。
 No.3の「検索式の意味」および「検索式」は、それぞれ「同一平面上」および「Z0=Z」であり、検索式が示す検索条件は、選択候補の図形要素のZ座標の値Zが、選択要素情報または選択済みの要素情報が示す図形要素のZ座標の値Z0に等しいという条件であることを示している。No.4の「検索式の意味」および「検索式」は、それぞれ「X同軸」および「Y0=Y」であり、検索式が示す検索条件は、選択候補の図形要素のY座標の値Yが、選択要素情報または選択済みの要素情報が示す図形要素のY座標の値Y0に等しいという条件であることを示している。No.5の「検索式の意味」および「検索式」は、それぞれ「Y同軸」および「X0=X」であり、検索式が示す検索条件は、選択候補の図形要素のX座標の値Xが、選択要素情報または選択済みの要素情報が示す図形要素のX座標の値X0に等しいという条件であることを示している。
 No.6の「検索式の意味」および「検索式」は、それぞれ「XZ平面対称」および「Y0=(-1)×Y」であり、検索式が示す検索条件が、選択候補の図形要素のY座標の値Yと、選択要素情報または選択済みの要素情報が示す図形要素のY座標の値Y0とは、絶対値が等しく、かつその符号が反対であるという条件であることを示している。図2では「×(掛ける)」を「*」で表している。以下の図についても同じである。No.7の「検索式の意味」および「検索式」は、それぞれ「YZ平面対称」および「X0=(-1)×X」であり、検索式が示す検索条件は、選択候補の図形要素のX座標の値Xと、選択要素情報または選択済みの要素情報が示す図形要素のX座標の値X0とが、絶対値が等しく、かつその符号が反対であるという条件であることを示している。
 このように、前記予め定める検索条件は、図形要素の中心の位置を前記被配置物の重心の位置を原点とするXYZ座標系で表すとき、X座標軸、Y座標軸およびZ座標軸のうち1つの座標軸で、図形要素の候補の中心の位置の座標の絶対値と前記第1の図形要素の中心の位置の座標の絶対値とが等しいという条件をさらに含むので、同軸あるいは平面対称の位置にある図形要素を候補として選択することができる。
 No.8の「検索式の意味」および「検索式」は、それぞれ「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」および「F2」であり、検索式が示す検索条件は、選択候補の図形要素の座標が、図形要素の中心の位置をXYZ座標系で表し、かつそのXYZ座標系の原点を前記被配置物の重心の位置とするとき、X座標軸、Y座標軸およびZ座標軸のうち1つの座標軸で、選択要素情報が示す図形要素の中心の位置の座標の絶対値と等しい図形要素であるという条件であることを示している。
 このように、前記予め定める検索条件は、前記被配置物の表面を構成する面のうち、前記第1の図形要素を含む面が直線の外周縁を含むとき、その外周縁の直線のうちの第1の直線と図形要素の候補の中心との距離が、前記第1の直線と前記第1の図形要素の中心との距離に等しいという条件をさらに含むので、前記被配置物の直線状の外周縁から等距離に中心がある図形要素を候補として選択することができる。
 No.9の「検索式の意味」および「検索式」は、それぞれ「第1、第2要素の中心点を通過する軸上に中心点を持つ」および「F3」であり、検索式が示す検索条件は、選択候補の図形要素の中心が、選択要素情報が示す図形要素の中心と選択済みの要素情報が示す図形要素の中心とを通る直線上にあるという条件であることを示している。
 このように、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線上にあるという条件をさらに含むので、すでに選択された2つの図形要素の中心と同一直線上の中心がある図形要素を候補として選択することができる。
 No.10の「検索式の意味」および「検索式」は、それぞれ「第1、第2要素の中心を結ぶ直線に垂直で、第1または第2の中心を通る軸上に中心点を持つ」および「F4」であり、検索式が示す検索条件は、選択候補の図形要素の中心が、選択要素情報が示す図形要素の中心と選択済みの要素情報が示す図形要素の中心とを通る直線に垂直で、かつ選択要素情報が示す図形要素の中心または選択済みの要素情報が示す図形要素の中心を通る直線上にあるという条件であることを示している。
 このように、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線に垂直で、かつ前記第1の図形要素または前記第2の図形要素の中心を通る直線上にあるという条件をさらに含むので、すでに選択された2つの図形要素の中心を通る直線に垂直で、かついずれかの図形の中心を通る直線上に中心がある図形要素を候補として選択することができる。
 No.11の「検索式の意味」および「検索式」は、それぞれ「第1、第2、第3の円弧の中心を通る円周上に中心点を持つ」および「F5」であり、検索式が示す検索条件は、選択候補の図形要素の中心が、択要素情報が示す図形要素の中心と選択済みの2つの要素情報が示す2つの図形要素のそれぞれの中心とを通る円周上にあるという条件であることを示している。
 このように、対話入力装置15および形状要素選択部16によって、検索結果記憶部22および検索結果出力装置23によって選択可能に表示される要素名の中から、前記第1の図形要素および第2の図形要素の要素名と異なる第3の要素名がさらに選択される。検索式作成部20および検索部21によって、形状データ記憶部13に記憶される幾何情報のうち、対話入力装置15および形状要素選択部16によって選択された第3の要素名が示す第3の図形要素、前記第1の図形要素および前記第2の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補が検索される。そして、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心と前記第3の図形要素の中心とを通る円周上にあるという条件をさらに含む。
 したがって、すでに選択された3つの図形要素の中心と同一円周上に中心がある図形要素を候補として選択することができる。
 No.1~No.3の「条件」は、「1」であり、No.4~No.11の「条件」は、「2」である。No.1~No.8の「要素数」は、「1」であり、No.9およびNo.10の「要素数」は、「2」であり、No.11の要素数」は、「3」である。No.2~No.11の検索式は、位置関係を規定する検索条件である。
 図1を参照して、検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報31の中から、配置部品選択部17から受け取った部品名に対応付けられた検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。検索式作成部20は、形状要素選択部16から受け取った幾何情報、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。
 検索部21は、検索式作成部20から受け取った検索式情報を検索条件として、形状データ記憶部13に記憶される部品データの幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出し、抽出した図形要素に合致した検索条件の数を算出する。そして、抽出した図形要素の要素名と、合致した検索条件の数とに基づいて検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。検索式作成部20および検索部21は、検索手段である。
 検索結果記憶部22は、検索部21から受け取った検索結果リストを記憶装置に記憶するとともに、検索結果リストを検索結果出力装置23に送る。検索結果出力装置23は、検索結果記憶部22から受け取った検索結果リストを、後述する選択候補リスト表示画面に出力する。検索結果記憶部22および検索結果出力装置23は、表示手段である。
 すなわち、ユーザが、対話入力装置15によって、被配置物に配置する部品の部品名と、その被配置物の形状を構成する図形要素のうちその部品名の部品を配置する第1番目の図形要素(以下「第1の図形要素」という)の要素名つまり選択要素情報とを入力すると、図形要素選択装置1は、対話入力装置15によって入力された部品名および要素名に基づいて、その部品と同じ部品名の部品、つまり同じ形状の部品を配置する第2番目の図形要素(以下「第2の図形要素」という)の候補を選択候補として検索して、検索結果出力装置23に表示する。
 次に、ユーザが、検索結果出力装置23に表示された第2の図形要素の選択候補の中から、対話入力装置15によって第2の図形要素の要素名を選択すると、図形要素選択装置1は、以前入力された第1の図形要素の要素名つまり選択済みの要素情報が示す要素名と、対話入力装置15によって選択された第2の図形要素の要素名とに基づいて、前記部品と同じ部品名の部品、つまり同じ形状の部品を配置する第3の図形要素の候補を選択候補として検索して、検索結果出力装置23に表示する。
 さらに、図形要素選択装置1は、ユーザが、検索結果出力装置23に表示された選択候補の中から、対話入力装置15によって図形要素を選択する度に、選択済みの要素情報が示す要素名と対話入力装置15によって新たに選択された図形要素の要素名とに基づいて、次の図形要素の候補を選択候補として検索して、検索結果出力装置23に表示する。
 図3Aおよび図3Bは、配置部品が配置される被配置部品の一例であるカバー部品8の外観を示す図である。図3Aは、カバー部品8の斜視図であり、図3Bは、カバー部品8を構成する部品の一部を示す図である。構成部品8aには、10個の孔が形成され、構成部品8bには、2個の孔が形成されている。図3Aには、これらの12個の孔の形状を構成する図形要素として、24個のエッジ1~エッジ24が示されている。
 図4は、被配置部品に配置される配置部品の一例であるネジ部品9の外観を示す図である。ユーザは、カバー部品8の12個の孔のうち、ネジ部品9を挿入する孔を形成する図形要素の要素名を、対話入力装置15によって入力する。
 以下、図形要素選択装置1の動作の具体例を、図4に示すネジ部品9を図3Aおよび図3Bに示すカバー部品8に配置する場合について、第2の図形要素の選択候補の検索、および第3の図形要素の選択候補の検索の順に説明する。
 まず、第2の図形要素の選択候補の検索では、ユーザは、対話入力装置15によって、被配置物として「カバー」、および被配置物に配置する部品として「ネジ」を入力する。これらの部品名の入力は、部品名の候補を画面出力装置14に表示し、表示された部品名の候補の中から選択することによって部品名の入力を可能としてもよい。さらにユーザは、カバー部品8の形状を構成する図形要素つまりエッジ1~24のうちネジ部品9を配置する第1の図形要素の要素名たとえば「エッジ1」を入力する。要素名の入力は、形状データ記憶部13に記憶される設計データに基づいて、被配置物の形状を図形要素も含めて画面出力装置14に表示し、表示された図形要素の中から図形要素を選択することによって要素名の入力を可能としてもよい。
 対話入力装置15は、入力された要素名つまり選択要素情報「エッジ1」を形状要素選択部16に送り、入力された部品名「ネジ」を配置部品選択部17に送る。形状要素選択部16は、対話入力装置15から選択要素情報「エッジ1」を受け取ると、形状データ記憶部13に記憶される幾何情報から、対話入力装置15から受け取った選択要素情報「エッジ1」の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。
 図5は、形状データ記憶部13に記憶される幾何情報32の一例を示す図である。幾何情報32は、「要素名」、「要素タイプ」、「半径」、「中心座標」および「法線ベクトル」の項目を含む。「要素名」は、図形要素の名称である。「要素タイプ」は、図形要素の種類を示し、具体的にはたとえば「円」または「円弧」である。「半径」は、図形要素の形状つまり円または円弧の半径であり、「中心座標」は、その円または円弧の中心の位置をXYZ座標系で示した座標である。「法線ベクトル」は、その円または円弧を含む仮想平面の法線の方向を示すベクトルの方向をXYZ座標系で示した座標である。
 図5には、図形要素「エッジ1」の幾何情報32が示され、要素名が「エッジ1」であり、要素タイプが「円弧」であり、半径が「R1」であり、中心座標が「(X0,Y0,Z0)」であり、法線ベクトルが「(X1,Y1,Z1)」である。
 配置部品選択部17は、対話入力装置15から受け取った部品名「ネジ」を検索基本式読込部19に送る。検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報31の中から、配置部品選択部17から受け取った部品名「ネジ」に対応付けられた検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。検索式作成部20は、形状要素選択部16から受け取った幾何情報、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。
 図6は、検索式作成部20によって作成される検索式情報33の一例を示す図である。検索式情報33は、「要素タイプ」、「幾何情報」、「検索式」および「条件」の項目を含む。「要素タイプ」、「検索式」および「条件」は、それぞれ検索基本式読込部19から受け取った検索基本式情報の「要素タイプ」、「検索式」および「条件」であり、「幾何情報」は、形状要素選択部16から受け取った幾何情報の情報のうち、検索式を規定する情報である。
 図6に示した検索式情報33には、「要素タイプ」、「幾何情報」、「検索式」および「条件」として、7つの組み合わせが示されている。第1番目の組み合わせは、「円弧」、「R1」、「R1=R」および「1」であり、第2番目の組み合わせは、「円弧」、「X1,Y1,Z1」、「F1」および「1」であり、第3番目の組み合わせは、「円弧」、「Z0」、「Z0=Z」および「1」であり、第4番目の組み合わせは、「円弧」、「Y0」、「Y0=Y」および「2」であり、第5番目の組み合わせは、「円弧」、「X0」、「X0=X」および「2」であり、第6番目の組み合わせは、「円弧」、「Y0」、「Y0=(-1)×Y」および「2」であり、第7番目の組み合わせは、「円弧」、「X0」、「X0=(-1)×X」および「2」であり、第8番目の組み合わせは、「円弧」、「X0,Y0,Z0」、「F2」および「2」である。
 検索部21は、まず、検索式作成部20から受け取った検索式情報33のうち「円弧」を検索条件として、形状データ記憶部13によって記憶される幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出する。カバー部品8には、円弧の図形要素として24個のエッジ1~24があるので、検索部21はエッジ1~24を検索するが、エッジ1は既に選択されているので、エッジ1を除外し、エッジ2~24を抽出する。次に、検索部21は、抽出した図形要素を、条件が「1」の検索式によって絞り込む。
 図7は、検索式情報33の条件が「1」の検索式で絞り込まれた検索結果34の一例を示す図である。図7には、「円弧」という条件で抽出された図形要素のうち、既に選択されているエッジ1を除いたエッジ2~24の23個の図形要素について、検索式情報33の検索式のうち第1番目の検索式「R1=R」つまり「半径同一」、第2番目の検索式「F1」つまり「円弧エッジのある平面の法線方向同一」、および第3番目の検索式「Z0=Z」つまり「同一平面上」という検索条件によって順次絞り込んで検索した検索結果が示されている。「○」印は、検索条件に合致することを示し、「×」印は、検索条件に合致せず、除外されることと示す。
 検索部21は、「半径同一」という検索条件で、エッジ5~10と、エッジ15~20とを除外し、「円弧エッジのある平面の法線方向同一」という検索条件で、残ったものからエッジ11~14と、エッジ21~24とを除外し、「同一平面上」という検索条件では、残ったものから除外するものはない。したがって、検索部21は、条件が「1」の検索式によって絞り込んだ結果、エッジ5~24を除外し、エッジ2~4を残す。
 図8は、検索式情報33の条件が「2」の検索式で検索された検索結果34の一例を示す図である。検索部21は、検索式情報33の条件が「1」の検索式による絞り込みが終わると、条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を図形要素ごとにカウントする。
 図8には、検索式情報33の条件が「1」の検索式で絞り込まれた図形要素エッジ2~4およびエッジ7~10の7個の図形要素について、検索式情報33の検索式のうち、第1番目の検索式「Y0=Y」つまり「X同軸」、第2番目の検索式「X0=X」つまり「Y同軸」、第3番目の検索式「Y0=(-1)×Y」つまり「XZ平面対称」、第4番目の検索式「X0=(-1)×X」つまり「YZ平面対称」、および第5番目の検索式「F2」つまり「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件に合致する図形要素が検索された検索結果が示されている。「○」印は、検索条件に合致することを示し、無印は、検索条件に合致しないことを示す。欄外に示す数字は、各図形要素ごとにカウントした合致した検索条件の数である。
 「X同軸」という検索条件に合致するのは、エッジ4であり、「Y同軸」という検索条件に合致するのは、エッジ2であり、「XZ平面対称」という検索条件に合致するのは、エッジ2であり、「YZ平面対称」という検索条件に合致するのは、エッジ4であり、「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件に合致する図形要素はない。したがって、合致した検索条件の数は、エッジ2,4が「2」であり、エッジ3,7~10が「0」である。
 検索部21は、条件が「2」の検索式による検索が終わると、条件が「1」の検索式で絞り込んだ図形要素の要素名と、合致した検索条件の数とに基づいて、検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。検索結果記憶部22は、検索部21から受け取った検索結果リストを記憶装置に記憶するとともに、検索結果リストを編集して、具体的には、合致した検索条件の数で並べ直して検索結果出力装置23に送って表示させる。
 図9は、検索部21によって生成された検索結果リスト36の一例を示す図である。検索結果リスト36は、「配置部品名」、「選択要素」、「検索リスト」および「合致数」の項目を含む。「配置部品名」は、対話入力装置15によって入力された部品名である。「選択要素」、対話入力装置15によって入力された要素名つまり選択要素情報、または選択済みの要素情報が示す要素名である。「検索リスト」は、条件が「1」の検索式で絞り込まれた図形要素の要素名である。「合致数」は、合致した検索条件の数である。
 図9に示した検索結果リスト36には、配置部品名「ネジ.PRT」および選択要素「エッジ1」が示され、検索リストおよび合致数として、7つの組み合わせが示されている。第1番目の組み合わせとして、「エッジ2」および「2」、第2番目の組み合わせとして、「エッジ3」および「2」、第3番目の組み合わせとして、「エッジ4」および「0」、第4番目の組み合わせとして、「エッジ7」および「0」、第5番目の組み合わせとして、「エッジ8」および「0」、第6番目の組み合わせとして、「エッジ9」および「0」、第7番目の組み合わせとして、「エッジ10」および「0」が示されている。
 図10は、検索結果リスト36が示す検索結果を表示する選択候補リスト表示画面51の一例を示す図である。検索結果記憶部22は、検索部21から受け取った検索結果リストを、合致数の多い順序に並べ直して、選択候補リストとして検索結果出力装置23に送り、選択候補リスト表示画面51として出力させる。
 選択候補リスト表示画面51には、「選択候補リスト」というタイトル、選択候補表示欄511、スクロールボタン512、選択ボタン513および選択中止ボタン514が設けられる。選択候補表示欄511には、検索リストの要素名が要素タイプとともに、合致数の多い順序に並べ変えられて表示される。
 スクロールボタン512は、選択候補表示欄511に表示しきれない要素名を表示させるための操作ボタンである。選択ボタン513は、選択候補表示欄511に表示される要素名の中から、対話入力装置15によって入力された部品名と同じ部品名の部品を配置する図形要素を選択するための操作ボタンである。選択中止ボタン514は、図形要素の選択を中止し、選択候補リスト表示画面51を閉じるための操作ボタンである。操作ボタンの操作は、たとえば画面に表示されるポインタをマウスによって操作ボタンの位置に移動し、マウスを左クリックすることによって操作することができる。
 図10に示した選択候補表示欄511には、エッジ2を表す「円弧(EDGE2:SU」、エッジ4を表す「円弧(EDGE4:SU」、エッジ3を表す「円弧(EDGE3:SU」、エッジ7を表す「円弧(EDGE7:SU」、およびエッジ8を表す「円弧(EDGE8:SU」が示されている。
 次に、第3の図形要素の選択候補の検索では、配置部品選択部17は、検索結果記憶部22によって記憶装置に記憶された検索結果リストの配置部品名「ネジ.PRT」の「ネジ」を部品名として読み込み、読み込んだ部品名「ネジ」を検索基本式読込部19に送る。形状要素選択部16は、対話入力装置15から選択要素情報「エッジ2」を受け取ると、検索結果記憶部22によって記憶装置に記憶された検索結果リストの選択要素の要素名「エッジ1」を選択済みの要素情報として読み出す。
 ユーザが、図10に示した選択候補リスト表示画面51で、第2の図形要素の選択候補の中から第2の図形要素として要素名「エッジ2」を選択すると、対話入力装置15は、選択された要素名「エッジ2」を選択要素情報として形状要素選択部16に送る。
 図11は、形状要素選択部16によって初期化された検索結果リスト37の一例を示す図である。形状要素選択部16は、対話入力装置15から選択要素情報として要素名「エッジ2」を受け取ると、記憶装置に記憶された検索結果リストの選択要素に、対話入力装置15から受け取った選択要素情報「エッジ2」を追加するとともに、検索結果リストの検索リストおよび合致数を消去する。図11に示した検索結果リスト37には、配置部品名「ネジ.PRT」および選択要素「エッジ1」および「エッジ2」が示され、検索リストおよび合致数は空欄である。
 そして、形状要素選択部16は、形状データ記憶部13に記憶される幾何情報から、記憶装置から読み出した選択済みの要素情報「エッジ1」、および対話入力装置15から受け取った選択要素情報「エッジ2」の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。
 図12は、第2の図形要素の幾何情報が追加された幾何情報38の一例を示す図である。幾何情報38は、図5に示した幾何情報32に、第2の図形要素つまり形状要素選択部16が対話入力装置15から受け取った選択要素情報「エッジ2」の幾何情報を追加した情報である。図12に示した幾何情報38には、要素名「エッジ2」について、要素タイプ「円弧」、半径「R1」、中心座標「(X4,Y4,Z4)」、および法線ベクトル「(X5,Y5,Z5)」が追加されている。
 検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報の中から、配置部品選択部17から受け取った部品名「ネジ」に対応付けられた検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。検索式作成部20は、形状要素選択部16から受け取った幾何情報38、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。このとき、検索基本式読込部19は、要素数が「1」の検索式情報として、幾何情報38のうちのエッジ1の幾何情報に基づいて第1の検索式情報を作成し、かつ幾何情報38のうちのエッジ2の幾何情報に基づいて第2の検索式情報を作成し、さらに、要素数が「2」の検索式情報として、幾何情報38のうちのエッジ1およびエッジ2の幾何情報に基づいて第3の検索式情報を作成する。
 図13は、形状要素選択部16によって作成される第1の検索式情報39の一例を示す図である。図14は、形状要素選択部16によって作成される第2の検索式情報40の一例を示す図である。図15は、形状要素選択部16によって作成される第3の検索式情報41の一例を示す図である。
 図13に示す第1の検索式情報39には、「要素タイプ」、「幾何情報」、「検索式」および「条件」として、8つの組み合わせが示されている。第1番目の組み合わせは、「円弧」、「R1」、「R1=R」および「1」であり、第2番目の組み合わせは、「円弧」、「X1,Y1,Z1」、「F1」および「1」であり、第3番目の組み合わせは、「円弧」、「Z0」、「Z0=Z」および「1」であり、第4番目の組み合わせは、「円弧」、「Y0」、「Y0=Y」および「2」であり、第5番目の組み合わせは、「円弧」、「X0」、「X0=X」および「2」であり、第6番目の組み合わせは、「円弧」、「Y0」、「Y0=(-1)×Y」および「2」であり、第7番目の組み合わせは、「円弧」、「X0」、「X0=(-1)×X」および「2」であり、第8番目の組み合わせは、「円弧」、「X0,Y0,Z0」、「F2」および「2」である。
 図14に示す第2の検索式情報40には、「要素タイプ」、「幾何情報」、「検索式」および「条件」として、8つの組み合わせが示されている。第1番目の組み合わせは、「円弧」、「R5」、「R5=R」および「1」であり、第2番目の組み合わせは、「円弧」、「X5,Y5,Z5」、「F1」および「1」であり、第3番目の組み合わせは、「円弧」、「Z4」、「Z4=Z」および「1」であり、第4番目の組み合わせは、「円弧」、「Y4」、「Y4=Y」および「2」であり、第5番目の組み合わせは、「円弧」、「X4」、「X4=X」および「2」であり、第6番目の組み合わせは、「円弧」、「Y4」、「Y4=(-1)×Y」および「2」であり、第7番目の組み合わせは、「円弧」、「X4」、「X4=(-1)×X」および「2」であり、第8番目の組み合わせは、「円弧」、「X4,Y4,Z4」、「F2」および「2」である。
 図15に示す第3の検索式情報41には、「要素タイプ」、「幾何情報」、「検索式」および「条件」として、3つの組み合わせが示されている。第1番目の組み合わせは、「円弧」、「X0,Y0,Z0,X4,Y4,Z4」、「F3」および「2」であり、第2番目の組み合わせは、「円弧」、「X0,Y0,Z0,X4,Y4,Z4」、「F4」および「2」である。
 検索部21は、検索式作成部20から受け取った第1の検索式情報39、第2の検索式情報40および第3の検索式情報41に基づいて検索を行うが、まず、第1の検索式情報39のうち「円弧」を検索条件として、検索条件に合致する図形要素を抽出し、次に、第1の検索式情報39の要素数が「1」の検索式のうち条件が「1」の検索式によって、抽出した図形要素の絞り込みを行う。
 そして、検索部21は、第1の検索式情報39の要素数が「1」の検索式のうち条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を図形要素ごとにカウントする。さらに、第2の検索式情報40の要素数が「1」の検索式のうち条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を図形要素ごとにカウントした後、第3の検索式情報41の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を図形要素ごとにカウントする。
 具体的には、検索部21は、まず、検索式作成部20から受け取った第1の検索式情報39のうち「円弧」を検索条件として、形状データ記憶部13に記憶される部品データの幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出する。カバー部品8には、円弧の図形要素として24個のエッジ1~24があるので、検索部21はエッジ1~24を検索するが、エッジ1およびエッジ2は既に選択されているので、エッジ1およびエッジ2を除外し、エッジ3~24を抽出する。次に、検索部21は、抽出した図形要素を、第1の検索式情報39のうち、条件が「1」の検索式によって絞り込む。
 図16は、第1の検索式情報39の条件が「1」の検索式で絞り込まれた検索結果42の一例を示す図である。図16には、「円弧」という条件で抽出された図形要素のうち、既に選択されているエッジ1およびエッジ2を除いたエッジ3~24の22個の図形要素について、第1の検索式情報39が示す条件1で絞り込まれた結果が示されている。図16に示す検索結果42は、図7に示した検索結果34からエッジ2の項目を除いたものと同じであり、重複を避けるために説明は省略する。
 検索部21は、第1の検索式情報39が示す条件が「1」の検索式によって図形要素の絞り込みを行った後、第1の検索式情報39の要素数が「1」の検索式のうち条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を、条件が「1」の検索式によって絞り込まれた図形要素ごとにカウントする。
 図17は、第1の検索式情報39の条件が「2」の検索式で検索された検索結果43の一例を示す図である。検索部21は、第1の検索式情報39の条件が「1」の検索式で絞り込まれた図形要素エッジ3,4およびエッジ7~10の6個の図形要素について、第1の検索式情報39の検索式のうち、第1番目の検索式「Y0=Y」つまり「X同軸」、第2番目の検索式「X0=X」つまり「Y同軸」、第3番目の検索式「Y0=(-1)×Y」つまり「XZ平面対称」、第4番目の検索式「X0=(-1)×X」つまり「YZ平面対称」、および第5番目の検索式「F2」つまり「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件によって検索した検索結果が示されている。「○」印は、検索条件に合致することを示し、無印は、検索条件に合致しないことと示す。欄外に示す数字は、各図形要素ごとにカウントした合致した検索条件の数である。
 「X同軸」という検索条件に合致するのは、エッジ4であり、「YZ平面対称」という検索条件に合致するのは、エッジ4であり、「Y同軸」、「XZ平面対称」および「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件に合致する図形要素はない。したがって、合致した検索条件の数は、エッジ4が「2」であり、エッジ3,7~10が「0」である。
 さらに、検索部21は、第1の検索式情報39の条件が「2」の検索式の検索条件に合致する検索条件の数をカウントした後、第2の検索式情報40の要素数が「1」の検索式のうち条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を、条件が「1」の検索式によって絞り込まれた図形要素ごとにカウントする。
 図18は、第2の検索式情報40の条件が「2」の検索式で検索された検索結果44の一例を示す図である。検索部21は、第1の検索式情報39の条件が「1」の検索式で絞り込まれた図形要素エッジ3,4およびエッジ7~10の6個の図形要素について、第2の検索式情報40の検索式のうち、第1番目の検索式「Y4=Y」つまり「X同軸」、第2番目の検索式「X4=X」つまり「Y同軸」、第3番目の検索式「Y4=(-1)×Y」つまり「XZ平面対称」、第4番目の検索式「X4=(-1)×X」つまり「YZ平面対称」、および第5番目の検索式「F2」つまり「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件によって検索した検索結果が示されている。「○」印は、検索条件に合致することを示し、無印は、検索条件に合致しないことと示す。欄外に示す数字は、各図形要素ごとにカウントした合致した検索条件の数である。
 「X同軸」という検索条件に合致するのは、エッジ3であり、「YZ平面対称」という検索条件に合致するのは、エッジ3であり、「Y同軸」、「XZ平面対称」および「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件に合致する図形要素はない。したがって、合致する検索条件の数は、エッジ3が「2」であり、エッジ4,7~10が「0」である。
 さらに、検索部21は、第2の検索式情報40の条件が「2」の検索式の検索条件に合致する検索条件の数をカウントした後、第3の検索式情報41の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を、条件が「1」の検索式によって絞り込まれた図形要素ごとにカウントする。
 図19は、第3の検索式情報41の検索式で検索された検索結果45の一例を示す図である。第1の検索式情報39の条件が「1」の検索式で絞り込まれた図形要素エッジ3,4およびエッジ7~10の6個の図形要素について、第3の検索式情報41の検索式のうち、第1番目の検索式「F3」つまり「第1、第2要素の中心点を通過する軸上に中心点を持つ」、および第2番目の検索式「F4」つまり「第1、第2要素の中心を結ぶ直線に垂直で、第1または第2の中心を通る軸上に中心点を持つ」という検索条件によって検索した検索結果が示されている。「○」印は、検索条件に合致することを示し、無印は、検索条件に合致しないことと示す。欄外に示す数字は、各図形要素ごとにカウントした合致した検索条件の数である。合致した検索条件の数は、エッジ3,4,7~10のいずれもが「0」である。
 検索部21は、第3の検索式情報41の検索式による検索が終わると、検索結果43~45に基づいて、検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。検索結果記憶部22は、検索部21から受け取った検索結果リストを記憶装置に記憶するとともに、検索結果リストを編集して検索結果出力装置23に送って出力させる。
 図20は、検索部21によって生成された検索結果リスト46の一例を示す図である。図20に示した検索結果リスト36に含まれる項目は、図9に示した検索結果リスト36の項目と同じ項目であり、重複を避けるために項目の説明は省略する。図20に示した検索結果リスト36には、配置部品名「ネジ.PRT」および選択要素「エッジ1」および「エッジ2」が示され、検索リストおよび合致数として、7つの組み合わせが示されている。7つの組み合わせについては、図9に示した検索結果リスト36の検索リストおよび合致数と同じであり、重複を避けるために説明は省略する。
 図21は、検索結果リスト46が示す検索結果を表示する選択候補リスト表示画面52の一例を示す図である。検索結果記憶部22は、検索部21から受け取った検索結果リスト46を、合致数の多い順序に並べ直して、選択候補リストとして検索結果出力装置23に送り、選択候補リスト表示画面52として出力させる。選択候補リスト表示画面52の構成および表示内容は、図10に示した選択候補リスト表示画面51の構成および表示内容と同じであり、重複を避けるために説明は省略する。ユーザは、図20に示した選択候補リスト表示画面52で、第3の図形要素の選択候補の中から第3の図形要素を選択することができる。
 このように、形状データ記憶部13によって、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための要素名とが対応付けて記憶され、検索基本式記憶装置18によって、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す検索基本式情報が記憶され、対話入力装置15および形状要素選択部16によって、形状データ記憶部13に記憶される要素名の中から1つの部品を配置する位置にある形状を構成する図形要素の要素名が選択される。
 そして、検索式作成部20および検索部21によって、形状データ記憶部13に記憶される幾何情報のうち、対話入力装置15および形状要素選択部16によって選択された要素名が示す第1の図形要素の幾何情報と、検索基本式記憶装置18に記憶される検索基本式情報が示す予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補が検索され、検索結果記憶部22および検索結果出力装置23によって、検索式作成部20および検索部21によって検索された図形要素の候補の要素名が選択可能に表示される。
 したがって、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる。
 さらに、対話入力装置15および形状要素選択部16によって、検索結果記憶部22および検索結果出力装置23によって選択可能に表示される要素名の中から、前記第1の図形要素の要素名と異なる第2の要素名が選択され、検索式作成部20および検索部21によって、形状データ記憶部13に記憶される幾何情報のうち、対話入力装置15および形状要素選択部16によって選択された第2の要素名が示す第2の図形要素および前記第1の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補が検索される。したがって、2つの図形要素に基づいて、第3の図形要素の候補を検索することができる。
 図22は、図形要素選択装置1が実行する第1要素検索処理の処理手順を示すフローチャートである。たとえば画面出力装置14に表示されるメインメニューから図形要素を選択する機能が選択されると、ステップA1に移る。
 ステップA1では、配置部品を選択する。具体的には、ユーザが、対話入力装置15によって、配置部品つまり被配置物に配置する部品の部品名を選択して入力すると、配置部品選択部17は、入力された部品名を検索基本式読込部19に送る。図形要素選択ステップであるステップA2では、配置参照要素を選択する。具体的には、ユーザが、対話入力装置15によって、被配置物の形状を構成する図形要素のうち、先に入力した部品名の部品を配置する配置参照要素つまり第1の図形要素の要素名を入力すると、形状要素選択部16は、形状データ記憶部13に記憶される幾何情報から、入力された要素名が示す第1の図形要素の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。
 ステップA3では、検索基本式の有無を判定する。検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報31に、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報が記憶されていると、検索基本式があると判定し、ステップA4に進む。検索基本式記憶装置18に記憶される検索基本式情報31に、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報が記憶されていないと、検索基本式がないと判定し、第1要素検索処理を終了する。
 ステップA4では、検索基本式を読み込む。具体的には、検索基本式読込部19は、検索基本式記憶装置18から、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。ステップA5では、検索式を作成する。具体的には、検索式作成部20は、形状要素選択部16から受け取った幾何情報、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。
 ステップA6では、検索する。具体的には、検索部21は、検索式作成部20から受け取った検索式情報を検索条件として、形状データ記憶部13に記憶される幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出し、抽出した図形要素に合致した検索条件の数を算出する。そして、抽出した図形要素の要素名と、合致した検索条件の数とに基づいて検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。ステップA4~ステップA6は、検索ステップである。
 表示ステップであるステップA7では、検索結果を表示して、第1要素検索処理を終了する。具体的には、検索結果記憶部22は、検索部21から受け取った検索結果リストを、記憶装置に記憶するとともに、検索結果リストを編集して検索結果出力装置23に送って、選択候補リスト表示画面として出力させ、第1要素検索処理を終了する。
 このように、図22に示したフローチャートにおいて、ステップA2では、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための要素名とを対応付けて記憶する形状データ記憶部13に記憶される要素名の中から1つの部品を配置する位置にある形状を構成する図形要素の要素名を選択する。ステップA4~A6では、形状データ記憶部13に記憶される幾何情報のうちステップA2で選択された要素名が示す第1の図形要素の幾何情報と、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する。そして、ステップA7では、ステップA4~A6で検索された図形要素の候補の要素名を選択可能に表示する。
 したがって、本発明に係る図形要素選択方法を適用すれば、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる。
 図23は、図形要素選択装置1が実行する第2要素検索処理の処理手順を示すフローチャートである。第1要素検索処理を終了すると、ステップB1に移る。
 ステップB1では、配置部品を読み込む。具体的には、配置部品選択部17は、検索結果記憶部22によって記憶装置に記憶された検索結果リストの配置部品名を部品名として読み込み、読み込んだ部品名を検索基本式読込部19に送る。ステップB2では、配置参照要素を読み込む。具体的には、形状要素選択部16は、検索結果記憶部22によって記憶装置に記憶された検索結果リストの選択要素の要素名を配置参照要素つまり選択済みの要素情報として読み出す。
 ステップB3では、配置参照要素を選択する。具体的には、ユーザが、図10に示した選択候補リスト表示画面51で、第2の図形要素の選択候補の中から第2の図形要素の要素名を選択すると、検索結果記憶部22によって記憶装置に記憶された検索結果リストの選択要素の要素名を選択済みの要素情報として読み出す。そして、形状要素選択部16は、形状データ記憶部13に記憶される幾何情報から、記憶装置から読み出した選択済みの要素情報、および対話入力装置15から受け取った選択要素情報が示す図形要素の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。
 ステップB4では、検索基本式の有無を判定する。検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報31に、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報が記憶されていると、検索基本式があると判定し、ステップB5に進む。検索基本式記憶装置18に記憶される検索基本式情報31に、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報が記憶されていないと、検索基本式がないと判定し、第2要素検索処理を終了する。
 ステップB5では、検索基本式を読み込む。具体的には、検索基本式読込部19は、検索基本式記憶装置18から、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。ステップB6では、検索式を作成する。具体的には、検索式作成部20は、形状要素選択部16から受け取った幾何情報、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。
 ステップB7では、検索する。具体的には、検索部21は、検索式作成部20から受け取った検索式情報を検索条件として、形状データ記憶部13に記憶される部品データの幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出し、抽出した図形要素に合致した検索条件の数を算出する。そして、抽出した図形要素の要素名と、合致した検索条件の数とに基づいて検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。
 ステップB8では、検索結果を表示して、第2要素検索処理を終了する。具体的には、検索結果記憶部22は、検索部21から受け取った検索結果リストを、記憶装置に記憶するとともに、検索結果リストを編集して検索結果出力装置23に送って、選択候補リスト表示画面として出力させ、第2要素検索処理を終了する。
 本発明は、その精神または主要な特徴から逸脱することなく、他のいろいろな形態で実施できる。したがって、前述の実施形態はあらゆる点で単なる例示に過ぎず、本発明の範囲は特許請求の範囲に示すものであって、明細書本文には何ら拘束されない。さらに、特許請求の範囲に属する変形や変更は全て本発明の範囲内のものである。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a graphic element selection apparatus 1 according to an embodiment of the present invention. The graphic element selection method according to the present invention is executed by the graphic element selection apparatus 1. The graphic element selection device 1 is configured by, for example, a computer system, and includes a shape data storage device 11, a shape data reading unit 12, a shape data storage unit 13, a screen output device 14, a dialog input device 15, a shape element selection unit 16, and an arrangement component. A selection unit 17, a search basic formula storage device 18, a search basic formula reading unit 19, a search formula creation unit 20, a search unit 21, a search result storage unit 22, and a search result output device 23 are included.
The computer system constituting the graphic element selection device 1 includes a storage device, a central processing unit (hereinafter referred to as “CPU”), an input device, and an output device.
The storage device stores a control program executed by the CPU to control the graphic element selection device 1 and data used by the CPU to control the graphic element selection device 1, and the shape data storage device 11 and the search basics A formula storage device 18 is included. The CPU controls the screen output device 14, the dialog input device 15, and the search result output device 23 by executing a control program stored in the storage device, and the shape data reading unit 12, the shape data storage unit 13, the shape element The functions of the selection unit 16, the arrangement part selection unit 17, the search basic formula reading unit 19, the search formula creation unit 20, the search unit 21, and the search result storage unit 22 are realized. Each function can write data to the storage device and read data stored in the storage device.
The input device is a device for inputting information, and is configured by a dialog input device 15 such as a keyboard or a mouse. The output device is a device that outputs information, and includes a screen output device 14 and a search result output device 23 that are configured by a display device such as a liquid crystal display. The search result output device 23 may be shared by the screen output device 14.
The shape data storage device 11 stores design data related to products. The design data includes assembly data indicating the configuration of the product and part data indicating the parts constituting the product. The component data identifies a component name that is identification information for identifying each component, shape information that represents the shape of each component, geometric information that represents a graphic element that forms the shape of each component, and each graphic element. Data including graphic element identification information, for example, an element name.
The shape data reading unit 12 reads design data from the shape data storage device 11 and sends the read design data to the shape data storage unit 13. The shape data storage unit 13 which is a graphic element storage means and a graphic element storage unit stores design data received from the shape data reading unit 12 in the storage device, and stores the shape indicated by the design data stored in the storage device in the screen output device 14. It is possible to output.
The dialogue input device 15 allows the user to select a part name of a part to be placed on the placement object on which the part is placed, and a graphic element that configures the shape of the placed part at the position to place the part name. The input device inputs an element name of a selected graphic element as selected element information. Further, the dialog input device 15 inputs the selected information by selecting any information by the dialog input device 15 in response to the information displayed on the screen output device 14 or the search result output device 23. Can do. The dialogue input device 15 sends the selected selection element information to the shape element selection unit 16 and sends the inputted part name to the arrangement component selection unit 17.
When the shape element selection unit 16 receives the selection element information from the dialogue input device 15, the geometric element of the graphic element indicated by the selection element information received from the dialogue input device 15 is obtained from the geometric information of the part data stored in the shape data storage unit 13. The geometric information is read, and the read geometric information is sent to the search formula creation unit 20. When the search result list is stored in the storage device, the selected element included in the search result list is read as the selected element information, and the geometric information of the graphic element indicated by the read selected element information is stored in the shape data storage. The geometric information read out from the unit 13 is sent to the search formula creation unit 20 together with the geometric information of the graphic element indicated by the selected element information received from the dialogue input device 15.
The search result list is a list that summarizes the search results searched according to the search condition of the search expression described later, and includes a selection element and a placement part name. The selection element is selection element information input from the dialog input device 15, and the arrangement component name is the component name input from the dialog input device 15. The dialog input device 15 and the shape element selection unit 16 are graphic element selection means and second graphic element selection means.
The arrangement component selection unit 17 sends the component name received from the dialogue input device 15 to the retrieval basic expression reading unit 19. When the search result list is stored in the storage device, the arrangement part name included in the search result list is read as a part name, and the read basic name is read instead of the part name received from the dialog input device 15 Send to part 19.
FIG. 2 is a diagram showing an example of basic search formula information 31 stored in the basic search formula storage device 18. The basic search expression storage device 18 as search condition information storage means stores basic search expression information 31 shown in FIG. The basic search information 31 that is search condition information is information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged. The search basic formula information 31 includes items of “part name”, “element type”, “meaning of search formula”, “search formula”, “condition”, and “number of elements”, and is associated with each part name. It is shown in the order of “No”.
“Part name” is identification information for identifying each part, and includes, for example, a part name such as a screw or a boss. The “element type” is information indicating the type of graphic element that forms the shape of the part indicated by the part name. For example, there is an element type such as “circle” or “arc”. “Meaning of search expression” is information indicating the meaning of the search expression to be associated. “Search expression” is an expression indicating a search condition. “Condition” is information that specifies whether or not to exclude from the selection candidates when the search condition indicated by the corresponding search expression is not met. When the condition is “1”, it is excluded from the selection candidates, and when the condition is “2”, it is not excluded from the selection candidates. The “number of elements” is the number of graphic elements indicated by the selected element information and the selected element information input from the dialogue input device 15.
No. 1-No. In any of 11, “part name” is “screw” and “element type” is “arc”. No. 1 "meaning of search expression" and "search expression" are "same radius" and "R1 = R", respectively, and the search condition indicated by the search expression is that the radius R of the graphic element of the selection candidate is selected element information Alternatively, the condition is that the selected element information is equal to the radius R1 of the graphic element indicated by the element information.
As described above, the shape of the graphic element is a circular or arc shape, and the predetermined search condition is that the radius of the shape of the graphic element candidate is equal to the radius of the shape of the first graphic element. Therefore, a graphic element having a circle or arc shape with the same radius can be selected as a candidate.
No. 2 "meaning of search expression" and "search expression" are respectively "same normal direction of plane with arc edge" and "F1", and the search condition indicated by the search expression is an arc of the graphic element of the selection candidate Indicates that the direction of the normal of the virtual plane including the same direction as the direction of the normal of the virtual plane including the arc of the graphic element indicated by the selected element information or the selected element information.
As described above, the predetermined search condition is that the direction of the normal line of the virtual plane including the candidate graphic element is the same as the direction of the normal line of the virtual plane including the first graphic element. Furthermore, since it includes, it is possible to select a graphic element having the same normal direction of a virtual plane including the graphic element as a candidate.
No. 3 is “on the same plane” and “Z0 = Z”, respectively, and the search condition indicated by the search expression is that the value Z of the Z coordinate of the graphic element of the selection candidate is This indicates that the condition is that the selected element information or the selected element information is equal to the Z coordinate value Z0 of the graphic element indicated by the element information. No. 4 "meaning of search expression" and "search expression" are "X coaxial" and "Y0 = Y", respectively, and the search condition indicated by the search expression is that the value Y of the Y coordinate of the graphic element of the selection candidate is It indicates that the condition is equal to the Y coordinate value Y0 of the graphic element indicated by the selected element information or the selected element information. No. 5 "meaning of search expression" and "search expression" are "Y coaxial" and "X0 = X", respectively, and the search condition indicated by the search expression is that the value X of the X coordinate of the graphic element of the selection candidate is This indicates that the condition is that the X element value X0 of the graphic element indicated by the selected element information or the selected element information is equal.
No. 6 is “XZ plane symmetry” and “Y0 = (− 1) × Y”, respectively, and the search condition indicated by the search expression is Y of the selection candidate graphic element. The coordinate value Y and the Y coordinate value Y0 of the graphic element indicated by the selected element information or the selected element information indicate that the absolute values are equal and the signs are opposite. In FIG. 2, “× (multiply)” is represented by “*”. The same applies to the following figures. No. 7 is “YZ plane symmetry” and “X0 = (− 1) × X”, respectively. The search condition indicated by the search expression is X of the graphic element of the selection candidate. The coordinate value X and the X-coordinate value X0 of the graphic element indicated by the selected element information or the selected element information indicate that the absolute values are equal and the signs thereof are opposite.
In this way, the predetermined search condition is that when the position of the center of the graphic element is expressed in the XYZ coordinate system with the position of the center of gravity of the placement object as the origin, one coordinate axis among the X coordinate axis, the Y coordinate axis, and the Z coordinate axis The graphic element at the coaxial or plane-symmetrical position further includes a condition that the absolute value of the coordinate of the center position of the graphic element candidate is equal to the absolute value of the coordinate of the central position of the first graphic element. Elements can be selected as candidates.
No. “Meaning of search formula” and “search formula” of 8 are “having a center point on an axis passing through the center of the first element and parallel to the edge of the plane on which the first element rides” and “F2”, respectively. The search condition indicated by the search formula is that when the coordinates of the graphic element to be selected represent the position of the center of the graphic element in the XYZ coordinate system, and the origin of the XYZ coordinate system is the position of the center of gravity of the arrangement object In other words, one of the X coordinate axis, the Y coordinate axis, and the Z coordinate axis is a condition that the graphic element is equal to the absolute value of the coordinates of the center position of the graphic element indicated by the selected element information.
As described above, when the predetermined search condition is that the surface including the first graphic element among the surfaces constituting the surface of the object to be arranged includes a straight outer peripheral edge, Since it further includes a condition that the distance between the first straight line and the center of the graphic element candidate is equal to the distance between the first straight line and the center of the first graphic element, A graphic element centered at the same distance from the outer periphery can be selected as a candidate.
No. 9 "meaning of search expression" and "search expression" are "having a center point on the axis passing through the center point of the first and second elements" and "F3", respectively, and the search condition indicated by the search expression Indicates that the condition is that the center of the graphic element of the selection candidate is on a straight line passing through the center of the graphic element indicated by the selected element information and the center of the graphic element indicated by the selected element information.
Thus, the predetermined search condition further includes a condition that the center of the graphic element candidate is on a straight line passing through the center of the first graphic element and the center of the second graphic element. A graphic element having a center on the same straight line as the center of two already selected graphic elements can be selected as a candidate.
No. 10 "meaning of search expression" and "search expression" are respectively "having a center point on an axis perpendicular to a straight line connecting the centers of the first and second elements and passing through the first or second center" and The search condition indicated by the search formula is “F4”, and the center of the graphic element of the selection candidate is perpendicular to a straight line passing through the center of the graphic element indicated by the selected element information and the center of the graphic element indicated by the selected element information. And the condition is that it is on a straight line passing through the center of the graphic element indicated by the selected element information or the center of the graphic element indicated by the selected element information.
Thus, the predetermined search condition is that the center of the graphic element candidate is perpendicular to a straight line passing through the center of the first graphic element and the center of the second graphic element, and the first graphic element. Since it further includes a condition that it is on a straight line passing through the center of the element or the second graphic element, a straight line that is perpendicular to the straight line passing through the center of the two already selected graphic elements and passes through the center of any graphic A graphic element with the center on top can be selected as a candidate.
No. 11 "meaning of search expression" and "search expression" are "having a center point on the circumference passing through the centers of the first, second, and third arcs" and "F5", respectively. The search condition shown is that the center of the graphic element of the selection candidate is on the circumference passing through the center of the graphic element indicated by the selected element information and the center of each of the two graphic elements indicated by the selected two element information. Indicates that this is a condition.
In this way, the first graphic element and the second graphic element can be selected from among the element names displayed by the dialog input device 15 and the shape element selection unit 16 so as to be selectable by the search result storage unit 22 and the search result output device 23. A third element name different from the element name of the graphic element is further selected. The third graphic indicated by the third element name selected by the dialog input device 15 and the shape element selection unit 16 among the geometric information stored in the shape data storage unit 13 by the search formula creation unit 20 and the search unit 21 A component having the same shape as the component arranged at the position of the first graphic element is arranged based on the geometric information of the element, the first graphic element and the second graphic element, and the predetermined search condition. Candidate graphic elements to be searched are searched. The predetermined search condition is that the center of the graphic element candidate is on a circumference passing through the center of the first graphic element, the center of the second graphic element, and the center of the third graphic element. It further includes the condition of being.
Therefore, a graphic element having a center on the same circumference as the center of three graphic elements that have already been selected can be selected as a candidate.
No. 1-No. No. 3 “condition” is “1”. 4 to No. The “condition” of 11 is “2”. No. 1-No. The “number of elements” of No. 8 is “1”. 9 and no. The “number of elements” of No. 10 is “2”. The number of elements of “11” is “3”. No. 2 to No. The search formula 11 is a search condition that defines the positional relationship.
With reference to FIG. 1, the retrieval basic expression reading unit 19 searches the retrieval basic expression information 31 stored in the retrieval basic expression storage device 18 in association with the component name received from the arrangement component selecting unit 17. Basic formula information is read, and the retrieved basic search formula information is sent to the search formula creation unit 20. The search formula creation unit 20 creates search formula information based on the geometric information received from the shape element selection unit 16 and the search basic formula information received from the search basic formula reading unit 19, and the created search formula information is stored in the search unit. Send to 21.
The search unit 21 searches the geometric information of the part data stored in the shape data storage unit 13 using the search formula information received from the search formula creation unit 20 as a search condition, and finds the graphic element of the geometric information that matches the search condition. Extract and calculate the number of search conditions that match the extracted graphic elements. Then, a search result list is generated based on the extracted element name of the graphic element and the number of matching search conditions, and the generated search result list is sent to the search result storage unit 22. The search formula creation unit 20 and the search unit 21 are search means.
The search result storage unit 22 stores the search result list received from the search unit 21 in the storage device and sends the search result list to the search result output device 23. The search result output device 23 outputs the search result list received from the search result storage unit 22 to a selection candidate list display screen described later. The search result storage unit 22 and the search result output device 23 are display means.
That is, the user uses the dialogue input device 15 to place the part name of the part to be placed on the placement object and the first graphic element to place the part with the part name among the graphic elements constituting the shape of the placement object. When an element name (hereinafter referred to as “first graphic element”), that is, selected element information is input, the graphic element selecting device 1 selects the component and the component based on the component name and the element name input by the dialogue input device 15. A candidate of a second graphic element (hereinafter referred to as “second graphic element”) in which a part having the same part name, that is, a part having the same shape is searched as a selection candidate and displayed on the search result output device 23.
Next, when the user selects the element name of the second graphic element from the selection candidates of the second graphic element displayed on the search result output device 23 by the dialogue input device 15, the graphic element selecting device 1 is The same as the above part based on the element name of the first graphic element previously input, that is, the element name indicated by the selected element information, and the element name of the second graphic element selected by the dialog input device 15 A part having a part name, that is, a third graphic element candidate in which a part having the same shape is arranged is searched as a selection candidate and displayed on the search result output device 23.
Further, every time the user selects a graphic element from the selection candidates displayed on the search result output device 23 by the dialog input device 15, the graphic element selection device 1 and the element name indicated by the selected element information Based on the element name of the graphic element newly selected by the dialog input device 15, the next graphic element candidate is searched as a selection candidate and displayed on the search result output device 23.
3A and 3B are views showing the appearance of a cover component 8 that is an example of a placement component on which the placement component is placed. FIG. 3A is a perspective view of the cover part 8, and FIG. 3B is a view showing a part of the parts constituting the cover part 8. Ten holes are formed in the component 8a, and two holes are formed in the component 8b. FIG. 3A shows 24 edges 1 to 24 as graphic elements constituting the shapes of these 12 holes.
FIG. 4 is a diagram illustrating an appearance of a screw component 9 that is an example of a placement component placed on the placement target component. The user inputs the element name of the graphic element forming the hole into which the screw part 9 is inserted among the 12 holes of the cover part 8 by the dialogue input device 15.
Hereinafter, as a specific example of the operation of the graphic element selection device 1, when the screw part 9 shown in FIG. 4 is arranged on the cover part 8 shown in FIGS. 3A and 3B, the second graphic element selection candidate is searched. A description will be given in the order of searching for selection candidates for the third graphic element.
First, in the search for selection candidates for the second graphic element, the user inputs “cover” as the placement object and “screw” as the component to be placed on the placement object by the dialogue input device 15. These parts names may be input by displaying the part name candidates on the screen output device 14 and selecting them from the displayed part name candidates. Further, the user inputs the element name of the first graphic element in which the screw component 9 is arranged among the graphic elements constituting the shape of the cover component 8, that is, the edges 1 to 24, for example, “edge 1”. The input of the element name is based on the design data stored in the shape data storage unit 13 and the shape of the placement object including the graphic elements is displayed on the screen output device 14 and the graphic elements are displayed from the displayed graphic elements. The element name may be input by selecting.
The dialog input device 15 sends the input element name, that is, the selected element information “edge 1” to the shape element selection unit 16, and sends the input component name “screw” to the arrangement component selection unit 17. When receiving the selected element information “Edge 1” from the dialog input device 15, the shape element selecting unit 16 receives the selected element information “Edge 1” received from the dialog input device 15 from the geometric information stored in the shape data storage unit 13. , And sends the read geometric information to the search expression creation unit 20.
FIG. 5 is a diagram illustrating an example of the geometric information 32 stored in the shape data storage unit 13. The geometric information 32 includes items of “element name”, “element type”, “radius”, “center coordinates”, and “normal vector”. “Element name” is the name of a graphic element. The “element type” indicates the type of graphic element, and specifically, for example, “circle” or “arc”. “Radius” is the shape of a graphic element, that is, the radius of a circle or arc, and “center coordinate” is a coordinate indicating the position of the center of the circle or arc in the XYZ coordinate system. The “normal vector” is a coordinate indicating the direction of a vector indicating the direction of the normal of the virtual plane including the circle or arc in the XYZ coordinate system.
FIG. 5 shows geometric information 32 of the graphic element “edge 1”, the element name is “edge 1”, the element type is “arc”, the radius is “R1”, and the center coordinate is “ (X0, Y0, Z0) "and the normal vector is" (X1, Y1, Z1) ".
The arrangement component selection unit 17 sends the component name “screw” received from the dialogue input device 15 to the retrieval basic expression reading unit 19. The retrieval basic expression reading unit 19 retrieves retrieval basic expression information associated with the component name “screw” received from the arrangement component selecting unit 17 from the retrieval basic expression information 31 stored in the retrieval basic expression storage device 18. The retrieved basic formula information is sent to the search formula creation unit 20. The search formula creation unit 20 creates search formula information based on the geometric information received from the shape element selection unit 16 and the search basic formula information received from the search basic formula reading unit 19, and the created search formula information is stored in the search unit. Send to 21.
FIG. 6 is a diagram illustrating an example of the search formula information 33 created by the search formula creation unit 20. The search formula information 33 includes items of “element type”, “geometric information”, “search formula”, and “condition”. “Element type”, “search formula” and “condition” are “element type”, “search formula” and “condition” of the basic search formula information received from the basic search formula reading unit 19, respectively, and “geometric information” Is information defining a search expression among pieces of information on the geometric information received from the shape element selection unit 16.
In the search formula information 33 shown in FIG. 6, seven combinations are shown as “element type”, “geometric information”, “search formula”, and “condition”. The first combination is “arc”, “R1”, “R1 = R” and “1”, and the second combination is “arc”, “X1, Y1, Z1”, “F1” and “1”, the third combination is “arc”, “Z0”, “Z0 = Z” and “1”, and the fourth combination is “arc”, “Y0”, “Y0” = Y "and" 2 ", the fifth combination is" arc "," X0 "," X0 = X "and" 2 ", and the sixth combination is" arc "," Y0 ”,“ Y0 = (− 1) × Y ”and“ 2 ”, and the seventh combination is“ Arc ”,“ X0 ”,“ X0 = (− 1) × X ”and“ 2 ” The eighth combination is “arc”, “X0, Y0, Z0”, “F2” and “2”.
First, the search unit 21 searches the geometric information stored in the shape data storage unit 13 using “arc” in the search formula information 33 received from the search formula creation unit 20 as a search condition, and finds a geometry that matches the search condition. Extract graphic elements of information. Since the cover part 8 has 24 edges 1 to 24 as circular graphic elements, the search unit 21 searches for the edges 1 to 24, but since the edge 1 has already been selected, the edge 1 is excluded. Edges 2 to 24 are extracted. Next, the search unit 21 narrows down the extracted graphic elements using a search expression whose condition is “1”.
FIG. 7 is a diagram illustrating an example of a search result 34 narrowed down by a search formula whose condition of the search formula information 33 is “1”. FIG. 7 shows the search formulas of the search formula information 33 for 23 graphic elements of edges 2 to 24 excluding the already selected edge 1 among the graphic elements extracted under the condition of “arc”. The first search expression “R1 = R”, that is, “the same radius”, the second search expression “F1”, that is, “the same normal direction of the plane with the arc edge”, and the third search expression “Z0 = The search results are shown by sequentially narrowing down according to the search condition “Z”, that is, “on the same plane”. The “◯” mark indicates that the search condition is met, and the “X” mark indicates that the search condition is not met and is excluded.
The search unit 21 excludes the edges 5 to 10 and the edges 15 to 20 under the search condition “same radius”, and from the remaining conditions under the search condition “same normal direction of the plane with the arc edge” In the search condition “on the same plane” excluding the edges 11 to 14 and the edges 21 to 24, there is nothing to exclude from the remaining ones. Accordingly, the search unit 21 excludes the edges 5 to 24 and leaves the edges 2 to 4 as a result of narrowing down by the search formula having the condition “1”.
FIG. 8 is a diagram illustrating an example of a search result 34 that is searched with a search formula whose condition of the search formula information 33 is “2”. The search unit 21 searches for a graphic element that matches the search condition of the search expression whose condition is “2” after the narrowing down by the search expression whose condition of the search expression information 33 is “1”, and the number of matching search conditions Is counted for each graphic element.
FIG. 8 shows the search formulas of the search formula information 33 for seven graphic elements of the graphic element edges 2 to 4 and edges 7 to 10 narrowed down by the search formula of the search formula information 33 being “1”. The first search expression “Y0 = Y”, that is, “X coaxial”, the second search expression “X0 = X”, that is, “Y coaxial”, and the third search expression “Y0 = (− 1) × Y ”Or“ XZ plane symmetry ”, the fourth search expression“ X0 = (− 1) × X ”or“ YZ plane symmetry ”, and the fifth search expression“ F2 ”or“ through the center of the first element ” A search result is shown in which a graphic element matching the search condition “having a center point on an axis parallel to the edge of the plane on which the first element rides” is shown. “◯” indicates that the search condition is met, and no mark indicates that the search condition is not met. The numbers shown outside the column are the number of matching search conditions counted for each graphic element.
The edge 4 matches the search condition “X coaxial”, the edge 2 matches the search condition “Y coaxial”, and the search condition “XZ plane symmetry” The edge 2 that matches the search condition “YZ plane symmetry” is the edge 4, and “the center point is on an axis passing through the center of the first element and parallel to the edge of the plane on which the first element rides. There is no graphic element that matches the search condition of “having”. Accordingly, the number of matching search conditions is “2” for the edges 2 and 4 and “0” for the edges 3 and 7 to 10.
When the search by the search expression having the condition “2” is completed, the search unit 21 searches based on the element names of the graphic elements narrowed down by the search expression having the condition “1” and the number of matching search conditions. A list is generated, and the generated search result list is sent to the search result storage unit 22. The search result storage unit 22 stores the search result list received from the search unit 21 in the storage device, edits the search result list, and specifically sorts the search result list by the number of matching search conditions and outputs the search result. It is sent to the device 23 for display.
FIG. 9 is a diagram illustrating an example of the search result list 36 generated by the search unit 21. The search result list 36 includes items of “placed part name”, “selected element”, “search list”, and “number of matches”. The “placed part name” is a part name input by the dialogue input device 15. “Selected element”, an element name input by the dialogue input device 15, that is, selected element information, or an element name indicated by selected element information. “Search list” is an element name of a graphic element narrowed down by a search formula having a condition of “1”. “Number of matches” is the number of search conditions that match.
In the search result list 36 shown in FIG. 9, the arrangement part name “screw.PRT” and the selection element “edge 1” are shown, and seven combinations are shown as the search list and the number of matches. “Edge 2” and “2” as the first combination, “Edge 3” and “2” as the second combination, “Edge 4” and “0” as the third combination, “Edge 7” and “0” as the fifth combination, “Edge 8” and “0” as the fifth combination, “Edge 9” and “0” as the sixth combination, “Edge 10” and “0” are shown as combinations.
FIG. 10 is a diagram illustrating an example of the selection candidate list display screen 51 that displays the search results indicated by the search result list 36. The search result storage unit 22 rearranges the search result list received from the search unit 21 in an order having a large number of matches, sends it to the search result output device 23 as a selection candidate list, and outputs it as a selection candidate list display screen 51.
The selection candidate list display screen 51 is provided with a title “selection candidate list”, a selection candidate display field 511, a scroll button 512, a selection button 513, and a selection cancel button 514. In the selection candidate display field 511, the element names of the search list are displayed together with the element types in the order of the number of matches.
The scroll button 512 is an operation button for displaying element names that cannot be displayed in the selection candidate display field 511. The selection button 513 is an operation button for selecting, from among the element names displayed in the selection candidate display field 511, a graphic element that places a part having the same part name as the part name input by the dialog input device 15. . The selection cancel button 514 is an operation button for canceling the selection of the graphic element and closing the selection candidate list display screen 51. The operation button can be operated, for example, by moving a pointer displayed on the screen to the position of the operation button with a mouse and left-clicking the mouse.
The selection candidate display field 511 shown in FIG. 10 includes an “arc (EDGE2: SU)” representing edge 2, an “arc (EDGE4: SU)” representing edge 4, an “arc (EDGE3: SU” representing edge 3, an edge An “arc (EDGE7: SU)” representing 7 and an “arc (EDGE8: SU)” representing edge 8 are shown.
Next, in the search for the selection candidate of the third graphic element, the arrangement part selection unit 17 selects “screw” of the arrangement part name “screw.PRT” in the search result list stored in the storage device by the search result storage unit 22. As the part name, and the read part name “screw” is sent to the retrieval basic expression reading unit 19. Upon receiving the selected element information “Edge 2” from the dialog input device 15, the shape element selecting unit 16 selects the element name “Edge 1” of the selected element in the search result list stored in the storage device by the search result storage unit 22. Read as completed element information.
When the user selects the element name “edge 2” as the second graphic element from the selection candidates of the second graphic element on the selection candidate list display screen 51 shown in FIG. 10, the dialog input device 15 selects The element name “Edge 2” is sent to the shape element selection unit 16 as selection element information.
FIG. 11 is a diagram illustrating an example of the search result list 37 initialized by the shape element selection unit 16. When the shape element selection unit 16 receives the element name “edge 2” as selection element information from the dialog input device 15, the selection element information received from the dialog input device 15 is selected as the selection element of the search result list stored in the storage device. “Edge 2” is added and the search list and the number of matches in the search result list are deleted. The search result list 37 shown in FIG. 11 shows the arrangement part name “screw.PRT” and the selection elements “edge 1” and “edge 2”, and the search list and the number of matches are blank.
Then, the shape element selection unit 16 selects the selected element information “edge 1” read from the storage device from the geometric information stored in the shape data storage unit 13 and the selected element information “edge” received from the dialogue input device 15. 2 ”is read, and the read geometric information is sent to the search expression creation unit 20.
FIG. 12 is a diagram illustrating an example of the geometric information 38 to which the geometric information of the second graphic element is added. The geometric information 38 is information obtained by adding the geometric information of the selected element information “edge 2” received from the dialogue input device 15 by the second graphic element, that is, the shape element selecting unit 16 to the geometric information 32 shown in FIG. . The geometric information 38 shown in FIG. 12 includes an element type “arc”, a radius “R1”, a center coordinate “(X4, Y4, Z4)”, and a normal vector “(X5, 5) for the element name“ edge 2 ”. Y5, Z5) "is added.
The retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name “screw” received from the arrangement component selecting unit 17 from the retrieval basic expression information stored in the retrieval basic expression storage device 18. The read basic formula information is sent to the search formula creation unit 20. The search formula creating unit 20 creates search formula information based on the geometric information 38 received from the shape element selection unit 16 and the basic search formula information received from the basic search formula reading unit 19 and searches the created search formula information. Send to part 21. At this time, the search basic formula reading unit 19 creates first search formula information based on the geometric information of the edge 1 in the geometric information 38 as the search formula information having the number of elements “1”, and the geometric information The second search formula information is created based on the geometric information of edge 2 of 38, and further, the geometric information of edge 1 and edge 2 of geometric information 38 is used as search formula information with the number of elements being “2”. Based on the above, the third search expression information is created.
FIG. 13 is a diagram illustrating an example of the first search formula information 39 created by the shape element selection unit 16. FIG. 14 is a diagram illustrating an example of the second search expression information 40 created by the shape element selection unit 16. FIG. 15 is a diagram illustrating an example of the third search expression information 41 created by the shape element selection unit 16.
The first search formula information 39 shown in FIG. 13 shows eight combinations as “element type”, “geometric information”, “search formula”, and “condition”. The first combination is “arc”, “R1”, “R1 = R” and “1”, and the second combination is “arc”, “X1, Y1, Z1”, “F1” and “1”, the third combination is “arc”, “Z0”, “Z0 = Z” and “1”, and the fourth combination is “arc”, “Y0”, “Y0” = Y "and" 2 ", the fifth combination is" arc "," X0 "," X0 = X "and" 2 ", and the sixth combination is" arc "," Y0 ”,“ Y0 = (− 1) × Y ”and“ 2 ”, and the seventh combination is“ Arc ”,“ X0 ”,“ X0 = (− 1) × X ”and“ 2 ” The eighth combination is “arc”, “X0, Y0, Z0”, “F2” and “2”.
In the second search formula information 40 shown in FIG. 14, eight combinations are shown as “element type”, “geometric information”, “search formula”, and “condition”. The first combination is “arc”, “R5”, “R5 = R” and “1”, and the second combination is “arc”, “X5, Y5, Z5”, “F1” and “1”, the third combination is “arc”, “Z4”, “Z4 = Z” and “1”, and the fourth combination is “arc”, “Y4”, “Y4” = Y "and" 2 ", the fifth combination is" arc "," X4 "," X4 = X "and" 2 ", and the sixth combination is" arc "," Y4 ”,“ Y4 = (− 1) × Y ”and“ 2 ”, and the seventh combination is“ Arc ”,“ X4 ”,“ X4 = (− 1) × X ”and“ 2 ” The eighth combination is “arc”, “X4, Y4, Z4”, “F2” and “2”.
In the third search formula information 41 shown in FIG. 15, three combinations are shown as “element type”, “geometric information”, “search formula”, and “condition”. The first combination is “arc”, “X0, Y0, Z0, X4, Y4, Z4”, “F3” and “2”, and the second combination is “arc”, “X0, Y0” , Z0, X4, Y4, Z4 "," F4 "and" 2 ".
The search unit 21 performs a search based on the first search formula information 39, the second search formula information 40, and the third search formula information 41 received from the search formula creation unit 20. A graphic element that matches the search condition is extracted from the expression information 39 using “arc” as a search condition, and then the condition of the search expression with the number of elements in the first search expression information 39 being “1” is “1”. The extracted graphic elements are narrowed down by the search expression “”.
Then, the search unit 21 searches for a graphic element that matches the search condition of the search expression whose condition is “2” among the search expressions whose number of elements in the first search expression information 39 is “1”, and the matching search condition Is counted for each graphic element. Further, a graphic element that matches the search condition of the search expression whose condition is “2” among the search expressions whose number of elements in the second search expression information 40 is “1” is searched, and the number of the matching search conditions is determined as a graphic element. Then, the graphic elements that match the search conditions of the search expression of the third search expression information 41 are searched, and the number of search conditions that match is counted for each graphic element.
Specifically, the search unit 21 first selects the geometry of the component data stored in the shape data storage unit 13 using “arc” in the first search formula information 39 received from the search formula creation unit 20 as a search condition. Information is searched, and graphic elements of geometric information that match the search conditions are extracted. Since the cover part 8 has 24 edges 1 to 24 as circular graphic elements, the search unit 21 searches for the edges 1 to 24, but since the edges 1 and 2 are already selected, the edge 1 And edges 2 are excluded and edges 3 to 24 are extracted. Next, the search unit 21 narrows down the extracted graphic elements by the search formula whose condition is “1” in the first search formula information 39.
FIG. 16 is a diagram illustrating an example of a search result 42 narrowed down by a search formula whose condition of the first search formula information 39 is “1”. FIG. 16 shows the first search formula information for 22 graphic elements of edges 3 to 24 excluding the already selected edge 1 and edge 2 among the graphic elements extracted under the condition of “arc”. The result narrowed down under condition 1 indicated by 39 is shown. The search result 42 shown in FIG. 16 is the same as the search result 34 shown in FIG. 7 excluding the item of edge 2, and the description thereof is omitted to avoid duplication.
The search unit 21 narrows down the graphic elements using the search formula whose condition indicated by the first search formula information 39 is “1”, and then searches for the search formula whose number of elements in the first search formula information 39 is “1”. Among them, a graphic element that matches the search condition of the search expression with the condition “2” is searched, and the number of search conditions that match is counted for each graphic element narrowed down by the search expression with the condition “1”.
FIG. 17 is a diagram illustrating an example of a search result 43 searched by a search formula whose condition of the first search formula information 39 is “2”. The search unit 21 uses the first search formula information for the six graphic elements of the graphic element edges 3 and 4 and the edges 7 to 10 narrowed down by the search formula whose condition of the first search formula information 39 is “1”. Among the 39 search expressions, the first search expression “Y0 = Y”, that is, “X coaxial”, the second search expression “X0 = X”, that is, “Y coaxial”, and the third search expression “Y0 = (−1) × Y ”, that is,“ XZ plane symmetry ”, the fourth search expression“ X0 = (− 1) × X ”, that is,“ YZ plane symmetry ”, and the fifth search expression“ F2 ”, that is,“ th ” The search result is shown as a search condition that has a center point on an axis passing through the center of one element and parallel to the edge of the plane on which the first element rides. “◯” indicates that the search condition is met, and no mark indicates that the search condition is not met. The numbers shown outside the column are the number of matching search conditions counted for each graphic element.
The edge 4 matches the search condition “X coaxial”, and the edge 4 matches the search condition “YZ plane symmetry”. There is no graphic element that satisfies the search condition “having a center point on an axis passing through the center of one element and parallel to the edge of the plane on which the first element rides”. Therefore, the number of matching search conditions is “2” for edge 4 and “0” for edges 3, 7 to 10.
Further, after the search unit 21 counts the number of search conditions that match the search condition of the search expression whose condition of the first search expression information 39 is “2”, the number of elements of the second search expression information 40 is “ The graphic element that matches the search condition of the search expression with the condition “2” among the search expressions of “1” is searched, and the number of matching search conditions is reduced for each graphic element narrowed down by the search expression with the condition “1”. To count.
FIG. 18 is a diagram illustrating an example of a search result 44 searched by a search formula whose condition of the second search formula information 40 is “2”. The search unit 21 uses the second search formula information for the six graphic elements of the graphic element edges 3 and 4 and the edges 7 to 10 narrowed down by the search formula whose condition of the first search formula information 39 is “1”. Among the 40 search expressions, the first search expression “Y4 = Y”, that is, “X coaxial”, the second search expression “X4 = X”, that is, “Y coaxial”, and the third search expression “Y4 = (−1) × Y ”, that is,“ XZ plane symmetry ”, the fourth retrieval formula“ X4 = (− 1) × X ”, that is,“ YZ plane symmetry ”, and the fifth retrieval formula“ F2 ”, that is,“ th ” The search result is shown as a search condition that has a center point on an axis passing through the center of one element and parallel to the edge of the plane on which the first element rides. “◯” indicates that the search condition is met, and no mark indicates that the search condition is not met. The numbers shown outside the column are the number of matching search conditions counted for each graphic element.
The edge 3 matches the search condition “X coaxial”, and the edge 3 matches the search condition “YZ plane symmetry”, “Y coaxial”, “XZ plane symmetry”, There is no graphic element that satisfies the search condition “having a center point on an axis passing through the center of one element and parallel to the edge of the plane on which the first element rides”. Therefore, the number of matching search conditions is “2” for edge 3 and “0” for edges 4, 7 to 10.
Further, the search unit 21 counts the number of search conditions that match the search condition of the search expression whose condition of the second search expression information 40 is “2”, and then searches for the search expression of the third search expression information 41. The graphic elements that match the conditions are searched, and the number of matching search conditions is counted for each graphic element that is narrowed down by the search expression with the condition “1”.
FIG. 19 is a diagram illustrating an example of a search result 45 searched with the search formula of the third search formula information 41. For the six graphic elements of the graphic element edges 3 and 4 and the edges 7 to 10 narrowed down by the search formula whose condition of the first search formula information 39 is “1”, the search formula of the third search formula information 41 Of these, the first search expression “F3”, that is, “having a center point on the axis passing through the center points of the first and second elements”, and the second search expression “F4”, that is, “first, first The search result is shown as a result of the search condition that “the center point is on an axis that is perpendicular to the straight line connecting the centers of the two elements and passes through the first or second center”. “◯” indicates that the search condition is met, and no mark indicates that the search condition is not met. The numbers shown outside the column are the number of matching search conditions counted for each graphic element. The number of matching search conditions is “0” for all of the edges 3, 4, 7 to 10.
When the search by the search formula of the third search formula information 41 is completed, the search unit 21 generates a search result list based on the search results 43 to 45 and sends the generated search result list to the search result storage unit 22. . The search result storage unit 22 stores the search result list received from the search unit 21 in the storage device, and edits the search result list and sends it to the search result output device 23 for output.
FIG. 20 is a diagram illustrating an example of the search result list 46 generated by the search unit 21. The items included in the search result list 36 shown in FIG. 20 are the same items as the items in the search result list 36 shown in FIG. 9, and the description of the items is omitted to avoid duplication. In the search result list 36 shown in FIG. 20, the arrangement part name “screw.PRT” and the selection elements “edge 1” and “edge 2” are shown, and seven combinations are shown as the search list and the number of matches. Yes. The seven combinations are the same as the search list and the number of matches in the search result list 36 shown in FIG. 9, and a description thereof will be omitted to avoid duplication.
FIG. 21 is a diagram illustrating an example of the selection candidate list display screen 52 that displays the search results indicated by the search result list 46. The search result storage unit 22 rearranges the search result list 46 received from the search unit 21 in the order in which the number of matches is large, sends it to the search result output device 23 as a selection candidate list, and outputs it as a selection candidate list display screen 52. . The configuration and display contents of the selection candidate list display screen 52 are the same as the configuration and display contents of the selection candidate list display screen 51 shown in FIG. 10, and a description thereof will be omitted to avoid duplication. The user can select the third graphic element from the selection candidates for the third graphic element on the selection candidate list display screen 52 shown in FIG.
As described above, the shape data storage unit 13 stores the geometric information representing the graphic elements constituting the shape of the object on which the part is arranged and the element names for identifying the graphic elements in association with each other, and searches them. The basic formula storage device 18 stores basic search formula information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged. The dialog input device 15 and the shape element selection unit 16 are stored. Thus, the element name of the graphic element constituting the shape at the position where one part is arranged is selected from the element names stored in the shape data storage unit 13.
Then, the first graphic element indicated by the element name selected by the dialog input device 15 and the shape element selection unit 16 among the geometric information stored in the shape data storage unit 13 by the search formula creation unit 20 and the search unit 21 A component having the same shape as the component arranged at the position of the first graphic element is arranged based on the geometric information of the first graphic element and a predetermined search condition indicated by the basic search formula information stored in the basic search formula storage device 18. The candidate of the graphic element to be searched is searched, and the search result storage unit 22 and the search result output device 23 display the selectable element names of the graphic elements searched by the search formula creation unit 20 and the search unit 21 in a selectable manner. .
Therefore, candidates for graphic elements in which parts having the same shape are arranged can be narrowed down by the condition including the positional relationship from among the graphic elements constituting the shape of the placement object on which the parts are arranged.
Further, among the element names displayed so as to be selectable by the search result storage unit 22 and the search result output unit 23 by the dialog input device 15 and the shape element selection unit 16, a different one from the element name of the first graphic element. 2 is selected, and the second selected from the geometric information stored in the shape data storage unit 13 by the search formula creation unit 20 and the search unit 21 is selected by the dialog input device 15 and the shape element selection unit 16. Based on the second graphic element indicated by the element name and the geometric information of the first graphic element and the predetermined search condition, a component having the same shape as the component arranged at the position of the first graphic element is obtained. Candidate graphic elements to be placed are searched. Therefore, the third graphic element candidate can be searched based on the two graphic elements.
FIG. 22 is a flowchart showing the processing procedure of the first element search process executed by the graphic element selection device 1. For example, when a function for selecting a graphic element is selected from the main menu displayed on the screen output device 14, the process proceeds to step A1.
In step A1, an arrangement component is selected. Specifically, when the user selects and inputs a part name of a part to be placed, that is, a part to be placed on the placement object, using the dialogue input device 15, the placement part selection unit 17 searches the input part name for the basic expression. The data is sent to the reading unit 19. In step A2, which is a graphic element selection step, an arrangement reference element is selected. Specifically, among the graphic elements constituting the shape of the placement object by the dialog input device 15, the layout reference element for placing the part having the part name input earlier, that is, the element name of the first graphic element Is input, the shape element selection unit 16 reads the geometric information of the first graphic element indicated by the input element name from the geometric information stored in the shape data storage unit 13, and creates a retrieval formula for the read geometric information. Send to part 20.
In step A3, the presence / absence of a basic search expression is determined. In the basic search expression unit 19, basic search formula information 31 associated with the part name received from the arrangement part selection unit 17 is stored in the basic search information 31 stored in the basic search storage device 18. Then, it is determined that there is a basic search formula, and the process proceeds to Step A4. If the basic search formula information 31 associated with the component name received from the placement component selection unit 17 is not stored in the basic search formula information 31 stored in the basic search formula storage device 18, there is no basic search formula. The first element search process is terminated.
In step A4, the basic retrieval formula is read. Specifically, the retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name received from the arrangement component selection unit 17 from the retrieval basic expression storage device 18, and the retrieved retrieval basic expression information. Is sent to the search expression creation unit 20. In step A5, a search formula is created. Specifically, the search formula creation unit 20 creates search formula information based on the geometric information received from the shape element selection unit 16 and the search basic formula information received from the search basic formula reading unit 19, and the created search The formula information is sent to the search unit 21.
In step A6, a search is performed. Specifically, the search unit 21 searches the geometric information stored in the shape data storage unit 13 using the search formula information received from the search formula creation unit 20 as a search condition, and the geometric information figure that matches the search condition. Elements are extracted, and the number of search conditions that match the extracted graphic elements is calculated. Then, a search result list is generated based on the extracted element name of the graphic element and the number of matching search conditions, and the generated search result list is sent to the search result storage unit 22. Steps A4 to A6 are search steps.
In step A7, which is a display step, the search result is displayed and the first element search process is terminated. Specifically, the search result storage unit 22 stores the search result list received from the search unit 21 in the storage device, and edits the search result list and sends it to the search result output device 23 to display the selection candidate list. The screen is output as a screen, and the first element search process is terminated.
In this way, in the flowchart shown in FIG. 22, in step A2, the geometric information representing the graphic element that forms the shape of the placement object on which the part is arranged is associated with the element name for identifying the graphic element. The element name of the graphic element constituting the shape at the position where one part is arranged is selected from the element names stored in the shape data storage unit 13 stored. In steps A4 to A6, the geometric information of the first graphic element indicated by the element name selected in step A2 among the geometric information stored in the shape data storage unit 13 and the graphic element in which a part having the same shape is arranged. Based on a predetermined search condition including a positional relationship for searching, a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched. In step A7, the candidate element names of graphic elements searched in steps A4 to A6 are displayed so as to be selectable.
Therefore, if the graphic element selection method according to the present invention is applied, candidates for graphic elements in which parts having the same shape are arranged among the graphic elements constituting the shape of the placement object in which the parts are arranged are included in the positional relationship. It can be narrowed down by conditions.
FIG. 23 is a flowchart showing the processing procedure of the second element search processing executed by the graphic element selection device 1. When the first element search process ends, the process proceeds to step B1.
In step B1, an arrangement part is read. Specifically, the arrangement part selection unit 17 reads the arrangement part name in the search result list stored in the storage device by the search result storage unit 22 as the part name, and sends the read part name to the search basic expression reading unit 19. . In step B2, an arrangement reference element is read. Specifically, the shape element selection unit 16 reads the element name of the selected element in the search result list stored in the storage device by the search result storage unit 22 as an arrangement reference element, that is, selected element information.
In step B3, an arrangement reference element is selected. Specifically, when the user selects the element name of the second graphic element from the selection candidates of the second graphic element on the selection candidate list display screen 51 shown in FIG. The element name of the selected element in the search result list stored in the storage device is read as selected element information. The shape element selection unit 16 then selects the selected element information read from the storage device from the geometric information stored in the shape data storage unit 13 and the geometry of the graphic element indicated by the selection element information received from the dialogue input device 15. The information is read, and the read geometric information is sent to the search formula creation unit 20.
In step B4, the presence / absence of a basic search expression is determined. In the basic search expression unit 19, basic search formula information 31 associated with the part name received from the arrangement part selection unit 17 is stored in the basic search information 31 stored in the basic search storage device 18. Then, it is determined that there is a basic search formula, and the process proceeds to Step B5. If the basic search formula information 31 associated with the component name received from the placement component selection unit 17 is not stored in the basic search formula information 31 stored in the basic search formula storage device 18, there is no basic search formula. The second element search process is terminated.
In step B5, the basic search formula is read. Specifically, the retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name received from the arrangement component selection unit 17 from the retrieval basic expression storage device 18, and the retrieved retrieval basic expression information. Is sent to the search expression creation unit 20. In step B6, a search expression is created. Specifically, the search formula creation unit 20 creates search formula information based on the geometric information received from the shape element selection unit 16 and the search basic formula information received from the search basic formula reading unit 19, and the created search The formula information is sent to the search unit 21.
In step B7, a search is performed. Specifically, the search unit 21 searches the geometric information of the part data stored in the shape data storage unit 13 using the search formula information received from the search formula creation unit 20 as a search condition, and finds a geometry that matches the search condition. The graphic elements of information are extracted, and the number of search conditions that match the extracted graphic elements is calculated. Then, a search result list is generated based on the extracted element name of the graphic element and the number of matching search conditions, and the generated search result list is sent to the search result storage unit 22.
In step B8, the search result is displayed and the second element search process is terminated. Specifically, the search result storage unit 22 stores the search result list received from the search unit 21 in the storage device, and edits the search result list and sends it to the search result output device 23 to display the selection candidate list. The screen is output as a screen, and the second element search process is terminated.
The present invention can be implemented in various other forms without departing from the spirit or main features thereof. Therefore, the above-described embodiment is merely an example in all respects, and the scope of the present invention is shown in the claims, and is not restricted by the text of the specification. Further, all modifications and changes belonging to the scope of the claims are within the scope of the present invention.

Claims (10)

  1.  部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とを対応付けて記憶する図形要素記憶手段と、
     同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す検索条件情報を記憶する検索条件情報記憶手段と、
     前記図形要素記憶手段に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する図形要素選択手段と、
     前記図形要素記憶手段に記憶される幾何情報のうち前記図形要素選択手段によって選択された図形要素識別情報が示す第1の図形要素の幾何情報と、前記検索条件情報記憶手段に記憶される検索条件情報が示す予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する検索手段と、
     前記検索手段によって検索された図形要素の候補の図形要素識別情報を選択可能に表示する表示手段とを含むことを特徴とする図形要素選択装置。
    Graphic element storage means for storing geometric information representing graphic elements constituting the shape of the placement object on which the parts are arranged and graphic element identification information for identifying the graphic elements in association with each other;
    Search condition information storage means for storing search condition information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged;
    Graphic element selection means for selecting graphic element identification information of a graphic element constituting a shape at a position where one part is arranged from among graphic element identification information stored in the graphic element storage means;
    The geometric information of the first graphic element indicated by the graphic element identification information selected by the graphic element selection means among the geometric information stored in the graphic element storage means, and the search condition stored in the search condition information storage means Search means for searching for a graphic element candidate in which a component having the same shape as the component arranged at the position of the first graphic element is based on a predetermined search condition indicated by the information;
    A graphic element selection device comprising: display means for selectively displaying graphic element identification information of graphic element candidates retrieved by the retrieval means.
  2.  前記表示手段によって選択可能に表示される図形要素識別情報の中から、前記第1の図形要素の図形要素識別情報と異なる第2の図形要素識別情報を選択する第2の図形要素選択手段をさらに含み、
     前記検索手段は、前記図形要素記憶手段に記憶される幾何情報のうち、前記第2の図形要素選択手段によって選択された第2の図形要素識別情報が示す第2の図形要素および前記第1の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索することを特徴とする請求項1に記載の図形要素選択装置。
    Second graphic element selection means for selecting second graphic element identification information different from the graphic element identification information of the first graphic element from graphic element identification information displayed in a selectable manner by the display means. Including
    The search means includes the second graphic element indicated by the second graphic element identification information selected by the second graphic element selection means among the geometric information stored in the graphic element storage means, and the first graphic element. Searching for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched based on the geometric information of the graphic element and the predetermined search condition. The graphic element selection device according to claim 1.
  3.  前記図形要素の形状が円または円弧の形状であり、
     前記予め定める検索条件は、図形要素の候補の形状の半径が、前記第1の図形要素の形状の半径に等しいという条件を含むことを特徴とする請求項1または2に記載の図形要素選択装置。
    The shape of the graphic element is a circular or arc shape,
    3. The graphic element selection device according to claim 1, wherein the predetermined search condition includes a condition that a radius of the shape of the graphic element candidate is equal to a radius of the shape of the first graphic element. 4. .
  4.  前記予め定める検索条件は、図形要素の候補が含まれる仮想平面の法線の方向が、前記第1の図形要素が含まれる仮想平面の法線の方向と同じであるという条件をさらに含むことを特徴とする請求項3に記載の図形要素選択装置。 The predetermined search condition further includes a condition that a normal direction of a virtual plane including a candidate for a graphic element is the same as a normal direction of a virtual plane including the first graphic element. 4. The graphic element selection device according to claim 3, wherein
  5.  前記予め定める検索条件は、図形要素の中心の位置を前記被配置物の重心の位置を原点とするXYZ座標系で表すとき、X座標軸、Y座標軸およびZ座標軸のうち1つの座標軸で、図形要素の候補の中心の位置の座標の絶対値と前記第1の図形要素の中心の位置の座標の絶対値とが等しいという条件をさらに含むことを特徴とする請求項3に記載の図形要素選択装置。 The predetermined search condition is that, when the position of the center of the graphic element is expressed in an XYZ coordinate system with the position of the center of gravity of the placement object as the origin, the graphic element is represented by one of the X coordinate axis, the Y coordinate axis, and the Z coordinate axis. 4. The graphic element selection device according to claim 3, further comprising a condition that the absolute value of the coordinates of the center position of the candidate is equal to the absolute value of the coordinates of the center position of the first graphic element. .
  6.  前記予め定める検索条件は、前記被配置物の表面を構成する面のうち、前記第1の図形要素を含む面が直線の外周縁を含むとき、その外周縁の直線のうちの第1の直線と図形要素の候補の中心との距離が、前記第1の直線と前記第1の図形要素の中心との距離に等しいという条件をさらに含むことを特徴とする請求項3に記載の図形要素選択装置。 The predetermined search condition is that, when a surface including the first graphic element includes a straight outer peripheral edge among the surfaces constituting the surface of the placement object, the first straight line of the outer peripheral straight lines. 4. The graphic element selection according to claim 3, further comprising a condition that a distance between the first straight line and the center of the graphic element candidate is equal to a distance between the first straight line and the center of the first graphic element. apparatus.
  7.  前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線上にあるという条件をさらに含むことを特徴とする請求項2に係る請求項3に記載の図形要素選択装置。 The predetermined search condition further includes a condition that a center of a graphic element candidate is on a straight line passing through a center of the first graphic element and a center of the second graphic element. The graphic element selection device according to claim 3, according to item 2.
  8.  前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線に垂直で、かつ前記第1の図形要素または前記第2の図形要素の中心を通る直線上にあるという条件をさらに含むことを特徴とする請求項2に係る請求項3に記載の図形要素選択装置。 The predetermined search condition is that a graphic element candidate center is perpendicular to a straight line passing through the center of the first graphic element and the center of the second graphic element, and the first graphic element or the first graphic element. The graphic element selection device according to claim 3, further comprising a condition of being on a straight line passing through the center of the two graphic elements.
  9.  前記第2の図形要素選択手段は、前記表示手段によって選択可能に表示される図形要素識別情報の中から、前記第1の図形要素および第2の図形要素の図形要素識別情報と異なる第3の図形要素識別情報をさらに選択し、
     前記検索手段は、前記図形要素記憶手段に記憶される幾何情報のうち、前記第1の図形要素、前記第2の図形要素、および前記第2の図形要素選択手段によって選択された第3の図形要素識別情報が示す第3の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索し、
     前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心と前記第3の図形要素の中心とを通る円周上にあるという条件をさらに含むことを特徴とする請求項2に係る請求項3に記載の図形要素選択装置。
    The second graphic element selecting means is a third different from the graphic element identification information of the first graphic element and the second graphic element, out of graphic element identification information displayed so as to be selectable by the display means. Select more graphic element identification information,
    The search means is a third graphic selected by the first graphic element, the second graphic element, and the second graphic element selection means among the geometric information stored in the graphic element storage means. Based on the geometric information of the third graphic element indicated by the element identification information and the predetermined search condition, the graphic element in which the part having the same shape as the part arranged at the position of the first graphic element is arranged. Search for suggestions,
    The predetermined search condition is that the center of the graphic element candidate is on a circle passing through the center of the first graphic element, the center of the second graphic element, and the center of the third graphic element. The graphic element selection device according to claim 2, further comprising a condition.
  10.  部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とを対応付けて記憶する図形要素記憶部に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する図形要素選択ステップと、
     前記図形要素記憶部に記憶される幾何情報のうち前記図形要素選択ステップで選択された図形要素識別情報が示す第1の図形要素の幾何情報と、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する検索ステップと、
    前記検索ステップで検索された図形要素の候補の図形要素識別情報を選択可能に表示する表示ステップとを含むことを特徴とする図形要素選択方法。
    Graphic element identification stored in a graphic element storage unit for storing geometric information representing graphic elements constituting the shape of an object on which a part is arranged and graphic element identification information for identifying the graphic elements in association with each other A graphic element selection step for selecting graphic element identification information of a graphic element constituting a shape at a position where one part is arranged from the information;
    The geometric information stored in the graphic element storage unit is searched for the geometric element having the same shape as the geometric information of the first graphic element indicated by the graphic element identification information selected in the graphic element selection step. A search step of searching for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is based on a predetermined search condition including a positional relationship for
    A graphic element selection method, comprising: a display step for selectively displaying graphic element identification information of graphic element candidates retrieved in the retrieval step.
PCT/JP2009/056011 2008-03-25 2009-03-25 Device and method for selecting graphic element WO2009119693A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009801114581A CN101981577B (en) 2008-03-25 2009-03-25 Device and method for selecting graphic element

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008079361A JP4991611B2 (en) 2008-03-25 2008-03-25 Graphic element selection apparatus and method
JP2008-079361 2008-03-25

Publications (1)

Publication Number Publication Date
WO2009119693A1 true WO2009119693A1 (en) 2009-10-01

Family

ID=41113883

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/056011 WO2009119693A1 (en) 2008-03-25 2009-03-25 Device and method for selecting graphic element

Country Status (3)

Country Link
JP (1) JP4991611B2 (en)
CN (1) CN101981577B (en)
WO (1) WO2009119693A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06176123A (en) * 1992-12-08 1994-06-24 Dainippon Printing Co Ltd Image forming device
JPH07271994A (en) * 1994-03-31 1995-10-20 Mutoh Ind Ltd Method and system for graphic selection

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2005096182A1 (en) * 2004-03-31 2007-08-16 松下電器産業株式会社 Information extraction system
CN101055620B (en) * 2006-04-12 2011-04-06 富士通株式会社 Shape comparison device and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06176123A (en) * 1992-12-08 1994-06-24 Dainippon Printing Co Ltd Image forming device
JPH07271994A (en) * 1994-03-31 1995-10-20 Mutoh Ind Ltd Method and system for graphic selection

Also Published As

Publication number Publication date
CN101981577B (en) 2013-02-27
JP4991611B2 (en) 2012-08-01
CN101981577A (en) 2011-02-23
JP2009237631A (en) 2009-10-15

Similar Documents

Publication Publication Date Title
US10379716B2 (en) Presenting object properties
US9956655B2 (en) Apparatus for generating assembly sequence and method for generating assembly sequence
US20110209074A1 (en) Rotating animated visual user display interface
WO2013080681A1 (en) Similar design structure search device and similar design structure search method
EP2669824A1 (en) Design support system, method and program
AU2018204393B2 (en) Graphically representing content relationships on a surface of graphical object
JP6242709B2 (en) Assembly sequence generation apparatus and assembly sequence generation method
US20150169796A1 (en) Piping or Wiring Support Device
JP2006005655A (en) Input device and input program provided with item processing function, and computer readable recording medium
JP2018180693A (en) Work instruction generation device and work instruction generation method
Manou et al. Understanding industrial robot programming by aid of a virtual reality environment
JP4991611B2 (en) Graphic element selection apparatus and method
Danielsson et al. Augmented reality smart glasses for industrial assembly operators: A meta-analysis and categorization
JP7065906B2 (en) Quotation system, quotation method, and quotation program
Bui et al. Manufacturing tolerance analysis based on the model of manufactured part and experimental data
Ziaee et al. Augmented reality applications in manufacturing and its future scope in Industry 4.0
Albers et al. Augmented Reality for Quality Inspection: A User-Centred Systematic Review of Use Cases, Trends and Technology
JP7420164B2 (en) Graphic display device, graphic display method and program
JP2019046243A (en) Design support apparatus, and design support method
JP7230393B2 (en) Design support device, program
KR101991507B1 (en) Method and apparatus for making economics graghs
JP6938052B2 (en) Analytical method of claims and its equipment
JP2008276659A (en) Integrated navigation system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980111458.1

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09724675

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09724675

Country of ref document: EP

Kind code of ref document: A1