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 PDF

Info

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
Application number
CN201911055304.7A
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.)
Chongqing Yuntu Software Technology Co ltd
Original Assignee
Chongqing University
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 Chongqing University filed Critical Chongqing University
Priority to CN201911055304.7A priority Critical patent/CN110765507A/en
Publication of CN110765507A publication Critical patent/CN110765507A/en
Pending legal-status Critical Current

Links

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

一种基于云服务技术的三维CAD建模方法、装置、系统A 3D CAD modeling method, device and system based on cloud service technology

技术领域technical field

本申请涉及计算机辅助设计技术领域,更具体地说,涉及一种基于云服务技术的三维CAD建模方法、装置、系统及一种云端服务器和一种客户端。The present application relates to the technical field of computer-aided design, and more particularly, to a three-dimensional CAD modeling method, device, and system based on cloud service technology, a cloud server and a client.

背景技术Background technique

三维CAD(Computer Aided Design,计算机辅助设计)软件是目前广泛运用在机械、建筑、电器、土木等领域的设计制造工程软件,能够进行丰富的二维草图操作、三维特征运算。目前以SolidWorks、UG、ProE为代表的传统本地端的CAD软件安装包庞大,安装过程复杂,且此类软件设计效率低下,进而降低了工作效率。3D CAD (Computer Aided Design, Computer Aided Design) software is a design and manufacturing engineering software widely used in machinery, architecture, electrical appliances, civil engineering and other fields. It can perform rich 2D sketch operations and 3D feature operations. At present, the traditional local CAD software installation packages represented by SolidWorks, UG, and ProE are huge, the installation process is complicated, and the design efficiency of such software is low, thereby reducing work efficiency.

发明内容SUMMARY OF THE INVENTION

本申请的目的在于提供一种基于云服务技术的三维CAD建模方法、装置、系统及一种云端服务器和一种客户端,显著提高了工作效率。The purpose of this application is to provide a 3D CAD modeling method, device, and system based on cloud service technology, a cloud server and a client, which significantly improves work efficiency.

为实现上述目的,本申请提供了一种基于云服务技术的三维CAD建模方法,应用于预先部署CAD环境的云端服务器,所述方法包括:In order to achieve the above purpose, the present application provides a three-dimensional CAD modeling method based on cloud service technology, which is applied to a cloud server that pre-deploys a CAD environment, and the method includes:

接收草图绘制参数;所述草图绘制参数为客户端接收并转发至所述云端服务器的用户录入的针对绘制平面的绘制参数;Receive sketching parameters; the sketching parameters are the drawing parameters for the drawing plane that are received by the client and forwarded to the user of the cloud server;

根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;Perform a sketch operation according to the sketch drawing parameters, and generate a corresponding two-dimensional sketch on the drawing plane;

接收所述客户端转发的用户录入的三维操作参数,并基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;receiving the 3D operation parameters input by the user forwarded by the client, and performing 3D feature operations on the 2D sketch based on the 3D operation parameters to generate discrete 3D point and normal vector information;

将所述离散后三维点及法矢信息返回至所述客户端,以便所述客户端根据所述离散后三维点及法矢信息渲染生成三维CAD模型。Returning the discrete three-dimensional point and normal vector information to the client, so that the client can render and generate a three-dimensional CAD model according to the discrete three-dimensional point and normal information.

可选的,还包括:Optionally, also include:

将根据所述草图绘制参数进行草图运算的过程以及基于所述三维操作参数在所述二维草图上进行三维特征运算的过程进行记录。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 are recorded.

可选的,还包括:Optionally, also include:

获取当前登录用户的账号信息;Get the account information of the currently logged in user;

在预设用户数据库中查找所述账号信息;Find the account information in the preset user database;

若所述账号信息查找成功,则获取所述账号信息对应的历史三维CAD模型以及所述历史三维CAD模型对应的创建过程信息;If the account information is successfully searched, obtain the historical 3D CAD model corresponding to the account information and the creation process information corresponding to the historical 3D CAD model;

若所述账号信息查找失败,则获取所述当前登录用户的基本信息,进行所述当前登录用户的注册。If the account information search fails, basic information of the currently logged-in user is acquired, and registration of the currently logged-in user is performed.

为实现上述目的,本申请提供了一种基于云服务技术的三维CAD建模方法,应用于客户端,所述方法包括:In order to achieve the above purpose, the present application provides a 3D CAD modeling method based on cloud service technology, which is applied to the client, and the method includes:

接收用户录入的针对绘制平面的草图绘制参数;Receive the sketching parameters for the drawing plane entered by the user;

将所述草图绘制参数转发至预先部署CAD环境的云端服务器中,以使所述云端服务器根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;forwarding the sketching parameters to a cloud server pre-deployed in a CAD environment, so that the cloud server performs sketch operations according to the sketching parameters, and generates a corresponding two-dimensional sketch on the drawing plane;

接收用户录入的三维操作参数并转发至所述云端服务器中,以使所述云端服务器基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;receiving the three-dimensional operation parameters entered by the user and forwarding them to the cloud server, so that the cloud server performs three-dimensional feature operations on the two-dimensional sketch based on the three-dimensional operation parameters, and generates discrete three-dimensional point and normal vector information;

获取所述云端服务器返回的所述离散后三维点及法矢信息,并根据所述离散后三维点及法矢信息渲染生成三维CAD模型。Obtain the discrete three-dimensional point and normal vector information returned by the cloud server, and generate a three-dimensional CAD model according to the discrete three-dimensional point and normal information.

可选的,所述接收用户录入的针对绘制平面的草图绘制参数之前,还包括:Optionally, before receiving the sketch drawing parameters for the drawing plane entered by the user, the method further includes:

接收用于启动草图绘制的启动指令,并确定所述启动指令对应的绘制平面;Receive a start instruction for starting sketching, and determine the drawing plane corresponding to the start instruction;

判断所述绘制平面是否满足作为草图绘制平面的条件;Judging whether the drawing plane satisfies the condition of being a sketch drawing plane;

如果是,则通过可视化界面展示所述绘制平面,并在展示后启动所述接收用户录入的针对绘制平面的草图绘制参数的步骤;If so, display the drawing plane through a visual interface, and start the step of receiving the sketching parameters for the drawing plane entered by the user after the display;

如果否,则通过所述可视化界面的通知栏显示错误提示信息。If not, error prompt information is displayed through the notification bar of the visual interface.

为实现上述目的,本申请提供了一种基于云服务技术的三维CAD建模装置,应用于预先部署CAD环境的云端服务器,所述装置包括:In order to achieve the above purpose, the present application provides a three-dimensional CAD modeling device based on cloud service technology, which is applied to a cloud server that pre-deploys a CAD environment, and the device includes:

第一接收模块,用于接收草图绘制参数;所述草图绘制参数为客户端接收并转发至所述云端服务器的用户录入的针对绘制平面的绘制参数;a first receiving module, configured to receive sketching parameters; the sketching parameters are the drawing parameters for the drawing plane entered by the client and forwarded to the cloud server;

草图运算模块,用于根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;a sketch operation module, configured to perform sketch operation according to the sketch drawing parameters, and generate a corresponding two-dimensional sketch on the drawing plane;

三维运算模块,用于接收所述客户端转发的用户录入的三维操作参数,并基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;a three-dimensional operation module, configured to receive the three-dimensional operation parameters input by the user forwarded by the client, and perform three-dimensional feature operations on the two-dimensional sketch based on the three-dimensional operation parameters to generate discrete three-dimensional point and normal vector information;

信息返回模块,用于将所述离散后三维点及法矢信息返回至所述客户端,以便所述客户端根据所述离散后三维点及法矢信息渲染生成三维CAD模型。An information return module, configured to return the discrete three-dimensional point and normal vector information to the client, so that the client can render and generate a three-dimensional CAD model according to the discrete three-dimensional point and normal information.

为实现上述目的,本申请提供了一种基于云服务技术的三维CAD建模装置,应用于客户端,所述装置包括:In order to achieve the above purpose, the present application provides a 3D CAD modeling device based on cloud service technology, which is applied to the client, and the device includes:

第二接收模块,用于接收用户录入的针对绘制平面的草图绘制参数;The second receiving module is used to receive the sketching parameters for the drawing plane entered by the user;

第一转发模块,用于将所述草图绘制参数转发至预先部署CAD环境的云端服务器中,以使所述云端服务器根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;a first forwarding module, configured to forward the sketch drawing parameters to a cloud server pre-deployed in a CAD environment, so that the cloud server performs sketch operations according to the sketch drawing parameters, and generates a corresponding two-dimensional drawing on the drawing plane sketch;

第二转发模块,用于接收用户录入的三维操作参数并转发至所述云端服务器中,以使所述云端服务器基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;The second forwarding module is configured to receive the three-dimensional operation parameters entered by the user and forward them to the cloud server, so that the cloud server can perform three-dimensional feature operations on the two-dimensional sketch based on the three-dimensional operation parameters, and generate a discrete 3D point and normal vector information;

三维渲染模块,用于获取所述云端服务器返回的所述离散后三维点及法矢信息,并根据所述离散后三维点及法矢信息渲染生成三维CAD模型。A three-dimensional rendering module, configured to obtain the discrete three-dimensional point and normal vector information returned by the cloud server, and generate a three-dimensional CAD model according to the discrete three-dimensional point and normal vector information.

为实现上述目的,本申请提供了一种云端服务器,所述云端服务器预先部署CAD环境,包括:To achieve the above purpose, the present application provides a cloud server, where the cloud server pre-deploys a CAD environment, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序时实现前述公开的任一种由云端服务器一侧执行的所述三维CAD建模方法的步骤。The processor is configured to implement any one of the steps of the 3D CAD modeling method disclosed above and executed by the cloud server side when executing the computer program.

为实现上述目的,本申请提供了一种客户端,包括:To achieve the above purpose, the present application provides a client, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序时实现前述公开的任一种由客户端一侧执行的所述三维CAD建模方法的步骤。The processor is configured to implement any one of the steps of the three-dimensional CAD modeling method disclosed above and executed by the client side when executing the computer program.

为实现上述目的,本申请提供了一种基于云服务技术的三维CAD建模系统,包括:To achieve the above purpose, the application provides a three-dimensional CAD modeling system based on cloud service technology, including:

前述公开的云端服务器,以及前述公开的客户端。The cloud server disclosed above, and the client disclosed above.

通过以上方案可知,本申请提供的一种基于云服务技术的三维CAD建模方法,应用于预先部署CAD环境的云端服务器,所述方法包括:接收草图绘制参数;所述草图绘制参数为客户端接收并转发至所述云端服务器的用户录入的针对绘制平面的绘制参数;根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;接收所述客户端转发的用户录入的三维操作参数,并基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;将所述离散后三维点及法矢信息返回至所述客户端,以便所述客户端根据所述离散后三维点及法矢信息渲染生成三维CAD模型。由上可知,本申请利用云端服务器接收客户端转发的草图绘制参数以及三维操作参数,基于上述信息生成离散后三维点及法矢信息,并将离散后三维点及法矢信息返回至客户端中,以便客户端根据离散后三维点及法矢信息渲染生成三维CAD模型,避免了对具有庞大安装包的CAD进行下载的过程,显著提高了工作效率。It can be seen from the above solutions that a 3D CAD modeling method based on cloud service technology provided by the present application is applied to a cloud server that pre-deploys a CAD environment, and the method includes: receiving sketching parameters; the sketching parameters are the client Receive and forward the drawing parameters for the drawing plane entered by the user of the cloud server; perform sketch operations according to the sketch drawing parameters, and generate a corresponding two-dimensional sketch on the drawing plane; receive the user input forwarded by the client 3D operation parameters, and perform 3D feature operation on the 2D sketch based on the 3D operation parameters to generate discrete 3D point and normal vector information; return the discrete 3D point and normal vector information to the client terminal, so that the client can render and generate a three-dimensional CAD model according to the discrete three-dimensional point and normal vector information. It can be seen from the above that the present application uses the cloud server to receive the sketch drawing parameters and the three-dimensional operation parameters forwarded by the client, generates the discrete three-dimensional point and normal vector information based on the above information, and returns the discrete three-dimensional point and normal vector information to the client. , so that the client can render a 3D CAD model according to the discrete 3D point and normal vector information, avoid the process of downloading CAD with a huge installation package, and significantly improve the work efficiency.

本申请还公开了一种基于云服务技术的三维CAD建模装置、系统及一种云端服务器和一种客户端,同样能实现上述技术效果。The present application also discloses a 3D CAD modeling device and system based on cloud service technology, a cloud server and a client, which can also achieve the above technical effects.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the application.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本申请实施例公开的一种基于云服务技术的三维CAD建模方法的流程图;1 is a flowchart of a three-dimensional CAD modeling method based on cloud service technology disclosed in an embodiment of the application;

图2为本申请实施例公开的另一种基于云服务技术的三维CAD建模方法的流程图;2 is a flowchart of another 3D CAD modeling method based on cloud service technology disclosed in an embodiment of the application;

图3为本申请实施例公开的一种基于云服务技术的三维CAD建模装置的结构图;3 is a structural diagram of a 3D CAD modeling device based on cloud service technology disclosed in an embodiment of the application;

图4为本申请实施例公开的另一种基于云服务技术的三维CAD建模装置的结构图;FIG. 4 is a structural diagram of another 3D CAD modeling device based on cloud service technology disclosed in an embodiment of the application;

图5为本申请实施例公开的一种云端服务器的结构图;FIG. 5 is a structural diagram of a cloud server disclosed in an embodiment of the application;

图6为本申请实施例公开的一种客户端的结构图;FIG. 6 is a structural diagram of a client disclosed in an embodiment of the present application;

图7为本申请实施例公开的另一种客户端的结构图;FIG. 7 is a structural diagram of another client disclosed in an embodiment of the present application;

图8为本申请实施例公开的一种基于云服务技术的三维CAD建模系统的结构图;8 is a structural diagram of a three-dimensional CAD modeling system based on cloud service technology disclosed in an embodiment of the application;

图9为本申请实施例公开的一种具体的基于云服务技术的三维CAD建模系统的结构图;9 is a structural diagram of a specific three-dimensional CAD modeling system based on cloud service technology disclosed in an embodiment of the application;

图10为本申请实施例公开的一种具体的用户界面的示意图。FIG. 10 is a schematic diagram of a specific user interface disclosed in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。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. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

在现有技术中,以SolidWorks、UG、ProE为代表的传统本地端的CAD软件安装包庞大,安装过程复杂,且此类软件设计效率低下,进而降低了工作效率。In the prior art, the traditional local CAD software installation packages represented by SolidWorks, UG, and ProE are huge, the installation process is complicated, and the design efficiency of such software is low, thereby reducing work efficiency.

因此,本申请实施例公开了一种基于云服务技术的三维CAD建模方法,显著提高了工作效率。Therefore, the embodiments of the present application disclose a 3D CAD modeling method based on cloud service technology, which significantly improves work efficiency.

参见图1,本申请实施例公开的一种基于云服务技术的三维CAD建模方法,应用于预先部署CAD环境的云端服务器,参见图1所示,所述方法包括:Referring to FIG. 1 , a 3D CAD modeling method based on cloud service technology disclosed in an embodiment of the present application is applied to a cloud server where a CAD environment is pre-deployed. Referring to FIG. 1 , the method includes:

S101:接收草图绘制参数;所述草图绘制参数为客户端接收并转发至所述云端服务器的用户录入的针对绘制平面的绘制参数;S101: Receive a sketching parameter; the sketching parameter is a drawing parameter for a drawing plane entered by a user received by a client and forwarded to the cloud server;

本申请实施例中,预先在云端服务器中部署了CAD环境,并搭建后端框架,连接CAD内核环境与客户端。另外,还可预先设计前端用户界面,其中包含三维显示区与二维控件,可在客户端通过前端用户界面接收用户下发的草图绘制参数。具体地,可由客户端向用户提供绘制平面,以便用户下发针对绘制平面的绘制参数并转发至云端服务器。In the embodiment of the present application, the CAD environment is pre-deployed in the cloud server, and a back-end framework is built to connect the CAD kernel environment and the client. In addition, a front-end user interface can also be designed in advance, which includes a three-dimensional display area and two-dimensional controls, and the client can receive sketching parameters issued by the user through the front-end user interface. Specifically, the client can provide the drawing plane to the user, so that the user can issue the drawing parameters for the drawing plane and forward it to the cloud server.

S102:根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;S102: Perform a sketch operation according to the sketch drawing parameters, and generate a corresponding two-dimensional sketch on the drawing plane;

在云端服务器在接收到上述草图绘制参数之后,将根据草图绘制参数进行草图运输,生成对应的二维草图。After the cloud server receives the above sketching parameters, it will transport the sketches according to the sketching parameters to generate the corresponding two-dimensional sketches.

S103:接收所述客户端转发的用户录入的三维操作参数,并基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;S103: Receive the 3D operation parameters input by the user and forwarded by the client, and perform 3D feature operation on the 2D sketch based on the 3D operation parameters to generate discrete 3D point and normal vector information;

在本步骤中,客户端可通过用户界面接收用户录入的三维操作参数,从而基于三维操作参数在二维草图上进行三维特征运算,生成离散后三维点及法矢信息。In this step, the client can receive the 3D operation parameters input by the user through the user interface, so as to perform 3D feature operation on the 2D sketch based on the 3D operation parameters, and generate discrete 3D point and normal vector information.

S104:将所述离散后三维点及法矢信息返回至所述客户端,以便所述客户端根据所述离散后三维点及法矢信息渲染生成三维CAD模型。S104: Return the discrete three-dimensional point and normal vector information to the client, so that the client can render and generate a three-dimensional CAD model according to the discrete three-dimensional point and normal information.

在云端服务器得到离散后三维点及法矢信息之后,将该离散后三维点及法矢信息返回至客户端,客户端即可根据离散后三维点及法矢信息渲染生成三维CAD模型。After the cloud server obtains the discrete 3D point and normal vector information, the discrete 3D point and normal vector information is returned to the client, and the client can render and generate a 3D CAD model according to the discrete 3D point and normal vector information.

作为一种优选的实施方式,本申请实施例还可将上述根据草图绘制参数进行草图运算的过程,以及基于三维操作参数在二维草图上进行三维特征运算的过程进行记录,具体可利用预设的模型文件数据库进行保存。As a preferred implementation, in this embodiment of the present application, the above-mentioned process of performing sketch operations based on sketch drawing parameters and the process of performing three-dimensional feature operations on two-dimensional sketches based on three-dimensional operation parameters can also be recorded. The model file database is saved.

进一步地,考虑到现有技术不支持团队协作和多地多终端登陆查看,明显限制了大型工程项目的弹性与高效设计。为此,本申请实施例可为每个用户绑定对应的账号,具体地,获取当前登录用户的账号信息;在预设用户数据库中查找所述账号信息;若所述账号信息查找成功,则获取所述账号信息对应的历史三维CAD模型以及所述历史三维CAD模型对应的创建过程信息;若所述账号信息查找失败,则获取所述当前登录用户的基本信息,进行所述当前登录用户的注册。由此,可实现同一账号在登陆后多终端共享结果,相较于传统CAD只能在本地电脑使用的局限性,本申请实施例能够实现移动办公,以及不同平台之间的数据互通。Further, considering that the existing technology does not support team collaboration and multi-location and multi-terminal login viewing, the flexibility and efficient design of large-scale engineering projects are obviously limited. To this end, the embodiment of the present application can bind a corresponding account for each user, and specifically, obtain account information of the currently logged-in user; search for the account information in a preset user database; if the account information is successfully searched, then Acquire the historical 3D CAD model corresponding to the account information and the creation process information corresponding to the historical 3D CAD model; if the account information search fails, acquire the basic information of the currently logged in user, and perform a register. As a result, multiple terminals can share results after logging in with the same account. Compared with the limitation that traditional CAD can only be used on a local computer, the embodiments of the present application can realize mobile office and data exchange between different platforms.

通过以上方案可知,本申请提供的一种基于云服务技术的三维CAD建模方法,应用于预先部署CAD环境的云端服务器,所述方法包括:接收草图绘制参数;所述草图绘制参数为客户端接收并转发至所述云端服务器的用户录入的针对绘制平面的绘制参数;根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;接收所述客户端转发的用户录入的三维操作参数,并基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;将所述离散后三维点及法矢信息返回至所述客户端,以便所述客户端根据所述离散后三维点及法矢信息渲染生成三维CAD模型。由上可知,本申请利用云端服务器接收客户端转发的草图绘制参数以及三维操作参数,基于上述信息生成离散后三维点及法矢信息,并将离散后三维点及法矢信息返回至客户端中,以便客户端根据离散后三维点及法矢信息渲染生成三维CAD模型,避免了对具有庞大安装包的CAD进行下载的过程,显著提高了工作效率。It can be seen from the above solutions that a 3D CAD modeling method based on cloud service technology provided by the present application is applied to a cloud server that pre-deploys a CAD environment, and the method includes: receiving sketching parameters; the sketching parameters are the client Receive and forward the drawing parameters for the drawing plane entered by the user of the cloud server; perform sketch operations according to the sketch drawing parameters, and generate a corresponding two-dimensional sketch on the drawing plane; receive the user input forwarded by the client 3D operation parameters, and perform 3D feature operation on the 2D sketch based on the 3D operation parameters to generate discrete 3D point and normal vector information; return the discrete 3D point and normal vector information to the client terminal, so that the client can render and generate a three-dimensional CAD model according to the discrete three-dimensional point and normal vector information. It can be seen from the above that the present application uses the cloud server to receive the sketch drawing parameters and the three-dimensional operation parameters forwarded by the client, generates the discrete three-dimensional point and normal vector information based on the above information, and returns the discrete three-dimensional point and normal vector information to the client. , so that the client can render a 3D CAD model according to the discrete 3D point and normal vector information, avoid the process of downloading CAD with a huge installation package, and significantly improve the work efficiency.

本申请实施例公开了另一种三维CAD建模方法,应用于客户端,具体的:The embodiment of the present application discloses another three-dimensional CAD modeling method, which is applied to the client, specifically:

参见图2,本申请实施例提供的另一种基于云服务技术的三维CAD建模方法的流程图,如图2所示,包括:Referring to FIG. 2 , a flowchart of another 3D CAD modeling method based on cloud service technology provided by an embodiment of the present application, as shown in FIG. 2 , includes:

S201:接收用户录入的针对绘制平面的草图绘制参数;S201: Receive the sketch drawing parameters for the drawing plane entered by the user;

本申请实施例中,在接收用户录入的针对绘制平面的草图绘制参数之前,还可以先接收用于启动草图绘制的启动指令,并确定该启动指令对应的绘制平面;进一步判断绘制平面是否满足作为草图绘制平面的条件;如果是,则通过可视化界面展示所述绘制平面,并在展示后启动所述接收用户录入的针对绘制平面的草图绘制参数的步骤;如果否,则通过所述可视化界面的通知栏显示错误提示信息。In the embodiment of the present application, before receiving the sketching parameters for the drawing plane entered by the user, a start instruction for starting sketching may also be received, and the drawing plane corresponding to the start instruction is determined; Conditions for the sketching plane; if yes, display the drawing plane through the visual interface, and start the step of receiving the sketching parameters entered by the user for the drawing plane after the presentation; The notification bar displays an error message.

S202:将所述草图绘制参数转发至预先部署CAD环境的云端服务器中,以使所述云端服务器根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;S202: Forward the sketch drawing parameters to a cloud server pre-deployed in a CAD environment, so that the cloud server performs sketch operations according to the sketch drawing parameters, and generates a corresponding two-dimensional sketch on the drawing plane;

S203:接收用户录入的三维操作参数并转发至所述云端服务器中,以使所述云端服务器基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;S203: Receive the three-dimensional operation parameters entered by the user and forward them to the cloud server, so that the cloud server performs three-dimensional feature operations on the two-dimensional sketch based on the three-dimensional operation parameters, and generates discrete three-dimensional points and normal vectors information;

S204:获取所述云端服务器返回的所述离散后三维点及法矢信息,并根据所述离散后三维点及法矢信息渲染生成三维CAD模型。S204: Acquire the discrete three-dimensional point and normal vector information returned by the cloud server, and generate a three-dimensional CAD model by rendering according to the discrete three-dimensional point and normal vector information.

下面对本申请实施例提供的一种三维CAD建模装置进行介绍,下文描述的一种三维CAD建模装置与上文描述的一种三维CAD建模方法可以相互参照。A 3D CAD modeling apparatus provided by an embodiment of the present application is introduced below. A 3D CAD modeling apparatus described below and a 3D CAD modeling method described above can be referred to each other.

参见图3,本申请实施例提供的一种基于云服务技术的三维CAD建模装置的结构图,如图3所示,应用于预先部署CAD环境的云端服务器,所述装置包括:Referring to FIG. 3 , a structure diagram of a 3D CAD modeling device based on cloud service technology provided by an embodiment of the present application, as shown in FIG. 3 , is applied to a cloud server that pre-deploys a CAD environment, and the device includes:

第一接收模块301,用于接收草图绘制参数;所述草图绘制参数为客户端接收并转发至所述云端服务器的用户录入的针对绘制平面的绘制参数;The first receiving module 301 is configured to receive sketching parameters; the sketching parameters are the drawing parameters for the drawing plane that are received by the client and forwarded to the cloud server and entered by the user;

