Intelligent interactive 3D visualization mapping system
Through the intelligent interactive 3D visualization drawing system, the Unity3D platform is used to realize the all-round display of 3D engineering drawings, which solves the problem that 2D design drawings cannot fully display BIM model information and engineering details, and improves design efficiency and construction guidance.
Patent Information
- Application Number
- CN202111415930.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-25
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-11-25
Smart Images

Figure CN113986445B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of engineering intelligent construction design, and specifically relates to an intelligent interactive three-dimensional visualization mapping system. Background Art
[0002] With the development and popularization of BIM and engineering information technology in the hydropower industry, most hydropower engineering design units have adopted various 3D visualization design software for engineering design, and formed their own 3D design methods, accumulating and developing a large number of engineering models, data and related plug-in functions. At present, most of the above design results are applied to the establishment of a 3D visualization engineering management platform, mainly for the overall management and detail grasp of the project by the project operator. However, in the final design results, most engineering and design units still use the traditional 2D drawing method, that is, the engineering detail drawing referenced by the construction party at the project site is still a plane drawing. Although under the current technical conditions, a 3D axonometric view can be attached to the drawing to display the results of the 3D design, this method goes against the original intention of 3D design, because the designer has actually completed the model information of various details, angles and various equipment of the project, but it cannot be fully displayed due to the limitations of the drawing itself; in addition, this method of drawing is inefficient.
[0003] The development of new technologies such as BIM, VR, AR and 3D visualization in the field of engineering construction is subverting the traditional methods of hydropower engineering construction. Some design and construction habits that have been used for many years have gradually become constraints on the development of new technologies. Hydropower engineering construction urgently needs a method and platform to free engineering drawings from the limitations of "paper", program and software engineering drawings, so that a large amount of engineering 3D design information can be clearly expressed, which is convenient for users to fully understand the drawings and improve the efficiency of 3D design drawing. Summary of the invention
[0004] In view of the defects of the prior art, the present invention provides an intelligent interactive three-dimensional visualization mapping system, which can effectively solve the above problems.
[0005] The technical solution adopted by the present invention is as follows:
[0006] The present invention provides an intelligent interactive three-dimensional visualization mapping system, comprising:
[0007] The engineering model visualization module is used to visualize the 3D engineering models of various disciplines in the engineering detail scene;
[0008] An interactive information module, which is used to display multiple categories of unlimited amount of data information in a detailed engineering scene by clicking various information buttons and dragging sliders on the UI interface after the three-dimensional engineering model is visualized;
[0009] The results deepening module is used to add a series of practical functions to the 3D visualization engineering drawing application, so that the key engineering models of each engineering detail scene are clearly and intuitively expressed, and the user is given the function of adjusting according to the view requirements;
[0010] The efficient drawing module is used to make installation packages of professional 3D engineering drawing template files. When drawing, the installation packages of 3D engineering drawing template files are imported into Unity and the 3D engineering drawing template files are used directly to achieve the functional goal of efficient drawing of 3D design.
[0011] The application testing and release module is used to test the designed 3D engineering drawing application before packaging, and to package and release it after the test is completed.
[0012] Preferably, the engineering model visualization module includes:
[0013] The scene reading submodule is used to read and jump to various 3D visualization engineering detail scenes;
[0014] A model display submodule is used to display the required three-dimensional engineering models of various disciplines in the engineering detail scene;
[0015] A model manipulation submodule, for manipulating the three-dimensional engineering model displayed by the model display submodule, including: rotating the model, scaling the model, and dragging the model, so as to view the three-dimensional engineering model in all directions and at all angles in the three-dimensional visualization engineering drawing scene;
[0016] The model resetting submodule is used to reset the three-dimensional engineering model manipulated by the model manipulation submodule to an initial position of the three-dimensional visualization engineering drawing scene.
[0017] Preferably, the interactive information module includes:
[0018] An interactive UI interface, used to display a UI interface that can interact with the user after the three-dimensional engineering model is visualized; the UI interface has an information button and a drag slider; wherein the information button includes a plurality of buttons for adding engineering detail elements; the drag slider is used to adjust the display position of the engineering detail elements added by the information button;
[0019] The basic information query submodule is used to display or hide the information menu when the basic information query UI button is clicked; when the corresponding command of the information menu is triggered, basic information related to the engineering detail drawing is displayed, including: application operation instructions, function introduction, basic engineering information, building information, and equipment information related to the detailed drawing;
[0020] The detailed drawing information consultation submodule is used to display or hide the detailed drawing information consultation menu when the detailed drawing information consultation UI button is clicked; when the corresponding command of the detailed drawing information consultation menu is triggered, the key information of each detailed drawing scene is displayed, including: the detailed drawing description of each detailed drawing, the detailed drawing legend, the detailed drawing material table, the atlas of the process and method involved in the current detailed drawing, the equipment manual and installation guide, the guidance video engineering data, so as to realize the unlimited expansion of the detailed drawing information content;
[0021] The dimension and annotation submodule is used to display or hide the corresponding dimensions and annotations on the engineering detail drawing when the dimension and annotation UI button is clicked; or, only display the dimension annotations of the current focus to avoid crowding of the view space.
[0022] Preferably, the achievement deepening module includes:
[0023] The highlight submodule is used to select the key engineering model of the engineering detail scene and highlight the model contour of the key engineering model; wherein the highlighted model contour is not blocked by the building structure, so that the user can observe it conveniently; the brightness of the highlighted model contour is adjustable;
[0024] The model transparency adjustment submodule is used to adjust the transparency of the 3D engineering model in the engineering detail scene. Specifically, drag the transparency slider in the lower left corner of the main view to adjust the transparency of the 3D engineering model in the engineering detail scene, so as to facilitate the observation of the sub-model structure in the 3D engineering model.
[0025] The wireframe mode view submodule is used to adjust the engineering detail scene to the wireframe view mode. In the wireframe view mode, the 3D engineering model is displayed in lines, which more clearly reflects the spatial relationship between the 3D engineering model and its various sub-models.
[0026] The first-person roaming submodule is used to roam in the engineering detail scene from a first-person perspective, observe the spatial relationship of each 3D engineering model and the design details of each professional engineering detail from a close perspective, obtain clear and accurate engineering detail information, and clarify the construction plan; and in the first-person roaming mode, the 3D engineering model highlight display, 3D engineering model transparency adjustment and design information display functions can all be used.
[0027] Preferably, the efficient mapping module includes:
[0028] UI prefabricated files are used to store UI resources used by 3D engineering drawing applications in various disciplines and scenarios as prefabricated 3D engineering drawing template file installation packages, which can then be directly installed and used in engineering detail drawing scenarios;
[0029] Function prefabricated files are used to store script files, various functional modules and related functional parameter settings used in various disciplines and scenarios of 3D engineering drawing applications as prefabricated template file installation packages, and then directly install and use them in engineering detail drawing scenarios;
[0030] The scene prefabricated file is used to store the configuration files of each discipline and scene of the 3D engineering drawing application, the hierarchical relationship settings between scenes, and the initial resource layout within the scene as a prefabricated file installation package, and then directly install and use it in the engineering detail drawing scene.
[0031] Preferably, the application testing and publishing module is specifically used for:
[0032] Conduct pre-packaging tests on the designed 3D engineering drawing application, modify any BUG issues, and adjust the script parameters to make the 3D engineering drawing application more convenient to operate and in line with the usage habits of on-site personnel;
[0033] After testing is completed, the 3D engineering drawing application is packaged and released.
[0034] The intelligent interactive three-dimensional visualization mapping system provided by the present invention has the following advantages:
[0035] The present invention solves the problems that the current two-dimensional design drawings cannot fully display BIM model information and project information, cannot display all project details, the efficiency of three-dimensional engineering drawings is low, and the traditional 2D engineering detailed drawings have high reading thresholds, poor construction guidance, inconvenience in carrying, and high printing costs. The present invention aims to reduce the difficulty for construction personnel to understand the design intent, increase the information content of engineering detailed drawings, and improve the quality of engineering design on the basis of improving design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a schematic diagram of the structure of the intelligent interactive three-dimensional visualization mapping system provided by the present invention. DETAILED DESCRIPTION
[0037] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0038] The content of the present invention is to invent an intelligent interactive 3D visualization mapping system based on the Unity 3D software development platform and engineering design software platforms such as Autodesk, on the basis of fully learning and inheriting the traditional engineering drawing expression methods, information content, view rules, legend descriptions, identification specifications, etc., combined with the characteristics and advantages of the current hydropower engineering 3D visualization design method, so as to solve the current two-dimensional design drawings cannot fully display BIM model information and engineering information, cannot display all engineering details, the efficiency of 3D engineering drawing output is low, and the traditional 2D engineering detailed drawings have high thresholds for reading, poor construction guidance, inconvenience in carrying, and high printing costs. The goal is to reduce the difficulty for construction personnel to understand the design intent, increase the information content of engineering detailed drawings, and improve the quality of engineering design on the basis of improving design efficiency.
[0039] The present invention redefines the way to carry hydropower engineering drawings, and uses the Unity3D software development platform to customize software applications that meet their own professional requirements and drawing needs for various types of engineering details such as hydraulic engineering, electromechanical, and architecture of hydropower engineering. This application is a three-dimensional visualization engineering drawing. The three-dimensional visualization engineering drawing can reflect all necessary elements of traditional two-dimensional drawings such as: plan view, section view, axonometric view, drawing name, drawing number, drawing frame, signature column, description, logo, size, material table, etc. At the same time, the characteristics of the three-dimensional visualization model and the functions of the Unity platform are used for programming and development, and a series of practical functions such as model rotation, model scaling, model dragging, logo display, BIM information query, material search, equipment or structure highlighting, and adjustment of building structure transparency are added to the three-dimensional visualization engineering drawing. Finally, it is installed on PC or mobile platforms such as tablets and mobile phones in the form of an application, which is convenient for on-site personnel to use.
[0040] The implementation method of the present invention is specifically as follows:
[0041] The present invention provides an intelligent interactive three-dimensional visualization mapping system, referring to Figure 1 ,include:
[0042] (I) Engineering model visualization module
[0043] The engineering model visualization module is used to visualize the 3D engineering models of various disciplines in the engineering detail scene; specifically, the engineering model visualization module is used to display the 3D engineering model results of various disciplines of the design party in an all-round and full-angle manner, and is also the basis for achieving the complete expression of design information and the in-depth expression of design results.
[0044] The engineering model visualization module includes:
[0045] The scene reading submodule is used to read and jump to various 3D visualization engineering detail scenes;
[0046] A model display submodule is used to display the required three-dimensional engineering models of various disciplines in the engineering detail scene;
[0047] A model manipulation submodule, for manipulating the three-dimensional engineering model displayed by the model display submodule, including: rotating the model, scaling the model, and dragging the model, so as to view the three-dimensional engineering model in all directions and at all angles in the three-dimensional visualization engineering drawing scene;
[0048] The model resetting submodule is used to reset the three-dimensional engineering model manipulated by the model manipulation submodule to an initial position of the three-dimensional visualization engineering drawing scene.
[0049] A specific embodiment is listed below:
[0050] A scene reading submodule implements the scene reading function. The specific implementation method is as follows:
[0051] A01 Add numbers to the engineering detail scenes in the Unity3D-build setting interface;
[0052] A02 Write the SceneManager.LoadScene() command in the script to read the scene number of each project detail drawing;
[0053] A03 binds the script to the UI interface button to jump to the engineering detail scene with the corresponding number by clicking the button.
[0054] The B model display submodule realizes the model display function. The specific implementation method is as follows:
[0055] B01 Complete the 3D engineering model design of the hydropower project on the 3D design software platform, and conduct segmented and regional modeling of the relevant 3D engineering models. The accuracy of the design model must meet the construction requirements. The equipment model in the 3D engineering model must be accurately arranged, including at least two accuracy levels: equipment manufacturing and equipment layout.
[0056] B02 imports the designed 3D engineering model into the Unity3D platform:
[0057] Use 3D design software such as Revit to slice and split the 3D engineering model according to the requirements of engineering detail drawing expression, export the 3D engineering model from the 3D design software in FBX format and import it into the Unity3D program development platform, so that the 3D engineering model can be seen in various engineering detail drawing scenes.
[0058] The C model manipulation submodule implements the model manipulation function. The specific implementation method is as follows:
[0059] The C01 rotation model function uses var mouse_x = Input.GetAxis("Mouse X") or Y command to obtain the mouse X and Y axis movement values, and uses the condition Input.GetMouseButton(1) to determine the mouse button status and trigger the following actions:
[0060] transform.RotateAround(Rotion_Transform,Vector3.up,speed.x*Time
[0061] transform.RotateAround(Rotion_Transform, transform.right, speed.y*Time.); realizes the function of rotating the camera around the object.
[0062] The C02 zoom model function uses Input.GetAxis("Mouse ScrollWheel")<0 or>0, and the statement conditional statement determines the operation of the mouse wheel. After the judgment, the lower layer judgment (Camera.main.fieldOfView<=100 or>2) is triggered to determine whether it exceeds the upper and lower limits, and then the action command Camera.main.fieldOfView+=2 or -=2 is executed; the camera field of view is adjusted to realize the zoom function.
[0063] The C03 drag model function uses the following statement:
[0064] Ray ray = cam.ScreenPointToRay(Input.mousePosition); Send a ray from the camera to the mouse position, and use Physics.Raycast(ray,out hitInfo) to determine whether the ray hits the specified object. Then use Input.GetMouseButton(2) to continue to determine whether the mouse button is pressed. After the judgment, use the following statement
[0065] Vector3 currentScreenSpace=new Vector3(Input.mousePosition.x,Input.mousePosition.y,screenSpace.z); Vector3 currentPosition=cam.ScreenToWorldPoint(currentScreenSpace)+offset; Calculate the offset of the mouse position on the screen and convert it into the moving position of the model object and assign it to the corresponding model. Realize the model dragging function.
[0066] The C04 model reset function uses the SceneManager.LoadScene() command to re-read the scene and restore the scene to its initial state.
[0067] (II) Interactive Information Module
[0068] The interactive information module is used to display multiple categories and unlimited amounts of data information in a detailed engineering scene by clicking various information buttons and dragging sliders on the UI interface after the three-dimensional engineering model is visualized, so as to realize design information review and facilitate on-site engineering personnel to quickly review the data and design intent related to the project.
[0069] The interactive information module includes:
[0070] An interactive UI interface is used to display a UI interface that can interact with the user after the three-dimensional engineering model is visualized; the UI interface has an information button and a drag slider; wherein the information button includes a plurality of buttons for adding engineering detail elements; the drag slider is used to adjust the display position of the engineering detail elements added by the information button; wherein the UI interface inherits the traditional two-dimensional engineering drawing design, has all engineering detail elements such as drawing name, drawing number, drawing frame, signature column, etc., and contains the UI buttons and sliders required for various drawings, so as to accept and feedback the user's operation commands and meet the user's drawing reading needs.
[0071] The basic information query submodule is used to display or hide the information menu when the basic information query UI button is clicked; when the corresponding command of the information menu is triggered, basic information related to the engineering detail drawing is displayed, including: application operation instructions, function introduction, basic engineering information, building information, equipment information involved in the detail drawing, etc.;
[0072] The detailed drawing information review submodule is used to display or hide the detailed drawing information review menu when the detailed drawing information review UI button is clicked; when the corresponding command of the detailed drawing information review menu is triggered, the key information of each detailed drawing scene is displayed, including: description of each detailed drawing, detailed drawing legend, detailed drawing material table, atlas of the process and method involved in the current detailed drawing, equipment manual, installation guide, guidance video engineering materials, etc., to achieve unlimited expansion of the detailed drawing information content;
[0073] The dimension and annotation submodule is used to display or hide the corresponding dimensions and annotations on the engineering detail drawing when the dimension and annotation UI button is clicked; or, according to user needs, only the current focused dimension annotations are displayed to avoid crowding of the view space.
[0074] A specific embodiment is listed below:
[0075] The specific implementation method of D interactive UI interface is as follows:
[0076] D01 converts the basic drawing frames of traditional two-dimensional drawings of various disciplines and the tables required for each detailed drawing scene into PNG files through Photoshop software, which are used as the UI background image and menu background image of the three-dimensional visualization engineering detailed drawing application.
[0077] D02 adds UI-Canvas and Plane to the Hierarchy viewport of each scene, converts the frame and table images into Sprite and puts them into Plane-Image, and sets UI buttons and sliders in the UI based on the actual needs and related functions of each detailed scene and menu.
[0078] E basic information query submodule, the implementation method of basic information query function is as follows:
[0079] E01 creates menu panels of various types and levels according to the different types of drawings, traditional 2D drawing standards, design experience and related design specifications, and general user operation habits. The menu panel contains basic information required for various detailed drawing scenes, such as detailed drawing application operation instructions, function introduction, basic project information, building information, detailed drawing related equipment, etc.
[0080] E02 attaches the SetActive command script to the UI menu button to enable the use of buttons to open or close various basic information menus and tables. And uses the If statement to determine whether there is a menu in the interface that is open, limiting the number of menus that can be displayed at the same time.
[0081] F detailed drawing information query submodule, the method of realizing the detailed drawing information query function of the engineering drawing is as follows:
[0082] F01 creates menu panels of various types and levels according to the focus and requirements of the current engineering detail scene. The menu panel contains various materials such as the description of each engineering drawing, the legend of the engineering drawing, the material table of the engineering drawing, the atlas of the process and method involved in the current engineering drawing, the signal parameters of the equipment and the manual.
[0083] F02 attaches the SetActive command script to the UI menu button to use the button to open or close various basic information menus and tables. And use the If statement to determine whether there is a menu in the interface that is open, and limit the number of menus that can be displayed at the same time.
[0084] G dimension and annotation submodule, the dimension and annotation functions are implemented as follows
[0085] G01 adds 3D text and dimension annotations to the corresponding positions in the model according to the requirements of the engineering detailed drawing. The annotations include building elevation, dimension spacing, equipment name, area name, process name, etc.
[0086] G02 adds parent-child level logical relationships for each level of annotation, and uses the SetActive command script attached to the UI menu button to use the button to turn on or off the corresponding dimension and annotation functions by level.
[0087] (III) Achievement Deepening Module
[0088] The results deepening module is used to add a series of practical functions to the 3D visualization engineering drawing application, so that the key engineering models of each engineering detail scene can be expressed clearly and intuitively, and the user can be given the function of adjusting according to the view requirements; to achieve the goal of giving full play to the advantages of 3D visualization engineering models and enhancing the expressiveness of 3D engineering drawings.
[0089] The modules for deepening the achievements include:
[0090] The highlight submodule is used to select the key engineering model of the engineering detail scene and highlight the model contour line of the key engineering model; wherein the highlighted model contour line is not blocked by the building structure, so it is convenient for users to observe; the brightness of the highlighted model contour line is adjustable; for example, dragging the slider can adjust the brightness of the highlighted contour line according to the user's viewing requirements.
[0091] The model transparency adjustment submodule is used to adjust the transparency of the three-dimensional engineering model in the engineering detail scene; specifically, drag the transparency slider in the lower left corner of the main view to adjust the transparency of the three-dimensional engineering model in the engineering detail scene to facilitate observation of the sub-model structure in the three-dimensional engineering model; for example, it is convenient for users to observe the equipment and facilities in the engineering building and the buried pipes and embedded parts inside the concrete.
[0092] The wireframe mode view submodule is used to adjust the engineering detail scene to the wireframe view mode. In the wireframe view mode, the 3D engineering model will be displayed in a line manner that is closer to the traditional drawing method, which more clearly reflects the spatial relationship between the 3D engineering model and its various sub-models; for example, it more clearly reflects the spatial relationship between the engineering model and various internal equipment, buried pipes, embedded parts and other structures.
[0093] The first-person roaming submodule is used to roam in the engineering detail scene from a first-person perspective, observe the spatial relationship of each 3D engineering model and the design details of each professional engineering detail from a close perspective, obtain clear and accurate engineering detail information, and clarify the construction plan; and in the first-person roaming mode, the 3D engineering model highlight display, 3D engineering model transparency adjustment and design information display functions can all be used.
[0094] A specific embodiment is listed below:
[0095] H highlight display submodule realizes highlight display function
[0096] H01 imports the various function scripts and shaders of the HighlightPlus plug-in into the resource, and attaches the HighlighEffect script to the model that needs to be highlighted.
[0097] H02 Use the command gameObject.GetComponent in the HighlightPlus namespace <highlighteffect>().outline=val; Modify the brightness value of the highlight script, add the script in the slider, and call the corresponding command to implement the slider to modify the highlight display brightness of the corresponding model.
[0098] I Model transparency adjustment submodule, realizes the model transparency adjustment function
[0099] I01 uses the following command:
[0100] var r=gameObject.GetComponent <renderer>().material.color.r or b, g; command obtains the color value of the object material, and uses Material1.color=new Vector4(r,g,b,c); command to keep the material color unchanged.
[0101] I02 uses the command public void newc(float newc){this.c=newc;} to create a method type to modify the transparency of the material, and adds a model with the script attached to the slider to call the newc command to implement the slider to modify the transparency of the corresponding material.
[0102] J Wireframe mode view submodule implements wireframe mode view function
[0103] J01 loads the Wireframe shader and selects it in the Material tab. Copy the current engineering detail scene and add the wireframe material to each engineering model. Different types of models can select different colors of wireframe materials.
[0104] J02 binds the SceneManager.LoadScene() command to "Menu-Wireframe Mode View" and "Menu-Normal Mode View" and uses buttons to switch between the engineering detail wireframe mode scene and the normal mode scene.
[0105] KFirst-person roaming submodule, realizes the first-person roaming function
[0106] K01 uses the command Input.GetMouseButton(1); to determine whether the right button of the mouse is pressed. After judgment, it uses the command transform.Rotate(new Vector3(0,Input.GetAxis("Mouse X")*Time.fixedDeltaTime*200,0)); to obtain the mouse movement value and drag the camera angle to rotate.
[0107] K02 Input.GetKey(KeyCode) command gets the keyboard key information, and then uses the command transform.Translate(Vector3.forward*Time.deltaTime*moveSpeed) to realize the use of the specified key to drag the camera to move.
[0108] K03 uses the SetActive() command to turn on or off the first-person navigator, and binds the script to the UI interface button to turn on the first-person navigator by clicking the button.
[0109] (IV) Efficient mapping module
[0110] The efficient drawing module is used to make installation packages of professional 3D engineering drawing template files. When drawing, you can directly import the installation packages of 3D engineering drawing template files in Unity and use the 3D engineering drawing template files directly to achieve the functional goal of efficient 3D design drawing.
[0111] The efficient drawing module is specifically used to create installation packages of template files that are generally applicable and meet the production requirements of professional 3D engineering drawing applications. When drawing in a project, you can directly import the installation package in Unity and use the pre-made files directly to achieve the functional goal of efficient drawing.
[0112] Efficient mapping modules include:
[0113] UI prefabricated files are used to store UI resources used by 3D engineering drawing applications in various disciplines and scenarios as prefabricated 3D engineering drawing template file installation packages, which facilitates direct installation and use in engineering detail drawing scenarios in the future;
[0114] Function prefabricated files are used to store script files, various functional modules and related functional parameter settings used in various disciplines and scenarios of 3D engineering drawing applications as prefabricated template file installation packages, which are convenient for subsequent direct installation and use in engineering detail drawing scenarios;
[0115] The scene prefabricated file is used to store the configuration files of each discipline and scene of the 3D engineering drawing application, the hierarchical relationship settings between scenes, and the initial resource layout within the scene as a prefabricated file installation package, which is convenient for subsequent direct installation and use in the engineering detail drawing scene.
[0116] A specific embodiment is listed below:
[0117] L UI prefabricated file installation package:
[0118] L01 packages all kinds of information and UI menu materials such as UI interface, drawing frames, tables, process method atlas, basic engineering data, equipment and parameters, manufacturer manuals, legends and instructions, operating instructions, etc. used in various scenes of 3D engineering drawing application programs into a Package file, which is a UI prefabricated file and can be directly installed and used when making other 3D engineering drawing applications.
[0119] L02 packages various functional scripts used in various scenes of 3D engineering drawing applications and various functional modules with logical relationships in 3D space to generate a Package file, which is a functional prefabricated file that can be directly installed and used when making other 3D engineering drawing applications.
[0120] L03 packages the engineering drawing scenes used by the 3D engineering drawing application program while retaining the logical relationships therein to generate a Package file, which is a scene prefabricated file that can be directly installed and used when making other 3D engineering drawing applications.
[0121] (V) Application Testing and Release Module
[0122] The application testing and publishing module is used to test the designed 3D engineering drawing application before packaging, modify the BUG problems, adjust the script parameters, such as model rotation speed, highlight brightness, model click size, etc., to make the application operation more convenient and in line with the usage habits of engineering site personnel. After the test is completed, the packaging and publishing include: packaging the application, and choosing to publish it on Android, Windows, IOS and other platforms according to the actual application environment.
[0123] Finally, install the application on a PC or mobile device and deliver it to the engineering site personnel for use.
[0124] Taking the 3D visualization grounding layout of the air compressor layer of the auxiliary plant as an example, the 3D visualization grounding layout of the air compressor layer of the auxiliary plant application is tested and released before packaging the designed engineering detail application, and the completed packaging is released. The application is installed on the PC or mobile terminal and delivered to the project site personnel for use.
[0125] The application testing and release module is specifically used for:
[0126] Conduct pre-packaging tests on the designed 3D engineering drawing application, modify any BUG issues, and adjust the script parameters to make the 3D engineering drawing application more convenient to operate and in line with the usage habits of on-site personnel;
[0127] After testing is completed, the 3D engineering drawing application is packaged and released.
[0128] M application debugging and release:
[0129] M01 tests the functions of the 3D engineering detailing application on different platforms, fixes any bugs that occur, and optimizes the script parameters.
[0130] M02 selects "File-Build Settings" on the U3D platform, opens the Release tab, sets parameters based on the hardware conditions of the release platform, and completes the release.
[0131] Take the 3D visualization grounding layout of the air compressor layer of a certain project auxiliary plant as an example. The specific method of making 3D visualization engineering detailed drawings is as follows:
[0132] In this embodiment, the specific contents executed by the engineering model visualization module are as follows:
[0133] A01. Write the SceneManager.LoadScene() command in the script to read the scene number of each project detail drawing; bind the script to the button on the UI interface to jump to each project detail drawing scene by clicking the button.
[0134] A02. Complete the structural modeling of the air compressor layer of the auxiliary plant on the 3D design software platform, arrange the air compressor, cabinets, gas tanks and other equipment at the specified positions of the structural model according to relevant specifications, perform grounding design within the model and generate a 3D model of the grounding grid. Each type of equipment adopts the equipment layout accuracy level, and the grounding body model adopts the equipment manufacturing level.
[0135] A03. Use 3D design software to intercept or cut the required floors and key equipment sub-models, export the overall model and section model including the building structure, equipment and grounding grid in FBX format, and import them into the Unity3D platform. If there is a need to modify the model locally or extract the equipment model, use 3DMax software to modify and decompose it.
[0136] A04. Writing of various functional scripts and program development: Use Visual studio to write various scripts to realize script functions such as model rotation, scaling, dragging, etc., and bind the functional scripts with the corresponding UI buttons and models.
[0137] In this embodiment, the specific contents executed by the interactive information module are as follows:
[0138] B01. Import the information in the design process, such as the main grounding body model and size, branch grounding body model, grounding terminal, grounding body manufacturing and welding process, grounding methods of various equipment, grounding map frame and signature column, legend, material list, grounding map mandatory provisions, dimensioning, elevation, annotation, atlas and instructions, etc. into the Unity3D platform. Convert pictures and table data into PNG format, and store text data as different TXT files.
[0139] B02. Add UI-Canvas and Plane to the Hierarchy viewport of each scene of the 3D grounding layout, convert the PNG image of the grounding layout frame into Sprite and put it into Plane-Image, add it to the UI canvas to form a UI interface in the form of a traditional frame. Design the UI operation interface of each detailed scene of the 3D grounding layout, add buttons such as plane / section scene selection, menu, return, legend and description, operation instructions, material table, etc. to the canvas UI interface, and add multiple detailed scene jump buttons such as grounding plan layout, 3D isometric view, first-person roaming, wireframe mode view, etc. to the first scene.
[0140] B03. Place various data and information such as legends and descriptions, operating instructions, material lists, grounding process atlases, grounding body parameter models, equipment descriptions, etc. in the corresponding menu interface, and use the SetActive command script attached to the UI menu button to use the button to open or close various basic information menus and tables.
[0141] B04. The dimension and annotation function is implemented by adding 3D text and dimension annotations at the corresponding positions in the model according to the detailed drawing expression requirements. The annotations include building elevation, dimension spacing, equipment name, area name, grounding process name, welding point form, etc. Add parent-child level logical relationships for each level of annotation, and use the SetActive command script attached to the UI menu button to use the button to open or close the corresponding dimension and annotation function by level.
[0142] In this embodiment, the specific contents executed by the achievement deepening module are as follows:
[0143] C01. The method to realize the grounding highlight function is to import the function scripts and shaders of the HighlightPlus plug-in in the resource, and attach the HighlighEffect script to the grounding grid model. And use the script function to use the slider to modify the highlight brightness of the corresponding model.
[0144] C02. The method for adjusting the transparency of the building structure is to use the script function to obtain the color values of the materials of the floor slabs, exterior walls and structural columns in the model, and use the script command to modify the transparency of the material under the premise that the three parameters R, G and B remain unchanged. In addition, the model with the script attached is added to the slider to call the corresponding command to realize the slider to modify the transparency of the corresponding material.
[0145] C03. The wireframe mode view function is implemented by loading the Wireframe shader and selecting this shader in the Material tab. Copy the current engineering detail scene and add the wireframe material to the ground detail engineering model. Use the SceneManager.LoadScene() command to switch between the engineering detail wireframe mode scene and the normal mode scene.
[0146] C04. The first-person roaming function uses script commands to use the mouse to move the value and drag the camera angle to rotate. Then use Input.GetKey(KeyCode) and Transform.Translate commands to use the key to drag the camera to move. And use the SetActive() command to turn on or off the first-person roaming device.
[0147] In this embodiment, the specific contents executed by the efficient mapping module are as follows:
[0148] D01. The efficient drawing module packages the UI interface, function scripts, detailed drawing scenes, and the frames, tables, process method atlases, basic engineering data, equipment and parameters, manufacturer manuals, legends and instructions, operating instructions and other materials and UI menu materials used in the auxiliary plant air compressor layer three-dimensional visual grounding layout application to generate a Package file, which can be directly installed and used when making other three-dimensional grounding layout applications.
[0149] In this embodiment, the specific contents of the test and release of the three-dimensional visualization grounding layout application program for the air compressor layer of the auxiliary plant are as follows:
[0150] E01. Conduct pre-packaging test on the three-dimensional visualization grounding layout application of the air compressor layer of the auxiliary plant. This means conducting pre-packaging test on the designed engineering detail application, modifying the BUG problems that appear, and adjusting the parameters of each functional script. After that, the application is packaged and released on platforms such as Android, Windows, and IOS according to the actual application environment. Install the application on a PC or mobile terminal and deliver it to the engineering site personnel for use.
[0151] The present invention uses the Unity3D software development platform. On the basis of fully learning and inheriting the traditional two-dimensional engineering detailed drawing expression methods, information content, view rules, legend descriptions, identification specifications, etc., it adopts a three-dimensional visualization application to finally publish the design results, so that engineering site personnel can read detailed drawings and query information in a simpler and clearer way at the engineering site.
[0152] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.< / renderer> < / highlighteffect>
Claims
1. An intelligent interactive three-dimensional visualization mapping system, characterized in that: include: The engineering model visualization module is used to visualize the 3D engineering models of various disciplines in the engineering detail scene; An interactive information module, which is used to display multiple categories of unlimited amount of data information in a detailed engineering scene by clicking various information buttons and dragging sliders on the UI interface after the three-dimensional engineering model is visualized; The results deepening module is used to add a series of practical functions to the 3D visualization engineering drawing application, so that the key engineering models of each engineering detail scene are clearly and intuitively expressed, and the user is given the function of adjusting according to the view requirements; The efficient drawing module is used to make installation packages of professional 3D engineering drawing template files. When drawing, the installation packages of 3D engineering drawing template files are imported into Unity and the 3D engineering drawing template files are used directly to achieve the functional goal of efficient drawing of 3D design. The application testing and release module is used to test the designed 3D engineering drawing application before packaging, and package and release it after the test is completed; Wherein, the engineering model visualization module includes: The scene reading submodule is used to read and jump to various different 3D visualization engineering detail drawing scenes; the scene reading submodule implements the scene reading function, and the specific implementation method is as follows: A01 Add numbers to the engineering detail scenes in the Unity3D-build setting interface; A02 Write the SceneManager.LoadScene() command in the script to read the scene number of each project detail drawing; A03 binds the script to the UI interface button to jump to the engineering detail scene with the corresponding number by clicking the button; The model display submodule is used to display the required three-dimensional engineering models of various disciplines in the engineering detail scene; the model display submodule realizes the model display function, and the specific implementation method is as follows: B01 Complete the 3D engineering model design of the hydropower project on the 3D design software platform, and conduct segmented and regional modeling of the relevant 3D engineering models. The accuracy of the design model must meet the construction requirements; the equipment model in the 3D engineering model must be accurately arranged, including at least two accuracy levels of equipment manufacturing and equipment layout; B02 imports the designed 3D engineering model into the Unity3D platform: The model manipulation submodule is used to manipulate the three-dimensional engineering model displayed by the model display submodule, including: rotating the model, scaling the model and dragging the model, so as to view the three-dimensional engineering model in all directions and at all angles in the three-dimensional visualization engineering drawing scene; the model manipulation submodule realizes the model manipulation function, and the specific implementation method is as follows: The C01 rotation model function uses var mouse_x = Input.GetAxis("Mouse X") or Y command to obtain the mouse X and Y axis movement values, and uses the condition Input.GetMouseButton(1) to determine the mouse button status and trigger related actions: The C02 zoom model function uses Input.GetAxis("Mouse ScrollWheel")<0 or>0, and the statement conditional statement determines the operation of the mouse wheel. After the determination, the lower layer determination (Camera.main.fieldOfView<=100 or>2) is triggered to determine whether the upper and lower limits are exceeded, and then the action command Camera.main.fieldOfView+=2 or -=2 is executed; the camera field of view is adjusted to realize the zoom function; The C03 drag model function uses the following statement: Ray ray = cam.ScreenPointToRay(Input.mousePosition); send a ray from the camera to the mouse position, use Physics.Raycast(ray,out hitInfo) to determine whether the ray hits the specified object; then use Input.GetMouseButton(2) to continue to determine whether the mouse button is pressed; after determination, calculate the offset of the mouse position on the screen and convert it into the movement position of the model object and assign it to the corresponding model; realize the model dragging function; The C04 model reset function uses the SceneManager.LoadScene() command to re-read the scene and restore the scene to its initial state; A model resetting submodule, used for resetting the three-dimensional engineering model manipulated by the model manipulation submodule to an initial position of the three-dimensional visualization engineering drawing scene; Wherein: the interactive information module includes: An interactive UI interface is used to display a UI interface that can interact with the user after the three-dimensional engineering model is visualized; the UI interface has an information button and a drag slider; wherein the information button includes a plurality of buttons for adding engineering detail elements; the drag slider is used to adjust the display position of the engineering detail elements added by the information button; the specific implementation method of the interactive UI interface is as follows: D01 converts the basic drawing frames of traditional 2D drawings of various disciplines and the tables required for each detailed drawing scene into PNG files through Photoshop software, which are used as the UI background image and menu background image of the 3D visualization engineering detailed drawing application; D02 Add UI-Canvas and Plane to the Hierarchy viewport of each scene, convert the frame and table images into Sprite and put them into Plane-Image, and set UI buttons and sliders in the UI according to the actual needs and related functions of each detailed scene and menu; The basic information query submodule is used to display or hide the information menu when the basic information query UI button is clicked; when the corresponding command of the information menu is triggered, basic information related to the engineering detail drawing is displayed, including: application operation instructions, function introduction, basic engineering information, building information, and equipment information related to the detail drawing; the basic information query submodule implements the basic information query function as follows: E01 creates menu panels of various types and levels according to the different types of drawings, traditional 2D drawing standards, design experience and relevant design specification requirements, and general user operation habits; the menu panels contain detailed drawing application operation instructions, function introduction, basic project information, building information, and basic information required for various detailed drawing scenes of detailed drawing equipment; E02 attaches the SetActive command script to the UI menu button to use the button to open or close various basic information menus and tables; and uses the If statement to determine whether there is a menu in the interface that is open, limiting the number of menus that can be displayed at the same time; The detailed drawing information consultation submodule is used to display or hide the detailed drawing information consultation menu when the detailed drawing information consultation UI button is clicked; when the corresponding command of the detailed drawing information consultation menu is triggered, the key information of each detailed drawing scene is displayed, including: the detailed drawing description of each detailed drawing, the detailed drawing legend, the detailed drawing material table, the atlas of the process method involved in the current detailed drawing, the equipment manual, the installation guide manual, the guidance video engineering data, so as to realize the unlimited expansion of the detailed drawing information content; the detailed drawing information consultation submodule realizes the detailed drawing information consultation function of the engineering drawing as follows: F01 creates menu panels of various types and levels according to the focus and requirements of the current engineering detail scene; the menu panels contain various materials such as the description of each engineering drawing, engineering drawing legend, engineering drawing material table, atlas of the process method involved in the current engineering drawing, equipment signal parameters and manuals; F02 attaches the SetActive command script to the UI menu button to use the button to open or close various basic information menus and tables; and uses the If statement to determine whether there is a menu in the interface that is open, limiting the number of menus that can be displayed at the same time; The dimension and annotation submodule is used to display or hide the corresponding dimensions and annotations on the engineering detail drawing when the dimension and annotation UI button is clicked; or only display the dimension annotations of the current focus to avoid crowding of the view space; the dimension and annotation submodule implements the dimension and annotation function as follows: G01 Add 3D text and dimension annotations to the corresponding positions in the model according to the requirements of the detailed engineering drawings. The annotations include building elevation, dimension spacing, equipment name, area name, and process name; G02 adds parent-child level logical relationships for each level of annotation, and uses the SetActive command script attached to the UI menu button to use the button to turn on or off the corresponding dimension and annotation functions by level; The achievement deepening module includes: The highlight submodule is used to select the key engineering model of the engineering detail scene and highlight the model contour of the key engineering model; wherein the highlighted model contour is not blocked by the building structure, so that the user can observe it conveniently; the brightness of the highlighted model contour is adjustable; The model transparency adjustment submodule is used to adjust the transparency of the 3D engineering model in the engineering detail scene. Specifically, drag the transparency slider in the lower left corner of the main view to adjust the transparency of the 3D engineering model in the engineering detail scene, so as to facilitate the observation of the sub-model structure in the 3D engineering model. The wireframe mode view submodule is used to adjust the engineering detail scene to the wireframe view mode. In the wireframe view mode, the 3D engineering model is displayed in lines, which more clearly reflects the spatial relationship between the 3D engineering model and its various sub-models. The first-person roaming submodule is used to roam in the engineering detail scene from a first-person perspective, observe the spatial relationship of each 3D engineering model and the design details of each professional engineering detail from a close-up perspective, obtain clear and accurate engineering detail information, and clarify the construction plan; and in the first-person roaming mode, the 3D engineering model highlight display, 3D engineering model transparency adjustment and design information display functions are all available; The H highlight submodule implements the highlight function: H01 Import the function scripts and shaders of the HighlightPlus plug-in into the resource, and attach the HighlighEffect script to the model that needs to be highlighted; H02 Use the command gameObject.GetComponent in the HighlightPlus namespace <highlighteffect> ().outline=val; Modify the brightness value of the highlight script, add the script in the slider, and call the corresponding command to implement the slider to modify the highlight display brightness of the corresponding model;< / highlighteffect> I model transparency adjustment submodule, to realize the model transparency adjustment function; I01 uses the following command: var r=gameObject.GetComponent <renderer> ().material.color.r or b, g; command to obtain the color value of the object material, use Material1.color = new Vector4 (r, g, b, c); command to keep the material color unchanged;< / renderer> I02 uses the command public void newc (float newc) {this.c = newc;} to create a method type to modify the transparency of the material, and adds a model with the script attached to the slider to call the newc command to implement the slider to modify the transparency of the corresponding material; J Wireframe mode view submodule implements wireframe mode view function J01 loads the Wireframe shader and selects it in the Material tab; copy the current engineering detail scene and add the wireframe material to each engineering model. Different types of models can select different colors of wireframe materials; J02 binds the SceneManager.LoadScene() command to "Menu-Wireframe Mode View" and "Menu-Normal Mode View" to use buttons to switch between the engineering detail wireframe mode scene and the normal mode scene; KFirst-person roaming submodule, realizes the first-person roaming function K01 uses the command Input.GetMouseButton(1); to determine whether the right button of the mouse is pressed. After the determination, use the command transform.Rotate(new Vector3(0,Input.GetAxis("Mouse X")*Time.fixedDeltaTime*200,0)); to obtain the value of the mouse movement and drag the camera angle to rotate; K02 Input.GetKey(KeyCode) command gets the keyboard key information, and then uses the command transform.Translate(Vector3.forward*Time.deltaTime*moveSpeed) to realize the use of the specified key to drag the camera to move; K03 uses the SetActive() command to turn on or off the first-person navigator, and binds the script to the UI interface button to enable the first-person navigator to be turned on by clicking the button; The efficient mapping module includes: UI prefabricated files are used to store UI resources used by 3D engineering drawing applications in various disciplines and scenarios as prefabricated 3D engineering drawing template file installation packages, which can then be directly installed and used in engineering detail drawing scenarios; Function prefabricated files are used to store script files, various functional modules and related functional parameter settings used in various disciplines and scenarios of 3D engineering drawing applications as prefabricated template file installation packages, and then directly install and use them in engineering detail drawing scenarios; Scene prefabrication files are used to store the configuration files of each discipline and scene of the 3D engineering drawing application, the hierarchical relationship settings between scenes, and the initial resource layout in the scene as prefabrication file installation packages, and then directly install and use them in the engineering detail drawing scene; The application testing and publishing module is specifically used for: Conduct pre-packaging tests on the designed 3D engineering drawing application, modify any BUG issues, and adjust the script parameters to make the 3D engineering drawing application more convenient to operate and in line with the usage habits of on-site personnel; After testing is completed, the 3D engineering drawing application is packaged and released.
