CN110765507A - Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology - Google Patents
Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology Download PDFInfo
- Publication number
- CN110765507A CN110765507A CN201911055304.7A CN201911055304A CN110765507A CN 110765507 A CN110765507 A CN 110765507A CN 201911055304 A CN201911055304 A CN 201911055304A CN 110765507 A CN110765507 A CN 110765507A
- Authority
- CN
- China
- Prior art keywords
- dimensional
- sketch
- parameters
- cloud server
- client
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000005516 engineering process Methods 0.000 title claims abstract description 37
- 238000011960 computer-aided design Methods 0.000 title description 79
- 239000006185 dispersion Substances 0.000 claims abstract description 37
- 230000008569 process Effects 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 15
- 238000009877 rendering Methods 0.000 claims description 9
- 230000000007 visual effect Effects 0.000 claims description 6
- 238000009434 installation Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 230000009471 action Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000011900 installation process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 1
- 241000512668 Eunectes Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The application discloses three-dimensional CAD modeling method, device and system based on cloud service technology, and a cloud server and a client, wherein the method is applied to the cloud server which deploys a CAD environment in advance, and comprises the following steps: receiving sketch drawing parameters; carrying out sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on a drawing plane; receiving three-dimensional operation parameters input by a user and forwarded by a client, performing three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters, and generating three-dimensional point and normal vector information after dispersion; and returning the three-dimensional point and the normal vector information after the dispersion to the client so that the client can render and generate the three-dimensional CAD model according to the three-dimensional point and the normal vector information after the dispersion. According to the method and the device, the sketch drawing parameters and the three-dimensional operation parameters forwarded by the client are received by the cloud server, so that the process of downloading the CAD with the huge installation package is avoided, and the working efficiency is obviously improved.
Description
Technical Field
The application relates to the technical field of computer aided design, in particular to a three-dimensional CAD modeling method, device and system based on a cloud service technology, a cloud server and a client.
Background
Three-dimensional CAD (Computer Aided Design) software is Design and manufacturing engineering software which is widely applied to the fields of machinery, construction, electrical appliances, civil engineering and the like at present, and can carry out abundant two-dimensional sketch operation and three-dimensional feature operation. At present, the traditional local CAD software installation packages represented by SolidWorks, UG and ProE are huge, the installation process is complex, the software design efficiency is low, and further the working efficiency is reduced.
Disclosure of Invention
The application aims to provide a three-dimensional CAD modeling method, device and system based on a cloud service technology, a cloud server and a client, and the working efficiency is obviously improved.
In order to achieve the above object, the present application provides a three-dimensional CAD modeling method based on a cloud service technology, which is applied to a cloud server in a CAD environment deployed in advance, and the method includes:
receiving sketch drawing parameters; the sketch drawing parameter is a drawing parameter which is input by a client and forwarded to the cloud server and aims at a drawing plane;
carrying out sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on the drawing plane;
receiving three-dimensional operation parameters input by a user and forwarded by the client, and performing three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional point and normal vector information after dispersion;
and returning the dispersed three-dimensional point and normal vector information to the client, so that the client renders and generates a three-dimensional CAD model according to the dispersed three-dimensional point and normal vector information.
Optionally, the method further includes:
and recording the process of carrying out sketch operation according to the sketch drawing parameters and the process of carrying out three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters.
Optionally, the method further includes:
acquiring account information of a current login user;
searching the account information in a preset user database;
if the account information is successfully searched, acquiring a historical three-dimensional CAD model corresponding to the account information and creating process information corresponding to the historical three-dimensional CAD model;
and if the account information search fails, acquiring the basic information of the current login user, and registering the current login user.
In order to achieve the above object, the present application provides a three-dimensional CAD modeling method based on a cloud service technology, which is applied to a client, and the method includes:
receiving sketch drawing parameters aiming at a drawing plane, which are input by a user;
forwarding the sketch drawing parameters to a cloud server in a pre-deployed CAD environment, so that the cloud server performs sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on the drawing plane;
receiving three-dimensional operation parameters input by a user and forwarding the three-dimensional operation parameters to the cloud server so that the cloud server performs three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional points and normal vector information after dispersion;
and obtaining the three-dimensional point and normal vector information after the dispersion returned by the cloud server, and rendering and generating a three-dimensional CAD model according to the three-dimensional point and normal vector information after the dispersion.
Optionally, before receiving the sketch drawing parameter for the drawing plane, the method further includes:
receiving a starting instruction for starting sketch drawing, and determining a drawing plane corresponding to the starting instruction;
judging whether the drawing plane meets the condition of being used as a sketch drawing plane;
if so, displaying the drawing plane through a visual interface, and starting the step of receiving sketch drawing parameters aiming at the drawing plane and input by a user after displaying;
and if not, displaying error prompt information through a notification bar of the visual interface.
In order to achieve the above object, the present application provides a three-dimensional CAD modeling apparatus based on a cloud service technology, which is applied to a cloud server that deploys a CAD environment in advance, the apparatus includes:
the first receiving module is used for receiving sketch drawing parameters; the sketch drawing parameter is a drawing parameter which is input by a client and forwarded to the cloud server and aims at a drawing plane;
the sketch operation module is used for carrying out sketch operation according to the sketch drawing parameters and generating a corresponding two-dimensional sketch on the drawing plane;
the three-dimensional operation module is used for receiving the three-dimensional operation parameters input by the user and forwarded by the client, performing three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters, and generating three-dimensional point and normal vector information after dispersion;
and the information returning module is used for returning the dispersed three-dimensional point and normal vector information to the client so that the client can render and generate the three-dimensional CAD model according to the dispersed three-dimensional point and normal vector information.
In order to achieve the above object, the present application provides a three-dimensional CAD modeling apparatus based on a cloud service technology, which is applied to a client, and the apparatus includes:
the second receiving module is used for receiving sketch drawing parameters aiming at the drawing plane, which are input by a user;
the first forwarding module is used for forwarding the sketch drawing parameters to a cloud server in a pre-deployed CAD environment, so that the cloud server performs sketch operation according to the sketch drawing parameters and generates a corresponding two-dimensional sketch on the drawing plane;
the second forwarding module is used for receiving the three-dimensional operation parameters input by the user and forwarding the three-dimensional operation parameters to the cloud server so that the cloud server performs three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional point and normal vector information after dispersion;
and the three-dimensional rendering module is used for acquiring the three-dimensional point and normal vector information after the dispersion returned by the cloud server and rendering and generating a three-dimensional CAD model according to the three-dimensional point and normal vector information after the dispersion.
In order to achieve the above object, the present application provides a cloud server, where the cloud server deploys a CAD environment in advance, including:
a memory for storing a computer program;
a processor, configured to implement any of the steps of the aforementioned disclosed three-dimensional CAD modeling method executed by the cloud server side when executing the computer program.
To achieve the above object, the present application provides a client, including:
a memory for storing a computer program;
a processor for implementing the steps of any of the previously disclosed three-dimensional CAD modeling methods performed by the client side when executing the computer program.
In order to achieve the above object, the present application provides a three-dimensional CAD modeling system based on a cloud service technology, including:
the cloud server disclosed in the foregoing, and the client disclosed in the foregoing.
According to the scheme, the three-dimensional CAD modeling method based on the cloud service technology is applied to a cloud server in a pre-deployed CAD environment, and comprises the following steps: receiving sketch drawing parameters; the sketch drawing parameter is a drawing parameter which is input by a client and forwarded to the cloud server and aims at a drawing plane; carrying out sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on the drawing plane; receiving three-dimensional operation parameters input by a user and forwarded by the client, and performing three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional point and normal vector information after dispersion; and returning the dispersed three-dimensional point and normal vector information to the client, so that the client renders and generates a three-dimensional CAD model according to the dispersed three-dimensional point and normal vector information. According to the method and the device, the sketch drawing parameters and the three-dimensional operation parameters forwarded by the client are received by the cloud server, the three-dimensional point and normal vector information after dispersion is generated based on the information, and the three-dimensional point and normal vector information after dispersion is returned to the client, so that the client renders and generates the three-dimensional CAD model according to the three-dimensional point and normal vector information after dispersion, the process of downloading the CAD with the huge installation package is avoided, and the working efficiency is remarkably improved.
The application also discloses a three-dimensional CAD modeling device and system based on the cloud service technology, a cloud server and a client, and the technical effects can be achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a three-dimensional CAD modeling method based on a cloud service technology disclosed in an embodiment of the present application;
fig. 2 is a flowchart of another three-dimensional CAD modeling method based on cloud service technology disclosed in an embodiment of the present application;
fig. 3 is a structural diagram of a three-dimensional CAD modeling apparatus based on a cloud service technology disclosed in an embodiment of the present application;
fig. 4 is a structural diagram of another three-dimensional CAD modeling device based on cloud service technology disclosed in an embodiment of the present application;
fig. 5 is a structural diagram of a cloud server disclosed in an embodiment of the present application;
fig. 6 is a block diagram of a client disclosed in an embodiment of the present application;
fig. 7 is a block diagram of another client disclosed in an embodiment of the present application;
fig. 8 is a structural diagram of a three-dimensional CAD modeling system based on a cloud service technology disclosed in an embodiment of the present application;
fig. 9 is a structural diagram of a specific three-dimensional CAD modeling system based on a cloud service technology disclosed in an embodiment of the present application;
fig. 10 is a schematic diagram of a specific user interface disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, the traditional local CAD software installation packages represented by SolidWorks, UG and ProE are huge, the installation process is complex, the design efficiency of the software is low, and the working efficiency is further reduced.
Therefore, the embodiment of the application discloses a three-dimensional CAD modeling method based on a cloud service technology, and the working efficiency is obviously improved.
Referring to fig. 1, a three-dimensional CAD modeling method based on a cloud service technology disclosed in an embodiment of the present application is applied to a cloud server in a CAD environment deployed in advance, and as shown in fig. 1, the method includes:
s101: receiving sketch drawing parameters; the sketch drawing parameter is a drawing parameter which is input by a client and forwarded to the cloud server and aims at a drawing plane;
in the embodiment of the application, the CAD environment is deployed in the cloud server in advance, a rear-end framework is built, and the CAD kernel environment and the client are connected. In addition, a front-end user interface can be designed in advance, wherein the front-end user interface comprises a three-dimensional display area and a two-dimensional control, and sketch drawing parameters sent by a user can be received at the client through the front-end user interface. Specifically, the drawing plane can be provided to the user by the client, so that the user issues drawing parameters for the drawing plane and forwards the drawing parameters to the cloud server.
S102: carrying out sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on the drawing plane;
and after receiving the sketch drawing parameters, the cloud server carries out sketch transportation according to the sketch drawing parameters to generate a corresponding two-dimensional sketch.
S103: receiving three-dimensional operation parameters input by a user and forwarded by the client, and performing three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional point and normal vector information after dispersion;
in this step, the client may receive the three-dimensional operation parameters entered by the user through the user interface, so as to perform three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameters, and generate the three-dimensional point and normal vector information after dispersion.
S104: and returning the dispersed three-dimensional point and normal vector information to the client, so that the client renders and generates a three-dimensional CAD model according to the dispersed three-dimensional point and normal vector information.
After the cloud server obtains the three-dimensional point and the normal vector information after the dispersion, the three-dimensional point and the normal vector information after the dispersion are returned to the client, and the client can render and generate the three-dimensional CAD model according to the three-dimensional point and the normal vector information after the dispersion.
As a preferred implementation manner, in the embodiment of the present application, the process of performing the sketch operation according to the sketch drawing parameters and the process of performing the three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameters may also be recorded, and may specifically be stored by using a preset model file database.
Furthermore, considering that the prior art does not support team cooperation and multi-place multi-terminal login and viewing, the elasticity and efficient design of large engineering projects are obviously limited. Therefore, the embodiment of the application can bind the corresponding account for each user, and specifically, the account information of the current login user is obtained; searching the account information in a preset user database; if the account information is successfully searched, acquiring a historical three-dimensional CAD model corresponding to the account information and creating process information corresponding to the historical three-dimensional CAD model; and if the account information search fails, acquiring the basic information of the current login user, and registering the current login user. Therefore, the result sharing of multiple terminals of the same account after login can be achieved, and compared with the limitation that the traditional CAD can only be used in a local computer, the mobile office and data intercommunication among different platforms can be achieved.
According to the scheme, the three-dimensional CAD modeling method based on the cloud service technology is applied to a cloud server in a pre-deployed CAD environment, and comprises the following steps: receiving sketch drawing parameters; the sketch drawing parameter is a drawing parameter which is input by a client and forwarded to the cloud server and aims at a drawing plane; carrying out sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on the drawing plane; receiving three-dimensional operation parameters input by a user and forwarded by the client, and performing three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional point and normal vector information after dispersion; and returning the dispersed three-dimensional point and normal vector information to the client, so that the client renders and generates a three-dimensional CAD model according to the dispersed three-dimensional point and normal vector information. According to the method and the device, the sketch drawing parameters and the three-dimensional operation parameters forwarded by the client are received by the cloud server, the three-dimensional point and normal vector information after dispersion is generated based on the information, and the three-dimensional point and normal vector information after dispersion is returned to the client, so that the client renders and generates the three-dimensional CAD model according to the three-dimensional point and normal vector information after dispersion, the process of downloading the CAD with the huge installation package is avoided, and the working efficiency is remarkably improved.
The embodiment of the application discloses another three-dimensional CAD modeling method, which is applied to a client, and specifically comprises the following steps:
referring to fig. 2, a flowchart of another three-dimensional CAD modeling method based on cloud service technology provided in an embodiment of the present application is shown in fig. 2, and includes:
s201: receiving sketch drawing parameters aiming at a drawing plane, which are input by a user;
in the embodiment of the application, before receiving sketch drawing parameters aiming at a drawing plane, which are input by a user, a starting instruction for starting sketch drawing can be received, and the drawing plane corresponding to the starting instruction is determined; further judging whether the drawing plane meets the condition of being used as a sketch drawing plane; if so, displaying the drawing plane through a visual interface, and starting the step of receiving sketch drawing parameters aiming at the drawing plane and input by a user after displaying; and if not, displaying error prompt information through a notification bar of the visual interface.
S202: forwarding the sketch drawing parameters to a cloud server in a pre-deployed CAD environment, so that the cloud server performs sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on the drawing plane;
s203: receiving three-dimensional operation parameters input by a user and forwarding the three-dimensional operation parameters to the cloud server so that the cloud server performs three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional points and normal vector information after dispersion;
s204: and obtaining the three-dimensional point and normal vector information after the dispersion returned by the cloud server, and rendering and generating a three-dimensional CAD model according to the three-dimensional point and normal vector information after the dispersion.
In the following, a three-dimensional CAD modeling apparatus provided in an embodiment of the present application is described, and a three-dimensional CAD modeling apparatus described below and a three-dimensional CAD modeling method described above may be referred to each other.
Referring to fig. 3, a structural diagram of a three-dimensional CAD modeling apparatus based on a cloud service technology provided in an embodiment of the present application is, as shown in fig. 3, applied to a cloud server in a pre-deployment CAD environment, where the apparatus includes:
a first receiving module 301, configured to receive sketch drawing parameters; the sketch drawing parameter is a drawing parameter which is input by a client and forwarded to the cloud server and aims at a drawing plane;
a sketch operation module 302, configured to perform sketch operation according to the sketch drawing parameters, and generate a corresponding two-dimensional sketch on the drawing plane;
the three-dimensional operation module 303 is configured to receive a three-dimensional operation parameter input by a user and forwarded by the client, perform three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameter, and generate three-dimensional point and normal vector information after dispersion;
and an information returning module 304, configured to return the discretized three-dimensional point and normal vector information to the client, so that the client renders and generates a three-dimensional CAD model according to the discretized three-dimensional point and normal vector information.
For the specific implementation process of the modules 301 to 304, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
In the following, another three-dimensional CAD modeling apparatus provided in the embodiments of the present application is described, and a three-dimensional CAD modeling apparatus described below and a three-dimensional CAD modeling method described above may be referred to each other.
Referring to fig. 4, a structural diagram of another three-dimensional CAD modeling apparatus based on cloud service technology provided in an embodiment of the present application is, as shown in fig. 4, applied to a client, where the apparatus includes:
a second receiving module 401, configured to receive a sketch drawing parameter for a drawing plane, which is input by a user;
a first forwarding module 402, configured to forward the sketch drawing parameters to a cloud server in a pre-deployed CAD environment, so that the cloud server performs sketch operation according to the sketch drawing parameters, and generates a corresponding two-dimensional sketch on the drawing plane;
the second forwarding module 403 is configured to receive a three-dimensional operation parameter entered by a user and forward the three-dimensional operation parameter to the cloud server, so that the cloud server performs three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameter to generate three-dimensional points and normal vector information after dispersion;
and a three-dimensional rendering module 404, configured to obtain the three-dimensional point and normal vector information after the discretization returned by the cloud server, and render and generate a three-dimensional CAD model according to the three-dimensional point and normal vector information after the discretization.
For the specific implementation process of the modules 401 to 404, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
The present application further provides a cloud server, where the cloud server 11 deploys a CAD environment in advance, as shown in fig. 5, the cloud server 11 provided in the embodiment of the present application includes:
a memory 501 for storing a computer program;
the processor 502 is configured to implement the steps of the three-dimensional CAD modeling method performed by the cloud server side disclosed in any of the foregoing embodiments when executing the computer program.
The present application further provides a client, and referring to fig. 6, an embodiment of the present application provides a client 12 including:
a memory 601 for storing a computer program;
a processor 602, configured to execute the computer program, may implement the steps of the three-dimensional CAD modeling method performed by the client side disclosed in any of the foregoing embodiments.
Specifically, the memory 601 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 602, which in some embodiments may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, provides the client 11 with computing and controlling capabilities, and when executing the computer program stored in the memory 601, may implement any of the steps of the method for simulating machining of an internet of things robot disclosed in the foregoing disclosure, which is executed by the client.
On the basis of the above embodiment, as a preferred implementation, referring to fig. 7, the client 11 further includes:
an input interface 603 connected to the processor 602, for obtaining computer programs, parameters and instructions imported from outside, and storing the computer programs, parameters and instructions into the memory 601 under the control of the processor 602. The input interface 603 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or a button, a track ball or a touch pad arranged on a terminal shell, or a keyboard, a touch pad or a mouse, etc.
A display unit 604, coupled to the processor 602, for displaying data processed by the processor 602 and for displaying a visualized user interface. The display unit 604 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, and the like.
And a network port 605 connected to the processor 602 for performing communication connection with external terminal devices. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
While FIG. 7 shows only a client having components 601-605, those skilled in the art will appreciate that the architecture shown in FIG. 7 is not meant to be limiting and may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
The application also provides a three-dimensional CAD modeling system based on the cloud service technology, as shown in fig. 8, including: the cloud server 11 disclosed in the foregoing, and the client 12 disclosed in the foregoing.
In a particular embodiment, as shown in FIG. 9, the three-dimensional CAD modeling system may be largely divided into three major parts: an application layer, a service layer and a data layer. The application layer is software which can run in a browser of WebGL, and interface development is divided into development of two-dimensional controls and development of three-dimensional display areas; the service layer refers to an environment deployed in a cloud server, and comprises a web server, a back-end framework, a CAD kernel and a related calculation dependency package, and is mainly responsible for complex data operation processing. The data layer comprises a record of user login registration data, a record of model file information and a record of step data.
After the cloud CAD is deployed on the cloud server, a user accesses the server resource through a browser, and can perform an operation after successful loading, as shown in fig. 10, the operation is divided into a menu bar 21, an information area 22, and a three-dimensional display area 23. The menu bar 21 comprises a sketch feature and a three-dimensional feature, and a user can complete the establishment of the sketch and the realization of the three-dimensional feature according to the description of the corresponding icon; the information area 22 is used for recording step information of sketch operation and three-dimensional characteristic operation, completing the corresponding relation between the modeling step and the model entity, and simultaneously, the information prompt of modeling is notified by a notification bar of the information area; the three-dimensional display area 23 is an interactive and display portion of the three-dimensional model, and can display the three-dimensional object 24, where all modeling operations and processes are presented, including rotation, zooming, translation, etc. of the camera.
The workstation environment of the cloud CAD system comprises a server and client link configuration, and both comprise a hardware environment and a software environment. Wherein, the server side: for a hardware environment, the basic configuration is: a CPU: an Intel Xeon Gold 61498 core; memory: 32G; for a software environment, the server is basically configured as follows: ubuntu 16.0.4/Centos; Anaconda/MiniConda. A client: for a hardware environment, the basic configuration is: a CPU: intel core i3 or above; memory: 1G or more; hard disk: more than 100G; network card: MODEM or 10M/100M network card; for a software environment, the following software must be installed in the computer: (1) windows 2003/XP/7/8/8.1/10; (2) firefox 4+/Google Chrome 9+/Opera 12+/Safari 5.1+/IE 11 +.
The embodiment of the application can be deployed and operated on the Internet, has better usability, inherits the technical advantages of WebGL, abandons the technical disadvantages of various graphic plug-ins, and generates openness, transportability, usability, safety and load capacity which are all superior to the plug-ins. The advantages of the cloud server and the local client are combined, complex operation is carried out by the cloud server, simple graphic display is realized by rendering at the client, the pressure of the client is greatly reduced, and higher operation efficiency and smoother three-dimensional display effect can be generated. In addition, the account system is supported, the user information is stored in a login and registration account mode, cloud end of the three-dimensional CAD design process is achieved, mobile office work is achieved anytime and anywhere, a model can be established at one end after login, multiple terminals share results, work efficiency is improved remarkably, and use cost is reduced.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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.
Claims (10)
1. A three-dimensional CAD modeling method based on a cloud service technology is applied to a cloud server in a pre-deployed CAD environment, and the method comprises the following steps:
receiving sketch drawing parameters; the sketch drawing parameter is a drawing parameter which is input by a client and forwarded to the cloud server and aims at a drawing plane;
carrying out sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on the drawing plane;
receiving three-dimensional operation parameters input by a user and forwarded by the client, and performing three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional point and normal vector information after dispersion;
and returning the dispersed three-dimensional point and normal vector information to the client, so that the client renders and generates a three-dimensional CAD model according to the dispersed three-dimensional point and normal vector information.
2. The three-dimensional CAD modeling method of claim 1, further comprising:
and recording the process of carrying out sketch operation according to the sketch drawing parameters and the process of carrying out three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters.
3. The three-dimensional CAD modeling method according to claim 1 or 2, further comprising:
acquiring account information of a current login user;
searching the account information in a preset user database;
if the account information is successfully searched, acquiring a historical three-dimensional CAD model corresponding to the account information and creating process information corresponding to the historical three-dimensional CAD model;
and if the account information search fails, acquiring the basic information of the current login user, and registering the current login user.
4. A three-dimensional CAD modeling method based on cloud service technology is applied to a client side, and the method comprises the following steps:
receiving sketch drawing parameters aiming at a drawing plane, which are input by a user;
forwarding the sketch drawing parameters to a cloud server in a pre-deployed CAD environment, so that the cloud server performs sketch operation according to the sketch drawing parameters, and generating a corresponding two-dimensional sketch on the drawing plane;
receiving three-dimensional operation parameters input by a user and forwarding the three-dimensional operation parameters to the cloud server so that the cloud server performs three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional points and normal vector information after dispersion;
and obtaining the three-dimensional point and normal vector information after the dispersion returned by the cloud server, and rendering and generating a three-dimensional CAD model according to the three-dimensional point and normal vector information after the dispersion.
5. The three-dimensional CAD modeling method according to claim 4, wherein said receiving user-entered sketch drawing parameters for a drawing plane further comprises:
receiving a starting instruction for starting sketch drawing, and determining a drawing plane corresponding to the starting instruction;
judging whether the drawing plane meets the condition of being used as a sketch drawing plane;
if so, displaying the drawing plane through a visual interface, and starting the step of receiving sketch drawing parameters aiming at the drawing plane and input by a user after displaying;
and if not, displaying error prompt information through a notification bar of the visual interface.
6. A three-dimensional CAD modeling device based on cloud service technology is applied to a cloud server of a pre-deployed CAD environment, and the device comprises:
the first receiving module is used for receiving sketch drawing parameters; the sketch drawing parameter is a drawing parameter which is input by a client and forwarded to the cloud server and aims at a drawing plane;
the sketch operation module is used for carrying out sketch operation according to the sketch drawing parameters and generating a corresponding two-dimensional sketch on the drawing plane;
the three-dimensional operation module is used for receiving the three-dimensional operation parameters input by the user and forwarded by the client, performing three-dimensional characteristic operation on the two-dimensional sketch based on the three-dimensional operation parameters, and generating three-dimensional point and normal vector information after dispersion;
and the information returning module is used for returning the dispersed three-dimensional point and normal vector information to the client so that the client can render and generate the three-dimensional CAD model according to the dispersed three-dimensional point and normal vector information.
7. A three-dimensional CAD modeling device based on cloud service technology is characterized by being applied to a client side, and the device comprises:
the second receiving module is used for receiving sketch drawing parameters aiming at the drawing plane, which are input by a user;
the first forwarding module is used for forwarding the sketch drawing parameters to a cloud server in a pre-deployed CAD environment, so that the cloud server performs sketch operation according to the sketch drawing parameters and generates a corresponding two-dimensional sketch on the drawing plane;
the second forwarding module is used for receiving the three-dimensional operation parameters input by the user and forwarding the three-dimensional operation parameters to the cloud server so that the cloud server performs three-dimensional feature operation on the two-dimensional sketch based on the three-dimensional operation parameters to generate three-dimensional point and normal vector information after dispersion;
and the three-dimensional rendering module is used for acquiring the three-dimensional point and normal vector information after the dispersion returned by the cloud server and rendering and generating a three-dimensional CAD model according to the three-dimensional point and normal vector information after the dispersion.
8. The cloud server is characterized in that the cloud server pre-deploys a CAD environment, and comprises:
a memory for storing a computer program;
a processor for implementing the steps of the three-dimensional CAD modeling method according to any of claims 1 to 3 when executing the computer program.
9. A client, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the three-dimensional CAD modeling method as claimed in claim 4 or 5 when executing the computer program.
10. A three-dimensional CAD modeling system based on cloud service technology is characterized by comprising:
a cloud server as claimed in claim 8, and a client as claimed in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911055304.7A CN110765507A (en) | 2019-10-31 | 2019-10-31 | Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911055304.7A CN110765507A (en) | 2019-10-31 | 2019-10-31 | Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110765507A true CN110765507A (en) | 2020-02-07 |
Family
ID=69335736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911055304.7A Pending CN110765507A (en) | 2019-10-31 | 2019-10-31 | Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110765507A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111652970A (en) * | 2020-05-29 | 2020-09-11 | 深圳市大富网络技术有限公司 | Three-dimensional CAD model generation method and device, computer equipment and storage medium |
CN113378254A (en) * | 2021-07-13 | 2021-09-10 | 重庆云图软件科技有限公司 | Three-dimensional CAD cloud engine system |
CN115107280A (en) * | 2022-06-24 | 2022-09-27 | 重庆大学 | Voronoi porous structure intelligent generation method |
CN115795921A (en) * | 2023-02-02 | 2023-03-14 | 北京适创科技有限公司 | Model processing method, device, storage medium and back end |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710605A (en) * | 2012-05-08 | 2012-10-03 | 重庆大学 | Information security management and control method under cloud manufacturing environment |
CN103618917A (en) * | 2013-11-15 | 2014-03-05 | 四川长虹电器股份有限公司 | Smart television content recommendation system based on fingerprint identification |
CN105022939A (en) * | 2014-04-25 | 2015-11-04 | 腾讯科技(深圳)有限公司 | Information verification method and device |
CN106355022A (en) * | 2016-08-31 | 2017-01-25 | 陕西渭南神州德信医学成像技术有限公司 | Display method and device |
CN107566338A (en) * | 2017-07-26 | 2018-01-09 | 中车工业研究院有限公司 | A kind of safety insert system and equipment based on local CAD cloud storages |
CN107992661A (en) * | 2017-11-27 | 2018-05-04 | 中车工业研究院有限公司 | CAD modeling datas streaming method, server and client side |
CN108023942A (en) * | 2017-11-27 | 2018-05-11 | 中车工业研究院有限公司 | CAD modeling datas transmission method based on cloud platform, server and client side |
-
2019
- 2019-10-31 CN CN201911055304.7A patent/CN110765507A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710605A (en) * | 2012-05-08 | 2012-10-03 | 重庆大学 | Information security management and control method under cloud manufacturing environment |
CN103618917A (en) * | 2013-11-15 | 2014-03-05 | 四川长虹电器股份有限公司 | Smart television content recommendation system based on fingerprint identification |
CN105022939A (en) * | 2014-04-25 | 2015-11-04 | 腾讯科技(深圳)有限公司 | Information verification method and device |
CN106355022A (en) * | 2016-08-31 | 2017-01-25 | 陕西渭南神州德信医学成像技术有限公司 | Display method and device |
CN107566338A (en) * | 2017-07-26 | 2018-01-09 | 中车工业研究院有限公司 | A kind of safety insert system and equipment based on local CAD cloud storages |
CN107992661A (en) * | 2017-11-27 | 2018-05-04 | 中车工业研究院有限公司 | CAD modeling datas streaming method, server and client side |
CN108023942A (en) * | 2017-11-27 | 2018-05-11 | 中车工业研究院有限公司 | CAD modeling datas transmission method based on cloud platform, server and client side |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111652970A (en) * | 2020-05-29 | 2020-09-11 | 深圳市大富网络技术有限公司 | Three-dimensional CAD model generation method and device, computer equipment and storage medium |
CN113378254A (en) * | 2021-07-13 | 2021-09-10 | 重庆云图软件科技有限公司 | Three-dimensional CAD cloud engine system |
CN115107280A (en) * | 2022-06-24 | 2022-09-27 | 重庆大学 | Voronoi porous structure intelligent generation method |
CN115795921A (en) * | 2023-02-02 | 2023-03-14 | 北京适创科技有限公司 | Model processing method, device, storage medium and back end |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110765507A (en) | Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology | |
CN108345543B (en) | Data processing method, device, equipment and storage medium | |
TW202113586A (en) | Method and device for generating applet | |
US9811611B2 (en) | Method and apparatus for creating curved surface model | |
CN107890671A (en) | Threedimensional model rendering intent, device, computer equipment and the storage medium of WEB terminal | |
CN103777967A (en) | Page returning method and page generating method and device | |
CN111240669B (en) | Interface generation method and device, electronic equipment and computer storage medium | |
CN104813318A (en) | Techniques for context-based grouping of messages for translation | |
CN105335309A (en) | Data transmission method and computer | |
CN111507116A (en) | Code scanning method and device, code scanning equipment and computer readable storage medium | |
CN111435936B (en) | Cloud host creation method, cloud host creation device, server and computer readable storage medium | |
CN110757457A (en) | Processing simulation method, device and system of Internet of things robot | |
CN114638939A (en) | Model generation method, model generation device, electronic device, and readable storage medium | |
CN112807695B (en) | Game scene generation method and device, readable storage medium and electronic equipment | |
CN111078518B (en) | Data acquisition method, terminal device and computer readable storage medium | |
CN111124612B (en) | Container mirror image upgrading method and device, electronic equipment and storage medium | |
CN111782382A (en) | Task processing method and device, storage medium and electronic equipment | |
CN103257897A (en) | Starting method and device of mobile terminal browser and mobile terminal | |
CN114092608B (en) | Expression processing method and device, computer readable storage medium and electronic equipment | |
CN105827701B (en) | Method and device for controlling controlled terminal based on Internet and Internet of things | |
CN114896645A (en) | Model component generation method and device and electronic equipment | |
CN113672826A (en) | Page jump method, device, computer equipment and storage medium | |
CN104156368A (en) | Method and device for providing application access result | |
CN106126056A (en) | A kind of lantern slide based on PowerPoint automatically creates method and device | |
JP2021192224A (en) | Method and device, electronic device, computer-readable storage medium, and computer program for detecting pedestrian |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220121 Address after: 401331 No. a223, second floor, building 39, Chongqing Institute of science and technology, No. 20, University Town East Road, Shapingba District, Chongqing Applicant after: Chongqing yuntu Software Technology Co.,Ltd. Address before: No.174, shazheng street, Shapingba District, Chongqing Applicant before: Chongqing University |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200207 |
|
RJ01 | Rejection of invention patent application after publication |