草图运算模块302,用于根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;a sketch operation module 302, configured to perform a sketch operation according to the sketch drawing parameters, and generate a corresponding two-dimensional sketch on the drawing plane;

三维运算模块303,用于接收所述客户端转发的用户录入的三维操作参数,并基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;A three-dimensional operation module 303, configured to receive three-dimensional operation parameters input by a user forwarded by the client, and perform three-dimensional feature operations on the two-dimensional sketch based on the three-dimensional operation parameters to generate discrete three-dimensional point and normal vector information;

信息返回模块304,用于将所述离散后三维点及法矢信息返回至所述客户端,以便所述客户端根据所述离散后三维点及法矢信息渲染生成三维CAD模型。The information return module 304 is configured to return the discrete three-dimensional point and normal vector information to the client, so that the client can render and generate a three-dimensional CAD model according to the discrete three-dimensional point and normal information.

关于上述模块301至304的具体实施过程可参考前述实施例公开的相应内容,在此不再进行赘述。For the specific implementation process of the foregoing modules 301 to 304 , reference may be made to the corresponding content disclosed in the foregoing embodiments, which will not be repeated here.

下面对本申请实施例提供的另一种三维CAD建模装置进行介绍,下文描述的一种三维CAD建模装置与上文描述的一种三维CAD建模方法可以相互参照。Another three-dimensional CAD modeling apparatus provided by the embodiments of the present application will be introduced below. The three-dimensional CAD modeling apparatus described below and the three-dimensional CAD modeling method described above can be referred to each other.

参见图4,本申请实施例提供的另一种基于云服务技术的三维CAD建模装置的结构图,如图4所示,应用于客户端,所述装置包括:Referring to FIG. 4 , a structural diagram of another 3D CAD modeling device based on cloud service technology provided by an embodiment of the present application, as shown in FIG. 4 , is applied to a client, and the device includes:

第二接收模块401,用于接收用户录入的针对绘制平面的草图绘制参数;The second receiving module 401 is configured to receive the sketching parameters for the drawing plane entered by the user;

第一转发模块402,用于将所述草图绘制参数转发至预先部署CAD环境的云端服务器中,以使所述云端服务器根据所述草图绘制参数进行草图运算,在所述绘制平面生成对应的二维草图;The first forwarding module 402 is used for forwarding the sketching parameters to a cloud server pre-deployed in a CAD environment, so that the cloud server performs sketch operations according to the sketching parameters, and generates corresponding two on the drawing plane. dimensional sketches;

第二转发模块403,用于接收用户录入的三维操作参数并转发至所述云端服务器中,以使所述云端服务器基于所述三维操作参数在所述二维草图上进行三维特征运算,生成离散后三维点及法矢信息;The second forwarding module 403 is configured to receive the three-dimensional operation parameters entered by the user and forward them to the cloud server, so that the cloud server can perform three-dimensional feature operations on the two-dimensional sketch based on the three-dimensional operation parameters to generate discrete Post 3D point and normal vector information;

三维渲染模块404,用于获取所述云端服务器返回的所述离散后三维点及法矢信息,并根据所述离散后三维点及法矢信息渲染生成三维CAD模型。The 3D rendering module 404 is configured to acquire the discrete 3D point and normal vector information returned by the cloud server, and generate a 3D CAD model according to the discrete 3D point and normal vector information.

关于上述模块401至404的具体实施过程可参考前述实施例公开的相应内容,在此不再进行赘述。For the specific implementation process of the foregoing modules 401 to 404, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not described herein again.

本申请还提供了一种云端服务器,所述云端服务器11预先部署CAD环境,参见图5所示,本申请实施例提供的一种云端服务器11包括:The present application also provides a cloud server. The cloud server 11 pre-deploys a CAD environment. Referring to FIG. 5 , the cloud server 11 provided by the embodiment of the present application includes:

存储器501,用于存储计算机程序;a memory 501 for storing computer programs;

处理器502,用于执行所述计算机程序时可以实现前述任一实施例公开的由云端服务器一侧执行的三维CAD建模方法的步骤。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.

本申请还提供了一种客户端,参见图6所示,本申请实施例提供的一种客户端12包括:The present application further provides a client. Referring to FIG. 6 , a client 12 provided by an embodiment of the present application includes:

存储器601,用于存储计算机程序;memory 601 for storing computer programs;

处理器602,用于执行所述计算机程序时可以实现前述任一实施例公开的由客户端一侧执行的三维CAD建模方法的步骤。The processor 602 is configured to implement the steps of the 3D CAD modeling method performed by the client side disclosed in any of the foregoing embodiments when the computer program is executed.

