Bird line generation method and device, equipment, storage medium and program product

By automating the generating process of automated the 100 -grid line in the engineering drawing, the view sequence and coordinate information are used to solve the tedious problems of drawing car parts view of the view of the hundred grid lines, and a more efficient processing and simplified operation process are achieved.

CN119359851APending Publication Date: 2025-01-24GAC TOYOTA MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411394140.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In the prior art, the process of drawing 100-grid lines for each view of automotive parts is cumbersome, and the drawing-making personnel need to call the 100-grid lines tool multiple times for trimming, direction marking and other steps.

Method used

Proposal a hundred -line generation method. By obtaining a viewing sequence to be treated, determine whether the current viewing view is available for a hundred grid lines. If there is no existence, determine its absolute coordinates and relative coordinates. , Get section view.

Benefits of technology

Simplified the operation process generated by the Big line, improved the processing efficiency, and avoided repeatedly adding views of the existing view of the hundred lines, shortening the processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119359851A_ABST
    Figure CN119359851A_ABST
Patent Text Reader

Abstract

The invention discloses a cross line generation method and device, equipment, a storage medium and a program product, and relates to the technical field of engineering drawing, and the cross line generation method comprises the steps that a to-be-processed view sequence is acquired; wherein the to-be-processed view sequence comprises a plurality of to-be-processed views which are arranged in sequence; determining a current to-be-processed view from the to-be-processed view sequence, and judging whether a cross line exists in the current to-be-processed view or not; if the current view to be processed does not have the cross line, determining absolute coordinates and relative coordinates of the current view to be processed in an operation interface; determining coordinate information of the cross line by using a difference value between the absolute coordinate and the relative coordinate; and based on the coordinate information, adding the cross-section line in the current to-be-processed view to obtain a cross-section view. According to the invention, the operation process of generating the cross line can be simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of engineering drawing, and in particular to a method, device, equipment, storage medium and program product for generating a hundred-grid line. Background Art

[0002] At present, when drawing the gridlines of various views of automotive parts, the main method is for draftsmen to call the gridline tool multiple times and repeat the steps of trimming, direction marking, etc. for each view to complete the drawing of the gridlines of all views.

[0003] Since drawing view grid lines requires repeated operations by draftsmen, the process of making view grid lines is rather complicated. Summary of the invention

[0004] The main purpose of the present application is to provide a method, device, equipment, storage medium and program product for generating hundreds grid lines, aiming to solve the technical problem that the process of making hundreds grid lines of views is relatively complicated.

[0005] To achieve the above purpose, the present application proposes a method for generating a hundred-grid line, comprising:

[0006] Acquire a sequence of views to be processed; wherein the sequence of views to be processed includes a plurality of views to be processed arranged in sequence;

[0007] Determine a current view to be processed from the sequence of views to be processed, and determine whether there is a hundred grid line in the current view to be processed;

[0008] If there is no hundred grid in the current view to be processed, determine the absolute coordinates and relative coordinates of the current view to be processed in the operation interface;

[0009] Determine the coordinate information of the hundred grid lines by using the absolute coordinates and the difference between the relative coordinates;

[0010] Based on the coordinate information, a grid line is added to the current view to be processed to obtain a cross-sectional view.

[0011] In one embodiment, determining the absolute coordinates and relative coordinates of the current view to be processed in the operation interface includes:

[0012] Determine whether the current view to be processed is a combined view;

[0013] If the current view to be processed is not a combined view, the absolute coordinates and relative coordinates of the current view to be processed in the operation interface are determined.

[0014] In one embodiment, after determining whether the current view to be processed is a combined view, the method further includes:

[0015] If the current view to be processed is a combined view, a view in any direction of the combined view is used as the target view to be processed;

[0016] Determine the target absolute coordinates and target relative coordinates of the target view to be processed in the operation interface;

[0017] The target coordinate information of the hundred grid lines is determined by using the difference between the target absolute coordinates and the target relative coordinates;

