CN107368622A - The method for realizing CAD diagram paper online browse - Google Patents

The method for realizing CAD diagram paper online browse Download PDF

Info

Publication number
CN107368622A
CN107368622A CN201710424135.4A CN201710424135A CN107368622A CN 107368622 A CN107368622 A CN 107368622A CN 201710424135 A CN201710424135 A CN 201710424135A CN 107368622 A CN107368622 A CN 107368622A
Authority
CN
China
Prior art keywords
flash
cad diagram
diagram paper
acis
cad
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
CN201710424135.4A
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.)
Zhejiang College of Construction
Original Assignee
Zhejiang College of Construction
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 Zhejiang College of Construction filed Critical Zhejiang College of Construction
Priority to CN201710424135.4A priority Critical patent/CN107368622A/en
Publication of CN107368622A publication Critical patent/CN107368622A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/02CAD in a network environment, e.g. collaborative CAD or distributed simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses the method for realizing CAD diagram paper online browse, comprise the following steps:1) CAD diagram paper is opened, CAD diagram paper content is replicated;2) Flash software is opened, the CAD diagram paper after duplication is pasted in Flash elements (film clip);3) CAD diagram shape is repaired with toolbar in Flash software;4) Flash action script programs are edited, realize the Vector enlarging of CAD diagram paper;5) CAD diagram paper Flash file SWF is generated;6) by the Flash finished product file SWF embedded web pages of generation;7) network browsing Flash file is passed through.The present invention can directly realize browsing and designing for strange land model by the way that CAD diagram paper is changed into Flash file SWF by online browse device system, reduce the space occupancy rate of model data, improve practicality and the flexibility of online browse device system.

Description

The method for realizing CAD diagram paper online browse
Technical field
The present invention relates to the method for realizing CAD diagram paper online browse.
Background technology
As the development and popularization of network technology, people are growing to the demand of network application.Conventional CAD systems are Can not meet the needs of people are to Collaborative Design, data sharing, most of network CADs are also limited to C/S model, can not Overcome the shortcomings of installation upgrade maintenance is difficult, investment is huge.
The webization of software is the trend of following CAD software development.The demand of people promotes the development of internet, and mutual The development of networking has deepened demand of the people to network again.Under the demand of network and the interaction of development, traditional software Industry also receives huge impact.More shortcoming be present in traditional software:1st, software installation and operation need take client it is a large amount of Hardware resource;2nd, the upgrading of software is inconvenient, difficult in maintenance;3rd, direct data sharing can not be realized with cooperating;4、 Function waste be present in many Large-scale professional softwares;5th, every computer needs separately installed copy, enterprise's application Invest huge;6th, the bad adaptability in isomerous environment;7th, problem of piracy is serious, is very difficult to avoid completely copy right piracy.
The content of the invention
Present invention aims at provide the method for realizing CAD diagram paper online browse for the deficiency present in prior art Technical scheme, by the way that CAD diagram paper is changed into Flash file SWF, and can directly be realized by online browse device system different Browsing and designing for ground model, reduces the space occupancy rate of model data, improve online browse device system practicality and Flexibility.
In order to solve the above-mentioned technical problem, the present invention adopts the following technical scheme that:
The method for realizing CAD diagram paper online browse, it is characterised in that comprise the following steps:
1) CAD diagram paper is first turned on, and corresponding drawing content in CAD software interface is subjected to frame choosing and replicated;
2) Flash software is opened again, and the CAD diagram paper after duplication is pasted in Flash elements (film clip);
3) then CAD diagram shape is repaired with toolbar in Flash software;
4) and then Flash action script programs are edited, realizes the Vector enlarging of CAD diagram paper, and dragged with mouse or touch-screen The varying dimensions of cardon paper;
5) after the size after CAD diagram paper in Flash software determines, preserve file and generate CAD diagram paper Flash file SWF;
6) online browser plug-in is finally installed, logs in registered user's name and password in the homepage of online browse device system, Subsequently into online login page, by the Flash finished product file SWF embedded web pages of generation;
7) Flash file is browsed by web browser client, and according to the prompting download plug-in of browser, downloaded After the completion of can be directly in the ID attributes and color attribute of web browser client interface modification CAD model, and be saved in use On the computer at family oneself.
The online browse method can be not only avoided in CAD diagram paper downloading process, made because data flow is excessively huge Do not responded to for a long time into client, and CAD model data can be obtained from the webserver to update at any time as needed In the client, by the way that CAD diagram paper is directly translated into Flash file SWF, it is ensured that CAD diagram paper is undistorted after upload, The definition of SWF files is improved, and can be changed by download plug-in and edlin is entered to CAD model, substantially increases CAD diagram The editorial efficiency of paper, while the conversion between different CAD versions is avoided, make the CAD downloaded by web browser client Model is directly used in various CAD versions, improves the practicality of online browse device system.
Further, the online browse device system in step 6) includes Flash clients, the webserver, network moulding clothes Business device, web browser client and OpenGL display modules, Flash clients connection webserver port, network service Device and network moulding server are shown by network connection web browser client, web browser client connection OpenGL Show module, by the way that ACIS model discretizations, extraction point-line-surface information are simultaneously stored in an array in certain sequence, then should Array is transmitted to OpenGL display modules, and OpenGL display modules can rebuild model according to these point-line-surface information, make Flash finished product files SWF shows apparent, reduces the distortion of image, the change of aberration and the change of size.
Further, authentication module, HTTP request module and request processing module, identity are provided with the webserver Authentication module and HTTP request module difference connection request processing module, user enter the webserver by Flash clients HTTP request module, and online browse device system is logged in after authentication module is verified, facilitates user to upload or download CAD Drawing, while CAD diagram paper can be directly directly read on web browser, realize that distributed collaborative operates.
Further, network moulding server include ACIS-OpenGL bridges, model management module, moulding land parcel change trace module, ACIS moulding devices and ACIS discretizers, model management module connect respectively ACIS-OpenGL bridges, moulding land parcel change trace module and ACIS moulding devices, moulding land parcel change trace module connection ACIS moulding devices, ACIS moulding devices connection ACIS discretizers, ACIS discretizers Connect ACIS-OpenGL bridges.
Further, web browser client includes socket, mathematical tool storehouse, graphical tool storehouse, geometry kernel library With ActiveX GUI modules, graphical tool storehouse connects mathematical tool storehouse, geometry kernel library and ActiveX GUI modules respectively, number Learn tool storage room and connect geometry kernel library and ActiveX GUI modules, geometry kernel library connection ActiveX GUI modules respectively.
The present invention is by adopting the above-described technical solution, have the advantages that:
The online browse method of the present invention can be not only avoided in CAD diagram paper downloading process, because data flow is excessively huge Cause client not respond to for a long time greatly, and CAD model data can be obtained from the webserver at any time as needed To update in the client;It can be saved in the case where being fitted without CAD software directly by real-time performance online browse The time of download, while selective download can be carried out according to being actually needed, reduce the occupancy of hard drive space;It is clear by downloading The dynamic interaction between web browser client and the webserver can be achieved in device plug-in unit of looking at, and realizes strange land on-time model Design;The conversion between different CAD versions is avoided simultaneously, makes the CAD model by web browser client download direct For various CAD versions, the practicality of online browse device system is improved.
Brief description of the drawings
The invention will be further described below in conjunction with the accompanying drawings:
Fig. 1 is the schematic flow sheet for the method that the present invention realizes CAD diagram paper online browse;
Fig. 2 is the system block diagram of online browse device system in the present invention;
Embodiment
The method that the present invention realizes CAD diagram paper online browse, comprises the following steps:
1) CAD diagram paper is first turned on, and corresponding drawing content in CAD software interface is subjected to frame choosing and replicated;
2) Flash software is opened again, and the CAD diagram paper after duplication is pasted in Flash elements (film clip);
3) then CAD diagram shape is repaired with toolbar in Flash software;
4) and then Flash action script programs are edited, realizes the Vector enlarging of CAD diagram paper, and dragged with mouse or touch-screen The varying dimensions of cardon paper;
The mathematical modeling of Vector enlarging basic operation is as follows:
The basic operation of point and vector i.e. point and vector, point and point is the addition subtraction multiplication and division computing between vector and vector, if There are 3 vector V1(x1, y1, z1)、V2(x2, y2, z2) and V (x, y, z), then there is following operation expression:
Vector addition:V1+V2=(x1+x2, y1+y2, z1+z2)
Subtraction of vector:V1-V2=(x1-x2, y1-y2, z1-z2)
Vector dot product:V1·V2=(x1·x2, y1·y2, z1·z2)
Vector multiplication cross:V1×V2=(y1z2-y2z1, z1x2-z2x1)
Vector Mode is grown:| V |=(VV)1/2=(xx+yy+zz)1/2
5) after the size after CAD diagram paper in Flash software determines, preserve file and generate CAD diagram paper Flash file SWF;
6) online browser plug-in is finally installed, logs in registered user's name and password in the homepage of online browse device system, Subsequently into online login page, by the Flash finished product file SWF embedded web pages of generation;
Online browse device system includes Flash clients, the webserver, network moulding server, web browser visitor Family end and OpenGL display modules, Flash clients connection webserver port, the webserver and network moulding server By network connection web browser client, web browser client connection OpenGL display modules, by by ACIS Model discretization, extract point-line-surface information and be stored in certain sequence in an array, then the array is transmitted to OpenGL and shown Show module, OpenGL display modules can rebuild model according to these point-line-surface information, show Flash finished product files SWF Show apparent, reduce the distortion of image, the change of aberration and the change of size.
Authentication module, HTTP request module and request processing module, authentication mould are provided with the webserver Block and HTTP request module difference connection request processing module, user enter the HTTP of the webserver by Flash clients Request module, and online browse device system is logged in after authentication module is verified, facilitate user to upload or download CAD diagram paper, CAD diagram paper can be directly directly read on web browser simultaneously, realizes that distributed collaborative operates.
Network moulding server includes ACIS-OpenGL bridges, model management module, moulding land parcel change trace module, ACIS and made Type device and ACIS discretizers, model management module connect ACIS-OpenGL bridges, moulding land parcel change trace module and ACIS moulding respectively Device, moulding land parcel change trace module connection ACIS moulding devices, ACIS moulding devices connection ACIS discretizers, the connection of ACIS discretizers ACIS-OpenGL bridges.
Web browser client include socket, mathematical tool storehouse, graphical tool storehouse, geometry kernel library and ActiveX GUI modules, graphical tool storehouse connect mathematical tool storehouse, geometry kernel library and ActiveX GUI modules, mathematics respectively Tool storage room connects geometry kernel library and ActiveX GUI modules, geometry kernel library connection ActiveX GUI modules respectively.
7) Flash file is browsed by web browser client, and according to the prompting download plug-in of browser, downloaded After the completion of can be directly in the ID attributes and color attribute of web browser client interface modification CAD model, and be saved in use On the computer at family oneself.
The online browse method can be not only avoided in CAD diagram paper downloading process, made because data flow is excessively huge Do not responded to for a long time into client, and CAD model data can be obtained from the webserver to update at any time as needed In the client, by the way that CAD diagram paper is directly translated into Flash file SWF, it is ensured that CAD diagram paper is undistorted after upload, The definition of SWF files is improved, and can be changed by download plug-in and edlin is entered to CAD model, substantially increases CAD diagram The editorial efficiency of paper, while the conversion between different CAD versions is avoided, make the CAD downloaded by web browser client Model is directly used in various CAD versions, improves the practicality of online browse device system.
The specific embodiment of the present invention is these are only, but the technical characteristic of the present invention is not limited thereto.It is any with this hair Based on bright, to realize essentially identical technique effect, made ground simple change, equivalent substitution or modification etc., all cover Among protection scope of the present invention.

Claims (5)

1. realize the method for CAD diagram paper online browse, it is characterised in that comprise the following steps:
1) CAD diagram paper is first turned on, and corresponding drawing content in CAD software interface is subjected to frame choosing and replicated;
2) Flash software is opened again, and the CAD diagram paper after duplication is pasted in Flash elements (film clip);
3) then CAD diagram shape is repaired with toolbar in Flash software;
4) and then Flash action script programs are edited, realizes the Vector enlarging of CAD diagram paper, and schemed with mouse or touch-screen dragging The varying dimensions of paper;
5) after the size after CAD diagram paper in Flash software determines, preserve file and generate CAD diagram paper Flash file SWF;
6) online browser plug-in is finally installed, logs in registered user's name and password in the homepage of online browse device system, then Into online login page, by the Flash finished product file SWF embedded web pages of generation;
7) Flash file is browsed by web browser client, and according to the prompting download plug-in of browser, downloads and complete Afterwards can be directly in the ID attributes and color attribute of web browser client interface modification CAD model, and it is saved in user certainly On oneself computer.
2. the method according to claim 1 for realizing CAD diagram paper online browse, it is characterised in that:It is described in step 6) Online browse device system include Flash clients, the webserver, network moulding server, web browser client and OpenGL display modules, the Flash clients connect the webserver port, the webserver and the network Moulding server is by web browser client described in network connection, described in the web browser client connection OpenGL display modules.
3. the method according to claim 2 for realizing CAD diagram paper online browse, it is characterised in that:The webserver Authentication module, HTTP request module and request processing module are inside provided with, the authentication module and the HTTP please Modulus block connects the request processing module respectively.
4. the method according to claim 2 for realizing CAD diagram paper online browse, it is characterised in that:The network moulding clothes Business device includes ACIS-OpenGL bridges, model management module, moulding land parcel change trace module, ACIS moulding devices and ACIS discretizers, institute State model management module and connect the ACIS-OpenGL bridges, the moulding land parcel change trace module and the ACIS moulding devices respectively, The moulding land parcel change trace module connects the ACIS moulding devices, and the ACIS moulding devices connect the ACIS discretizers, described ACIS discretizers connect the ACIS-OpenGL bridges.
5. the method according to claim 2 for realizing CAD diagram paper online browse, it is characterised in that:The web browser Client includes socket, mathematical tool storehouse, graphical tool storehouse, geometry kernel library and ActiveX GUI modules, the figure Tool storage room connects the mathematical tool storehouse, the geometry kernel library and the ActiveX GUI modules, the mathematical tool respectively Storehouse connects the geometry kernel library and the ActiveX GUI modules respectively, and the geometry kernel library connects the ActiveX GUI module.
CN201710424135.4A 2017-06-07 2017-06-07 The method for realizing CAD diagram paper online browse Pending CN107368622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710424135.4A CN107368622A (en) 2017-06-07 2017-06-07 The method for realizing CAD diagram paper online browse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710424135.4A CN107368622A (en) 2017-06-07 2017-06-07 The method for realizing CAD diagram paper online browse