具体的,存储器601包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机可读指令,该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。处理器602在一些实施例中可以是一中央处理器(CentralProcessing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,为客户端11提供计算和控制能力,执行所述存储器601中保存的计算机程序时,可以实现前述公开的由客户端一侧执行的任一种物联网机器人的加工仿真方法的步骤。Specifically, the memory 601 includes a non-volatile 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 operation of the operating system and the computer-readable instructions in the non-volatile storage medium. In some embodiments, the processor 602 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip, and provides computing and control capabilities for the client 11 to execute the When the computer program stored in the memory 601 is used, the steps of any one of the methods for processing simulation of an IoT robot disclosed above and executed by the client side can be implemented.

在上述实施例的基础上,作为优选实施方式,参见图7所示,所述客户端11还包括:On the basis of the foregoing embodiment, as a preferred implementation manner, as shown in FIG. 7 , the client 11 further includes:

输入接口603,与处理器602相连,用于获取外部导入的计算机程序、参数和指令,经处理器602控制保存至存储器601中。该输入接口603可以与输入装置相连,接收用户手动输入的参数或指令。该输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是键盘、触控板或鼠标等。The input interface 603 is connected to the processor 602 , and is used for acquiring externally imported computer programs, parameters and instructions, which are stored in the memory 601 under the control of the processor 602 . The input interface 603 can be connected with an input device, and receives parameters or instructions manually input by the user. The input device may be a touch layer covered on the display screen, or a key, a trackball or a touchpad provided on the terminal shell, or a keyboard, a touchpad, or a mouse, or the like.

显示单元604,与处理器602相连,用于显示处理器602处理的数据以及用于显示可视化的用户界面。该显示单元604可以为LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。The display unit 604, connected to the processor 602, is used for displaying data processed by the processor 602 and for displaying a visual 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, organic light-emitting diode) touch device, and the like.

网络端口605,与处理器602相连,用于与外部各终端设备进行通信连接。该通信连接所采用的通信技术可以为有线通信技术或无线通信技术,如移动高清链接技术(MHL)、通用串行总线(USB)、高清多媒体接口(HDMI)、无线保真技术(WiFi)、蓝牙通信技术、低功耗蓝牙通信技术、基于IEEE802.11s的通信技术等。The network port 605 is connected to the processor 602 and is used for communicating with external terminal devices. The communication technology used for the communication connection can be wired communication technology or wireless communication technology, such as Mobile High Definition Link Technology (MHL), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), Wireless Fidelity Technology (WiFi), Bluetooth communication technology, Bluetooth low energy communication technology, communication technology based on IEEE802.11s, etc.

图7仅示出了具有组件601-605的客户端,本领域技术人员可以理解的是,图7示出的结构并不构成对客户端的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 7 only shows a client with components 601-605. Those skilled in the art can understand that the structure shown in FIG. 7 does not constitute a limitation on the client, and may include fewer or more components than those shown in the drawings. , or a combination of certain components, or a different arrangement of components.

本申请还提供了一种基于云服务技术的三维CAD建模系统,参见图8所示,包括:前述公开的云端服务器11、前述公开的客户端12。The present application also provides a 3D CAD modeling system based on cloud service technology, as shown in FIG. 8 , including: the cloud server 11 disclosed above and the client 12 disclosed above.

在具体的实施例中,如图9所示,三维CAD建模系统可主要分为三大部分:应用层、服务层、数据层。其中应用层指构建能够运行在WebGL的浏览器的软件,界面开发将分为二维控件的开发以及三维显示区的开发;服务层指部署在云服务器的环境,包括web服务器、后端框架、CAD内核以及相关的计算依赖包,主要负责复杂的数据运算处理。数据层包括用户登陆注册数据的记录,模型文件信息记录及步骤数据记录。In a specific embodiment, as shown in FIG. 9 , the three-dimensional CAD modeling system can be mainly divided into three parts: an application layer, a service layer, and a data layer. The application layer refers to the software for building browsers that can run on WebGL, and the interface development will be divided into the development of 2D controls and the development of 3D display areas; the service layer refers to the environment deployed on cloud servers, including web servers, back-end frameworks, The CAD kernel and related computing dependencies are mainly responsible for complex data operation and processing. The data layer includes records of user login and registration data, model file information records and step data records.

在云端CAD于云端服务器端部署后,用户通过浏览器访问服务器端资源,在成功加载后可以进行操作,如图10所示,分为菜单栏21、信息区22以及三维显示区23。其中菜单栏21包括草图特征以及三维特征,用户可以根据对应图标的描述完成草图的建立及三维特征的实现;信息区22用于记录草图操作、三维特征操作的步骤信息,完成建模步骤与模型实体的对应关系,同时建模的信息提示会由信息区的通知栏进行通知;三维显示区23是三维模型的互动及展示部分,可以显示三维物体24,所有的建模操作及过程均在此呈现,同时包括相机的旋转、放大缩小、平移操作等。After the cloud CAD is deployed on the cloud server, the user accesses the server-side resources through the browser, and can be operated after successfully loaded, as shown in FIG. The menu bar 21 includes sketch features and three-dimensional features, and the user can complete the establishment of sketches and the realization of three-dimensional features according to the description of the corresponding icons; the information area 22 is used to record the step information of sketch operations and three-dimensional feature operations, and complete the modeling steps and models. The corresponding relationship between entities, and the information prompt of modeling will be notified by the notification bar in the information area; the three-dimensional display area 23 is the interactive and display part of the three-dimensional model, which can display three-dimensional objects 24, and all modeling operations and processes are here. Rendering, including camera rotation, zooming in and out, panning operations, etc.

