This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2019-136804 filed Jul. 25, 2019.
The present invention relates to an information processing apparatus and a non-transitory computer readable medium storing a program.
According to the spread of three-dimensional printers, a three-dimensional modeling object (hereinafter, referred to as “three-dimensional model”) can be modeled from three-dimensional model data. As one typical data format of the three-dimensional model data, a stereolithography (STL) format is used. Data with an STL format is three-dimensional model data in which a three-dimensional shape is represented by a cluster of small triangles (generally referred to as “polygons”), and can define the external shape of the three-dimensional model. However, an internal structure of the three-dimensional model cannot be defined.
As a data format of the three-dimensional model data, a fabricable voxel (FAV) format is used. Data with an FAV format is model data for representing a model by a voxel as a basic element of a three-dimensional object. Unlike the STL format, the FAV format can define the internal structure of the three-dimensional model.
As a method of forming the inside of the three-dimensional model of which the internal structure is not defined, a method of filling the whole inside of the three-dimensional model with a material and a method of filling a portion of the inside of the three-dimensional model with a material are used. The former is generally called “solid model”, and a typical example of the latter method is a sparse structure. The sparse structure is a structure designed by thinning the internal structure of the three-dimensional model in a lattice shape.
As illustrated in
Examples of related art include JP2011-043864A and JP2016-182745A.
For example, in a case where a hole shape as illustrated in
However, in the related art, the internal structure of a periphery of the hole is modeled according to a predetermined method regardless of the use of the hole to be formed.
Aspects of non-limiting embodiments of the present disclosure relate to an information processing apparatus and a non-transitory computer readable medium storing a program that can model a three-dimensional model with an internal structure suitable for a use of a partial shape for each partial shape of the three-dimensional model.
Aspects of certain non-limiting embodiments of the present disclosure overcome the above disadvantages and/or other disadvantages not described above. However, aspects of the non-limiting embodiments are not required to overcome the disadvantages described above, and aspects of the non-limiting embodiments of the present disclosure may not overcome any of the disadvantages described above.
According to an aspect of the present disclosure, there is provided an information processing apparatus including: a generation unit that generates three-dimensional model data for modeling a three-dimensional model with an internal structure suitable for a use of a partial shape of the three-dimensional model according to attribute information assigned in correspondence with the partial shape of the three-dimensional model to be modeled based on the three-dimensional model data.
Exemplary embodiment(s) of the present invention will be described in detail based on the following figures, wherein:
Hereinafter, an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings.
As illustrated in
The three-dimensional model data generation unit 11 generates three-dimensional model data for modeling a three-dimensional model according to attribute information, which is assigned in correspondence with a partial shape of the three-dimensional model. Unless otherwise specified, the three-dimensional model data generation unit 11 according to the present exemplary embodiment generates three-dimensional model data according to an FAV data format which can represent data up to the inside of an object (that is, a three-dimensional model). An attribute information setting unit 111 included in the three-dimensional model data generation unit 11 sets attribute information related to a partial shape of a three-dimensional model. The attribute information, which is assigned in correspondence with a partial shape by the attribute information setting unit 111, will be described later.
The three-dimensional model data generation unit 11 in the information processing apparatus 1 is realized by a cooperative operation of a computer with which the information processing apparatus 1 is configured and a program which is operated by a CPU mounted on the computer. Further, the program according to the present exemplary embodiment may be provided by the communication unit, or may be provided by being stored in a computer-readable recording medium such as a CD-ROM or a USB memory. The program provided from the communication unit or the recording medium is installed in the computer, and various types of processing are realized by the CPU of the computer executing the program in order.
Next, before describing an operation according to the present exemplary embodiment, a three-dimensional model, which is modeled by a 3D printer 2 according to three-dimensional model data obtained by an operation of the information processing apparatus 1 according to the present exemplary embodiment, will be described.
In a case where a use of the hole shape is estimated to be a screw hole, the three-dimensional model data generation unit 11 generates three-dimensional model data for modeling a three-dimensional model with an internal structure suitable for the screw hole. In order to make the hole shape function as a screw hole, a strength of a certain level or higher is required. In a case where it is estimated that a strength of a certain level or higher is required for the use of the hole shape by referring to attribute information assigned in correspondence with the hole shape, as illustrated in
In attribute information of a partial shape of the three-dimensional model illustrated in
In a case where a use of the hole shape is estimated to be a hole for fitting a rod (hereinafter, referred to as a “fitting hole”), the three-dimensional model data generation unit 11 generates three-dimensional model data for modeling a three-dimensional model with an internal structure suitable for the fitting hole. In order to make the hole shape function as a fitting hole, unlike the case of the screw hole, the three-dimensional model may have a normal strength. In a case where it is estimated that a normal strength is required for the use of the hole shape by referring to attribute information assigned in correspondence with the hole shape, as illustrated in
In the above description, the hole shape is described as an example of a partial shape. For example, as illustrated in
Next, the attribute information assigned in correspondence with the partial shape according to the present exemplary embodiment will be described. Here, a hole shape is described as an example of a partial shape. In the following description, it is assumed that a data format of the three-dimensional model is an FAV format which can define an internal structure by using a voxel.
The FAV format includes four main parts of <metadata>, <palette>, <voxel>, and <object>. For each layer on an XY plane of a three-dimensional grid defined by <grid> included in <object>, attribute information indicating the presence or absence of a voxel at each grid position in the layer is defined.
Further, as the attribute information, not only information directly representing a use such as a screw hole or a fitting hole, but also data specifying a specification corresponding to a use of a partial shape may be set. For example, when modeling a three-dimensional model, at least one of a strength, a weight, or a material required for the partial shape may be set. For example, in a case where the hole shape corresponds to a screw hole, in order to make the hole shape function as a screw hole, data such as a strength that is required for the screw hole is set as attribute information of the hole shape. The data is an example, and is not limited thereto. The three-dimensional model data generation unit 11 estimates that a use of the hole shape of the three-dimensional model is a screw hole by referring to the data specifying a specification, and generates three-dimensional model data such that the periphery of the hole shape is thick as described above. Further, the three-dimensional model data generation unit 11 determines a thickness of the hole shape according to a value of the data specifying a specification, for example, a strength required for the screw hole, a material of the screw hole, or the like, the strength being indicated by a fastening torque.
Further, the attribute information assigned in correspondence with the partial shape of the three-dimensional model may not be set to the partial shape itself, that is, the grid positions x3 to x7 in the above example. For example, attribute information related to a hole shape may be set to <user_defined_map> of <structure> included in <object>.
The attribute information indicating the presence or absence of a voxel of the hole shape may not be used as attribute information of the hole shape. For example, in a model A′ which is obtained by performing a Boolean operation of “a solid model A before a Boolean operation” and “a solid model B with a screw hole shape” (A not B), information indicating a use of “screw hole” may be held as attribute information for a voxel of an intersection portion (A and B) of the model A and the model B. In the case of the FAV format, the attribute information is held as <user_defined_map>.
Alternately, the attribute information may be set to a voxel of the hole shape. According to
The attribute information related to the hole shape is not necessarily assigned to the hole shape itself as described above. For example, the attribute information may be assigned to a surface or <user_defined_map>. For this reason, in the present exemplary embodiment, the attribute information related to the hole shape is described as “attribute information assigned in correspondence with the hole shape”. Thus, a target to which the attribute information is assigned is not limited to the hole shape itself.
Next, an operation according to the present exemplary embodiment will be described. The attribute information setting unit 111 receives attribute information which is set by a user. The attribute information received by the attribute information setting unit 111 is attribute information for the three-dimensional model data to be processed, and is information indicating a use of a component shape. The attribute information setting unit 111 assigns the received attribute information to the grid positions x3 to x7 at which a voxel is not present, <user_defined_map>, or a surface. A target to which the attribute information is assigned is appropriately determined according to a partial shape of a three-dimensional model or according to a data format of a three-dimensional model. For example, in a case where the partial shape corresponds to an actual corner or the like, the attribute information may be assigned to a target such as a corner.
In a case of generating three-dimensional model data with an FAV format by converting three-dimensional model data with an STL format, the attribute information setting unit 111 may set attribute information by converting information related to the partial shape, that is, information indicating a use of the partial shape, from an STL format into an FAV format, without receiving attribute information from the user. The three-dimensional model data generation unit 11 generates three-dimensional model data for modeling a three-dimensional model with an internal structure suitable for the partial shape by referring to the assigned attribute information related to the partial shape.
In the above description, the hole shape is taken as an example of the partial shape of the three-dimensional model, and the description has been made focusing on the hole shape. That is, the hole shape is formed so as to have a thickness (that is, only the portion is formed in a solid model form) by referring to the attribute information indicating a use, and the other portions are formed so as to have a sparse structure with a predetermined setting since the attribute information indicating a use is not set to the other portions. Here, the attribute information indicating a use may be set to all the grid positions.
In the present exemplary embodiment, the internal structure is formed in a solid model form in order to increase a strength. On the other hand, the internal structure is not necessarily formed in a solid model form as long as a required strength can be obtained. For example, the internal structure may be formed with a sparse structure having finer grids than usual grids.
The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2019-136804 | Jul 2019 | JP | national |