[0018] Based on the target coordinate information, grid lines are added to the target view to be processed to obtain a cross-sectional view.

[0019] In one embodiment, after the step of adding a hundred grid lines to the current view to be processed based on the coordinate information to obtain a cross-sectional view, the step further includes:

[0020] Determine whether the number of grid lines in the cross-section view is the preset number;

[0021] If the number of gridlines in a section view is the preset number, add a view direction to the section view.

[0022] In one embodiment, after the step of adding a hundred grid lines to the current view to be processed based on the coordinate information to obtain a cross-sectional view, the step further includes:

[0023] Determine whether the cross-sectional view is an oblique view;

[0024] If the cross-sectional view is an oblique view, determine whether the inclination direction of the hundred grid lines in the cross-sectional view is consistent with the inclination direction of the cross-sectional view;

[0025] If the inclination direction of the hundred grid lines in the cross-sectional view is inconsistent with the inclination direction of the cross-sectional view, a prompt message is output to indicate that the cross-sectional view is unqualified.

[0026] In one embodiment, after the step of determining whether there is a hundred grid line in the current view to be processed, the method further includes:

[0027] If there is a hundred grid line in the current view to be processed, a new current view to be processed is determined from the sequence of views to be processed, and the new current view to be processed is used as the current view to be processed, and the process returns to determine whether there is a hundred grid line in the current view to be processed until there is no hundred grid line in the current view to be processed.

[0028] In addition, to achieve the above purpose, the present application also proposes a hundred-grid line generation device, which includes:

[0029] An acquisition module, used for acquiring a sequence of views to be processed; wherein the sequence of views to be processed includes a plurality of views to be processed arranged in sequence;

[0030] A judgment module, used to determine the current view to be processed from the sequence of views to be processed, and to judge whether there is a hundred grid line in the current view to be processed;

[0031] A first determination module is used to determine the absolute coordinates and relative coordinates of the current view to be processed in the operation interface if there is no hundred grid line in the current view to be processed;

[0032] The second determination module is used to determine the coordinate information of the hundred grid lines by using the difference between the absolute coordinates and the relative coordinates;

[0033] The generation module is used to add grid lines to the current view to be processed based on the coordinate information to obtain a cross-sectional view.

[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a hundred-grid line generation device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the hundred-grid line generation method as described above.

[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the hundred-grid line generation method as described above are implemented.

[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for generating a hundred-grid line are implemented.

[0037] One or more technical solutions proposed in this application have at least the following technical effects:

[0038] In the present application, a sequence of views to be processed is obtained; wherein the sequence of views to be processed includes a plurality of views to be processed arranged in sequence; a current view to be processed is determined from the sequence of views to be processed, and it is determined whether there are hundreds grid lines in the current view to be processed; if there are no hundreds grid lines in the current view to be processed, the absolute coordinates and relative coordinates of the current view to be processed in the operation interface are determined; the coordinate information of the hundreds grid lines is determined using the difference between the absolute coordinates and the relative coordinates; and based on the coordinate information, hundreds grid lines are added to the current view to be processed to obtain a cross-sectional view.

[0039] Compared with the related art, in which the draftsman calls the hundred grid line tool multiple times to add the hundred grid lines to the view to be processed, after importing multiple views to be processed, the present embodiment can sequentially add the hundred grid lines to each view to be processed according to the arrangement order of the views to be processed in the view sequence, so that the draftsman calls the hundred grid line tool multiple times to sequentially add the hundred grid lines to the multiple views to be processed, thereby simplifying the operation process of adding the hundred grid lines and improving the processing efficiency. At the same time, before performing the operation of adding the hundred grid lines, it is also determined whether there are hundred grid lines in the view to be processed, so as to avoid repeatedly performing the operation of adding the hundred grid lines to the view to be processed that already has the hundred grid lines, thereby shortening the processing time. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0042] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the method for generating a hundred grid lines of the present application;

[0043] Figure 2 This is a schematic diagram of the module structure of the grid line generation device according to an embodiment of the present application;

[0044] Figure 3 Schematic diagram of the device structure of the hardware operating environment involved in the method for generating hundreds of grid lines in the embodiment of the present application.

[0045] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0047] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0048] The main solution of the embodiment of the present application is: obtaining a sequence of views to be processed; wherein the sequence of views to be processed includes a plurality of views to be processed arranged in sequence; determining the current view to be processed from the sequence of views to be processed, and judging whether there are hundreds grid lines in the current view to be processed; if there are no hundreds grid lines in the current view to be processed, determining the absolute coordinates and relative coordinates of the current view to be processed in the operation interface; determining the coordinate information of the hundreds grid lines by using the difference between the absolute coordinates and the relative coordinates; and adding hundreds grid lines in the current view to be processed based on the coordinate information to obtain a cross-sectional view.

