CN116484449A - CAD cloud design drawing method and device, server and storage medium - Google Patents

CAD cloud design drawing method and device, server and storage medium Download PDF

Info

Publication number
CN116484449A
CN116484449A CN202310493348.8A CN202310493348A CN116484449A CN 116484449 A CN116484449 A CN 116484449A CN 202310493348 A CN202310493348 A CN 202310493348A CN 116484449 A CN116484449 A CN 116484449A
Authority
CN
China
Prior art keywords
cad
template
target
parameters
block
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
CN202310493348.8A
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.)
Wuxi Tuzhi Technology Co ltd
Original Assignee
Wuxi Tuzhi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Tuzhi Technology Co ltd filed Critical Wuxi Tuzhi Technology Co ltd
Priority to CN202310493348.8A priority Critical patent/CN116484449A/en
Publication of CN116484449A publication Critical patent/CN116484449A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Abstract

The application discloses a CAD cloud design drawing method, a CAD cloud design drawing device, a CAD cloud design server and a CAD cloud design storage medium, and relates to the field of graphic design, wherein the CAD cloud design drawing method comprises the steps of receiving a drawing task request sent by a client, extracting and distributing tasks; task analysis is carried out according to the drawing task request, and drawing parameters in the drawing task request are extracted; determining a target drawing template from a drawing template library according to the drawing parameters; the drawing template comprises CAD graphic elements for drawing; generating a CAD template diagram according to the target drawing template, and setting attributes of CAD graphic elements according to drawing parameters to obtain a target drawing; and storing and generating a target drawing, and generating feedback information according to the client information and the target drawing. According to the scheme, a plurality of conventional standardized graphs and additional image blocks are manufactured into templates and CAD image blocks which are stored in the cloud, a target drawing is automatically generated according to image parameters uploaded by a client, full-flow automatic image drawing is realized, and user image drawing efficiency is improved.

Description

