CN114021239A - Method and system for linking two-dimensional drawing and three-dimensional model of web end - Google Patents

Method and system for linking two-dimensional drawing and three-dimensional model of web end Download PDF

Info

Publication number
CN114021239A
CN114021239A CN202111333961.0A CN202111333961A CN114021239A CN 114021239 A CN114021239 A CN 114021239A CN 202111333961 A CN202111333961 A CN 202111333961A CN 114021239 A CN114021239 A CN 114021239A
Authority
CN
China
Prior art keywords
dimensional
dimensional model
data
model
dimensional drawing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111333961.0A
Other languages
Chinese (zh)
Inventor
孟春雷
李伯宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Technology Co ltd
China Construction Technology Group Ltd By Share Ltd
Original Assignee
China Digital Technology Co ltd
China Construction Technology Group Ltd By Share Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Digital Technology Co ltd, China Construction Technology Group Ltd By Share Ltd filed Critical China Digital Technology Co ltd
Priority to CN202111333961.0A priority Critical patent/CN114021239A/en
Publication of CN114021239A publication Critical patent/CN114021239A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Computer Graphics (AREA)
  • Architecture (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a system for linking a two-dimensional drawing and a three-dimensional model of a web end, and relates to the technical field of building software; the method for linking the two-dimensional drawing and the three-dimensional model of the web end comprises four steps of file uploading, data analysis, data drawing and model rendering and data linkage; the system for linking the two-dimensional drawing and the three-dimensional model of the web end comprises an uploading module, an analyzing module, a display module and a linkage module. The invention solves the problem that the two-dimensional drawing and the three-dimensional model can not be linked, so that the file is convenient to view, and the working efficiency is improved.

Description

Method and system for linking two-dimensional drawing and three-dimensional model of web end
Technical Field
The invention relates to the technical field of building software, in particular to a method and a system for linkage of a two-dimensional drawing and a three-dimensional model of a web side.
Background
With the maturity of the construction and design industry, Building Information Modeling (BIM) technology and Computer Aided Design (CAD) enter into the deep application and actual effect generation stage. Autocad (autocad Computer Aided design) is an automated Computer Aided design software for two-dimensional drawing, detailed drawing, design documentation and basic three-dimensional design, and has become a drawing tool widely spread internationally. The BIM technology is a data tool applied to engineering design, construction and management, and achieves the visual effect by constructing a three-dimensional model.
However, various problems are encountered in the application process, wherein the linkage operation of the CAD drawing and the BIM model is one of the problems to be solved.
Because the current three-dimensional model viewing and two-dimensional drawing viewing are mostly operated by different programs in a local program, the following problems can be caused:
1. the computer needs a good display card to support the running of software, and the larger the file is, the higher the requirement on the display card is.
2. One software opens the three-dimensional model, the other software opens the two-dimensional drawing, and linkage operation of the three-dimensional model and the two-dimensional drawing is not supported between the two softwares.
3. If the computer needs to be reinstalled, information such as previous annotations is lost, so that repeated work is caused, files cannot be checked anytime and anywhere, and the work efficiency is seriously influenced.
Disclosure of Invention
The invention aims to provide a method and a system for linkage of a two-dimensional drawing and a three-dimensional model of a web end, and aims to solve the problem that the two-dimensional drawing and the three-dimensional model cannot be operated in a linkage mode.
In order to solve the problems, the invention firstly provides a method for linking a two-dimensional drawing and a three-dimensional model of a web end, which comprises the following steps:
analyzing data, namely analyzing original data of the two-dimensional drawing into a JSON data format;
data drawing and model rendering, namely drawing JSON data of the two-dimensional drawing to a user display interface, and analyzing and drawing the three-dimensional model to the user display interface;
and data linkage, namely synchronously displaying the two-dimensional drawing and the user operation of the three-dimensional model.
According to the arrangement, the two-dimensional drawing is displayed on a user display interface through data analysis and data drawing of the web end, the three-dimensional model is rendered and drawn on the user display interface through the model, and synchronous display of the two-dimensional drawing and the three-dimensional model is achieved through data linkage.
Further, the data drawing and model rendering steps include:
and converting the JSON data of the two-dimensional drawing into a graph or a text, and drawing the two-dimensional drawing to a user display interface.
According to the arrangement, JSON data analyzed by data are converted into graphs or texts through data drawing, and the graphs or the texts are displayed on a user display interface, so that the visualization of the two-dimensional drawing is realized.
Further, the data drawing and model rendering steps include:
and transmitting the model data rendered by the cloud rendering engine to a web end in real time, and analyzing and drawing the three-dimensional model.
According to the arrangement, the three-dimensional model is rendered through the cloud rendering engine, the data stream is transmitted to the web end in real time, the analysis and the drawing of the three-dimensional model of the web end are completed, the three-dimensional model is displayed on a user display interface, and the visualization of the three-dimensional model is realized.
Further, the data linkage step includes:
calculating the maximum point and the minimum point of the components in the two-dimensional drawing and the three-dimensional model;
and corresponding to the maximum point of the two-dimensional drawing and the maximum point of the three-dimensional model, and corresponding to the minimum point of the two-dimensional drawing and the minimum point of the three-dimensional model.
According to the arrangement, the maximum point and the minimum point can be calculated, and the linkage operation of the two-dimensional drawing and the three-dimensional model is realized through the correspondence of the points and the points.
Furthermore, after the two-dimensional drawing and the three-dimensional model are displayed in the data drawing and model rendering steps, the size and the layout of the two-dimensional drawing display window and/or the three-dimensional model display window are adjusted.
By the arrangement, the two-dimensional drawing display window and/or the three-dimensional model display window can be freely adjusted.
Further, the user operation in the data linkage step includes:
zooming in, zooming out and translating the window picture; highlighting of the component; and (6) annotating.
So set up, multiple linkage operation can be carried out to two-dimensional drawing and three-dimensional model.
In order to solve the above problem, the present invention further provides a system for linking a two-dimensional drawing and a three-dimensional model at a web end, comprising:
the analysis module is used for analyzing the original data of the two-dimensional drawing into a JSON data format;
the display module is used for drawing JSON data of the two-dimensional drawing to a user display interface, and analyzing and drawing the three-dimensional model to the user display interface;
and the linkage module is used for synchronously displaying the two-dimensional drawing and the user operation of the three-dimensional model.
According to the arrangement, the linkage operation of the two-dimensional drawing and the three-dimensional model can be realized through the sequential operation of the three modules.
Furthermore, the display module comprises a drawing unit, and the drawing unit is used for converting JSON data of the two-dimensional drawing into a graph or a text and drawing the two-dimensional drawing to a user display interface.
According to the arrangement, the two-dimensional drawing can be drawn on the user display interface, and the visualization of the two-dimensional drawing is realized.
Further, the display module comprises a model rendering unit, and the model rendering unit is used for transmitting model data rendered by the cloud rendering engine to the web end in real time and analyzing and drawing the three-dimensional model to the user display interface.
According to the arrangement, the three-dimensional model can be analyzed and drawn and displayed on a user display interface, so that the visualization of the three-dimensional model is realized.
Further, the linkage module comprises a linkage unit, and the linkage unit is used for calculating the maximum point and the minimum point of the members in the two-dimensional drawing and the three-dimensional model, corresponding to the maximum point of the two-dimensional drawing and the maximum point of the three-dimensional model, and corresponding to the minimum point of the two-dimensional drawing and the minimum point of the three-dimensional model, so that the two-dimensional drawing and the three-dimensional model are synchronously displayed.
By means of the arrangement, the linkage operation of the two-dimensional drawing and the three-dimensional model is achieved through the respective correspondence of the calculated maximum point and the calculated minimum point.
Compared with the prior art, the method and the system for linking the two-dimensional drawing and the three-dimensional model of the web end have the following beneficial effects that:
1. the two-dimensional drawing and the three-dimensional model can be operated in a linkage mode, viewing is convenient, and working efficiency is improved.
2. The linkage of the two can be realized only through a browser at a web end, two pieces of software do not need to be operated simultaneously, and the requirement on a computer display card is relatively low.
3. The annotations of the two-dimensional drawing and the three-dimensional model cannot disappear due to the reinstallation of the software, so that the repetitive work is reduced, the files can be checked in real time, and the working efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for linking a two-dimensional drawing and a three-dimensional model of a web end according to an embodiment of the present invention.
Fig. 2 is a flow chart of a system for linking a two-dimensional drawing and a three-dimensional model of a web end according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, specific embodiments accompanied with figures are described in detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Nowadays, the CAD and BIM technologies are widely applied, and in the practical application process, the two-dimensional drawing and the three-dimensional model are usually required to be used in a matched manner, however, in the prior art, the two-dimensional drawing and the three-dimensional model can be opened only through two pieces of software, the two-dimensional drawing and the three-dimensional model cannot be operated in a linked manner, so that a lot of inconvenience is caused in the use process, and the work efficiency is reduced.
Therefore, the embodiment provides a method for linking a two-dimensional drawing and a three-dimensional model of a web end, so as to solve the technical problem.
The method mentioned in this example comprises four steps, respectively as follows:
firstly, uploading a file to finish uploading a two-dimensional drawing and a three-dimensional model, wherein the three-dimensional model file has a format of cim,. cbim3d,. ifc,. rvt,. fbx,. zip,. skp; the format of the two-dimensional drawing file is dxf or dwg; here, the three-dimensional model file is in the cim format, and the two-dimensional drawing file is in the dxf format, which includes the following processes:
1. opening a user operation interface on a web browser, and clicking a file uploading button; the method and the system for processing the browser data are applicable to any existing browser.
2. A specific selection file page is popped up on a user display interface, a three-dimensional model file to be uploaded and a two-dimensional drawing file corresponding to the three-dimensional model file are selected, and the three-dimensional model file is uploaded to a server to be stored;
3. after the files are uploaded to the server, the back-end server can analyze and store the two files, and record the corresponding relation between the dxf two-dimensional drawing file and the cim three-dimensional model file, namely the two-dimensional drawing and the three-dimensional model of the same object, so that the two-dimensional drawing and the three-dimensional model of the same object can be conveniently opened and viewed next time.
And secondly, performing data analysis, converting the original data of the two-dimensional drawing into easily readable JSON data, and performing cloud rendering on the three-dimensional model, wherein the method comprises the following steps:
1. and designating the three-dimensional model file and the corresponding two-dimensional drawing file on a user display interface, wherein the three-dimensional model file with the file name of demo.
2. And after the file is opened, displaying the specific downloading progress of the demo.
3. After the demo.dxf two-dimensional drawing file is downloaded, the original data are analyzed by the analyzing program and converted into easily readable JSON data, the JSON data are read into the memory of the browser, repeated downloading and analysis are not needed when the file is opened again, and the file is convenient to check.
And 4, rendering the demo.cim three-dimensional model file by using a cloud rendering engine on the cloud server, and displaying the rendering progress of the demo.cim three-dimensional model file on the cloud server on a user display interface in real time. The cloud rendering engine is on a high-performance server, the file processing speed is high, the limitation of a browser is not relied on, a large three-dimensional model can be processed quickly, and the requirements of users can be met well.
And thirdly, performing data drawing and model rendering steps, drawing the two-dimensional drawing and the three-dimensional model on a user display interface, and comprising the following processes:
1. and performing data drawing on the JSON data after the demo.dxf two-dimensional drawing file is analyzed through the drawing code, and displaying the JSON data on a user display interface in real time to realize the visualization of the two-dimensional drawing. The specific operation of drawing the code is as follows:
drawArc(entity,data);
drawLine(entity,data);
drawText(entity,data);
drawSolid(entity,data);
drawPoint(entity,data);
drawBlock(entity,data);
drawSpline(entity,data);
drawMtext(entity,data);
drawDimension(entity,data);
drawEllipse(entity,data);
and 2, after the cim three-dimensional model file is rendered at the cloud, directly transmitting the data stream to a web browser in real time, analyzing and displaying the three-dimensional model on a user display interface, so that the visualization of the three-dimensional model is realized.
And 3, after the demo.dxf two-dimensional drawing file and the demo.cim three-dimensional model file are completely displayed on the user display interface, the user can adjust the size of the display window according to specific use conditions and personal habits of the user, so that the demo.dxf two-dimensional drawing file can be displayed in a full screen mode, the demo.cim three-dimensional model file can be displayed in a full screen mode, the demo.dxf two-dimensional drawing file and the demo.cim three-dimensional model file can be displayed in a superposed mode, the demo.dxf two-dimensional drawing file and the demo.cim three-dimensional model file can be displayed in a five-division screen mode, or a middle shaft is dragged to dynamically change the size of the two-division screen modes, and the use experience of the user is enriched.
And fourthly, the data linkage step is carried out, so that the linkage operation of the two-dimensional drawing and the three-dimensional model is realized, and the method comprises the following processes:
1. calculating the maximum point and the minimum point of the two-dimensional drawing and the member in the three-dimensional model through the codes;
2. corresponding points in the two files are corresponded by using the unique identification of the midpoint of the two-dimensional drawing and the three-dimensional model, namely the maximum point of the two-dimensional drawing and the maximum point of the three-dimensional model, and the minimum point of the two-dimensional drawing and the minimum point of the three-dimensional model correspond to each other, so that the correspondence between the two-dimensional drawing and the three-dimensional model is achieved through the mutual correspondence between the points and the points, and the linkage operation of the two-dimensional drawing and the three-dimensional model is realized.
The specific code calculation process here is as follows:
dims.min.x=bbox.min.x;
dims.min.y=bbox.min.y;
dims.min.z=bbox.min.z;
dims.max.x=bbox.max.x;
dims.max.y=bbox.max.y;
dims.max.z=bbox.max.z;
in addition, the linkage operation of the two-dimensional drawing and the three-dimensional model has the following effects:
1. and designating the currently opened two-dimensional demo.dxf drawing as a floor-1 plan of the demo.cim three-dimensional model, and automatically cutting the demo.cim three-dimensional model to floor-1 for synchronous display.
2. And carrying out operations of zooming in, zooming out and translating on the demo.dxf two-dimensional drawing, and synchronously zooming in, zooming out and translating the visual angle of the demo.cim three-dimensional model. Otherwise, the demo.cim three-dimensional model is subjected to the operations of zooming in, zooming out and translating, and the demo.dxf two-dimensional drawing is synchronously changed along with the change of the visual angle of the demo.cim three-dimensional model.
3. Clicking the selected member of the demo.dxf two-dimensional drawing, and synchronously highlighting the member corresponding to the demo.cim three-dimensional model. And otherwise, clicking the selected member of the demo.cim three-dimensional model, and synchronously highlighting the member corresponding to the demo.dxf two-dimensional drawing.
4. And selecting an annotation frame to annotate on the demo.dxf two-dimensional drawing, and displaying the same annotation information at a place corresponding to the demo.cim three-dimensional model after the annotation is finished. And conversely, selecting an annotation frame to annotate on the demo.cim three-dimensional model, wherein the annotation can be seen when the annotation is finished, and the same annotation information is displayed at the corresponding place of the demo.dxf two-dimensional drawing.
Meanwhile, the embodiment also provides a system for linkage of the two-dimensional drawing and the three-dimensional model of the web end, so as to solve the technical problem.
The system mentioned in this embodiment includes four modules, which are respectively as follows:
the uploading module uploads a two-dimensional drawing and a three-dimensional model file in a format of cim,. cbim3d,. ifc,. rvt,. fbx,. zip,. skp; the format of the two-dimensional drawing file is dxf or dwg; the three-dimensional model file takes cim as an example, the two-dimensional drawing file takes dxf as an example, and the specific operation contents are as follows:
1. opening a user operation interface on a web browser, and clicking an upload file button of an upload module; the method and the system for processing the browser data are applicable to any existing browser.
2. A specific selection file page is popped up on a user display interface, a two-dimensional drawing file and a corresponding three-dimensional model file which need to be uploaded are selected, and the files are uploaded to a server for storage;
3. after the files are uploaded to the server, the service module at the rear end analyzes and stores the two files, and records the corresponding relation between the dxf two-dimensional drawing file and the cim three-dimensional model file, namely the two-dimensional drawing and the three-dimensional model of the same object, so that the two-dimensional drawing and the three-dimensional model of the same object can be opened and viewed conveniently next time.
The analysis module is used for completing the conversion of the original data of the two-dimensional drawing and the cloud rendering of the three-dimensional model, and the operation is as follows:
1. and designating a three-dimensional model file and a corresponding two-dimensional drawing file on a user display interface, wherein the three-dimensional model file with the file name demo.
2. And after the file is opened, displaying the downloading progress of the demo.
And 3, after the demo.dxf two-dimensional drawing file is downloaded, the analysis module analyzes the original data, converts the original data into easily readable JSON data, reads the JSON data into the memory of the browser, opens the file again without repeated downloading and analysis, and is convenient to check.
And 4, rendering the demo.cim three-dimensional model file by using a cloud rendering engine on the cloud server, and displaying the rendering progress of the demo.cim three-dimensional model file on the cloud server on a user display interface in real time. The cloud rendering engine is on a high-performance server, the file processing speed is high, the limitation of a browser is not relied on, a large three-dimensional model can be processed quickly, and the requirements of users can be met well.
And the display module is used for finishing the display of the two-dimensional drawing and the three-dimensional model, and the specific operation is as follows:
1. the display module comprises a drawing unit, the drawing unit can draw the analyzed JSON data of the demo.dxf two-dimensional drawing file into a graph or a text, and the graph or the text is displayed on a user display interface in real time, so that the visualization of the two-dimensional drawing is realized. Wherein, the specific drawing is completed by the drawing code, and the operation is as follows:
drawArc(entity,data);
drawLine(entity,data);
drawText(entity,data);
drawSolid(entity,data);
drawPoint(entity,data);
drawBlock(entity,data);
drawSpline(entity,data);
drawMtext(entity,data);
drawDimension(entity,data);
drawEllipse(entity,data);
and 2, after the cim three-dimensional model file is rendered at the cloud end, directly transmitting the data stream to a web browser in real time, analyzing the data stream by a model rendering unit, and drawing the three-dimensional model on a user display interface, so that the visualization of the three-dimensional model is realized. The cloud rendering engine is on a high-performance server, the file processing speed is high, the limitation of a browser is not relied on, a large three-dimensional model can be processed quickly, and the requirements of users can be met well.
And 3, after the demo.dxf two-dimensional drawing file and the demo.cim three-dimensional model file are completely displayed on the user display interface, the user can adjust the size of the display window according to specific use conditions and personal habits of the user, so that the demo.dxf two-dimensional drawing file can be displayed in a full screen mode, the demo.cim three-dimensional model file can be displayed in a full screen mode, the demo.dxf two-dimensional drawing file and the demo.cim three-dimensional model file can be displayed in a superposed mode, the demo.dxf two-dimensional drawing file and the demo.cim three-dimensional model file can be displayed in a five-division screen mode, or a middle shaft is dragged to dynamically change the size of the two-division screen modes, and the use experience of the user is enriched.
And the linkage module is used for realizing linkage operation of the two-dimensional drawing and the three-dimensional model, and specifically comprises the following operations:
1. the linkage unit in the linkage module can calculate the maximum point and the minimum point of the two-dimensional drawing and the member in the three-dimensional model through the codes;
2. corresponding points in the two files are corresponded by using the unique identification of the midpoint of the two-dimensional drawing and the three-dimensional model, namely the maximum point of the two-dimensional drawing and the maximum point of the three-dimensional model, and the minimum point of the two-dimensional drawing and the minimum point of the three-dimensional model correspond to each other, so that the correspondence between the two-dimensional drawing and the three-dimensional model is achieved through the mutual correspondence between the points and the points, and the linkage operation of the two-dimensional drawing and the three-dimensional model is realized.
Here, the specific calculation process is performed by the following code:
dims.min.x=bbox.min.x;
dims.min.y=bbox.min.y;
dims.min.z=bbox.min.z;
dims.max.x=bbox.max.x;
dims.max.y=bbox.max.y;
dims.max.z=bbox.max.z;
in addition, the linkage operation of the two-dimensional drawing and the three-dimensional model has the following effects:
1. and designating the currently opened two-dimensional demo.dxf drawing as a floor-1 plan of the demo.cim three-dimensional model, and automatically cutting the demo.cim three-dimensional model to floor-1 for synchronous display.
2. And carrying out operations of zooming in, zooming out and translating on the demo.dxf two-dimensional drawing, and synchronously zooming in, zooming out and translating the visual angle of the demo.cim three-dimensional model. Otherwise, the demo.cim three-dimensional model is subjected to the operations of zooming in, zooming out and translating, and the demo.dxf two-dimensional drawing is synchronously changed along with the change of the visual angle of the demo.cim three-dimensional model.
3. Clicking the selected member of the demo.dxf two-dimensional drawing, and synchronously highlighting the member corresponding to the demo.cim three-dimensional model. And otherwise, clicking the selected member of the demo.cim three-dimensional model, and synchronously highlighting the member corresponding to the demo.dxf two-dimensional drawing.
4. And selecting an annotation frame to annotate on the demo.dxf two-dimensional drawing, and displaying the same annotation information at a place corresponding to the demo.cim three-dimensional model after the annotation is finished. And conversely, selecting an annotation frame to annotate on the demo.cim three-dimensional model, wherein the annotation can be seen when the annotation is finished, and the same annotation information is displayed at the corresponding place of the demo.dxf two-dimensional drawing.
According to the method and the system for linkage of the two-dimensional drawing and the three-dimensional model of the web end, the analysis of the two-dimensional drawing and the rendering of the three-dimensional model can be completed only through one piece of software of a browser, the analysis of the two-dimensional drawing can be completed through an analysis module and a display module by the web end browser, meanwhile, a cloud rendering engine is utilized without limitation of the browser, the rendering of the three-dimensional model can be completed quickly at the cloud end, and then the three-dimensional drawing is drawn on a user display interface, so that the visualization of the two-dimensional drawing and the three-dimensional model is realized, the linkage operation of the two is realized through a linkage module, highlight selection, amplification and reduction, annotation and the like can be performed, various requirements of a user are met, convenience and rapidness are realized, files can be checked anytime and anywhere, various linkage operations are performed, cooperative work is performed, and the working efficiency is improved.
In the description of the present embodiment, it should be noted that, as those skilled in the art will understand, all or part of the processes in the method according to the above embodiments may be implemented by instructing the control device through a computer program, where the program may be stored in a computer-readable storage medium, and the program may include the processes according to the above method embodiments when executed, where the storage medium may be a memory, a magnetic disk, an optical disk, or the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Finally, it should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for linking a two-dimensional drawing and a three-dimensional model of a web end is characterized by comprising the following steps:
analyzing data, namely analyzing original data of the two-dimensional drawing into a JSON data format;
data drawing and model rendering, namely drawing JSON data of the two-dimensional drawing to a user display interface, and analyzing and drawing the three-dimensional model to the user display interface;
and data linkage, namely synchronously displaying the two-dimensional drawing and the user operation of the three-dimensional model.
2. The method of claim 1, wherein the data rendering and model rendering steps comprise:
and converting the JSON data of the two-dimensional drawing into a graph or a text, and drawing the two-dimensional drawing to a user display interface.
3. The method of claim 1, wherein the data rendering and model rendering steps comprise:
and analyzing and drawing the data transmitted to the web end by the cloud rendering engine.
4. The method of claim 1, wherein the data linking step comprises:
calculating the maximum point and the minimum point of the components in the two-dimensional drawing and the three-dimensional model;
and corresponding to the maximum point of the two-dimensional drawing and the maximum point of the three-dimensional model, and corresponding to the minimum point of the two-dimensional drawing and the minimum point of the three-dimensional model.
5. The method according to claim 1, wherein in the data drawing and model rendering step, after the two-dimensional drawing and the three-dimensional model are displayed, the size and the layout of the two-dimensional drawing display window and/or the three-dimensional model display window are adjusted.
6. The method according to claim 1, wherein the user operation in the data linkage step includes:
zooming in, zooming out and translating the window picture; highlighting of the component; and (6) annotating.
7. A two-dimensional drawing and three-dimensional model linkage system of a web end is characterized by comprising:
the analysis module is used for analyzing the original data of the two-dimensional drawing into a JSON data format;
the display module is used for drawing JSON data of the two-dimensional drawing to a user display interface, and analyzing and drawing the three-dimensional model to the user display interface;
and the linkage module is used for synchronously displaying the two-dimensional drawing and the user operation of the three-dimensional model.
8. The system of claim 7, wherein the display module comprises a rendering unit configured to convert JSON data of a two-dimensional drawing into a graphic or text and render the two-dimensional drawing to a user display interface.
9. The system of claim 7, wherein the display module comprises a model rendering unit, and the model rendering unit is configured to parse and draw data transmitted from the cloud rendering engine to the web side to the user display interface.
10. The system of claim 7, wherein the linkage module comprises a linkage unit, and the linkage unit is configured to calculate a maximum point and a minimum point of a component in the two-dimensional drawing and the three-dimensional model, correspond to the maximum point of the two-dimensional drawing and the maximum point of the three-dimensional model, and correspond to the minimum point of the two-dimensional drawing and the minimum point of the three-dimensional model, so that the two-dimensional drawing and the three-dimensional model are synchronously displayed.
CN202111333961.0A 2021-11-11 2021-11-11 Method and system for linking two-dimensional drawing and three-dimensional model of web end Pending CN114021239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111333961.0A CN114021239A (en) 2021-11-11 2021-11-11 Method and system for linking two-dimensional drawing and three-dimensional model of web end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111333961.0A CN114021239A (en) 2021-11-11 2021-11-11 Method and system for linking two-dimensional drawing and three-dimensional model of web end

Publications (1)

Publication Number Publication Date
CN114021239A true CN114021239A (en) 2022-02-08

Family

ID=80063698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111333961.0A Pending CN114021239A (en) 2021-11-11 2021-11-11 Method and system for linking two-dimensional drawing and three-dimensional model of web end

Country Status (1)

Country Link
CN (1) CN114021239A (en)

Similar Documents

Publication Publication Date Title
Zhu et al. A context-aware augmented reality assisted maintenance system
US8826114B2 (en) Surface-curve graphical intersection tools and primitives for data visualization, tabular data, and advanced spreadsheets
US20110055722A1 (en) Data Visualization Environment with DataFlow Processing, Web, Collaboration, Advanced User Interfaces, and Spreadsheet Visualization
CN106951479B (en) Simulation data visualization cooperation application system and method based on cloud environment
CN107943773B (en) Interactive electronic technical manual development system and method for aerospace products
CN111240669B (en) Interface generation method and device, electronic equipment and computer storage medium
Benavente et al. A STEP-NC compliant system for the remote design and manufacture of mechanical components through the Internet
JP2022041865A (en) Online working system for template-based excel documents
US20220180011A1 (en) Systems and methods for modifying cad files
CN115495069A (en) Model-driven coal industry software flow implementation method, device and equipment
KR101614792B1 (en) Production system of 3d infographic for big data visualization
US20070185828A1 (en) Graphical portal in an information management system and process
JP3369734B2 (en) Three-dimensional computer-aided design apparatus and method
CN114021239A (en) Method and system for linking two-dimensional drawing and three-dimensional model of web end
KR100898991B1 (en) Apparatus for shader providing and transformation of 3d graphic system
JP2009193489A (en) Work procedure manual creation system
Linaje et al. Automatic generation of rias using rux-tool and webratio
CN114781029A (en) Method, system and storage medium for converting three-dimensional information model into two-dimensional graph
Wang et al. A web-based interactive virtual environment for mobile phone customization
CN116579044A (en) AI-based human-computer interface automatic optimization design plotting method and device
CN112269960B (en) Webpage updating method, system, equipment and storage medium based on associated report
CN110673845B (en) Development method and system for dismounting software
Ma et al. Visualization Concept for Representing Capability Matchmaking Results in a Virtual Environment
CN118133570A (en) Project creation method, storage medium, electronic device, and program product
JPH10187771A (en) Device and method for analytic model generation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination