1) Field of the Invention
The present invention relates to a technology that helps in designing a model configuration using a three-dimensional grid (3D grid).
2) Description of the Related Art
A technology called CAD (Computer Aided Designing) is used when designing a model configuration. It is expected that the CAD software produces in a short time a design that is very near to what the model the designer or the operator has in his mind. To respond to this expectation, the CAD software often requires the designer to set a reference point on the model.
Japanese Patent Application Laid-open Publication No. 2000-48065 discloses a method of plotting a virtual pipeline by displaying a grid on three-dimensional coordinates, then designating coordinates of both ends of the pipeline, and connecting the coordinates designated by a cylindrical column. Moreover, Japanese Patent Specification No. 2748972 discloses a method of determining input coordinates based on information related to a grid selected upon superimposing a plurality of grids for which a distance between lattice points is different.
However, in the conventional technology, while displaying a grid in a three-dimensional space, the grid is displayed even in an area that is not intended by the designer. Therefore, it makes it difficult to draw a schematic diagram of the model configuration, and the efficiency of designing reduces.
It is an object of the present invention to at least solve the problems in the conventional technology.
A method according to an aspect of the present invention is a method of displaying a three-dimensional grid in designing a model configuration. The method includes acquiring grid space designation information that designates a width of the three-dimensional grid and a distance between two points of the three-dimensional grid; acquiring grid plane designation information that designates a display width of the three-dimensional grid and a display position at which the three-dimensional grid is to be displayed; and displaying only that portion of the three-dimensional grids that is defined by the grid space designation information and the grid plane designation information.
A device according to another aspect of the present invention displays a three-dimensional grid in designing a model configuration. The device includes a first acquiring unit that acquires grid space designation information that designates a width of the three-dimensional grid and a distance between two points of the three-dimensional grid; a first acquiring unit that acquires grid plane designation information that designates a display width of the three-dimensional grid and a display position at which the three-dimensional grid is to be displayed; and a displaying unit that displays only that portion of the three-dimensional grids that is defined by the grid space designation information and the grid plane designation information.
The computer program product according to still another aspect of the present invention implements the above method on a computer.
The other objects, features, and advantages of the present invention are specifically set forth in or will become apparent from the following detailed description of the invention when read in conjunction with the accompanying drawings.
Exemplary embodiments of the present invention are described in detail with reference to the accompanying drawings.
A configuration designing supporting unit according to a first embodiment displays a grid, used by a designer while designing a configuration, only in a range and a position desired by the designer and not in the whole of a three-dimensional space.
The input unit 110 is an input device such as a keyboard and a mouse. The input unit 110 inputs dimensions of a model configuration, a range in which the 3D grid is displayed, and a distance at which the 3D grids are displayed. In this case, the 3D grid means a grid that is displayed in the 3D space.
The configuration creating and editing processor 120 creates the model configuration based on the dimensions of the model configuration acquired from the input unit 110. The configuration creating and editing processor 120 stores data of the model configuration (hereinafter, “configuration data”) that is created in the model storage 130, as well as passes the configuration data to the display controller 140.
The model storage 130 stores the configuration data. The display controller 140 receives the configuration data from the configuration creating and editing processor 120, and based on the configuration data, displays the configuration corresponding to the configuration data on the display unit 150 such as a display. The display controller 140 receives data related to the 3D grid from the 3D grid controller 160, and displays the 3D grid on the display unit 150.
The 3D grid controller 160 performs a process related to creating the 3D grid, and includes a 3D grid creating section 170, a grid storage 180, a 3D grid retrieving processor 190, a grid plane display processor 210, and a grid plane editor 220.
The 3D grid creating section 170 acquires data related to a range of the 3D grid and a distance between the 3D grids, from the input unit 110, and creates the 3D grid. Moreover, the 3D grid creating section 170 stores data of the 3D grid (hereinafter, “3D grid data”) in the grid storage 180. The grid storage 180 stores the 3D grid data. Further, the grid storage 180 acquires information such as information designating the display range and the position of the 3D grid, from the input unit 110, and stores that information.
Here, the 3D grid range data stores information of the range in which the 3D grid is displayed, and the 3D grid distance data stores information related to a distance between a 3D grid and a neighboring 3D grid.
(x1, x2, y1, y2, z1, z2) are stored in the 3D grid data shown in
Moreover, the 3D grid distance data shown in
The 3D grid retrieving processor 190 acquires information about a moving speed of a pointer of the input unit 110. If the moving speed of the pointer is less than a certain speed, and if the pointer comes close within a certain distance from any 3D grid displayed in the 3D space, that particular 3D grid is retrieved as a target 3D grid from the grid storage 180, and a mouse pointer is allowed to snap the 3D grid that is retrieved.
The 3D grid retrieving processor includes a pointer speed monitoring section 200 that acquires information about the moving speed of the pointer from the input unit 110, and monitors the moving speed of the pointer.
On the other hand, if the pointer of the input unit 110 is traveling at a speed less than the certain speed, and if the pointer is positioned at a point that is at a distance less than the certain distance from a specific grid (in
Moreover, if the pointer of the input unit is traveling at a speed less than the certain speed, and if the pointer is positioned at a point that is at a distance less than the certain distance from a plurality of 3D grids (in
A detailed description is omitted here. However, if the pointer of the input unit 110 is traveling at a speed less than the certain speed, and if the pointer is positioned at a point that is at a distance less than the certain distance from the plurality of 3D grids such as a point C, a user may be allowed to select a 3D grid subjected to snapping from among the plurality of 3D grids, and the pointer may be allowed to snap the 3D grid selected by the user.
The grid plane display processor 210 acquires information of designation of the display range and the position of the 3D grid (hereinafter, “range and position designation information”) from the grid storage 180, and based on the range and position designation information, displays only a 3D grid in the display range designated at a position that is designated. Hereinafter, the 3D grid displayed based on the range and position designation information is referred to as a 3D grid plane.
In this case, plane axis designates an axis. When plane axis=0, the x-axis is designated, when plane axis=1, the y-axis is designated, and when plane axis=2, the z-axis is designated.
x lower and x upper designate a range of a horizontal length of a plane that is orthogonal to an axis designated by plane axis. Therefore, when x lower=0 and x upper=100, the range of the horizontal length of the 3D grid plane is from 0 to 100.
y lower and x upper designate a range of a vertical length of the plane that is orthogonal to the axis designated by plane axis. Therefore, when y lower=0 and y upper=100, the range of the vertical length of the 3D grid plane is from 0 to 100.
zh designates a position of disposing a 3D grid plane that is orthogonal to the axis designated by plane axis. Therefore, when plane axis=0 and zh=30, a 3D grid plane that is orthogonal to the x-axis is displayed at a position of height 30 of the x-axis.
When the range and position designation information is plane axis=1, x lower=0, x upper=100, y lower=0, y upper=100, and zh=0, the grid plane display processor 210 displays a 3D grid plane 20.
When the range and position designation information is plane axis=1, x lower=0, x upper=100, y lower=0, y upper=100, and zh=80, the grid plane display processor 210 displays a 3D grid plane 30.
When the range and position designation information is plane axis=2, x lower=0, x upper=100, y lower=0, y upper=100, and zh=20, the grid plane display processor 210 displays a 3D grid plane 40.
The grid plane vertical axis direction data includes information of designating an axis of the 3D grid plane. Concretely, information of either plane axis=0, or plane axis=1, or plane axis=2 is stored.
The grid plane display range data includes information of designating a range over which the 3D grid plane is displayed. Concretely, x lower, x upper, y lower, and y upper are stored in the grid plane display range data. In this case, x lower designates a minimum value related to the range of the horizontal length of the 3D grid plane that is diagonal to the axis designated by plane axis, and x upper designates a maximum value related to the range of the horizontal length of the 3D grid plane that is diagonal to the axis designated by plane axis.
y lower designates a minimum value related to the range of the vertical length of the 3D grid plane that is orthogonal to the axis designated by plane axis, and y upper is a maximum value related to the range of the vertical length of the 3D grid plane that is orthogonal to the axis designated by plane axis.
Information of designating the position of the 3D grid plane is stored in the grid plane position data. Concretely, zh that designates the position is stored in the grid plane position data. These data of the 3D grid plane are stored in the grid storage 180.
The grid plane display processor 210 passes the data of the 3D grid plane to the display controller 140. When the display controller 140 displays the 3D grid plane on the display unit 150, the display controller 140 changes a display color of the 3D grid plane based on a direction of the 3D grid plane.
Moreover, the display controller 140 stores a color table for shades of each of blue, green, and red colors. The display controller 140 selects a lighter color from the color table as a coordinate value on each axis on which the 3D grid plane is positioned goes on increasing, and displays the 3D grid plane in the color selected.
The grid plane editor 220 receives instructions from the input unit 110, and edits the position and the display range of the 3D grid. Concretely, when any 3D grid plane is selected and an instruction to raise the position of the 3D grid plane is received from the input unit 110, the grid plane editor 220 raises the position of the 3D grid plane according to the instruction to raise, and displays the 3D grid plane of which the position is raised, on the display unit 150 via the display controller 140.
Further, when any 3D grid plane is selected and an instruction to lower the position of the 3D grid plane is received from the input unit 110, the grid plane editor 220 lowers the position of the 3D grip plane according to the instruction to lower, and displays the 3D grid plane of which the position is lowered, on the display unit 150 via the display controller 140.
When any 3D grid plane is selected and an instruction to increase the display range of the 3D grid plane is received from the input unit 110, the grid plane editor 220 increases the display range of the 3D grid plane according to the instruction to increase, and displays the 3D grid plane of which the display range is increased, on the display unit 150 via the display controller 140.
When any 3D grid plane is selected and an instruction to decrease the display range of the 3D grid plane from the input unit 110, the grid plane editor 220 decreases the display range of the 3D grid plane according to the instruction to decrease, and displays the 3D grid plane of which the display range is decreased, on the display unit 150 via the display controller 140.
When any 3D grid plane is selected and an instruction to copy the 3D grid plane is received from the input unit 110, the grid plane editor 220 copies the 3D grid plane selected, and displays a 3D grid plane copied, at a designated position. When any 3D grid plane is selected and an instruction to delete the 3D grid plane is received from the input unit 110, the grid plane editor 220 deletes the 3D grid plane selected.
Thus, based on the instructions to raise and lower or the instructions to increase and decrease, the grid plane editor 220 changes the position or the display range of the 3D grid plane. This enables the user to edit the 3D grid plane efficiently, thereby improving the efficiency of designing.
Next, a process of creating a 3D grid, executed by the 3D grid creating section 170, is described with reference to a flowchart in
As shown in
Next, a process of changing the range of the 3D grid, executed by the 3D grid creating section 170, is described with reference to a flowchart in
As shown in
Next, a process of changing the distance between the 3D grids executed by the 3D grid creating section 170 is described with reference to a flowchart in
As shown in
Next, a process of deleting the 3D grid executed by the 3D grid creating section is described with reference to a flowchart in
As shown in
Thus, the 3D grid creating section 170 receives the numerical values for instructing the range of the 3D grid and the distance between the 3D grids, and creates the 3D grid. When the 3D grid creating section 170 receives the numerical values for designating the range of the 3D grid newly, or the distance between the 3D grids newly, or the instruction to delete, the 3D grid creating section 170 renews or deletes the 3D grid. This enables the user to change the range of the 3D grid and the distance between the 3D grids easily.
Next, a process of displaying the 3D grid plane on the display unit 150 via the display controller 140, executed by the grid plane display processor 210 is described with reference to a flowchart in
As shown in
Thus, because the grid plane display processor 210 displays the 3D grid plane of which the range and the position are designated by the user, it is possible to improve the efficiency of configuration designing performed by the user.
The display range of the 3D grid plane may be designated by inputting the numerical values or by designating a rectangular area using a mouse. The position of the 3D grid plane may be designated by inputting the numerical values or using the mouse. Thus, by designating the position or the display range of the 3D grid plane with the mouse, the user can designate the 3D grid plane intuitively, thereby improving the designing efficiency.
Next, a process of changing the display range of the 3D grid plane, executed by the grid plane editor 220 is described with reference to a flowchart in
As shown in
Thus, because the user can change the display range of the 3D grid plane flexibly, the efficiency of a configuration designing job performed by the user improves. When the display range of the 3D grid plane is to be designated newly, the display range may be designated by inputting the numerical values, or by designating the rectangular area using the mouse.
Next, a process of changing the position of the 3D grid plane, executed by the grid plane editor 220 is described with reference to a flowchart in
As shown in
Thus, because the user can change the position of the 3D grid plane flexibly, the efficiency of the configuration designing job performed by the user improves. When the position of the 3D grid plane is to be designated newly, the position may be designated by inputting the numerical values or using the mouse.
Next, a process of copying the 3D grid plane, executed by the grid plane editor 220 is described with reference to a flowchart in
As shown in
Thus, because the 3D grid plane can be copied easily in a position designated, the designing efficiency of the user improves. The position at which the 3D grid plane is copied may be designated by inputting the numerical values, or using the mouse.
Next, a process of deleting the 3D grid plane, executed by the grid plane editor 220 is described with reference to a flowchart in
As shown in
Thus, as described so far, according to the first embodiment, the 3D grid creating section 170 acquires the information of designating the display range of the 3D grid and the distance between the 3D grids from the input unit 110, and creates the 3D grid with the range and the distance designated. Then, the grid plane display processor 210 acquires the range and position designation information, and displays the 3D grid plane having the display range and the position designated by the range and position designation information, on the display unit 150 via the display controller 140. Further, because the grid plane editor 220 edits the grid plane according to the instructions from the input unit 110, any coordinate value can be designated easily, for which the operation in the conventional 3D space has been complicated, thereby improving the designing efficiency.
According to the present invention, the range and position designation information is received from the input unit 110, and the 3D grid plane is displayed. However, by double clicking any 3D grid with the mouse, a 3D grid plane set in advance may be displayed with the double clicked 3D grid as a base point.
Incidentally, each process described in the first embodiment can be realized by executing in a computer a computer program that is prepared in advance. An example of a computer that executes a computer program to support the configuration designing that has similar functions as those according to the first embodiment is described by referring to
As shown in
The RAM 34 includes grid information 34a and model information 34b. The grid information 34a and the model information 34b correspond to the model storage 130 and the grid storage 180 respectively, shown in
A computer program to support the configuration designing that delivers functions similar to those according to the first embodiment, is stored in advance in the HDD 33. In other words, a creating and editing configuration program 33a, a display control program 33b, a 3D grid creating program 33c, a 3D grid retrieving program 33d, a grid plane display program 33e, and a grid plane editing program 33f are stored in advance in the HDD 33. Elements of each of the computer programs 33a to 33f, as well as each component of the configuration designing supporting unit shown in
The CPU 35 reads the computer programs 33a to 33f from the HDD 33, and executes them. By doing so, the computer programs 33a to 33f perform functions as a configuration creating and editing process 35a, a display control process 35b, a 3D grid creating process 35c, a 3D grid retrieving process 35d, a grid plane display process 35e, and a grid plane editing process 35f, respectively. The processes 35a to 35f correspond to the configuration creating and editing processor 120, the display controller 140, the 3D grid creating section 170, the 3D grid retrieving processor 190, the grid plane display processor 210, and the grid plane editor 220 shown in
The computer programs 33a to 33f may not be stored necessarily in the HDD 33. The computer programs 33a to 33f may be stored in a portable physical medium such as a flexible disc (FD), a CD-ROM (compact disc—read only memory), an MO disc, a DVD (digital versatile disc), a magneto-optical disc, an IC card that is inserted in the computer 30, or in other computer, or a server connected to the computer 30 via a public line, the Internet, a LAN (local area network), and a WAN (wide area network), and may be read and executed by the computer 30.
According to the present invention, it is possible to improve a designing efficiency of the model configuration.
According to the present invention, the 3D grid can be displayed in a position intended by the designer.
According to the present invention, the 3D grid can be displayed in a range intended by the designer.
According to the present invention, the designer can specify the direction and a position of the 3D grid.
Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2004-284253 | Sep 2004 | JP | national |