CAD cloud design drawing method and device, server and storage medium
Technical Field
The embodiment of the application relates to the field of graphic design, in particular to a CAD cloud design drawing method, a CAD cloud design drawing device, a server and a storage medium.
Background
AutoCAD is specialized CAD design software, and is widely applied to industries such as construction, machinery, electronics, light industry and the like. CAD software has been available for decades, and has been increasingly powerful, and is increasingly bulky, and requires higher hardware support. It is very advantageous to solve the professional design problem. However, for some lightweight designs and graphics requirements, there are a number of disadvantages: firstly, the requirements of computers and windows systems are met; the special requirements for users are high, and special designers are needed to design the users; the price is high, and for light users with light weight design, the full charge is paid only by using the fur function of the light users; the architecture design of CAD software is also traditional single-version software, only focuses on local use, lacks the functions related to collaborative design and informatization management, and can not meet the current rapidly-developed design requirements in many aspects and can not realize mobile terminal support. In recent years, modeling and drawing design of cloud CAD such as CrownCad is based on web realization, CAD is not required to be installed locally, but interface operation is similar to desktop CAD, drawing realization is only moved to a web end, and professional design experience and professional capability are still required. Simple input of key parameters that cannot be achieved can generate the design drawing.
In the related art, as described in "graphic CAD networking co-design framework based on Web service" (computer integrated manufacturing system 2005.5), a Web server is also used as its scheduling core, a CAD system is used as its service driver in the background, the main design purpose of the above system is to build a CAD co-design, and the server side mainly processes the co-logic and does not include a parameterized drawing generation related module. In the scheme of the patent number CN201110068776, the client side realizes the front-end display of the drawing design in a browser plug-in mode, and the basis of the realization is that a CAD interface is packaged by a COM (computer aided design) to a front-end page, and a client side request is converted into CAD operation, and basically, drawing is operated at the front end;
for some scenes needing to be designed in a lightweight and rapid scheme, the characteristics of the scenes are that products or projects are not standardized products, and certain rules are provided. For some industries needing pre-sale schemes, usually, after business personnel communicate with clients and conduct project investigation, information is fed back to technical support departments, and the technical departments conduct drawing design. The business departments in the mode need the support of the technical departments at any time, and the response period is long, and the time from project communication to scheme drawing is at least several days. The efficiency of business communication is seriously affected, and the personnel cost is increased.
Disclosure of Invention
The embodiment of the application provides a CAD cloud design drawing method, a CAD cloud design drawing device, a drawing server and a storage medium, which realize automatic drawing under a scene of light-weight rapid scheme design and improve drawing efficiency.
In one aspect, the present application provides a CAD cloud design mapping method, where the method is used for mapping a server, and the method includes:
s1, receiving a task drawing request sent by a client, extracting and distributing tasks;
s2, performing task analysis according to the plotting task request, and extracting plotting parameters in the plotting task request; the drawing parameters are CAD parameters edited by the client and used for drawing the target object;
s3, determining a target drawing template from a drawing template library according to the drawing parameters; the drawing template comprises CAD graphic elements for drawing;
s4, generating a CAD template diagram according to the target drawing template, and setting attributes of the CAD graphic elements according to the drawing parameters to obtain a target drawing; the attribute settings include graphic position settings, size settings, and name settings;
s5, storing and generating the target drawing, and generating feedback information according to the client information and the target drawing.
Specifically, the drawing template library stores a plurality of drawing templates uploaded by a management end, and different drawing templates correspondingly generate different CAD template diagrams and template numbers; the CAD template diagram comprises a main body graph set of a target object to be mapped;
the step S3 comprises the following steps:
and acquiring the template number and template parameter information contained in the map parameters, and determining the target map template according to the template number.
Specifically, the system is further provided with a CAD block library, wherein the CAD block library is stored with a plurality of CAD blocks uploaded by the management end and block attributes, and the CAD blocks are used for being inserted into the generated CAD template graph to supplement CAD graphic elements missing from the drawing target object; the tile attributes include at least one of tile name, tile size, tile color, and tile text.
Specifically, step S4 includes:
s41, obtaining block information and block position information about a target block in the map parameters; the block information of the target block at least comprises block names, block numbers and block size information; the block position information at least comprises block position, angle and proportion parameters;
s42, extracting the target image block from the CAD image block library according to the image block information obtained by analysis, and determining the coordinate position of the target image block in the CAD template image according to the recorded image block position, angle and proportion parameters; the target image block corresponds to an additional image block arranged on the main body image, and the additional image block and the main body image block form a target object needing cloud design drawing together;
s43, generating a CAD template diagram according to the target graph template and the template parameter information, and setting attributes according to the selected target graph blocks to obtain the target drawing.
Specifically, step S42 includes:
and determining a coordinate system of the target graph template, and calculating the coordinate position of the target graph block in the CAD template graph according to the graph block position information.
Specifically, the graphic template also comprises a text element and a dynamic block reference block or an attribute block with attributes; the dynamic block reference block or the attribute block records parameter field code numbers of the graph sizes to be replaced and updated; step S43 includes:
determining non-associated parameters and associated parameters in the graphic parameters, replacing the non-associated parameters and the associated parameters into the dynamic block reference block or the attribute block through parameter field code index, and simultaneously calculating auxiliary graphic size data based on the associated parameters, and replacing the auxiliary graphic size data into the dynamic block reference block or the attribute block; the non-associated parameters and the associated parameters are used for defining the key size of the main body graph, the auxiliary graph parameters are used for defining the auxiliary size of the main body graph, and the auxiliary size is obtained through calculation according to the associated parameters;
adjusting the tile attribute according to the tile information of the target tile, and generating the target tile with a corresponding size;
inserting the target tile into the CAD template map; and setting the CAD graphic element based on the text element.
Specifically, a calculation formula program for calling is further arranged in the graph template, the calculation formula program calibrates the calculation relation among the target CAD graphic elements, and the CAD template graph is set and generated according to the graph parameters obtained through analysis.
In another aspect, the present application provides a CAD cloud design drawing apparatus, the apparatus comprising:
the plotting task distribution module is configured to receive plotting task requests sent by the client, extract and distribute tasks;
the drawing analysis module is configured to analyze the task according to the drawing task request and extract drawing parameters in the drawing task request; the drawing parameters are CAD parameters edited by the client and used for drawing the target object;
the template service module is configured to determine a target drawing template from a drawing template library according to the drawing parameters; the drawing template comprises CAD graphic elements for drawing;
the drawing service module is configured to generate a CAD template drawing according to the target drawing template, and set attributes of the CAD graphic elements according to the drawing parameters to obtain a target drawing; the attribute settings include graphic position settings, size settings, and name settings;
the file service module is configured to save and generate the target drawing and generate feedback information according to the client information and the target drawing.
In yet another aspect, the present application provides a mapping server, where the mapping server includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the CAD cloud design mapping method described in the foregoing aspects.
In yet another aspect, the present application provides a computer readable storage medium, where at least one instruction, at least one program, a set of codes, or a set of instructions are stored in the readable storage medium, where the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by a processor to implement the CAD cloud design drawing method described in the above aspects.
The beneficial effects that technical scheme that this application embodiment provided include at least: moving the traditional client operation drawing process to a cloud server, making some typical standardized tiles into templates, storing the templates in the cloud, simultaneously setting a tile library for additional tiles used at high frequency, and setting tile attributes and dynamic block references with attributes for CAD graphics as graphic setting entries. As a management end, only the schema and CAD tile library need be maintained and updated. When the CAD graph needs to be drawn, the online drawing can be realized through the drawing server by directly sending the drawing parameters of the client interface data to the cloud, and the drawing server stores and transmits the graph based on the drawing kernel or the CAD plug-in unit. The drawing efficiency can be greatly improved in the scene of some lightweight rapid scheme designs.
Drawings
Fig. 1 is a structural block diagram of a CAD cloud design drawing system provided in an embodiment of the present application;
fig. 2 is a flowchart of a CAD cloud design drawing method provided in an embodiment of the present application;
FIG. 3 is a CAD template diagram of an L-shaped base template;
FIG. 4 is a CAD template diagram obtained after replacement of an L-shaped base template;
FIG. 5 is a CAD graph of a target drawing;
FIG. 6 is a graph parameter and target tile parameter generated based on an L-base template;
fig. 7 is a structural block diagram of a CAD cloud design drawing apparatus provided in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Fig. 1 is a structural block diagram of a CAD cloud design drawing system provided in an embodiment of the present application, including a client and a drawing server. The client can display the system through an app, an applet or a webpage, input design parameters at a user interface, namely, drawing parameters for drawing, and send the design parameters to a drawing server through a network. The drawing server side comprises a CAD template library, a CAD block library and a memory, and provides background service, task scheduling service, drawing service, storage issuing service and the like. The client only needs to send a drawing task request according to design requirements, and can generate and download target drawings meeting requirements according to the task request.
Fig. 2 is a flowchart of a CAD cloud design drawing method provided in an embodiment of the present application. The method comprises the following steps:
s1, receiving a task drawing request sent by a client, extracting client information and distributing tasks.
The client information is user ID or account ID, and the management end performs resource scheduling and task forwarding processing according to ID numbers.
S2, performing task analysis according to the graph task request, and extracting graph parameters in the graph task request; the drawing parameters are CAD parameters edited by the client for drawing the target object.
The task analysis process is executed by a drawing analysis module, and the drawing parameters are set by the client according to the target object needing to be drawn in advance and comprise CAD parameters needed for drawing each scene and drawing under the view. The method comprises the steps of, but is not limited to, template number information, size information, color information, composition relation among parameters and the like of a template diagram, wherein the data comprise interpretation information of all drawing target objects, and a management terminal automatically generates drawings based on the interpretation information.
S3, determining a target drawing template from a drawing template library according to the drawing parameters; the drawing template comprises CAD graphic elements for drawing.
As shown in fig. 1, a drawing template library is built in the drawing server, and all drawing templates uploaded in advance by the management end are collected in the drawing template library, wherein the drawing templates have unique names or numbers and are used for generating different CAD template diagrams, and the drawing templates can be 2D CAD files and 3D CAD files.
The CAD template diagram is a graph set of one type of design target object, the graph composition of the same type of design target object is basically the same, but parameters such as size, material and the like are different, and the graphs can be constructed into a universal template diagram; the template map contains some pre-drawn graphic tiles, but the size and properties of the graphics can be decided and set at the time of the actual map. The drawing templates and the drawing library can be managed and maintained by a manager at a management end.
For example, when the graphic template is an I-steel product, the target graphic template comprises a CAD template graph, a plurality of corresponding technical description words, graph block labels and the like. The CAD template drawing comprises I-steel graphs under different views, the graphs together form an I-steel template, and the graphs of different I-steel products have the same structure and only have different sizes or materials.
For example, in some home decoration design scenarios, the CAD drawing template may be a kitchen layout template, where the CAD drawing includes layout patterns of a cabinet, a sink, a kitchen range, and a refrigerator, and the main body drawing is a contour graph of the cabinet, the sink, the kitchen range, and the refrigerator. The template represents a layout kitchen, but the dimensions and brands of the cabinets, sinks, cooktops, etc. used will vary, and these dimensional information is entered by the interface at the time of the drawing. The cabinet, the water tank and the cooking bench which form the template can be the blocks in the gallery or the patterns only existing in the current template.
And S4, generating a CAD template diagram according to the target drawing template, and setting attributes of CAD graphic elements according to drawing parameters to obtain a target drawing.
Because the design drawing must be annotated with graphic dimensions, the CAD graphic elements for the template are of default dimensions and default states for line colors, thickness, etc. The map parameters sent by the client also contain template numbers and attribute information. The attribute information includes information such as name, graphic size, color, line thickness, and the like. Because the template corresponds to the main body graph of the target object, additional other blocks may need to be set on the basis of the main body graph in the actual drawing process, and the main body graph and the additional blocks form the target object together. The specific location of the additional tiles is determined according to the actual situation, so that the templates are not integrated into the graphic templates for the purpose of making the templates more flexible. Therefore, the problem of additional image blocks is required to be considered independently in the process of drawing, and the CAD image block library is additionally arranged on the basis of the drawing template library and is used for supplementing the CAD template drawing. Taking the kitchen design layout as an example, the refrigerator is not strictly placed in the kitchen, so that drawing the graphic elements of the refrigerator needs to be separately set into additional blocks, and whether to add the graphic elements into the layout and the added positions and sizes are determined according to the design requirements when generating the drawing.
Specifically, the method further comprises the following steps:
s41, obtaining block information and block position information about a target block in the map parameters; the tile information of the target tile at least comprises a tile name; the block position information at least comprises block position, angle and proportion parameters, and the default value is taken if the block position information is not set.
The block information and the block position information of the target block are set through the client side, for example, rivets or welding angle steel are required to be installed at the middle section and the tail section of the I-steel, so that the rivets or the angle steel are additional blocks, and the block data of the additional blocks are stored in the CAD block library.
S42, extracting a target block from the CAD block library according to the block information obtained by analysis, and determining the coordinate position of the target block in the CAD template diagram according to the recorded block position, angle and proportion parameters.
Because the drawing process is an automated process without interfaces, the management end must define drawing parameters before drawing, and for this purpose, drawing parameters are built in when creating the drawing template. After the target graph template is determined, the coordinate position of the target graph block in the CAD template graph is calculated according to the coordinate system of the target graph template and the graph block position information, namely, the coordinate point is inserted.
S43, generating a CAD template diagram according to the target drawing template and the template parameter information, and setting attributes according to the selected target image block to obtain the target drawing.
For the inserted target image block, the CAD image block comprises image block attributes, wherein the image block attributes are entries for adjusting the target image block, and the image block attributes are adjusted through image block positions, angles and proportion parameters, so that the target image block is set as required.
The graphic template also comprises text elements and dynamic block references with attributes, wherein the dynamic block references comprise parameter field codes for replacing and updating the graphic size, and the parameter field codes are determined according to CAD graphic elements. Because the CAD template drawing is not a strictly regular drawing, and mainly contains some side length, size and radius information, which are parameters necessary for generating the CAD drawing, there may be some associated parameter information, for example, the value of the parameter B is determined according to the parameter a or more, and these associated parameters do not need to be input by the client computing, so that the management side detects and computes the parameters by itself. The process can specifically further comprise the following steps:
and A, determining non-associated parameters and associated parameters in the graph parameters, replacing the non-associated parameters and the associated parameters into the dynamic block references through parameter field code indexes, and simultaneously calculating auxiliary graph parameters based on the associated parameters, and replacing the auxiliary graph parameters into the dynamic block references.
In one possible implementation, the code numbers of the specific marks in the characters and tables in the templates or the blocks in the drawing are expressed as "% NAME%",% SIZE% ", and"% feature% ", and the two percentage numbers indicate that the characters need to be replaced.
The attributes of the block attributes and the dynamic block attributes are judged without marks such as% and the like, and the attributes are directly corresponding to the previous parameters through attribute names. The parameter field may be a common block attribute, a dynamic block attribute, text, annotation content, table content text, etc.
The non-associated parameters and associated parameters in the map parameters are used to define key dimensions of the subject tile, the auxiliary graphic parameters are used to define auxiliary dimensions of the subject graphic, and the auxiliary graphic parameters are determined according to the associated dimensions and are not recorded in the map parameters.
For example, the triangle part, two side lengths are related parameters, the client data and the bevel edge are auxiliary graphic parameters, so that only the client key-in related data is needed, and the calculation of non-key parameters is forwarded to the cloud end for calculation, thereby reducing the complexity of a model and improving the drawing efficiency.
B, adjusting the tile attribute according to the tile information of the target tile, and generating the target tile with a corresponding size; the automatic adjustment of the size of the graph after the modification of the size parameter is realized mainly by establishing a parameterized CAD dynamic block in the template.
C, inserting the target image block into the CAD template diagram; and labeling and setting the CAD graphic elements based on the text elements.
Illustratively, as shown in fig. 3, an "L-shaped base" template is taken as an example, the content of the figure includes a plan view and an elevation view, the material of the base template is indefinite, and the base template is represented by a row of characters in the template: "parts material: % MATRIAL% ". The graphic program identifies that the text content needs to be filled in and replaced by using MATRIAL in the graphic parameters by identifying the variable between the two special symbols%% in the text content in the template as the parameter name. The dimension marking is not specifically set, but the code W/A/B/R and the formula A+B can be replaced by a value specifically corresponding to the parameter in the process of drawing. Fig. 4 is a CAD template diagram obtained after replacement, the material of the replaced part is cast iron, and all side dimensions are marked as required dimension data.
In some practical application scenarios, the dynamic attribute of the complex graph cannot be directly filled into a formula, and at this time, calculation formula information which can be read by a program can be embedded in a template drawing. For example, the length L of the dynamic block may be marked with a specific object in the template drawing, where l=a+b, or other complex formulas that demarcate the computational relationship between CAD graphics parameters in the template, adjust the template according to the map parameters obtained by the parsing, and generate the CAD template graphic. The storage mode can be CAD xdata data or CAD custom object data, etc. Moreover, after the client receives the target drawing, the data of other related parameters and auxiliary graphic parameters and the size are automatically adjusted after the parameters are optionally adjusted according to the formula, so that efficient design is realized.
For the target block, because the L-shaped base template does not include screws, the drawing parameters further include parameter information of the bolt block, as shown in fig. 6, and fig. 6 is a client input interface of the drawing parameters and the additional block parameters generated based on the L-shaped base template. The target drawing obtained after the information such as the zoom ratio, the rotation angle, the size, the color, the coordinates and the like determined according to the previous steps is inserted into the CAD template drawing is shown in fig. 5. Four "pre-bolt M40x200" tiles are added to four designated locations on the L-shaped base.
And S5, storing and generating a target drawing, and generating feedback information according to the client information and the target drawing.
In particular, the drawing module has no interface, so the drawing can be performed based on an AUTOCAD or a secondary development plug-in of other CAD in the concrete implementation, and the drawing module can also be software developed based on open source ODA and the like. And the drawing generated by the drawing module according to the parameters of the drawing is a dwg format drawing, and pdf files or other format files can be generated simultaneously through software. The drawing generated by the drawing module is stored in a file server, a unique file id or address is returned, and the user side can download the drawing according to the returned file id or address information.
In summary, the present application moves the conventional client operation drawing process to the cloud server, makes some typical design drawing papers into templates, saves the templates to the cloud, sets a tile library for additional tiles used at high frequency, and sets tile attributes and dynamic block reference blocks or attribute blocks with attributes for CAD graphics as graphic setting entries. Only the drawing templates and CAD tile libraries need to be maintained and updated. When the CAD graph needs to be drawn, the online drawing can be realized through the drawing server by directly sending the drawing parameters of the client interface data to the cloud, and the drawing server stores and transmits the graph based on the drawing kernel or the CAD plug-in unit. The drawing efficiency can be greatly improved in the scene of some lightweight rapid scheme designs.
Fig. 7 is a structural block diagram of a CAD cloud design drawing apparatus provided in an embodiment of the present application, where the apparatus includes:
the plotting task distribution module is configured to receive plotting task requests sent by the client, extract and distribute tasks;
the drawing analysis module is configured to analyze the task according to the drawing task request and extract drawing parameters in the drawing task request; the drawing parameters are CAD parameters edited by the client and used for drawing the target object;
the template service module is configured to determine a target drawing template from a drawing template library according to the drawing parameters; the drawing template comprises CAD graphic elements for drawing;
the drawing service module is configured to generate a CAD target drawing according to the target drawing template, and set attributes of the CAD graphic elements according to the drawing parameters to obtain a target drawing; the attribute settings include graphic position settings, size settings, and name settings;
the file service module is configured to save and generate the target drawing and generate feedback information according to the client information and the target drawing.
The application also provides a drawing server, which is characterized by comprising a processor and a memory, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the CAD cloud design drawing method in the aspects.
The application also provides a computer readable storage medium, which is characterized in that at least one instruction, at least one section of program, a code set or an instruction set is stored in the readable storage medium, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by a processor to realize the CAD cloud design drawing method in the aspects.
The foregoing describes preferred embodiments of the present invention; it is to be understood that the invention is not limited to the specific embodiments described above, wherein devices and structures not described in detail are to be understood as being implemented in a manner common in the art; any person skilled in the art will make many possible variations and modifications, or adaptations to equivalent embodiments without departing from the technical solution of the present invention, which do not affect the essential content of the present invention; therefore, any simple modification, equivalent variation and modification of the above embodiments according to the technical substance of the present invention still fall within the scope of the technical solution of the present invention.

Claims (10)

1. A CAD cloud design mapping method for a mapping server, the method comprising:
s1, receiving a task drawing request sent by a client, extracting and distributing tasks;
s2, performing task analysis according to the plotting task request, and extracting plotting parameters in the plotting task request; the drawing parameters are CAD parameters edited by the client and used for drawing the target object;
s3, determining a target drawing template from a drawing template library according to the drawing parameters; the drawing template comprises CAD graphic elements for drawing;
s4, generating a CAD template diagram according to the target drawing template, and setting attributes of the CAD graphic elements according to the drawing parameters to obtain a target drawing; the attribute settings include graphic position settings, size settings, and name settings;
s5, storing and generating the target drawing, and generating feedback information according to the client information and the target drawing.
2. The CAD cloud design drawing method according to claim 1, wherein a plurality of drawing templates uploaded by a management end are stored in the drawing template library, and different drawing templates correspondingly generate different CAD template diagrams and template numbers; the CAD template diagram comprises a main body graph set of a target object to be mapped;
the step S3 comprises the following steps:
and acquiring the template number and template parameter information contained in the map parameters, and determining the target map template according to the template number.
3. The CAD cloud design drawing method according to claim 1, wherein the system is further provided with a CAD block library, wherein the CAD block library stores a plurality of CAD blocks uploaded by a management end and block attributes, and the CAD blocks are used for being inserted into the generated CAD template drawing to supplement CAD graphic elements missing from the drawing target object; the tile attributes include at least one of tile name, tile size, tile color, and tile text.
4. The CAD cloud design drawing method according to claim 3, wherein step S4 comprises:
s41, obtaining block information and block position information about a target block in the map parameters; the block information of the target block at least comprises block names, block numbers and block size information; the block position information at least comprises block position, angle and proportion parameters;
s42, extracting the target image block from the CAD image block library according to the image block information obtained by analysis, and determining the coordinate position of the target image block in the CAD template image according to the recorded image block position, angle and proportion parameters; the target image block corresponds to an additional image block arranged on the main body image, and the additional image block and the main body image block form a target object needing cloud design drawing together;
s43, generating a CAD template diagram according to the target graph template and the template parameter information, and setting attributes according to the selected target graph blocks to obtain the target drawing.
5. The CAD cloud design drawing method according to claim 4, wherein step S42 comprises:
and determining a coordinate system of the target graph template, and calculating the coordinate position of the target graph block in the CAD template graph according to the graph block position information.
6. The CAD cloud design drawing method according to claim 4, wherein the drawing template further comprises a text element and a dynamic block reference block or an attribute block with attributes; the dynamic block reference block or the attribute block records parameter field code numbers of the graph sizes to be replaced and updated; step S43 includes:
determining non-associated parameters and associated parameters in the graphic parameters, replacing the non-associated parameters and the associated parameters into the dynamic block reference block or the attribute block through parameter field code index, and simultaneously calculating auxiliary graphic size data based on the associated parameters, and replacing the auxiliary graphic size data into the dynamic block reference block or the attribute block; the non-associated parameters and the associated parameters are used for defining the key size of the main body graph, the auxiliary graph parameters are used for defining the auxiliary size of the main body graph, and the auxiliary size is obtained through calculation according to the associated parameters;
adjusting the tile attribute according to the tile information of the target tile, and generating the target tile with a corresponding size;
inserting the target tile into the CAD template map; and setting the CAD graphic element based on the text element.
7. The CAD cloud design drawing method according to claim 6, wherein a calculation formula program for calling is further provided in the drawing template, the calculation formula program calibrates a calculation relationship between each target CAD graphic element, and the drawing template drawing is generated by setting according to the drawing parameters obtained by parsing.
8. A CAD cloud design drawing apparatus, the apparatus comprising:
the plotting task distribution module is configured to receive plotting task requests sent by the client, extract and distribute tasks;
the drawing analysis module is configured to analyze the task according to the drawing task request and extract drawing parameters in the drawing task request; the drawing parameters are CAD parameters edited by the client and used for drawing the target object;
the template service module is configured to determine a target drawing template from a drawing template library according to the drawing parameters; the drawing template comprises CAD graphic elements for drawing;
the drawing service module is configured to generate a CAD template drawing according to the target drawing template, and set attributes of the CAD graphic elements according to the drawing parameters to obtain a target drawing; the attribute settings include graphic position settings, size settings, and name settings;
the file service module is configured to save and generate the target drawing and generate feedback information according to the client information and the target drawing.
9. A drawing server comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the CAD cloud design drawing method of any one of claims 1 to 7.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by a processor to implement the CAD cloud design patterning method of any one of claims 1 to 7.
CN202310493348.8A 2023-04-28 2023-04-28 CAD cloud design drawing method and device, server and storage medium Pending CN116484449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310493348.8A CN116484449A (en) 2023-04-28 2023-04-28 CAD cloud design drawing method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310493348.8A CN116484449A (en) 2023-04-28 2023-04-28 CAD cloud design drawing method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN116484449A true CN116484449A (en) 2023-07-25

Family

ID=87226711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310493348.8A Pending CN116484449A (en) 2023-04-28 2023-04-28 CAD cloud design drawing method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN116484449A (en)

Similar Documents

Publication Publication Date Title
CN103389895B (en) A kind of generation method and system of front end page
CN109446281B (en) ArcGIS-based online intelligent mapping system construction method, system and mapping method
RU2386171C2 (en) Levelling in lists generated according to template
US20030051022A1 (en) Web page management support system
Zhiliang et al. Using XML to support information exchange in construction projects
US11120205B2 (en) Reviewing document designs
JP6543692B2 (en) Optimized rendering of shared documents on client devices with document raster representation
CN113779656B (en) Stamping method, electronic archive platform and computer readable storage medium
CN113536757A (en) Electronic contract generation and signing method, device and system based on parameter template
CN107436785B (en) Revit software information interaction system and interaction method based on information system
CN113158619B (en) Document processing method and device, computer readable storage medium and computer equipment
US20140237035A1 (en) Process for assisting in the design of room layouts
KR101652719B1 (en) System for supporting the authoring tool for 3d contents
CN116484449A (en) CAD cloud design drawing method and device, server and storage medium
Glykas Workflow and process management in printing and publishing firms
Song et al. Development of a lightweight CAE middleware for CAE data exchange
CN113468626A (en) Drawing generation method and device, electronic equipment and storage medium
JPH1139356A (en) Method and device for managing design data of plant facility
CN114564197A (en) Method for distinguishing field authority according to service scene and computer readable storage medium
CN111382552B (en) Typesetting processing method, device, equipment and storage medium
JP2002202999A (en) Cad drafting system and its method
CN114254241A (en) Electronic certificate template manufacturing system and method
CN110851521B (en) Method, device and storage medium for data visualization
CN101971171A (en) Method and apparatus for the page-by-page provision of an electronic document as a computer graphic
JP4793064B2 (en) Data processing system and program

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