[0049] In the development process of new cars, drawing engineering drawings of automobile parts is an essential step. Since each engineering drawing consists of multiple views, and each view must contain grid lines, it takes a lot of man-hours to draw the grid lines of each view one by one for each component engineering drawing.

[0050] Currently, when making grid lines for various views of an engineering drawing, draftsmen call the grid line tool multiple times, repeat the production for each view, repeatedly trim the excess parts, make direction markings, and other steps to complete the production of grid lines for all views in the engineering drawing. As a result, the process of making view grid lines is rather cumbersome.

[0051] The present application provides a solution. Compared with the related art, in which the draftsman calls the hundred-gridline tool multiple times to add the hundred-gridline operation to the view to be processed, after importing multiple views to be processed, the present embodiment can add the hundred-gridline operation to each view to be processed in sequence according to the arrangement order of the views to be processed in the view sequence, so that the draftsman calls the hundred-gridline tool multiple times and adds the hundred-gridline operation to multiple views to be processed in sequence, thereby simplifying the operation process of adding the hundred-gridline and improving the processing efficiency. At the same time, before performing the operation of adding the hundred-gridline, it is also determined whether there is a hundred-gridline in the view to be processed, which can avoid repeatedly performing the operation of adding the hundred-gridline to the view to be processed that already has the hundred-gridline, thereby shortening the processing time.

[0052] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, etc., or an electronic device capable of realizing the above functions, etc. The following takes the hundred-grid line generation device as an example to illustrate this embodiment and the following embodiments.

[0053] Based on this, the present application embodiment provides a method for generating a hundred grid lines, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for generating grid lines of the present application.

[0054] In this embodiment, the method for generating a hundred-grid line includes steps S10 to S50:

[0055] Step S10: obtaining a view sequence to be processed.

[0056] The sequence of views to be processed includes a plurality of views to be processed which are arranged in sequence.

[0057] Specifically, the user may import a plurality of views to be processed that are arranged in sequence into the hundreds grid generating device by interacting with the virtual buttons and / or virtual keyboard of the hundreds grid generating device.

[0058] Alternatively, the user may upload multiple views to be processed at one time, and the grid line generating device sorts the multiple views to be processed according to the order of time when the views to be processed are received to obtain a sequence of views to be processed.

[0059] Step S20, determining a current view to be processed from the sequence of views to be processed, and determining whether there is a hundred grid line in the current view to be processed.

[0060] It should be noted that when there are hundreds of grid lines in the current view to be processed, it can be determined that the current view to be processed has been processed to add hundreds of grid lines. At this time, the next view to be processed adjacent to the current view to be processed is taken as the current view to be processed from the sequence of views to be processed, and it is determined whether there are hundreds of grid lines in the current view to be processed. If there are hundreds of grid lines, the above operation is repeated until there are no hundreds of grid lines in the current view to be processed, that is, if there are hundreds of grid lines in the current view to be processed, a new current view to be processed is determined from the sequence of views to be processed, and the new current view to be processed is taken as the current view to be processed, and the process returns to step S20 until there are no hundreds of grid lines in the current view to be processed.

