Disclosure of Invention
The invention aims to provide a drawing identification, three-dimensional modeling and display system with strong universality and high data processing efficiency;
the invention also aims to provide a method for identifying, modeling and displaying the drawing, which has strong universality and high data processing efficiency;
it is yet another object of the present invention to provide a computer readable storage medium for drawing identification, three-dimensional modeling and presentation that is highly versatile and data processing efficient.
The invention also aims to provide the computer equipment for identifying, three-dimensional modeling and displaying the drawing, which has strong universality and high data processing efficiency.
In order to achieve the aim, the drawing identification and three-dimensional modeling system provided by the invention comprises a die matching rule device, a die matching rule device and a die matching rule device, wherein the die matching rule device is used for interactively inputting and storing die matching data; the deepening design device is used for deepening the two-dimensional drawing and then identifying components in the two-dimensional drawing; a building model generating and displaying device for displaying the three-dimensional building model by stretching the two-dimensional data by the height value and flattening the special two-dimensional data; the mould matching rule device transmits the mould matching data to the building model generating and displaying device; the deepening design device transmits the components to the building model generating and displaying device; the deepened design device and the building model generation and display device transmit two-dimensional data through an intermediate data file, modify components of the building model at the same time or respectively on the basis of the intermediate data file, and keep consistent and synchronous on the basis of the intermediate data file.
The drawing identification and three-dimensional modeling system provided by the invention also comprises a deepening result interaction device which is used for interacting the three-dimensional model displayed by the building model generation and display device in a two-dimensional mode to add the heterogeneous piece or modify the component and keeping consistency and synchronization with the building model.
According to the drawing identification and three-dimensional modeling system provided by the invention, the identification device determines the names and positions of the layers, obtains the content of each line in each layer, and stores each line into the database one by one.
In the drawing identification and three-dimensional modeling system provided by the invention, the identification device traverses a database and calculates a board contour line, and the calculation method comprises the following steps: the method comprises the steps of reading wall contour end values one by one, traversing coincident end values according to the nearest parallel and vertical lines to generate a wall contour line, performing coincidence check according to a region determined by the wall contour line and a related beam contour line region generated at the same time, automatically correcting the beam contour line and displaying prompt manual or artificial intelligence check if no partial coincident region exists, wherein the beam contour line is corrected to be at least partially coincident by taking the wall contour line region as the basis. And traversing all wall beam lines, generating coordinates of all plate contour lines and writing the coordinates into a database.
The drawing identification and three-dimensional modeling system provided by the invention is characterized in that: the building model and the generating device perform three-dimensional stretching on the plate contour lines which are stored in the database one by one according to the height of the related lines, and after the three-dimensional stretching, the data are directly stored in an intermediate form in a JSON format instead of being stored in the database in a three-dimensional data mode.
The drawing identification and three-dimensional modeling system further comprises a template component sorting subsystem or automatic production and manufacturing, wherein the template sorting subsystem comprises a feeding area, a large piece conveying line, a small piece conveying line, a code scanning unit, a sorting manipulator, a camera positioning unit, a cache transition unit, a stacking manipulator, a plurality of operation areas and a logistics channel.
The drawing identification and three-dimensional modeling method provided by the invention comprises the following steps: inputting and storing matched mould data; deepening the two-dimensional drawing and identifying components in the two-dimensional drawing; stretching the two-dimensional data by the height value and flattening the special two-dimensional data to display a three-dimensional building model; transmitting the matched mould data; conveying the component; the two-dimensional data is transferred via an intermediate data file and the components of the building model are modified between the at least two devices simultaneously or separately based on the intermediate data file and the consistency and synchronization between the at least two devices is maintained based on the intermediate data file.
The drawing identification and three-dimensional modeling method provided by the invention further comprises the steps of interacting the three-dimensional model in a two-dimensional mode to add the heterogeneous piece or modify the component, keeping consistency and synchronization with the building model, determining the name and the position of the layers, obtaining the content of each line in each layer, and storing each line in the database one by one.
The drawing identification and three-dimensional modeling method provided by the invention also comprises traversing the database and calculating the board outline, and the calculating method comprises the following steps: the method comprises the steps of reading wall contour end values one by one, traversing coincident end values according to the nearest parallel and vertical lines to generate a wall contour line, performing coincidence check according to a region determined by the wall contour line and a related beam contour line region generated at the same time, automatically correcting the beam contour line and displaying prompt manual or artificial intelligence check if no partial coincident region exists, wherein the beam contour line is corrected to be at least partially coincident by taking the wall contour line region as the basis. And traversing all wall beam lines, generating coordinates of all plate contour lines and writing the coordinates into a database.
The drawing identification and three-dimensional modeling method provided by the invention is characterized in that: and the method also comprises the steps of performing three-dimensional stretching on the plate profile line one by one stored in the database according to the height of the related line, and directly storing the data in an intermediate form in a JSON format instead of storing the three-dimensional data in the database after the three-dimensional stretching.
The present invention provides a computer-readable storage medium having computer instructions stored thereon, characterized in that: which when executed by a processor implement the steps of the drawing recognition and three-dimensional modeling method according to the invention.
The computer equipment provided by the invention comprises a memory, a processor and computer instructions which are stored on the memory and can run on the processor, and the steps of the drawing identification and three-dimensional modeling method according to the invention are realized when the processor executes the instructions.
Because the devices are arranged, and the data flow and the control flow among the devices are transmitted and controlled according to the related method steps of the invention, the information processing efficiency and the accuracy can be greatly improved, thereby partially or integrally improving the responsiveness and the three-dimensional data display and control capability of the system and the method. The more detailed data algorithm and the data manipulation mode can improve the response performance and the processing performance of the three-dimensional display of the aluminum template. The arrangement and the processing process of the related sorting system can improve the sorting and recycling efficiency of the aluminum die plates. The technical features of the invention, whether on a partial or combined basis, have completely different and superior recognition, three-dimensional presentation and sorting capabilities than the prior art.
The following detailed description is provided in conjunction with the embodiments and with reference to the accompanying drawings to provide a further understanding of the objects, features and advantages of the present invention.
Detailed Description
The technical solution is described in detail by the following examples.
Referring to fig. 1, the system and method for drawing identification and three-dimensional modeling of the present invention includes: the device comprises a die matching rule device, a deepening design device, a building model generation and display device, a deepening result interaction device, an aluminum template matching device, an assembly drawing generation device, a production drawing generation device and a production list generation device. In which the aforementioned means may be directly or mixedly constructed by software or hardware circuits as long as they satisfy the procedures and manners of data or information processing of the present invention. And the mould matching rule device is used for interactively inputting and storing mould matching general rule data, wall beam column data, back ridge data, stair data, bay window cantilever plate data, suspended mould settlement data and the like. The deepening design device is used for storing construction drawings, drawing, deepening, layer processing and displaying help information, wherein the drawing comprises the steps of providing basic drawing functions and drawing examples and providing capturing functions of end points, orthogonality and the like. The deepening comprises setting a drawing working area, drawing an original point, setting layer height, corresponding image layers, default attributes, patch attributes, tongue-and-groove attributes, wall attributes, anti-bank attributes and one-key identification, and generating a building model. The image layer is hidden, displayed completely and hidden completely. Wherein the help function is used to provide online help information. The building model generating and displaying device is used for interacting three-dimensional building models and can perform full-angle turning, displaying, modifying and the like on any generated three-dimensional building module, the modifying directly performs data interaction with the deepening design device, namely, the visualized modifying in the three-dimensional building model generating and displaying device can directly act on the deepening design device, and vice versa. The building model generating and displaying device comprises a classifying device, an editing device and an attribute device, wherein the classifying device comprises a wall, a beam, a lower hanging beam, a plate, a stair, a bay window, a reverse ridge, a convex rabbet, a concave rabbet, channel steel, a prefabricated part, a patch/water drop and the like. The editing device comprises the steps of setting and changing size, increasing and decreasing length, drawing a patch, dripping water lines, scaling on one side, measuring, deleting, moving, copying, changing direction and the like. The attribute device comprises a component name, a component type, a top elevation and a bottom elevation. The deepening result interaction device is used for simplifying building model modification and interacting with the building model generation and display device, namely, visual modification in the three-dimensional building model generation and display device can directly act on the deepening result interaction device, and vice versa. The system and method for drawing identification and three-dimensional modeling of the present invention summarize and develop the results based on a non-limited number of available prototypes, and by organically arranging the apparatus according to the present invention, and transmitting and processing data and information streams and interacting and controlling related devices in the aforementioned apparatus in the manner of the present invention, it is possible to make the system construction and implementation the simplest, reduce the error rate of information manipulation, accurately achieve the accuracy of three-dimensional presentation and interaction, and make the system consume few resources, the technical effect of fast running on a computer, which is not assumed by the inventor or applicant, but rather, the system construction and method steps that have been successfully summarized over many years with the inventor or applicant's work of pioneering.
The aluminum template matching device automatically matches the aluminum template according to the three-dimensional building model data generated by the three-dimensional building model generation and display device, and comprises a classification device, an editing device, an inspection device and an attribute device, wherein the classification device is used for respectively or completely displaying a wall, a beam, a lower hanging beam, a plate, a stair, a bay window, an inverted sill, a reinforcing member, other structures and the like, and acts on the display device of the aluminum template matching device to interactively match the aluminum template in a three-dimensional visualization mode. Wherein, sorter can also further refine mutual interior wallboard, side fascia, connect high board, K board, KK board, P board, floor roof, apron, bottom plate, curb plate, stair bottom plate, backup pad, bay window backup pad, floor middle keel, aircraft panel, interior wall C groove, exterior wall C groove, corner C groove, apex angle C groove, readily removable C groove, end seal C groove, two readily removable C grooves, reentrant corner C groove, angle aluminium, corner angle aluminium, R base angle, dog tooth, mark time, dorsal bar, connecting piece, lower floor K board, pull rod, pulling-on piece, support column, water drip, tongue-and-groove, paster, other etc.. The editing device comprises the steps of setting modification types, modifying the length, the width and the height, modifying a room C groove, splitting a wall column joint height, remarking, adding a plate, adding a C groove, splitting, adding angle aluminum, scribing, cutting, deleting, moving, copying, mirroring, combining and the like. The inspection device includes a collision inspection and a missing inspection. The attribute setting device comprises setting template type, structure, template code, code remark, assembly module, partition name and the like. The assembly drawing generation device comprises a setting subarea, a downloading subarea and a three-dimensional display subarea. Wherein the assembly drawing generation means comprises the function of presenting the structures separately according to the aforementioned categories. The production drawing generation device comprises a production drawing downloading and forming basic templates according to the categories. The production list generating device forms standardized computer files, such as lists in the form of EXCEL tables or files in an internal format for the subsequent template sorting system of the present invention, in a standard, auxiliary or partitioned manner or in a full manner or in other types determined according to actual needs.
The drawing identification and three-dimensional modeling system and method of the present invention may further include the aluminum template automatic sorting system and method of the present invention mentioned below.
Referring to fig. 2, the system and method for drawing identification and three-dimensional modeling of the present invention, wherein the identification means operates sequentially as follows: determining the name and the position of the layer, acquiring the content of each line in each layer, and storing each line into a database one by one, wherein in the invention, the mysql database or the redis database is preferred, and the data storage of the invention can also be carried out in a stream file form or other data cheap storage forms. Traversing the database, writing a calculation board contour line (a closed area formed by enclosing wall contour lines and beam contour lines) into the database, wherein the calculation method comprises the following steps: the method comprises the steps of reading wall contour end values one by one, traversing coincident end values according to the nearest parallel and vertical lines to generate a wall contour line, performing coincidence check according to a region determined by the wall contour line and a related beam contour line region generated at the same time, automatically correcting the beam contour line and displaying prompt manual or artificial intelligence check if no partial coincident region exists, wherein the beam contour line is corrected to be at least partially coincident by taking the wall contour line region as the basis. And traversing all wall beam lines, generating coordinates of all plate contour lines and writing the coordinates into a database.
The identification device according to the invention can also be implemented by means of non-algorithmically characterized artificial intelligence program segment codes, such as artificial intelligence learning of the relevant components for automatic adaptation in subsequent identification, or by means of automatic identification of lines or contour lines or other components, such as convolutional neural networks, or by means of evolutionary code identification segments generated on the basis of automatic evolutionary iteration of the identification program. These artificial intelligence code segments can be added or substituted directly in the systems or methods or in other aspects relevant to the present invention.
According to fig. 3, the drawing identification and three-dimensional modeling system and method of the present invention, wherein the building model and the generating device perform three-dimensional stretching of the board-by-board contour lines (according to the point set) stored in the database according to the heights of the relevant lines, the wall line is stretched according to the height value (top elevation) of the wall line, if the wall line corresponds to the beam line (bottom elevation), the height of the wall line is deducted, and the beam line is stretched downward according to the height of the beam line. In addition to the drawn length, the invention has the following special treatment steps: the method comprises the steps of arranging an automatic window turning lower wall according to a die matching rule, arranging the automatic window turning lower wall according to the JSEG rule, arranging a reverse ridge (preventing water from flowing into a room), arranging a judgment step of judging whether the length value of the reverse ridge overtop elevation is converted into the window lower wall according to the project requirement in the die matching rule, arranging the automatic window turning lower wall according to the die matching rule, additionally, carrying out addition and subtraction on related height values of data by referring to the method according to the patch (mainly a rear wall building part) and a rabbet (mainly a door and window part) after three-dimensional stretching, directly storing the data in a preferred ON format, rather than being stored in a database as three-dimensional data. The technical means can greatly improve the display efficiency and the storage efficiency, facilitate the presentation and the direct modification of three-dimensional data, improve the efficiency of updating two-dimensional storage data and reduce the data storage capacity, and the technical effects brought by the technical means are not tried or carried out by related technicians in the prior art, and are put forward and realized for the first time.
The system and the method for realizing the three-dimensional mode of the invention have the advantages that the preferable software tool can be a visual display system based on WebGL, WebGL (full-write Web Graphics Library) is a graphic display development drawing protocol, and the system and the method can be realized on the software tool and can specifically arrange and arrange the three-dimensional mode standard and the algorithm of the invention, so that JavaScript and OpenGL ES are combined together, three-dimensional accelerated rendering is provided for HTML5Canvas, and the technical effects of 3D scenes and models can be more smoothly displayed in a browser by means of a system display card. Redis is a fully open source free, BSD compliant, high performance key-value database. Or Mysql database, which is also a small and medium-sized open-source database, may also be used to store data relevant to the present invention. REmote DIctionary Server (Redis) is a key-value storage system written by Salvator Sanfilippo. JSON (JavaScript Object Notification) is a lightweight data exchange format. The use of these tools of the present invention is preferred only for the implementation of the systems and methods of the present invention, and particularly the data processing procedures and modes of the present invention, and is not disclosed for the purpose of limiting the invention.
Referring to fig. 4 and 5, the system and method for drawing identification and three-dimensional modeling and the related matching method and system of the present invention, wherein the essential steps are emphasized, comprising the following steps: judging whether a three-dimensional original model exists or not, if not, returning to the method for generating the building model, if the three-dimensional original model exists, loading a mold matching rule, emptying the data of the template in the cache, performing three-dimensional deduction, then sequentially performing mold matching of stairs, walls, inverted sills, top plates, bay windows, beams, opposite pulling, dorsal ridges and K plates, then storing the data to a database which is preferably redis or mysql database, and then generating a json format which is preferably based on the json format until the processing process is normally finished or abnormally quitting from each step. The three-dimensional deduction method comprises the following steps: and traversing all the structures, carrying out Boolean subtraction operation on the current structure and the associated structure, calculating the sticky surface of the current structure, and calculating the association relation between each surface and the associated structure until the three-dimensional deduction is finished. The wall body deduction method comprises the following steps: the walls are compared to other associated walls, and if the elevations are the same and the two walls intersect, the resulting point set information of one of the walls is modified to merged point set information, and the state of the other wall is updated. And defining the wall in the circulation state as a current wall, and defining the wall in the circulation association wall set as an association wall. The method specifically comprises the following steps: merging walls; acquiring all walls; beginning circulating the wall; judging the current deduction state; if deducted, go to the next wall; if not, recursively searching the walls with the same elevation and putting the query result into a set; cycling the set of associated walls; judging whether the current wall is the same as the associated wall id or not; if the two walls are the same, representing the same wall and going to the next related wall; if the current wall point sets are different, performing intersection operation on the current wall point sets and modifying the associated wall sets; until all the associated wall sets are subjected to wall point set intersection operation; the three-dimensional subtraction is completed. And then according to the cycle of the three-dimensional subtracted associated wall set, carrying out die matching according to the mode recorded in the invention.
Referring to fig. 6, the drawing identification and three-dimensional modeling system and method of the present invention and the related model matching method and system are shown, wherein one method for matching the wall is: and calculating a structure opposite pulling point 3, wherein the opposite pulling point 3 is the intersection point of the outer wall lines of the vertically intersected wall bodies 2. By dividing the outer wall line by the opposite pulling points, as in the present embodiment, the left line segment is divided into three; and (3) preprocessing by taking the direction of the c groove 4 as a board distribution direction, and after the preprocessing is finished: and arranging the aluminum templates according to the processed line segment, the template matching rule, the template matching range (a k plate area, a high plate area, a C groove area, a wallboard area and an angle aluminum area) and the template distribution direction, wherein the template distribution direction is that the inner wall and the outer wall distribute the template from a starting point, the template is thrown at the C groove position, a non-50 modulus plate (in the embodiment, the 50 modulus plate is used as a standard plate) is thrown towards the C groove direction, the corresponding C groove position is found at the same time, then the throwing plate position is deducted, the template matching is continued along the original direction, and the template matching is carried out after the throwing plate position is deducted along the vertical direction of the C groove by the other part of the template matching. The mold matching system and the mold matching method can greatly improve the operation efficiency and the accuracy and the precision of the mold matching of the wall body by combining the intersected wall bodies in advance and then performing mold matching operation.
The present invention is intended to further explain details of the invention by way of example in the form of a wall fitting in which data volume processing is relatively large, so as to understand the invention, and the disclosure of such exemplary embodiments does not constitute any limitation on the invention or any other explanation of the invention that is not prejudicial to the invention. Other methods or modes of form matching of components, such as those other than wall form matching, related to the present invention may be modified according to the teaching of wall form matching or may be performed by other methods or modes of continuous evolution, which may improve the effect of the present invention, but cannot constitute any doubt or negative to the effect of the present invention. According to the present invention, whenever the method or method of the present invention is applied to the matching of a wall only, the efficiency and effect of the matching of the wall only is greatly improved, thereby improving the efficiency and effect of the overall system or method, even if any other steps or methods of the present invention are assumed not to be processed automatically on a computer basis, e.g., other steps or methods are performed only manually.
Any of the steps or methods or approaches according to the present invention may be independently configured or constructed and such independent components may individually constitute improvements or enhancements to the independent effectiveness of the overall system or method. The system and the method disclosed by the invention can be adopted in the construction and production and manufacturing of the aluminum template from the whole or partial implementation, can achieve very good effects on improving the visual interactive design efficiency, the production efficiency, the construction efficiency and the recovery efficiency of the aluminum template, and have wide practicability. Moreover, the overall system or method of the invention, or any portion thereof, is developed based upon a myriad of testing and rapid prototyping processes over a vast number of iterations, wherein a substantial amount of labor and money is devoted to the fundamental architecture, principles and associated technical efforts and solutions of the present invention, as represented by the detailed description.
Referring to fig. 7, the collision check and miss check method and system of the present invention perform collision check by whether there is an intersection between the template and the template; firstly, detecting according to a model bounding box, and if the bounding box does not collide, the model does not collide; and if the bounding box collides, performing collision detection on the actual three-dimensional model. The bounding box collision check method is as follows: calculating bounding box data of the two models under examination, bounding box collision if xMin1< xMax2& & xMax1> xMin2& & yMin1< yMax2& & yMax1> yMin2& & zMin1< zMax2& & zMax1> zMin 2; otherwise, no collision occurs. The x, y and z are three data of two bounding boxes in three directions of the three-dimensional direction, Min is the minimum value, Max is the maximum value, 1 is a first bounding box, and 2 is a second bounding box. And continuing to perform collision check on the triangular mesh according to the collision result of the bounding box, firstly performing space division on the triangular mesh, and then judging whether the triangular mesh is actually collided according to whether the triangles in the space are intersected or not. And (4) blank leakage inspection, namely, the blank leakage inspection is carried out between the aluminum template surface and the original template surface, the aluminum template surfaces are traversed one by one, a certain tolerance point distance is reduced, and then whether non-corresponding points exist in the original template surface or not is traversed.
The system and the method comprise a loading area 21, a large workpiece conveying line 23, a small workpiece conveying line 25, a code scanning unit 28, a sorting manipulator, a camera positioning unit 27, a buffer transition unit, a stacking manipulator, a plurality of working areas one 29, two 30, three 31, four 22 and a logistics channel 26, wherein the loading area is arranged above the system, the large workpiece conveying line is arranged from top to bottom, the small workpiece conveying line is arranged horizontally, and the components to be sorted are conveyed from right to left, the code scanning unit is arranged above the large workpiece conveying line and aligned to a horizontal plane at an inclination angle of 50 degrees, the camera positioning unit is arranged above the large and small conveying line and is perpendicular to the large and small conveying line, the camera positioning unit can move up and down along the vertical position, the plurality of working areas and logistics channels are arranged according to the buffer memory templates and buffer storage operation of the small workpieces which can adapt to the aluminum templates and the buffer storage work of the sorting operation of the sorting machines to the large sorting machines and the small workpieces to the buffer storage area of the buffer storage and the buffer storage area, the sorting machines, the buffer storage area, the buffer storage of the workpiece, the robot, the buffer storage of the robot, the workpiece, the buffer storage of the workpiece, the robot, the buffer storage, the robot, the buffer storage area, the robot, the buffer storage area, the buffer storage of the robot, the buffer storage, the robot, the sorting system, the robot.
Referring to fig. 9, a schematic diagram of the system configuration and three-dimensional representation of one possible embodiment of the present invention is shown, in which the data and information flow manipulation manner of the two-dimensional data in the three-dimensional mode representation scenario can be clearly seen, which greatly facilitates the fluency and ease of operation of the system and method of the present invention.
The method steps involved in the invention may be performed in sequence and with optimum results, although they may be performed in any order modified in accordance with the teachings of the invention. .
The above-mentioned embodiments are merely illustrative of the preferred embodiments of the present invention, and do not limit the scope of the present invention, and various modifications and improvements of the technical solution of the present invention by those skilled in the art should fall within the protection scope defined by the claims of the present invention without departing from the spirit of the present invention.