Computer-readable recording medium storing design assist program, design assist method, and design assist apparatus
A computer-readable recording medium stores a specifying program for causing a computer to execute a process. The process includes: calculating a first distance between a center point of each shape data and a straight line on a same plane as the center point, for a specific portion of which the center point is defined, from among a plurality of portions included in a shape indicated by each shape data classified into the same group; adding the calculated first distance to dimensional information of the specific portion in each shape data; and specifying a dimensional relationship between different portions of the shape data in the group, based on the dimensional information for each portion of each shape data in the group.
1 . A non-transitory computer-readable recording medium storing a specifying program for causing a computer to execute a process comprising:
calculating a first distance between a center point of each shape data and a straight line on a same plane as the center point, for a specific portion of which the center point is defined, from among a plurality of portions included in a shape indicated by each shape data classified into the same group;
adding the calculated first distance to dimensional information of the specific portion in each shape data; and
specifying a dimensional relationship between different portions of the shape data in the group, based on the dimensional information for each portion of each shape data in the group.
2 . The non-transitory computer-readable recording medium according to claim 1 , wherein the specific portion is a curve portion of which a center point, a radius, a center angle, and an end point are defined.
3 . The non-transitory computer-readable recording medium according to claim 1 , wherein the specific portion is a hole portion, including a through-hole portion that passes through each shape data or a recessed hole portion on each shape data, of which a center point and a radius are defined.
4 . The non-transitory computer-readable recording medium according to claim 3 , wherein
the calculating further includes
calculating a second distance between the center point of the hole portion and a center point of another hole portion on the same plane as the center point in each shape data, in a case where the specific portion is the hole portion, and
the adding further includes
further adding the calculated second distance to the dimensional information of the specific portion in each shape data.
5 . The non-transitory computer-readable recording medium according to claim 1 ,
the process further comprising:
deleting the dimensional information of the hole portion of which the center point and the radius are defined, from each shape data of the plurality of pieces of shape data;
creating unit shape data by normalizing, for each component in each coordinate axis direction, each shape data of the plurality of pieces of shape data after deletion from which the dimensional information of the hole portion; and
classifying the plurality of pieces of shape data, based on the created unit shape data of each shape data, wherein
each shape data classified into the same group is shape data in the group classified by the classifying processing.
6 . The non-transitory computer-readable recording medium according to claim 1 ,
the process further comprising:
acquiring unit shape data obtained by normalizing each of the shape data and another shape data in the group for each component in each coordinate axis direction;
generating a plurality of first images and a plurality of second images obtained by imaging each of the acquired unit shape data of the shape data and unit shape data of the another shape data from both directions of each of a plurality of axes; and
specifying a correspondence relationship between a portion in the shape data and a portion in the another shape data, by aligning directions of the shape data and the another shape data, based on a comparison result of the plurality of first images and the plurality of second images,
wherein in the specifying the dimensional relationship,
specifying the dimensional relationship between different portions of the shape data in the group, based on the specified correspondence relationship and the dimensional information for each portion of each shape data in the group.
7 . The non-transitory computer-readable recording medium according to claim 1 , the process further comprising:
in a case where a center point of each of a plurality of hole portions on the same straight line exists on a plane in each shape data and the respective center points of the plurality of hole portions are arranged at equal intervals on the straight line, creating a hole position model that specifies a relationship between positions of different hole portions on the plane, from an interval between center points of hole portions at both ends of the plurality of hole portions and an interval between center points of adjacent hole portions of the plurality of hole portions, based on the number of hole portions included in the plurality of hole portions.
8 . The non-transitory computer-readable recording medium according to claim 1 , the process further comprising:
outputting information that indicates the specified dimensional relationship, in association with unit shape data that corresponds to the shape data in the group.
9 . A specifying method performed by a computer, the method comprising:
calculating a first distance between a center point of each shape data and a straight line on a same plane as the center point, for a specific portion of which the center point is defined, from among a plurality of portions included in a shape indicated by each shape data classified into the same group;
adding the calculated first distance to dimensional information of the specific portion in each shape data; and
specifying a dimensional relationship between different portions of the shape data in the group, based on the dimensional information for each portion of each shape data in the group.
10 . An information processing apparatus comprising:
a memory, and
a processor coupled to the memory and configured to:
calculate a first distance between a center point of each shape data and a straight line on a same plane as the center point, for a specific portion of which the center point is defined, from among a plurality of portions included in a shape indicated by each shape data classified into the same group;
add the calculated first distance to dimensional information of the specific portion in each shape data; and
specify a dimensional relationship between different portions of the shape data in the group, based on the dimensional information for each portion of each shape data in the group.