对于该云端CAD系统的工作站环境,包括服务器及客户端环节配置,均包含硬件环境和软件环境。其中,服务器端:对于硬件环境来说,基本配置为:CPU:Intel Xeon Gold6149 8核;内存:32G;对于软件环境来说,服务器中基本配置为:Ubuntu16.0.4/Centos;Anaconda/MiniConda。客户端:对于硬件环境来说,基本配置为:CPU:Intel酷睿i3以上;内存:1G以上;硬盘:100G以上;网卡:MODEM或10M/100M网卡;对于软件环境来说,电脑内必须安装以下软件:(1)Windows 2003/XP/7/8/8.1/10;(2)Firefox 4+/Google Chrome 9+/Opera 12+/Safari 5.1+/IE 11+。For the workstation environment of the cloud CAD system, including the configuration of the server and the client, both the hardware environment and the software environment are included. Among them, the server side: for the hardware environment, the basic configuration is: CPU: Intel Xeon Gold6149 8 cores; memory: 32G; for the software environment, the basic configuration in the server is: Ubuntu16.0.4/Centos; Anaconda/MiniConda. Client: For the hardware environment, the basic configuration is: CPU: Intel Core i3 or above; Memory: 1G or above; Hard Disk: 100G or above; Network card: MODEM or 10M/100M network card; For the software environment, the following must be installed in the computer Software: (1) Windows 2003/XP/7/8/8.1/10; (2) Firefox 4+/Google Chrome 9+/Opera 12+/Safari 5.1+/IE 11+.

本申请实施例能部署运行在互联网上,将具备更优的易用性,同时,将继承WebGL的技术优点,摒弃各类图形插件的技术劣势,产生均优于插件的开放性、可移植性、可用性、安全性、负载能力。结合云服务器以及本地客户端的各自优势,将复杂运算交由云端服务器运算,简单的图形显示在客户端渲染实现,大大减轻客户端压力,能够产生更高的运算效率和更流畅的三维显示效果。另外,同时支持账号系统以及将用户信息以登陆注册账户形式存储的方式,实现了三维CAD设计过程的云端化,并且实现了随时随地移动办公,能够在登陆后一端创建模型,多终端共享结果,显著提高了工作效率及降低了使用成本。The embodiments of the present application can be deployed and run on the Internet, and will have better ease of use. At the same time, the technical advantages of WebGL will be inherited, and the technical disadvantages of various graphics plug-ins will be discarded, resulting in openness and portability that are better than plug-ins. , availability, security, load capacity. Combining the respective advantages of the cloud server and the local client, the complex operation is handed over to the cloud server, and the simple graphics display is rendered on the client side, which greatly reduces the pressure on the client side, and can produce higher computing efficiency and smoother 3D display effect. In addition, it supports the account system and the way of storing user information in the form of login and registered accounts, which realizes the cloudification of the 3D CAD design process, and realizes mobile office anytime, anywhere, and can create models after login and share results with multiple terminals. Significantly improve work efficiency and reduce the cost of use.

说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and modifications can also be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is no such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes 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.
CN201911055304.7A 2019-10-31 2019-10-31 Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology Pending CN110765507A (en)

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)

* Cited by examiner, † Cited by third party
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 重庆大学 An intelligent generation method of Voronoi porous structure
CN115795921A (en) * 2023-02-02 2023-03-14 北京适创科技有限公司 Model processing method, device, storage medium and back end

Citations (7)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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 重庆大学 An intelligent generation method of Voronoi porous structure
CN115795921A (en) * 2023-02-02 2023-03-14 北京适创科技有限公司 Model processing method, device, storage medium and back end

Similar Documents

Publication Publication Date Title
TWI757743B (en) Mini program generation method and device
US11144711B2 (en) Webpage rendering method, device, electronic apparatus and storage medium
CN110765507A (en) Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology
US10614621B2 (en) Method and apparatus for presenting information
CN111240669B (en) Interface generation method and device, electronic equipment and computer storage medium
TWI526028B (en) A way to implement network access and a web server
US20150193832A1 (en) Method, apparatus, and system for communicating and presenting product information
CN112764857A (en) Information processing method and device and electronic equipment
CN114387400A (en) Three-dimensional scene display method, display device, electronic device and server
CN111444235A (en) Django-based data serialization method, device, computer equipment and storage medium
CN104537049B (en) A kind of picture browsing method and device
US12198175B2 (en) Object comparison method, and device
CN115033233B (en) Interface calling method, device, electronic device and storage medium
US11438403B2 (en) Page presentation method and system, computer system, and computer readable medium
CN110757457A (en) Processing simulation method, device and system of Internet of things robot
CN107038176B (en) Method, device and equipment for rendering web graph page
CN116758198B (en) Image reconstruction method, device, equipment and storage medium
CN114820908B (en) Virtual image generation method and device, electronic equipment and storage medium
CN113419806B (en) Image processing method, device, computer equipment and storage medium
CN113645506A (en) A picture synthesis method, device, electronic device and storage medium
An et al. A three-dimensional simulation system for truck crane hoisting based on cloud computing
CN112287434B (en) Building line segment generation method and device, computer equipment and storage medium
CN116233051B (en) A page sharing method, device, equipment and storage medium for mini program
CN113763520B (en) A method and device for indicating the orientation of a three-dimensional model
CN117475061A (en) Interaction method and device of three-dimensional model, electronic equipment and storage medium

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
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

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207