[0061] Step S30: If there is no grid line in the current view to be processed, then determine the absolute coordinates and relative coordinates of the current view to be processed in the operation interface.

[0062] Specifically, after receiving multiple views to be processed and obtaining a sequence of views to be processed, the hundreds grid generating device can process each view to be processed in sequence according to the arrangement order of the views to be processed in the sequence of views to be processed until all views to be processed have been processed with adding hundreds grid lines.

[0063] It should be noted that when transmitting the view to be processed to the hundred grid lines generating device, the view to be processed that has already been added with hundred grid lines may be mistakenly transmitted to the hundred grid lines generating device. In order to avoid repeatedly adding hundred grid lines to the view to be processed that has already been processed with adding hundred grid lines, when adding hundred grid lines to the view to be processed, it is necessary to determine whether the current view to be processed has hundred grid lines.

[0064] When there is no hundreds grid line in the current view to be processed, it is determined that the current view to be processed has not yet been processed to add hundreds grid lines. The absolute coordinates and relative coordinates of the current view to be processed in the operation interface can be determined, and the hundreds grid line can be added according to the absolute coordinates and the relative coordinates.

[0065] It is understandable that the current view to be processed may be a combined view, or a view in any direction of the combined view, such as a left view, a right view, etc. When the current view to be processed is a combined view, when adding hundreds grid lines to the current view to be processed, in order to avoid making hundreds grid lines for each view in the combined view one by one, thereby causing hundreds grid lines to overlap, further, as an optional implementation, step S20 specifically includes:

[0066] Step S201: determine whether the current view to be processed is a combined view.

[0067] Step S202: if the current view to be processed is not a combined view, then determine the absolute coordinates and relative coordinates of the current view to be processed in the operation interface.

[0068] Specifically, when the current view to be processed is not a combined view, the absolute coordinates and relative coordinates of the current view to be processed in the current operation interface are determined. When the current view to be processed is a combined view, the current view to be processed can be skipped, and the next view to be processed adjacent to the current view to be processed can be used as the current view to be processed, that is, a new current view to be processed is determined from the sequence of views to be processed, and the new current view to be processed is used as the current view to be processed. Alternatively, as another optional implementation, the steps further include after step S201:

[0069] Step S203: If the current view to be processed is a combined view, a view in any direction of the combined view is used as a target view to be processed.

[0070] Step S204, determining the target absolute coordinates and the target relative coordinates of the target view to be processed in the operation interface.

[0071] Step S205, using the difference between the target absolute coordinates and the target relative coordinates, determine the target coordinate information of the hundred grid lines.

[0072] Step S206, based on the target coordinate information, add grid lines to the target view to be processed to obtain a cross-sectional view.

[0073] Specifically, when the current view to be processed is a combined view, the view in any direction of the combined view can be used as the target view to be processed, such as the right view can be used as the target view to be processed, or the main view can be used as the target view to be processed. This embodiment does not limit this.

[0074] After determining the target view to be processed from the combined view, the target absolute coordinates and the target relative coordinates of the target view to be processed in the operation interface are determined. After obtaining the target absolute coordinates and the target relative coordinates, the difference between the target absolute coordinates and the target relative coordinates can be used as the target coordinate information of the hundred grid lines, and the hundred grid lines are added to the target view to be processed based on the target coordinate information to obtain the cross-sectional view.

[0075] In this embodiment, when determining the absolute coordinates and relative coordinates of the current view to be processed, it is first determined whether the current view to be processed is a combined view. When the current view to be processed is a combined view, the next view to be processed adjacent to the current view to be processed is used as the current view to be processed, or a view in any direction of the combined view is used as the target view to be processed, and hundreds grid lines are added to the target view to be processed, so as to avoid making hundreds grid lines for each view in the combined view one by one, thereby causing the hundreds grid lines to overlap.

