A method, device, electronic device and storage medium for generating steel structure detailed drawings
Through the method based on detailed drawing rules, the existing problems of low efficiency and inconsistent quality of detailed drawings of steel structures are solved, efficient and standardized detailed drawings are generated, and the overall quality and scope of application of detailed drawings are improved.
Patent Information
- Application Number
- CN202210123522.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-10
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-02-10
AI Technical Summary
The existing steel structure detail drawing methods are inefficient and inconsistent in quality, and lack standardization, resulting in uneven quality of the generated detailed drawings.
Using a method based on preset detailed drawing rules, by selecting detailed drawing rules that match the steel structure entity model, including layout rules, view setting rules, annotation setting rules, mark setting rules, axis setting rules and general setting rules, Generate steel structure detail drawings. This method can set different detailed drawing rules according to different reference steel structure solid models, improve drawing efficiency and improve detail drawing quality.
It improves the drawing efficiency and quality of steel structure detailed drawings, realizes the standardization of detailed drawings, has a wide range of applications, and can set different detail drawing rules according to different benchmark models to ensure the consistency and accuracy of the generated detailed drawings.
Smart Images

Figure CN114491720B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of engineering drawing, and in particular to a method, device, electronic equipment and storage medium for generating steel structure detailed drawings. Background Art
[0002] In practice, after establishing an accurate steel structure entity model, a two-dimensional steel structure detail drawing is usually drawn based on the three-dimensional steel structure entity model, and the steel structure components are manufactured and installed according to the steel structure detail drawing.
[0003] In steel structure processing plants or detailing studios, experienced detailing designers usually prepare sample drawings of various types of steel structure components, and set up relevant layout files, production templates, attribute parameters of various drawing objects, and other files. When drawing steel structure details, draftsmen adjust the drawings based on the same type of sample drawings and finally draw steel structure details. However, this drawing method is inefficient, and the drawing process involves human factors. There is no unified drawing standard, resulting in uneven quality of generated steel structure details.
[0004] Therefore, there is an urgent need for an efficient and standardized method for drawing steel structure details. Summary of the invention
[0005] In view of this, the purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for generating steel structure detailed drawings, which can draw steel structure detailed drawings based on preset detailed drawing rules, thereby improving drawing efficiency and improving detailed drawing quality. Different detailed drawing rules can be set based on different benchmark steel structure entity models, and have a wide range of applications.
[0006] In a first aspect, an embodiment of the present application provides a method for generating a steel structure detailed drawing, the generating method comprising:
[0007] Selecting detailed drawing rules that match the first steel structure entity model to be processed; wherein the detailed drawing rules include layout rules, view setting rules, annotation setting rules, mark setting rules, axis setting rules, and general setting rules; the steel structure entity model is composed of sub-models of various parts, and the steel structure entity model is a three-dimensional model;
[0008] Based on the layout rules, the layout information is determined; wherein the layout information at least includes: the overall size of the drawing, the direction of the drawing, the size of the drawing frame, the folding symbol, the relative position of each frame, the relative position of the drawing label, the relative position of the material table, the relative position of the component position table, the scale of the two-dimensional drawing displayed in each frame, the rotation angle of the two-dimensional drawing displayed in each frame, and the display (or hiding) of the steel structure detail drawing name; wherein the two-dimensional drawing includes: basic view and section view;
[0009] Based on the view setting rule, determine the type of basic view to be displayed, and the section reference point, section direction, and section depth of the first steel structure entity model; based on the type of basic view to be displayed, generate the basic view of the first steel structure entity model; based on the section reference point, section direction, and section depth of the first steel structure entity model, generate the section view of the first steel structure entity model; wherein the types of basic views include front view, rear view, top view, bottom view, left view, right view, and isometric view;
[0010] Based on the annotation setting rule, determine the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the characteristic points of the first steel structure entity model in each two-dimensional image, and for each two-dimensional image, annotate the distances between the associated characteristic points in the two-dimensional image based on the position information of the characteristic points in the two-dimensional image, the attribute information of the annotation lines, and the attribute information of the annotation characters;
[0011] Based on the marking setting rule, determine the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in each two-dimensional image, and for each two-dimensional image, mark the parts to be marked in the two-dimensional image based on the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in the two-dimensional image;
[0012] Based on the axis setting rules, determine the position, label, and visibility of the axis in each two-dimensional graph, and for each two-dimensional graph, generate the axis of the two-dimensional graph based on the position, label, and visibility of the axis in the two-dimensional graph;
[0013] Based on the general setting rules, general style information is determined; wherein the general style information at least includes: dimension lines, section symbols, bolt symbols, reference lines, and center lines;
[0014] Based on the layout information, the general style information, the basic view and section view of the first steel structure entity model, and the annotation results, marking results, and axes of each two-dimensional drawing, a steel structure detailed drawing of the first steel structure entity model is generated.
[0015] In a possible implementation manner, the selecting a detailed drawing rule that matches the first steel structure entity model to be processed includes:
[0016] Comparing each pre-stored reference steel structure entity model with the first steel structure entity model, respectively, to determine the similarity between each reference steel structure entity model and the first steel structure entity model;
[0017] The reference steel structure entity model with the highest similarity is determined as the second steel structure entity model, and the detailed drawing rules corresponding to the second steel structure entity model are determined as detailed drawing rules that match the first steel structure entity model; wherein each reference steel structure entity model corresponds to a unique detailed drawing rule, and the parts of the second steel structure entity model that overlap with the first steel structure entity model are determined as target parts of the first steel structure entity model.
[0018] In a possible implementation manner, the generating method further includes:
[0019] If any part of the first steel structure physical model does not exist in the second steel structure physical model, the part existing in the first steel structure physical model but not in the second steel structure physical model is determined as a missing part;
[0020] generating a first prompt message for prompting that the steel structure detailed drawing does not include the missing part, so that the user can supplement the missing part in the steel structure detailed drawing;
[0021] The number of occurrences of each missing part corresponding to the second steel structure entity model is recorded. If the number of occurrences is greater than a preset threshold, a second prompt message is generated to prompt the user to optimize the second steel structure entity model, so that the user can add a sub-model of the missing part to the second steel structure entity model to generate a new baseline steel structure entity model.
[0022] In a possible implementation, a drawing rule editor is used to generate the detailed drawing rule in the following manner:
[0023] Acquire model feature information of a reference steel structure entity model, and load and display the reference steel structure entity model based on the model feature information, so as to generate a detailed drawing rule corresponding to the reference steel structure entity model based on the displayed reference steel structure entity model; wherein the model feature information at least includes: part feature information of each part included in the reference steel structure entity model, connection relationship between each part included in the reference steel structure entity model, and direction and display rule of the reference steel structure entity model;
[0024] In the layout editing mode, receiving and saving the layout information input by the user, generating the layout rules, and saving the layout rules as a layout file;
[0025] In the view setting editing mode, in response to a user's selection operation of the types of a plurality of pre-stored basic views, the type of the basic view selected by the user is determined, the section reference point, section direction, and section depth of the reference steel structure entity model input by the user are received and saved, and the view setting rule is generated based on the type of the basic view selected by the user and the section reference point, section direction, and section depth of the reference steel structure entity model;
[0026] In the annotation setting editing mode, the number of two-dimensional drawings included in the steel structure detail drawing is determined based on the number of types of basic views selected by the user and the number of section reference points of the reference steel structure entity model; for each two-dimensional drawing, the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the feature points in the two-dimensional drawing input by the user are received and saved, and the annotation setting rules are generated; or, the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the feature points in each two-dimensional drawing input by the user are received and saved, and the annotation setting rules are generated, wherein the attribute information of the annotation lines and the attribute information of the annotation characters in each two-dimensional drawing are consistent;
[0027] In the mark setting editing mode, for each two-dimensional figure, the attribute information of the mark line in the two-dimensional figure, the attribute information of the mark character, and the mark character of the part to be marked, which are input by the user, are received and saved, and the mark setting rule is generated; or, the attribute information of the mark line, the attribute information of the mark character, and the mark character of the part to be marked in each two-dimensional figure, which are input by the user, are received and saved, and the mark setting rule is generated, wherein the attribute information of the mark line and the attribute information of the mark character in each two-dimensional figure are consistent;
[0028] In the axis setting editing mode, for each two-dimensional graph, the position, label, and visibility of the axis in the two-dimensional graph input by the user are received and saved, and the axis setting rule is generated;
[0029] In the general setting editing mode, receiving and saving the general style information input by the user, and generating the general setting rules;
[0030] The layout rules, the view setting rules, the annotation setting rules, the mark setting rules, the axis setting rules, and the general setting rules are packaged and processed to generate detailed drawing rules.
[0031] In a possible implementation manner, the detailed drawing rule may also be generated in the following manner:
[0032] In the layout editing mode, in response to a user's selection operation on any one of a plurality of pre-stored layout files, the layout rules are generated based on the layout file selected by the user.
[0033] In a possible implementation manner, the generating method further includes:
[0034] In response to a user's selection operation on any one of a plurality of pre-stored benchmark steel structure entity models, the benchmark steel structure entity model selected by the user is determined as the steel structure entity model to be optimized; in response to a user's deletion operation on any part in the steel structure entity model to be optimized, and / or receiving and saving a sub-model of a newly added part input by the user, and a connection relationship between the newly added part and the steel structure entity model to be optimized, a new benchmark steel structure entity model is generated.
[0035] In a possible implementation manner, the generating method further includes:
[0036] Uploading the detailed drawing rules and the reference steel structure entity model corresponding to the detailed drawing rules to a detailed drawing rule sharing platform, so that legitimate users can download and use the detailed drawing rules;
[0037] Alternatively, the detailed drawing rules of a specific reference steel structure entity model are downloaded from the detailed drawing rule sharing platform, so as to convert the first steel structure entity model to be processed into a steel structure detailed drawing based on the downloaded detailed drawing rules.
[0038] In a second aspect, an embodiment of the present application provides a device for generating a steel structure detailed drawing, the device comprising:
[0039] A selection module is used to select a detailed drawing rule that matches the first steel structure entity model to be processed; wherein the detailed drawing rule includes a layout rule, a view setting rule, a marking setting rule, a mark setting rule, an axis setting rule, and a general setting rule; the steel structure entity model is composed of sub-models of various parts, and the steel structure entity model is a three-dimensional model;
[0040] The first determination module is used to determine the layout information based on the layout rule; wherein the layout information at least includes: the overall size of the drawing, the direction of the drawing, the size of the drawing frame, the folding symbol, the relative position of each frame, the relative position of the drawing label, the relative position of the material table, the relative position of the component position table, the scale of the two-dimensional drawing displayed in each frame, the rotation angle of the two-dimensional drawing displayed in each frame, and the display (or hiding) of the steel structure detail drawing name; wherein the two-dimensional drawing includes: basic view and section view;
[0041] a first generating module, for determining the type of basic view to be displayed, and the section reference point, section direction, and section depth of the first steel structure entity model based on the view setting rule, generating the basic view of the first steel structure entity model based on the type of basic view to be displayed, and generating the section view of the first steel structure entity model based on the section reference point, section direction, and section depth of the first steel structure entity model; wherein the types of basic views include front view, rear view, top view, bottom view, left view, right view, and isometric view;
[0042] A marking module, for determining, based on the marking setting rule, the attribute information of the marking lines, the attribute information of the marking characters, and the position information of the characteristic points of the first steel structure entity model in each two-dimensional figure, and for each two-dimensional figure, marking the distance between the associated characteristic points in the two-dimensional figure based on the position information of the characteristic points in the two-dimensional figure, the attribute information of the marking lines, and the attribute information of the marking characters;
[0043] A marking module, for determining, based on the marking setting rule, the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in each two-dimensional image, and for each two-dimensional image, marking the parts to be marked in the two-dimensional image based on the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in the two-dimensional image;
[0044] A second generation module is used to determine the position, label, and visibility of the axis in each two-dimensional graph based on the axis setting rule, and for each two-dimensional graph, generate the axis of the two-dimensional graph based on the position, label, and visibility of the axis in the two-dimensional graph;
[0045] A second determination module is used to determine general style information based on the general setting rule; wherein the general style information at least includes: dimension lines, section symbols, bolt symbols, reference lines, and center lines;
[0046] The third generation module is used to generate a steel structure detailed drawing of the first steel structure entity model based on the layout information, the general style information, the basic view and section view of the first steel structure entity model, and the annotation results, marking results, and axes of each two-dimensional drawing.
[0047] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory through the bus, and the processor executes the machine-readable instructions to perform the steps of the method for generating steel structure details as described in any one of the first aspects.
[0048] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for generating steel structure details described in any one of the first aspects are executed.
[0049] The embodiment of the present application provides a method, device, electronic device and storage medium for generating steel structure detailed drawings, which select detailed drawing rules that match the first steel structure entity model; determine the layout information based on the layout rules; generate basic views and section views based on the view setting rules; annotate the distances between the associated feature points in the two-dimensional drawing based on the annotation setting rules; mark the parts that need to be marked in the two-dimensional drawing based on the marking setting rules; generate the axis of the two-dimensional drawing based on the axis setting rules; determine the general style information based on the general setting rules; generate steel structure detailed drawings based on the layout information, the general style information, the basic view and section view of the first steel structure entity model, and the annotation results, marking results, and axis of each two-dimensional drawing. The embodiment of the present application draws steel structure detailed drawings based on detailed drawing drawing rules, which improves the drawing efficiency and the quality of detailed drawings. Different detailed drawing drawing rules can be set based on different benchmark steel structure entity models, and the scope of application is wide.
[0050] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A flow chart of a method for generating a steel structure detail drawing provided in an embodiment of the present application is shown;
[0053] Figure 2 A flow chart showing another method for generating steel structure detailed drawings provided in an embodiment of the present application is shown;
[0054] Figure 3 A flow chart showing another method for generating steel structure detailed drawings provided in an embodiment of the present application is shown;
[0055] Figure 4 A flow chart showing another method for generating steel structure detailed drawings provided in an embodiment of the present application is shown;
[0056] Figure 5A schematic diagram of the structure of a device for generating steel structure details provided in an embodiment of the present application is shown;
[0057] Figure 6 A schematic diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0058] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0059] At present, in steel structure processing plants or detailing studios, experienced detailing designers usually prepare sample drawings of various types of steel structure components, and set up relevant layout files, production templates, attribute parameters of various drawing objects and other files. When drawing steel structure details, draftsmen adjust drawings based on the same type of sample drawings and finally draw steel structure details. However, this drawing method is inefficient, and the drawing process involves human factors. There is no unified drawing standard, resulting in uneven quality of generated steel structure details. Therefore, there is an urgent need for an efficient and standardized steel structure detail drawing method.
[0060] Based on the above problems, the embodiments of the present application provide a method, device, electronic device and storage medium for generating steel structure detailed drawings, selecting detailed drawing rules that match the first steel structure entity model; determining the layout information based on the layout rules; generating basic views and section views based on the view setting rules; marking the distances between the associated feature points in the two-dimensional drawing based on the annotation setting rules; marking the parts that need to be marked in the two-dimensional drawing based on the marking setting rules; generating the axis of the two-dimensional drawing based on the axis setting rules; determining the general style information based on the general setting rules; generating steel structure detailed drawings based on the layout information, the general style information, the basic view and section view of the first steel structure entity model, and the annotation results, marking results, and the axis of each two-dimensional drawing. The embodiments of the present application draw steel structure detailed drawings based on detailed drawing drawing rules, which improves the drawing efficiency and the quality of detailed drawings. Different detailed drawing drawing rules can be set based on different benchmark steel structure entity models, and the scope of application is wide.
[0061] The defects existing in the above solutions are the results obtained by the inventor after practice and careful research. Therefore, the process of discovering the above problems and the solutions proposed by this application for the above problems below should be the contributions made by the inventor to this application during the application process.
[0062] The technical solutions in the present application will be clearly and completely described below in conjunction with the drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0063] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0064] To facilitate understanding of this embodiment, a method for generating a steel structure detailed drawing disclosed in an embodiment of the present application is first introduced in detail.
[0065] See also Figure 1 As shown, Figure 1 A flow chart of a method for generating a steel structure detail drawing provided in an embodiment of the present application, the method comprising the following steps:
[0066] S101. Select detailed drawing rules that match the first steel structure entity model to be processed; wherein the detailed drawing rules include layout rules, view setting rules, annotation setting rules, mark setting rules, axis setting rules, and general setting rules. The steel structure entity model is composed of sub-models of various parts, and the steel structure entity model is a three-dimensional model.
[0067] In practice, we first establish an accurate steel structure entity model. The steel structure is composed of a variety of parts, and the steel structure entity model is composed of a variety of sub-models of parts. Then, we draw the steel structure detailed drawing based on the steel structure entity model. The steel structure entity model is a three-dimensional model, and the steel structure detailed drawing is a two-dimensional drawing. The steel structure detailed drawing is used as the basis for manufacturing and installing steel structure components.
[0068] In the embodiment of the present application, a drawing rule editor is used to edit detailed drawing rules for different types of reference steel structure entity models, that is, detailed drawing rules corresponding to multiple types of reference steel structure entity models are pre-stored. When drawing a steel structure detailed drawing for the first steel structure entity model to be processed, the detailed drawing rule matching the first steel structure entity model must first be selected. For details, see Figure 2 As shown, Figure 2 A flowchart of another method for generating a steel structure detail drawing provided in an embodiment of the present application, wherein a detail drawing rule matching the first steel structure entity model is selected in the following manner:
[0069] S1011. Compare each pre-stored reference steel structure entity model with the first steel structure entity model respectively to determine the similarity between each reference steel structure entity model and the first steel structure entity model.
[0070] When using the drawing rule editor, it is necessary to edit the detailed drawing rules with the reference steel structure entity model as a sample. Each reference steel structure entity model corresponds to a set of detailed drawing rules, which are used to draw the steel structure detailed drawings of the first steel structure entity model similar to the reference steel structure entity model. When judging the similarity between models, the parts included in the first steel structure entity model are compared with the parts included in each reference steel structure entity model, and the number of the same parts is used as the similarity between the first steel structure entity model and each reference steel structure entity model. For example, if the first steel structure entity model has 20 parts in common with a reference steel structure entity model, the similarity between the two models is 20.
[0071] S1012. Determine the reference steel structure entity model with the highest similarity as the second steel structure entity model, and determine the detailed drawing rules corresponding to the second steel structure entity model as the detailed drawing rules that match the first steel structure entity model; wherein each reference steel structure entity model corresponds to a unique detailed drawing rule, and the parts of the second steel structure entity model that overlap with the first steel structure entity model are determined as the target parts of the first steel structure entity model.
[0072] Based on the similarity between the models, a reference entity model that is most similar to the first steel structure entity model is found as the second steel structure entity model, and based on the detailed drawing rule corresponding to the second steel structure entity model, the steel structure detailed drawing of the first steel structure entity model is drawn.
[0073] S102. Determine the layout information based on the layout rules; wherein the layout information at least includes: the overall size of the drawing, the direction of the drawing, the size of the drawing border, the folding symbols, the relative position of each drawing frame, the relative position of the drawing label, the relative position of the material table, the relative position of the component position table, the scale of the two-dimensional drawing displayed in each drawing frame, the rotation angle of the two-dimensional drawing displayed in each drawing frame, and display (or hide) the name of the steel structure detail drawing; wherein the two-dimensional drawing includes: basic view and section view.
[0074] The layout information is used to describe the overall layout of the steel structure details. The relative position of the component position table refers to the arrangement of the current component in the axis grid. It is a table including component number and axis information, such as GZ1 3 / A.
[0075] S103. Based on the view setting rule, determine the type of basic view to be displayed, and the section reference point, section direction, and section depth of the first steel structure entity model; based on the type of basic view to be displayed, generate the basic view of the first steel structure entity model; based on the section reference point, section direction, and section depth of the first steel structure entity model, generate the section view of the first steel structure entity model; wherein the types of basic views include front view, rear view, top view, bottom view, left view, right view, and isometric view.
[0076] According to the view setting rules, basic views and section views of the first steel structure entity model are generated. Specifically, according to the types of basic views included in the view setting rules, the types of basic views of the first steel structure entity model are determined. The view setting rules include multiple groups of section reference points, section directions, and section depths. Based on each group of section reference points, section directions, and section depths, a section view of the first steel structure entity model is generated.
[0077] S104. Based on the annotation setting rules, determine the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the feature points of the first steel structure entity model in each two-dimensional figure. For each two-dimensional figure, based on the position information of the feature points in the two-dimensional figure, the attribute information of the annotation lines, and the attribute information of the annotation characters, mark the distances between the associated feature points in the two-dimensional figure.
[0078] When using annotation setting rules, each two-dimensional image is processed as the object, and the distance between the associated feature points is annotated. The attribute information of the annotation line includes line type, thickness, color, line end (circular, square, extended), and transparency, and the attribute information of the annotation character includes font, font size, color, position, underline, bold, and italic.
[0079] S105. Based on the marking setting rules, determine the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in each two-dimensional figure. For each two-dimensional figure, mark the parts to be marked in the two-dimensional figure based on the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in the two-dimensional figure.
[0080] When using the marking setting rules, each two-dimensional image is processed as the object, and the parts that need to be marked are marked. The attribute information of the marking line includes line type, thickness, color, line end (circular, square, extended), and transparency. The attribute information of the marking character includes font, font size, color, position, underline, bold, and italic. The marking characters of the parts that need to be marked are characters that correspond to the parts one by one. For example, 001 is used to represent nuts and 002 is used to represent bolts.
[0081] S106. Based on the axis setting rules, determine the position, label, and visibility of the axis in each two-dimensional graph, and for each two-dimensional graph, generate the axis of the two-dimensional graph based on the position, label, and visibility of the axis in the two-dimensional graph.
[0082] When the axis setting rule is adopted, each two-dimensional graph is taken as a processing object, and the axis of each two-dimensional graph is generated. Among them, the labels of different axes are also different, and the axes are distinguished based on the labels.
[0083] S107. Determine general style information based on the general setting rules; wherein the general style information at least includes: dimension lines, section symbols, bolt symbols, reference lines, and center lines.
[0084] General style information is used to describe the overall style of steel structure details.
[0085] S108. Generate a steel structure detailed drawing of the first steel structure entity model based on the layout information, the general style information, the basic view and section view of the first steel structure entity model, and the annotation results, marking results, and axes of each two-dimensional drawing.
[0086] The layout information and general style information are used to describe the overall situation of the steel structure detailed drawing. The basic view and section view are used to describe the specific structure of the first steel structure solid model. The annotation results, marking results, and axis lines of each two-dimensional drawing are used as auxiliary information to understand the specific structure of the two-dimensional drawing. Finally, the first steel structure solid model is converted into a steel structure detailed drawing.
[0087] The method for generating steel structure detailed drawings provided in the embodiment of the present application converts the first steel structure entity model into a steel structure detailed drawing based on preset detailed drawing drawing rules, thereby improving drawing efficiency and detailed drawing quality. Different detailed drawing drawing rules can be set based on different baseline steel structure entity models, and the method has a wide range of applications.
[0088] Furthermore, when selecting the detailed drawing rules that match the first steel structure entity model to be processed, the selection is based on the similarity between the first steel structure entity model and each benchmark steel structure entity model. The benchmark steel structure entity model with the highest similarity may be completely identical to the first steel structure entity model, or may not be completely identical to the first steel structure entity model. When they are not completely identical, the steel structure detailed drawing drawn based on the detailed drawing rules corresponding to the benchmark steel structure entity model with the highest similarity (i.e., the second steel structure entity model) will have a certain error with the real steel structure entity model of the first steel structure entity model. For example, the first steel structure entity model includes parts A, B, C, D, E, and F, and the second steel structure entity model includes parts A, B, C, D, E, and G, that is, the parts that overlap in the two models are A, B, C, D, and E. Then, the steel structure detailed drawing drawn based on the detailed drawing rules corresponding to the second steel structure entity model only includes parts A, B, C, D, and E, and F is a missing part. In this case, it is necessary to manually add the missing part F to the automatically generated steel structure detailed drawing. For the case where the first steel structure entity model and the second steel structure entity model are not completely identical, refer to Figure 3 As shown, Figure 3 A flowchart of another method for generating steel structure details provided in an embodiment of the present application, wherein the generating method further comprises:
[0089] S301. If any part of the first steel structure physical model does not exist in the second steel structure physical model, determine the part that exists in the first steel structure physical model but does not exist in the second steel structure physical model as a missing part.
[0090] Parts in the first steel structure solid model that are not drawn into steel structure details based on the detail drawing rules are defined as missing parts, that is, the automatically generated steel structure details do not include missing parts.
[0091] S302: Generate a first prompt message for prompting that the steel structure detailed drawing does not include the missing part, so that the user can supplement the missing part in the steel structure detailed drawing.
[0092] When there are missing parts, a first prompt message is generated and displayed to remind the user to supplement the missing parts to ensure that the final generated steel structure detail drawing is complete and accurate.
[0093] S303, recording the number of occurrences of each missing part corresponding to the second steel structure entity model, and if the number of occurrences is greater than a preset threshold, generating second prompt information for prompting the optimization of the second steel structure entity model, so that the user can add a sub-model of the missing part to the second steel structure entity model to generate a new baseline steel structure entity model.
[0094] In practice, the detailed drawing rules of the same second steel structure entity model can be used multiple times to draw steel structure detailed drawings of different first steel structure entity models. Each time the detailed drawing rules of the second steel structure entity model are used, the missing parts corresponding to the second steel structure entity model are recorded. If the number of times a missing part is recorded is greater than a preset threshold, it means that the missing part is relatively common. The missing part can be added to the second steel structure entity model, and a new baseline steel structure entity model can be established to generate new detailed drawing rules. In this way, the new detailed drawing rules contain sub-rules for drawing missing parts. After the steel structure detailed drawings are automatically generated, there is no need to manually supplement the missing parts, which can improve drawing efficiency.
[0095] For further information, see Figure 4 As shown, Figure 4 A flowchart of another method for generating steel structure detailed drawings provided in an embodiment of the present application, using a drawing rule editor, generates the detailed drawing rules in the following manner:
[0096] S401. Acquire model feature information of a reference steel structure entity model, and load and display the reference steel structure entity model based on the model feature information, so as to generate detailed drawing rules corresponding to the reference steel structure entity model based on the displayed reference steel structure entity model; wherein the model feature information at least includes: part feature information of each part included in the reference steel structure entity model, connection relationships between the various parts included in the reference steel structure entity model, and direction and display rules of the reference steel structure entity model.
[0097] When using the drawing rule editor, a reference steel structure entity model must be used as a sample to edit the detailed drawing rules. Therefore, when editing the detailed drawing rules, the model feature information of a reference steel structure entity model must be obtained first, and the reference steel structure entity model must be loaded and displayed based on the obtained model feature information. Among them, the part feature information of the part includes the type, model, size and other related information describing the physical properties of the part. The direction of the reference steel structure entity model is the direction of the model content displayed on the display screen. The display rules of the reference steel structure entity model include but are not limited to: different types of parts are displayed in different colors, and the same type of parts are highlighted when the user selects a part.
[0098] S402: In a layout editing mode, receiving and saving layout information input by a user, generating the layout rules, and saving the layout rules as a layout file.
[0099] When using the drawing rule editor to generate detailed drawing rules, a human-computer interaction method is adopted to provide a flexible method for generating detailed drawing rules. The layout information input by the user is determined as the layout layout rule.
[0100] In addition to the method in which the user inputs layout information in sequence, there is also a simpler editing method. In the layout editing mode, in response to the user's selection operation for any of the multiple pre-stored layout files, layout rules are generated based on the layout file selected by the user. In this way, layout rules can be edited more efficiently based on the multiple pre-stored layout files.
[0101] S403. In the view setting editing mode, respond to the user's selection operation on the types of multiple pre-stored basic views, determine the type of basic view selected by the user, receive and save the section reference point, section direction, and section depth of the benchmark steel structure entity model input by the user, and generate the view setting rules based on the type of basic view selected by the user and the section reference point, section direction, and section depth of the benchmark steel structure entity model.
[0102] In the view setting editing mode, edit the view setting rules used to draw basic views and section views. Specifically, based on the type of basic view selected by the user, determine which basic views will be ultimately displayed; based on several groups of section reference points, section directions, and section depths input by the user, determine the section view that will ultimately be displayed.
[0103] When editing the generation rules of the section view, it includes:
[0104] 1. Section view creation rules: You can set section view creation rules, such as automatically creating section views at the position of perforated plates and special-shaped plates, and you can create section views at fixed positions (specific positions, specific parts);
[0105] 2. Section direction setting: from left to right, from right to left, from top to bottom, from bottom to top, automatic (end sections are uniformly inward or outward);
[0106] 3. Section symbol setting: specify the starting symbol (number or letter) of the section name, specify the position of the section symbol, and automatically fill in discontinuous numbers;
[0107] 4. Section depth setting: According to the part boundary range, it can be extended outward within a certain distance range from this range; the depth range is fixed according to the value given by the user;
[0108] 5. Merging Principle: Merge identical sectional views, and whether to retain sectional symbols can be selected at other positions; Merge similar sectional views (it can be specified that the sectional views are merged only when the number of similar sectional views exceeds N, and whether to retain sectional symbols can be selected at other positions (the sectional symbols are added with "REF" or "TYP");
[0109] 6. Section Scale: The same as the front view, not less than the scale of the front view, automatic, select from the given available scales, the most suitable scale to adapt to the drawing area, fixed scale.
[0110] In addition, in the view setting editing mode, the following information can also be edited:
[0111] 1. Specify the front view direction before drawing
[0112] (1) Set the front view direction (Tekla mechanism): Specify the north direction, view direction (north or west, north or east, south or west, south or east);
[0113] (2) Set the front view direction (according to the set component coordinate system): According to the component type, our custom component coordinate system (by converting the main part's own coordinate system defined by Tekla, rotating and moving around the X / Y / Z axes, etc., to ensure that the final effect is consistent with the set component coordinate system direction);
[0114] 2. Projection Method: First angle, third angle, automatic, default is third angle, corresponding to the Tekla drawing property settings;
[0115] 3. Component Direction: Model, Orient, Local (Tekla mode), Automatic (suitable direction defined according to the component type, such as stairs, three - limb lattice columns, etc.);
[0116] 4. Object Visibility: Set the visibility of objects such as parts, bolts, adjacent components, surface treatments, welds, etc.;
[0117] 5. View Properties: Display common view properties after selecting a view, and users can set them, such as scale (fixed, available scales), depth; Users can read the property file corresponding to the view in Tekla and automatically fill it into the setting interface (whether it is needed depends on the number of view setting items);
[0118] 6. View Arrangement Rules: Specify the minimum horizontal and vertical spacing between views; Specify the minimum distance from the top, bottom, left, and right borders; The alignment method can be set, such as aligning by view frame or by main part.
[0119] S404. In the annotation setting editing mode, the number of two-dimensional drawings included in the steel structure detail drawing is determined based on the number of types of basic views selected by the user and the number of section reference points of the reference steel structure entity model; for each two-dimensional drawing, the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the feature points in the two-dimensional drawing input by the user are received and saved, and the annotation setting rules are generated; or, the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the feature points in each two-dimensional drawing are received and saved, and the annotation setting rules are generated, wherein the attribute information of the annotation lines and the attribute information of the annotation characters in each two-dimensional drawing are consistent.
[0120] The annotation setting rules specifically include the attribute information of the annotation line, the attribute information of the annotation character, and the position information of the feature point. The attribute information of the annotation line and the attribute information of the annotation character of each two-dimensional image can be different or the same. If they are different, in the annotation setting editing mode, the two-dimensional image is taken as the processing object, and the annotation setting rules of each two-dimensional image are edited separately; if they are the same, the attribute information of the annotation line and the attribute information of the annotation character of each two-dimensional image are edited at the same time, and then the two-dimensional image is taken as the processing object, and the position information of the feature point of each two-dimensional image is edited separately.
[0121] In practice, the feature points include:
[0122] 1. Part contour point (outline vertex): the position feature point of the part's own contour point in the current drawing view coordinate system, such as the leftmost point, rightmost point, topmost point, bottommost point, top right point, top right point, and all contour points;
[0123] 2. Part reference points: part starting point, end point, contour corner point, etc.;
[0124] 3. Part business feature points: Common part type marking points, such as the purlin support plate is generally marked with the point on the side connected to the purlin and farther away from the main part. The connection sides of the purlin support plates on the same side may not be the same, so such feature points need to be extracted;
[0125] 4. Bolt group hole points: all the hole points of the bolt group, the outermost row of hole points, the hole points within a certain range (such as the hole points above the center line of the part), the leftmost point, the topmost point, and the lower right point;
[0126] 5. Intersection: Calculate the intersection by selecting other feature points or reference lines, center lines, feature lines, etc., including the line formed by two feature points;
[0127] 6. Vertical point: Calculate the vertical point by selecting other feature points or reference lines, center lines, feature lines, etc., including the line formed by two feature points;
[0128] 7. Midpoint: The midpoint calculated by selecting two other feature points or line segments;
[0129] 8. Axis grid point: the intersection of the axis grid, such as the intersection of the plane axis, or the intersection with the elevation axis, etc., the intersection of the axis and other reference lines or center lines;
[0130] 9. The appearance and interaction (selection status, display, hiding, etc.) of the above feature points, such as the display effects of different types of feature points, selection effects, and interactive selection when multiple points overlap.
[0131] In addition, in the annotation settings edit mode, you can also edit the following information:
[0132] 1. Select the dimension type: straight dimension (horizontal, vertical, oblique, parallel dimension), radius dimension, curved dimension, angle dimension;
[0133] 2. Management and editing of annotation rules: annotation rule list interface and interaction, deletion and copying of annotation rules, addition and deletion of dimension points, visibility and concealment of annotation rules, etc.;
[0134] 3. Dimension line properties: Select a certain annotation rule to set the dimension line properties. Common property items will be listed in the interface, but appearance properties are not included. You can read the corresponding TEKLA property file and automatically fill it in the interface dialog box without filling it in one by one.
[0135] 4. Feature point appearance interaction: You can display or hide feature points by category, including selection status, feature point name information, multiple selection list, etc.
[0136] S405. In the mark setting editing mode, for each two-dimensional figure, the attribute information of the marking line, the attribute information of the marking character, and the marking character of the parts to be marked in the two-dimensional figure input by the user are received and saved to generate the mark setting rules; or, the attribute information of the marking line, the attribute information of the marking character, and the marking character of the parts to be marked in each two-dimensional figure are received and saved to generate the mark setting rules, wherein the attribute information of the marking line and the attribute information of the marking character in each two-dimensional figure are consistent.
[0137] The marking setting rules specifically include the attribute information of the marking line, the attribute information of the marking character, and the marking character of the parts to be marked. The attribute information of the marking line and the attribute information of the marking character of each two-dimensional drawing can be different or the same. If they are different, in the marking setting editing mode, the two-dimensional drawing is taken as the processing object, and the marking setting rules of each two-dimensional drawing are edited separately; if they are the same, the attribute information of the marking line and the attribute information of the marking character of each two-dimensional drawing are edited at the same time, and then the two-dimensional drawing is taken as the processing object, and the marking characters of the parts to be marked of each two-dimensional drawing are edited separately.
[0138] In addition, in the tag settings edit mode, you can also edit the following information:
[0139] 1. Merge principle: Set whether to merge the same part marks, and you can set a certain number of parts before merging;
[0140] 2. Placement / avoidance rule settings: mark placement area, avoidance principles, etc.; set avoidance principles, protection range, priority, etc. when various drawing objects such as dimension lines, marks, part outlines, etc. overlap in drawings;
[0141] 3. Marking attributes: List common attribute items of parts, bolts, welds and other objects (excluding appearance attributes). Tekla attribute files can be read and automatically filled into our interface without the need for users to fill in one by one.
[0142] S406. In the axis setting editing mode, for each two-dimensional graph, the position, label, and visibility of the axis in the two-dimensional graph input by the user are received and saved, and the axis setting rules are generated.
[0143] For visibility, specify in which 2D drawing the axis line needs to be displayed; set adjacent axis line labels: create position, distance, etc.; display range: only display the axis lines that intersect the reference point of the main part. For example, for a beam, there is no need to display the axis line in the middle of the beam. Only the axis line near the beam working point and all axis lines within the range of the main part are displayed.
[0144] S407: In the general setting editing mode, receiving and saving the general style information input by the user, and generating the general setting rules.
[0145] S408, packaging the layout rules, the view setting rules, the annotation setting rules, the mark setting rules, the axis setting rules, and the general setting rules to generate detailed drawing rules.
[0146] The rules edited in step S401 to step S407 are packaged to generate a complete set of detailed drawing rules, and each benchmark steel structure entity model corresponds to a complete set of detailed drawing rules.
[0147] Furthermore, the embodiment of the present application can also adjust the reference steel structure entity model to generate a new reference steel structure entity model:
[0148] In response to a user's selection operation on any one of a plurality of pre-stored benchmark steel structure entity models, the benchmark steel structure entity model selected by the user is determined as the steel structure entity model to be optimized; in response to a user's deletion operation on any part in the steel structure entity model to be optimized, and / or receiving and saving a sub-model of a newly added part input by the user, and a connection relationship between the newly added part and the steel structure entity model to be optimized, a new benchmark steel structure entity model is generated.
[0149] In practice, any part in the steel structure solid model to be optimized is deleted, and / or new parts are added to the steel structure solid model to be optimized to generate a new benchmark steel structure solid model, and then new detailed drawing rules are edited based on the new benchmark steel structure solid model.
[0150] Furthermore, the edited detailed drawing rules can be shared through a sharing platform, or the existing detailed drawing rules can be downloaded and used. Specifically:
[0151] Method 1: Upload the detailed drawing rules and the reference steel structure entity model corresponding to the detailed drawing rules to a detailed drawing rule sharing platform, so that legal users can download and use the detailed drawing rules.
[0152] Method 2: Downloading detailed drawing rules of a specific reference steel structure entity model from the detailed drawing rule sharing platform, so as to convert the first steel structure entity model to be processed into a steel structure detailed drawing based on the downloaded detailed drawing rules.
[0153] Based on the same inventive concept, an embodiment of the present application also provides a device for generating steel structure details corresponding to the method for generating steel structure details. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the method for generating steel structure details in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0154] See also Figure 5 As shown, Figure 5 A schematic diagram of a device for generating a steel structure detail drawing provided in an embodiment of the present application, the device comprising:
[0155] A selection module 501 is used to select a detailed drawing rule that matches the first steel structure entity model to be processed; wherein the detailed drawing rule includes a layout rule, a view setting rule, a marking setting rule, a mark setting rule, an axis setting rule, and a general setting rule; the steel structure entity model is composed of sub-models of various parts, and the steel structure entity model is a three-dimensional model;
[0156] The first determination module 502 is used to determine the layout information based on the layout rule; wherein the layout information at least includes: the overall size of the drawing, the direction of the drawing, the size of the drawing frame, the folding symbol, the relative position of each frame, the relative position of the drawing label, the relative position of the material table, the relative position of the component position table, the scale of the two-dimensional drawing displayed in each frame, the rotation angle of the two-dimensional drawing displayed in each frame, and the display (or hiding) of the steel structure detail drawing name; wherein the two-dimensional drawing includes: basic view and section view;
[0157] The first generating module 503 is used to determine the type of basic view to be displayed, and the section reference point, section direction, and section depth of the first steel structure entity model based on the view setting rule, generate the basic view of the first steel structure entity model based on the type of basic view to be displayed, and generate the section view of the first steel structure entity model based on the section reference point, section direction, and section depth of the first steel structure entity model; wherein the types of basic views include front view, rear view, top view, bottom view, left view, right view, and isometric view;
[0158] The marking module 504 is used to determine the attribute information of the marking lines, the attribute information of the marking characters, and the position information of the characteristic points of the first steel structure entity model in each two-dimensional figure based on the marking setting rule, and for each two-dimensional figure, mark the distance between the associated characteristic points in the two-dimensional figure based on the position information of the characteristic points in the two-dimensional figure, the attribute information of the marking lines, and the attribute information of the marking characters;
[0159] The marking module 505 is used to determine the attribute information of the marking line, the attribute information of the marking character, and the marking character of the part to be marked in each two-dimensional image based on the marking setting rule, and for each two-dimensional image, mark the part to be marked in the two-dimensional image based on the attribute information of the marking line, the attribute information of the marking character, and the marking character of the part to be marked in the two-dimensional image;
[0160] The second generation module 506 is used to determine the position, label, and visibility of the axis in each two-dimensional graph based on the axis setting rule, and for each two-dimensional graph, generate the axis of the two-dimensional graph based on the position, label, and visibility of the axis in the two-dimensional graph;
[0161] The second determination module 507 is used to determine the general style information based on the general setting rule; wherein the general style information at least includes: dimension line, section symbol, bolt symbol, reference line, center line;
[0162] The third generation module 508 is used to generate a steel structure detailed drawing of the first steel structure entity model based on the layout information, the general style information, the basic view and section view of the first steel structure entity model, and the annotation results, marking results, and axes of each two-dimensional drawing.
[0163] In a possible implementation, the selection module 501, when selecting a detailed drawing rule matching the first steel structure entity model to be processed, includes:
[0164] Comparing each pre-stored reference steel structure entity model with the first steel structure entity model, respectively, to determine the similarity between each reference steel structure entity model and the first steel structure entity model;
[0165] The reference steel structure entity model with the highest similarity is determined as the second steel structure entity model, and the detailed drawing rules corresponding to the second steel structure entity model are determined as detailed drawing rules that match the first steel structure entity model; wherein each reference steel structure entity model corresponds to a unique detailed drawing rule, and the parts of the second steel structure entity model that overlap with the first steel structure entity model are determined as target parts of the first steel structure entity model.
[0166] In a possible implementation manner, the generating device further includes:
[0167] a third determining module, configured to determine a part existing in the first steel structure entity model but not in the second steel structure entity model as a missing part if any part of the first steel structure entity model does not exist in the second steel structure entity model;
[0168] A fourth generating module is used to generate a first prompt message for prompting that the steel structure detailed drawing does not include the missing part, so that the user can supplement the missing part in the steel structure detailed drawing;
[0169] The fifth generation module is used to record the number of occurrences of each missing part corresponding to the second steel structure entity model. If the number of occurrences is greater than a preset threshold, a second prompt information is generated to prompt the optimization of the second steel structure entity model, so that the user can add a sub-model of the missing part to the second steel structure entity model to generate a new baseline steel structure entity model.
[0170] In a possible implementation manner, the generating device further includes:
[0171] A loading and display module, used to obtain model feature information of a reference steel structure entity model, and load and display the reference steel structure entity model based on the model feature information, so as to generate a detailed drawing rule corresponding to the reference steel structure entity model based on the displayed reference steel structure entity model; wherein the model feature information at least includes: part feature information of each part included in the reference steel structure entity model, connection relationship between each part included in the reference steel structure entity model, and direction and display rule of the reference steel structure entity model;
[0172] A sixth generation module, used for receiving and saving layout information input by a user in a layout editing mode, generating the layout rule, and saving the layout rule as a layout file;
[0173] a seventh generating module, for responding to a user's selection operation of the types of a plurality of pre-stored basic views in a view setting editing mode, determining the type of the basic view selected by the user, receiving and saving the section reference point, section direction, and section depth of the reference steel structure entity model input by the user, and generating the view setting rule based on the type of the basic view selected by the user and the section reference point, section direction, and section depth of the reference steel structure entity model;
[0174] The eighth generation module is used to determine the number of two-dimensional drawings included in the steel structure detail drawing based on the number of types of basic views selected by the user and the number of section reference points of the reference steel structure entity model in the annotation setting editing mode; for each two-dimensional drawing, receive and save the attribute information of the annotation line, the attribute information of the annotation character, and the position information of the feature point in the two-dimensional drawing input by the user, and generate the annotation setting rule; or receive and save the attribute information of the annotation line, the attribute information of the annotation character, and the position information of the feature point in each two-dimensional drawing input by the user, and generate the annotation setting rule, wherein the attribute information of the annotation line and the attribute information of the annotation character in each two-dimensional drawing are consistent;
[0175] A ninth generation module is used for, in a mark setting editing mode, for each two-dimensional diagram, receiving and saving the attribute information of the marking line, the attribute information of the marking character, and the marking character of the part to be marked in the two-dimensional diagram input by the user, and generating the marking setting rule; or receiving and saving the attribute information of the marking line, the attribute information of the marking character, and the marking character of the part to be marked in each two-dimensional diagram input by the user, and generating the marking setting rule, wherein the attribute information of the marking line and the attribute information of the marking character in each two-dimensional diagram are consistent;
[0176] A tenth generating module is used for receiving and saving the position, label, and visibility of the axis in each two-dimensional graph input by the user in the axis setting editing mode, and generating the axis setting rule;
[0177] an eleventh generating module, configured to receive and save the general style information input by the user in the general setting editing mode, and generate the general setting rules;
[0178] The twelfth generation module is used to package the page layout rules, the view setting rules, the annotation setting rules, the mark setting rules, the axis setting rules, and the general setting rules to generate detailed drawing rules.
[0179] In a possible implementation manner, the generating device further includes:
[0180] The thirteenth generation module is used to generate the layout rules based on the layout file selected by the user in the layout editing mode in response to the user's selection operation on any one of the pre-stored layout files.
[0181] In a possible implementation manner, the generating device further includes:
[0182] The fourteenth generation module is used to respond to the user's selection operation on any benchmark steel structure entity model among multiple pre-stored benchmark steel structure entity models, determine the benchmark steel structure entity model selected by the user as the steel structure entity model to be optimized, respond to the user's deletion operation on any part in the steel structure entity model to be optimized, and / or receive and save the sub-model of the newly added part input by the user, the connection relationship between the newly added part and the steel structure entity model to be optimized, and generate a new benchmark steel structure entity model.
[0183] In a possible implementation manner, the generating device further includes:
[0184] An uploading module, used for uploading the detailed drawing rules and the reference steel structure entity model corresponding to the detailed drawing rules to a detailed drawing rule sharing platform, so that a legitimate user can download and use the detailed drawing rules;
[0185] The download module is used to download the detailed drawing rules of a specific reference steel structure entity model from the detailed drawing rule sharing platform, so as to convert the first steel structure entity model to be processed into a steel structure detailed drawing based on the downloaded detailed drawing rules.
[0186] The device for generating steel structure detailed drawings provided in the embodiment of the present application converts the first steel structure entity model into a steel structure detailed drawing based on preset detailed drawing drawing rules, thereby improving drawing efficiency and detailed drawing quality. Different detailed drawing drawing rules can be set based on different baseline steel structure entity models, and the device has a wide range of applications.
[0187] See also Figure 6 As shown, Figure 6 A schematic diagram of an electronic device provided in an embodiment of the present application, the electronic device 600 includes: a processor 601, a memory 602 and a bus 603, the memory 602 stores machine-readable instructions executable by the processor 601, when the electronic device is running, the processor 601 communicates with the memory 602 via the bus 603, the processor 601 executes the machine-readable instructions to perform the steps of the method for generating steel structure details as described above.
[0188] Specifically, the memory 602 and the processor 601 can be general-purpose memories and processors, which are not specifically limited here. When the processor 601 runs the computer program stored in the memory 602, the method for generating the steel structure detailed drawing can be executed.
[0189] Corresponding to the above-mentioned method for generating steel structure detailed drawings, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for generating steel structure detailed drawings are executed.
[0190] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0191] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0193] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that can be executed by a processor. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0194] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for generating steel structure detailed drawings, characterized in that: The generation method comprises: Selecting detailed drawing rules that match the first steel structure entity model to be processed; wherein the detailed drawing rules include layout rules, view setting rules, annotation setting rules, mark setting rules, axis setting rules, and general setting rules; the steel structure entity model is composed of sub-models of various parts, and the steel structure entity model is a three-dimensional model; Based on the layout rules, the layout information is determined; wherein the layout information at least includes: the overall size of the drawing, the direction of the drawing, the size of the drawing frame, the folding symbol, the relative position of each frame, the relative position of the drawing label, the relative position of the material table, the relative position of the component position table, the scale of the two-dimensional drawing displayed in each frame, the rotation angle of the two-dimensional drawing displayed in each frame, and the display or hiding of the steel structure detail drawing name; wherein the two-dimensional drawing includes: basic view and section view; Based on the view setting rule, determine the type of basic view to be displayed, and the section reference point, section direction, and section depth of the first steel structure entity model; based on the type of basic view to be displayed, generate the basic view of the first steel structure entity model; based on the section reference point, section direction, and section depth of the first steel structure entity model, generate the section view of the first steel structure entity model; wherein the types of basic views include front view, rear view, top view, bottom view, left view, right view, and isometric view; Based on the annotation setting rule, determine the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the characteristic points of the first steel structure entity model in each two-dimensional image, and for each two-dimensional image, annotate the distances between the associated characteristic points in the two-dimensional image based on the position information of the characteristic points in the two-dimensional image, the attribute information of the annotation lines, and the attribute information of the annotation characters; Based on the marking setting rule, determine the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in each two-dimensional image, and for each two-dimensional image, mark the parts to be marked in the two-dimensional image based on the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in the two-dimensional image; Based on the axis setting rules, determine the position, label, and visibility of the axis in each two-dimensional graph, and for each two-dimensional graph, generate the axis of the two-dimensional graph based on the position, label, and visibility of the axis in the two-dimensional graph; Based on the general setting rules, general style information is determined; wherein the general style information at least includes: dimension lines, section symbols, bolt symbols, reference lines, and center lines; Based on the layout information, the general style information, the basic view and section view of the first steel structure entity model, and the annotation results, marking results, and axes of each two-dimensional drawing, a steel structure detailed drawing of the first steel structure entity model is generated.
2. The method for generating steel structure detailed drawings according to claim 1, characterized in that: The step of selecting a detailed drawing rule that matches the first steel structure entity model to be processed includes: Comparing each pre-stored reference steel structure entity model with the first steel structure entity model, respectively, to determine the similarity between each reference steel structure entity model and the first steel structure entity model; The reference steel structure entity model with the highest similarity is determined as the second steel structure entity model, and the detailed drawing rules corresponding to the second steel structure entity model are determined as detailed drawing rules that match the first steel structure entity model; wherein each reference steel structure entity model corresponds to a unique detailed drawing rule, and the parts of the second steel structure entity model that overlap with the first steel structure entity model are determined as target parts of the first steel structure entity model.
3. The method for generating steel structure detailed drawings according to claim 2, characterized in that: The generating method further comprises: If any part of the first steel structure physical model does not exist in the second steel structure physical model, the part existing in the first steel structure physical model but not in the second steel structure physical model is determined as a missing part; generating a first prompt message for prompting that the steel structure detailed drawing does not include the missing part, so that the user can supplement the missing part in the steel structure detailed drawing; The number of occurrences of each missing part corresponding to the second steel structure entity model is recorded. If the number of occurrences is greater than a preset threshold, a second prompt message is generated to prompt the user to optimize the second steel structure entity model, so that the user can add a sub-model of the missing part to the second steel structure entity model to generate a new baseline steel structure entity model.
4. The method for generating steel structure detailed drawings according to claim 2, characterized in that: The detailed drawing rules are generated by using the drawing rule editor in the following manner: Acquire model feature information of a reference steel structure entity model, and load and display the reference steel structure entity model based on the model feature information, so as to generate a detailed drawing rule corresponding to the reference steel structure entity model based on the displayed reference steel structure entity model; wherein the model feature information at least includes: part feature information of each part included in the reference steel structure entity model, connection relationship between each part included in the reference steel structure entity model, and direction and display rule of the reference steel structure entity model; In the layout editing mode, receiving and saving the layout information input by the user, generating the layout rules, and saving the layout rules as a layout file; In the view setting editing mode, in response to a user's selection operation of the types of a plurality of pre-stored basic views, the type of the basic view selected by the user is determined, the section reference point, section direction, and section depth of the reference steel structure entity model input by the user are received and saved, and the view setting rule is generated based on the type of the basic view selected by the user and the section reference point, section direction, and section depth of the reference steel structure entity model; In the annotation setting editing mode, the number of two-dimensional drawings included in the steel structure detail drawing is determined based on the number of types of basic views selected by the user and the number of section reference points of the reference steel structure entity model; for each two-dimensional drawing, the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the feature points in the two-dimensional drawing input by the user are received and saved, and the annotation setting rules are generated; or, the attribute information of the annotation lines, the attribute information of the annotation characters, and the position information of the feature points in each two-dimensional drawing input by the user are received and saved, and the annotation setting rules are generated, wherein the attribute information of the annotation lines and the attribute information of the annotation characters in each two-dimensional drawing are consistent; In the mark setting editing mode, for each two-dimensional figure, the attribute information of the mark line in the two-dimensional figure, the attribute information of the mark character, and the mark character of the part to be marked, which are input by the user, are received and saved, and the mark setting rule is generated; or, the attribute information of the mark line, the attribute information of the mark character, and the mark character of the part to be marked in each two-dimensional figure, which are input by the user, are received and saved, and the mark setting rule is generated, wherein the attribute information of the mark line and the attribute information of the mark character in each two-dimensional figure are consistent; In the axis setting editing mode, for each two-dimensional graph, the position, label, and visibility of the axis in the two-dimensional graph input by the user are received and saved, and the axis setting rule is generated; In the general setting editing mode, receiving and saving the general style information input by the user, and generating the general setting rules; The layout rules, the view setting rules, the annotation setting rules, the mark setting rules, the axis setting rules, and the general setting rules are packaged and processed to generate detailed drawing rules.
5. The method for generating steel structure detailed drawings according to claim 4, characterized in that: The detailed drawing rules may also be generated in the following manner: In the layout editing mode, in response to a user's selection operation on any one of a plurality of pre-stored layout files, the layout rules are generated based on the layout file selected by the user.
6. The method for generating steel structure detailed drawings according to claim 2, characterized in that: The generating method further comprises: In response to a user's selection operation on any one of a plurality of pre-stored benchmark steel structure entity models, the benchmark steel structure entity model selected by the user is determined as the steel structure entity model to be optimized; in response to a user's deletion operation on any part in the steel structure entity model to be optimized, and / or receiving and saving a sub-model of a newly added part input by the user, and a connection relationship between the newly added part and the steel structure entity model to be optimized, a new benchmark steel structure entity model is generated.
7. The method for generating steel structure detailed drawings according to claim 4, characterized in that: The generating method further comprises: Uploading the detailed drawing rules and the reference steel structure entity model corresponding to the detailed drawing rules to a detailed drawing rule sharing platform, so that legitimate users can download and use the detailed drawing rules; Alternatively, the detailed drawing rules of a specific reference steel structure entity model are downloaded from the detailed drawing rule sharing platform, so as to convert the first steel structure entity model to be processed into a steel structure detailed drawing based on the downloaded detailed drawing rules.
8. A device for generating steel structure detailed drawings, characterized in that: The generating device comprises: A selection module is used to select a detailed drawing rule that matches the first steel structure entity model to be processed; wherein the detailed drawing rule includes a layout rule, a view setting rule, a marking setting rule, a mark setting rule, an axis setting rule, and a general setting rule; the steel structure entity model is composed of sub-models of various parts, and the steel structure entity model is a three-dimensional model; The first determination module is used to determine the layout information based on the layout rule; wherein the layout information at least includes: the overall size of the drawing, the direction of the drawing, the size of the drawing frame, the folding symbol, the relative position of each frame, the relative position of the drawing label, the relative position of the material table, the relative position of the component position table, the scale of the two-dimensional drawing displayed in each frame, the rotation angle of the two-dimensional drawing displayed in each frame, and the display or hiding of the steel structure detail drawing name; wherein the two-dimensional drawing includes: basic view and section view; a first generating module, for determining the type of basic view to be displayed, and the section reference point, section direction, and section depth of the first steel structure entity model based on the view setting rule, generating the basic view of the first steel structure entity model based on the type of basic view to be displayed, and generating the section view of the first steel structure entity model based on the section reference point, section direction, and section depth of the first steel structure entity model; wherein the types of basic views include front view, rear view, top view, bottom view, left view, right view, and isometric view; A marking module, for determining, based on the marking setting rule, the attribute information of the marking lines, the attribute information of the marking characters, and the position information of the characteristic points of the first steel structure entity model in each two-dimensional figure, and for each two-dimensional figure, marking the distance between the associated characteristic points in the two-dimensional figure based on the position information of the characteristic points in the two-dimensional figure, the attribute information of the marking lines, and the attribute information of the marking characters; A marking module, for determining, based on the marking setting rule, the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in each two-dimensional image, and for each two-dimensional image, marking the parts to be marked in the two-dimensional image based on the attribute information of the marking lines, the attribute information of the marking characters, and the marking characters of the parts to be marked in the two-dimensional image; A second generation module is used to determine the position, label, and visibility of the axis in each two-dimensional graph based on the axis setting rule, and for each two-dimensional graph, generate the axis of the two-dimensional graph based on the position, label, and visibility of the axis in the two-dimensional graph; A second determination module is used to determine general style information based on the general setting rule; wherein the general style information at least includes: dimension lines, section symbols, bolt symbols, reference lines, and center lines; The third generation module is used to generate a steel structure detailed drawing of the first steel structure entity model based on the layout information, the general style information, the basic view and section view of the first steel structure entity model, and the annotation results, marking results, and axes of each two-dimensional drawing.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the method for generating steel structure details as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the method for generating steel structure details according to any one of claims 1 to 7.