Publications (1)

Publication Number Publication Date
CN107368622A true CN107368622A (en) 2017-11-21

Family

ID=60306386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710424135.4A Pending CN107368622A (en) 2017-06-07 2017-06-07 The method for realizing CAD diagram paper online browse

Country Status (1)

Country Link
CN (1) CN107368622A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399631A (en) * 2019-05-31 2019-11-01 天津大学 The design method and system of ground leaching mine well site drawing platform
CN113111281A (en) * 2020-01-13 2021-07-13 长沙市海图科技有限公司 DWG drawing preview service method, system and storage medium
CN113420408A (en) * 2021-05-14 2021-09-21 上海霍普建筑设计事务所股份有限公司 CAD networked import system and import method
CN114357042A (en) * 2021-12-20 2022-04-15 广西交控智维科技发展有限公司 CAD data processing method, device, electronic equipment and computer program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020090475A (en) * 2001-05-28 2002-12-05 주식회사 지아이에스라이프 Flash Map on the Wireless Internet
US20030098862A1 (en) * 2001-11-06 2003-05-29 Smartequip, Inc. Method and system for building and using intelligent vector objects
CN104462642A (en) * 2014-10-23 2015-03-25 杭州杭开母线有限公司 Design method for bus duct production technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020090475A (en) * 2001-05-28 2002-12-05 주식회사 지아이에스라이프 Flash Map on the Wireless Internet
US20030098862A1 (en) * 2001-11-06 2003-05-29 Smartequip, Inc. Method and system for building and using intelligent vector objects
CN104462642A (en) * 2014-10-23 2015-03-25 杭州杭开母线有限公司 Design method for bus duct production technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁大伟: "协同设计可视化平台若干关键技术研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399631A (en) * 2019-05-31 2019-11-01 天津大学 The design method and system of ground leaching mine well site drawing platform
CN110399631B (en) * 2019-05-31 2023-01-24 天津大学 Design method and system of ground leaching mountain well site drawing platform
CN113111281A (en) * 2020-01-13 2021-07-13 长沙市海图科技有限公司 DWG drawing preview service method, system and storage medium
CN113420408A (en) * 2021-05-14 2021-09-21 上海霍普建筑设计事务所股份有限公司 CAD networked import system and import method
CN113420408B (en) * 2021-05-14 2024-03-19 上海霍普建筑设计事务所股份有限公司 CAD (computer aided design) networked importing system and importing method
CN114357042A (en) * 2021-12-20 2022-04-15 广西交控智维科技发展有限公司 CAD data processing method, device, electronic equipment and computer program product

Similar Documents

Publication Publication Date Title
CN107368622A (en) The method for realizing CAD diagram paper online browse
CN102027476A (en) File access via conduit application
CN105528418A (en) Design document generation method and apparatus
CN105493095A (en) Adaptive and recursive filtering for sample submission
CN103559194B (en) A kind of searching method, server, system
CN105843786A (en) Layout file displaying method and device
CN108846626A (en) One kind is mutually related method based on BIM and data platform
CN104881776A (en) Office system convenient for multi-user collaboration
CN105550165A (en) Plug-in and method capable of importing webpage article into webpage text editor
CN105144091B (en) It is generated for the user interface model of the order line based on program
CN106919406A (en) A kind of desktop application component issue, update method and device
CN108268260A (en) It is a kind of quick micro- using assemble method based on integrated support technology
CN113139219A (en) Coordination-oriented three-dimensional CAD model external information synchronization system and method
CN107562894A (en) A kind of API of web application systems behavior simulation obtains and methods for using them
CN102929636A (en) Method and device for creating human-computer interaction interface
CN102394911B (en) Computer aided engineering integrated cloud analysis system and method
CN112001157B (en) Online design method and device for webpage data form
WO2018205390A1 (en) Control layout display control method, system, and apparatus, and computer readable storage medium
CN108763296B (en) Database structure generation method and device for online checking and editing
CN109840244A (en) A kind of image type conversion method and device
CN211044321U (en) Drawing device based on cloud computing stylization and aesthetic judgment
CN112804347B (en) Multi-source information publishing method, terminal equipment and storage medium
CN116933606B (en) Modelica collaborative simulation modeling method, system and medium
CN106909493A (en) A kind of method of the display BMC daily records in real time in the blade server based on WINDOWS platform
US11449664B1 (en) Template for creating content item

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171121