[0076] Step S40, using the absolute coordinates and the difference between the relative coordinates to determine the coordinate information of the hundred grid lines.

[0077] Step S50, adding grid lines to the current view to be processed based on the coordinate information to obtain a cross-sectional view.

[0078] Specifically, after obtaining the absolute coordinates and the relative coordinates, the difference between the absolute coordinates and the relative coordinates can be used as the coordinate information of the hundred grid lines, and based on the coordinate information of the hundred grid lines, the hundred grid lines are added to the current view to be processed to obtain the cross-sectional view.

[0079] It should be noted that when adding hundreds grid lines to the current view to be processed to obtain a cross-sectional view according to the coordinate information of the hundreds grid lines, multiple hundreds grid lines may be added in the same direction, or only one hundreds grid line may be added. When there is only one hundreds grid line in the cross-sectional view, in order to more quickly understand the meaning of the cross-sectional view and make a correct interpretation or decision when necessary, further, as an optional implementation, after step S50, it also includes:

[0080] Step S51, determining whether the number of grid lines in the cross-sectional view is a preset number.

[0081] Step S52: if the number of grid lines in the cross-sectional view is the preset number, a view direction is added to the cross-sectional view.

[0082] Specifically, after obtaining the cross-sectional view, the number of hundreds grid lines in the cross-sectional view can be counted. When the number of hundreds grid lines in the cross-sectional view is 1, a view direction is added to the cross-sectional view. That is, when the number of hundreds grid lines in the cross-sectional view is a preset number, a view direction is added to the cross-sectional view.

[0083] It is understandable that when the current view to be processed is an oblique view, when adding hundreds grid lines according to the coordinate information of the hundreds grid lines to obtain a cross-sectional view, the inclination direction of the added hundreds grid lines should be consistent with the inclination direction of the cross-sectional view. When the inclination direction of the added hundreds grid lines is inconsistent with the inclination direction of the cross-sectional view, the cross-sectional view is determined to be an unqualified cross-sectional view. In order to avoid unqualified cross-sectional views, further, as an optional implementation, after step S50, it also includes:

[0084] Step S53, determining whether the cross-sectional view is an oblique view.

[0085] Step S54, if the cross-sectional view is an oblique view, determine whether the inclination direction of the grid lines in the cross-sectional view is consistent with the inclination direction of the cross-sectional view.

[0086] Step S55: if the inclination direction of the hundred-grid line in the cross-sectional view is inconsistent with the inclination direction of the cross-sectional view, a prompt message is output to indicate that the cross-sectional view is unqualified.

[0087] Specifically, after obtaining the cross-sectional view, determine whether the cross-sectional view is an oblique view. If the cross-sectional view is an oblique view, determine whether the inclination direction of the hundred grid lines in the cross-sectional view is consistent with the inclination direction of the cross-sectional view. If the two are inconsistent, output a prompt message to indicate that the cross-sectional view is unqualified.

[0088] In this embodiment, when the cross-sectional view is an oblique view, it is determined whether the inclination direction of the grid lines in the cross-sectional view is consistent with the inclination direction of the cross-sectional view. When the two are inconsistent, a prompt message is output to avoid the appearance of unqualified cross-sectional views, thereby improving the accuracy of the cross-sectional views.

[0089] In this embodiment, compared with the related art, in which the draftsman calls the hundred grid line tool multiple times to add the hundred grid lines to the view to be processed, after importing multiple views to be processed, the present embodiment can sequentially add the hundred grid lines to each view to be processed according to the arrangement order of the views to be processed in the view sequence, so that the draftsman calls the hundred grid line tool multiple times and sequentially adds the hundred grid lines to the multiple views to be processed, thereby simplifying the operation process of adding the hundred grid lines and improving the processing efficiency. At the same time, before performing the operation of adding the hundred grid lines, it is also determined whether there are hundred grid lines in the view to be processed, which can avoid repeatedly performing the operation of adding the hundred grid lines to the view to be processed that already has the hundred grid lines, thereby shortening the processing time.

[0090] In addition, after adding hundreds grid lines to all the views to be processed in the sequence of views to be processed and obtaining the cross-sectional views, the generated cross-sectional views can be displayed and checked one by one to avoid the existence of cross-sectional views without hundreds grid lines. When there are cross-sectional views without hundreds grid lines, a prompt message is output to avoid omission.

[0091] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for generating grid lines of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0092] This application also provides a hundred-grid line generation device, please refer to Figure 2 , the hundred-grid line generating device comprises:

[0093] An acquisition module, used for acquiring a sequence of views to be processed; wherein the sequence of views to be processed includes a plurality of views to be processed arranged in sequence;

[0094] A judgment module, used to determine the current view to be processed from the sequence of views to be processed, and to judge whether there is a hundred grid line in the current view to be processed;

[0095] A first determination module is used to determine the absolute coordinates and relative coordinates of the current view to be processed in the operation interface if there is no hundred grid line in the current view to be processed;

[0096] The second determination module is used to determine the coordinate information of the hundred grid lines by using the difference between the absolute coordinates and the relative coordinates;

[0097] The generation module is used to add grid lines to the current view to be processed based on the coordinate information to obtain a cross-sectional view.

[0098] The hundred-gridline generation device provided by the present application adopts the hundred-gridline generation method in the above embodiment, which can solve the technical problem that the process of making the hundred-gridline of the view is relatively cumbersome. Compared with the related art, the beneficial effects of the hundred-gridline generation device provided by the present application are the same as the beneficial effects of the hundred-gridline generation method provided by the above embodiment, and the other technical features in the hundred-gridline generation device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0099] The present application provides a hundred-grid line generation device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the hundred-grid line generation method in the above-mentioned embodiment one.

[0100] Reference below Figure 3, which shows a schematic diagram of a structure of a hundred-grid line generation device suitable for implementing the embodiment of the present application. The hundred-grid line generation device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The grid line generation device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0101] like Figure 3 As shown, the grid line generating device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the grid line generating device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the hundred-grid line generation device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a hundred-grid line generation device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0102] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0103] The hundred-gridline generation device provided by the present application adopts the hundred-gridline generation method in the above embodiment, which can solve the technical problem that the process of making the hundred-gridline of the view is relatively cumbersome. Compared with the related art, the beneficial effects of the hundred-gridline generation device provided by the present application are the same as the beneficial effects of the hundred-gridline generation method provided by the above embodiment, and the other technical features in the hundred-gridline generation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0104] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0105] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0106] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the grid line generation method in the above-mentioned embodiment.

[0107] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0108] The computer-readable storage medium may be included in the hundreds-grid generating device; or may exist independently without being assembled into the hundreds-grid generating device.

[0109] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the hundred-gridline generating device, the hundred-gridline generating device: obtains a sequence of views to be processed; wherein the sequence of views to be processed includes a plurality of views to be processed arranged in sequence; determines the current view to be processed from the sequence of views to be processed, and determines whether there are hundred-gridlines in the current view to be processed; if there are no hundred-gridlines in the current view to be processed, determines the absolute coordinates and relative coordinates of the current view to be processed in the operation interface; determines the coordinate information of the hundred-gridlines by using the difference between the absolute coordinates and the relative coordinates; and adds hundred-gridlines in the current view to be processed based on the coordinate information to obtain a cross-sectional view.

[0110] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0111] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0112] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0113] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for generating the hundred-grid lines, and can solve the technical problem that the process of making the hundred-grid lines of a view is relatively cumbersome. Compared with the related art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the method for generating the hundred-grid lines provided in the above-mentioned embodiment, and will not be repeated here.

[0114] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned grid line generation method when executed by a processor.

[0115] The computer program product provided by this application can solve the technical problem that the process of making view grid lines is relatively complicated. Compared with the related art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the grid line generation method provided by the above embodiment, which will not be repeated here.

[0116] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for generating a hundred grid lines, characterized in that: The method comprises: Acquire a sequence of views to be processed; wherein the sequence of views to be processed includes a plurality of views to be processed arranged in sequence; Determine a current view to be processed from the sequence of views to be processed, and determine whether there is a hundred grid line in the current view to be processed; If there is no hundred grid in the current view to be processed, determining the absolute coordinates and relative coordinates of the current view to be processed in the operation interface; Determine the coordinate information of the hundred-grid line by using the difference between the absolute coordinate and the relative coordinate; The hundred grid lines are added to the current view to be processed based on the coordinate information to obtain a cross-sectional view.

2. The method according to claim 1, characterized in that The determining of the absolute coordinates and the relative coordinates of the current view to be processed in the operation interface includes: Determine whether the current view to be processed is a combined view; If the current view to be processed is not a combined view, the absolute coordinates and relative coordinates of the current view to be processed in the operation interface are determined.

3. The method according to claim 2, characterized in that After determining whether the current view to be processed is a combined view, the method further includes: If the current view to be processed is a combined view, taking a view in any direction of the combined view as a target view to be processed; Determine the target absolute coordinates and the target relative coordinates of the target view to be processed in the operation interface; Determine the target coordinate information of the hundred grid lines by using the difference between the target absolute coordinates and the target relative coordinates; Based on the target coordinate information, the hundred grid lines are added to the target view to be processed to obtain a cross-sectional view.

4. The method according to claim 1, characterized in that After the step of adding the hundred grid lines to the current view to be processed based on the coordinate information to obtain a cross-sectional view, the following step further comprises: Determining whether the number of grid lines in the cross-sectional view is a preset number; If the number of grid lines in the cross-sectional view is a preset number, a view direction is added to the cross-sectional view.

5. The method according to claim 1, characterized in that After the step of adding the hundred grid lines to the current view to be processed based on the coordinate information to obtain a cross-sectional view, the following step further comprises: Determining whether the cross-sectional view is an oblique view; If the cross-sectional view is an oblique view, determining whether the inclination direction of the hundred-grid lines in the cross-sectional view is consistent with the inclination direction of the cross-sectional view; If the inclination direction of the hundred-grid line in the cross-sectional view is inconsistent with the inclination direction of the cross-sectional view, a prompt message is output to prompt that the cross-sectional view is unqualified.

6. The method according to claim 1, characterized in that After the step of determining whether there is a hundred grid line in the current view to be processed, the method further includes: If there is a hundred grid line in the current view to be processed, a new current view to be processed is determined from the sequence of views to be processed, the new current view to be processed is used as the current view to be processed, and the process returns to executing the determination of whether there is a hundred grid line in the current view to be processed until there is no hundred grid line in the current view to be processed.

7. A hundred-grid line generating device, characterized in that: The device comprises: An acquisition module, configured to acquire a sequence of views to be processed; wherein the sequence of views to be processed includes a plurality of views to be processed arranged in sequence; A judgment module, used to determine a current view to be processed from the sequence of views to be processed, and to judge whether there is a hundred grid line in the current view to be processed; A first determination module, configured to determine the absolute coordinates and relative coordinates of the current view to be processed in the operation interface if there is no hundred grid line in the current view to be processed; A second determination module is used to determine the coordinate information of the hundred-grid line by using the difference between the absolute coordinate and the relative coordinate; A generating module is used to add the hundred grid lines to the current view to be processed based on the coordinate information to obtain a cross-sectional view.

8. A grid line generating device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for generating a hundred-grid line according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for generating a hundred-grid line according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method for generating a hundred-grid line according to any one of claims 1 to 6 are implemented.