Floor steel bar drawing method and device, computer equipment and readable storage medium
Drawing floor slab reinforcement using parametric data solves the problems of difficult component family reuse and high resource consumption in BIM software, achieves efficient drawing and editing, and is suitable for large-scale reinforcement drawing in BIM software.
Patent Information
- Application Number
- CN202210867592.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-22
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2042-07-22
AI Technical Summary
Existing BIM software has problems with reusing component families, high resource consumption, and low editing efficiency when drawing floor slab reinforcement. Especially in large-scale reinforcement drawing, the operation is slow and it is difficult to meet design requirements.
By determining the drawing parameters of the floor slab reinforcement, including the hook style and business data, generating reinforcement line segments and annotating text, and using parametric data to draw the floor slab reinforcement, you can avoid using reinforcement component families and directly call the reinforcement object for drawing and editing.
It improves drawing efficiency, reduces computing resource usage, supports large-scale steel bar drawing, and enables fast editing and data exchange of steel bar segments and their annotation contents, facilitating reuse.
Smart Images

Figure CN115238355B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer-aided design, and in particular to a floor steel bar drawing method and device, computer equipment and a readable storage medium. BACKGROUND
[0002] With the popularization and application of BIM software, more and more enterprises begin to use BIM software to draw design construction drawings. Among them, the structure professional needs to draw various steel bar drawings.
[0003] Floor steel bars are a common type of steel bars in engineering projects, with unified technical standards and specifications. In the process of drawing structural construction drawings using BIM software, the position, shape, length, etc. of the floor steel bars need to be accurately drawn according to the specifications and atlas requirements, and the steel bar specifications, length, etc. are labeled on the drawing. In addition, floor steel bars are different from other component steel bars, as they span one or more components and cannot be associated with a single component. The hook shape of the steel bar end is related to the connection condition of the connected steel bar, and is also determined by the standards of each design institute, with complex parameters.
[0004] Currently, the main method for drawing structural floor steel bar drawings in BIM software is to pre-create multiple floor steel bar component families of different shapes and containing attribute parameters, then load them into the BIM model for placement, and modify the steel bar shape and labeling by editing the parameter data in the attribute panel. Among them, the BIM component family is the basic unit of the project in the BIM software, which is a graphic element containing a set of common attributes and related graphic representations, and is also a carrier of parameter information.
[0005] For this, the inventors have found that the existing BIM software can draw floor steel bars that meet the requirements of design drawings. However, in actual application, there are the following three problems:
[0006] 1. Multiple steel bar component families need to be defined in advance, and because the family parameter data structures defined by each design unit are different, it is difficult to reuse or exchange data with other software in the industry;
[0007] 2. The loading and editing of steel bar component families require high hardware environment, and when there are many families, a large amount of computer resources is needed. When the model is large, the user operation is prone to lag and not smooth;
[0008] 3. The design process requires repeated modification of the steel bar shape and labeling content, and the existing solution can only drive the modification of the above content by editing the attribute panel parameters, which is low in editing efficiency, and is the core problem that restricts the use of BIM software for structural professionals.
[0009] Therefore, how to solve the problem of not easy to reuse and large resource consumption in the prior art when drawing floor steel bars using a steel bar component family becomes a technical problem to be solved in the field. SUMMARY
[0010] The purpose of the present application is to provide a floor steel bar drawing method, device, computer equipment and readable storage medium, which solves the technical problems in the prior art.
[0011] In one aspect, to achieve the above-mentioned purpose, the present application provides a floor steel bar drawing method.
[0012] The floor steel bar drawing method comprises: determining drawing parameters of a floor steel bar, wherein the drawing parameters comprise a hook style and business data; determining a support for drawing the floor steel bar and steel bar overhanging length data matched with the support; determining a drawing starting point and a drawing ending point of the floor steel bar according to the support; generating a steel bar line segment of the floor steel bar according to the hook style, the steel bar overhanging length data, the drawing starting point and the drawing ending point; calculating length information of the steel bar line segment according to the steel bar line segment, wherein the hook style and geometric data of the floor steel bar are generated; extracting marked text in the geometric data and the business data; and marking the marked text at a preset position of the steel bar line segment.
[0013] Further, the geometric data and the business data are stored in an attribute panel, the steel bar line segment and the marked text are stored in a structural plan view, and the method further comprises: in response to a data editing operation in the attribute panel, adjusting the steel bar line segment and / or the marked text in the structural plan view; in response to a drag operation on the steel bar line segment in the structural plan view, modifying corresponding data in the attribute panel and / or the marked text in the structural plan view; in response to an editing operation on the marked text in the structural plan view, modifying corresponding data in the attribute panel and / or adjusting the steel bar line segment in the structural plan view.
[0014] Further, determining the support for drawing the floor steel bar and the steel bar overhanging length data matched with the support comprises: in response to a support selection operation, determining that the support for drawing the floor steel bar is needed; acquiring the span of the floor on both sides of the support and the structural design specification; and calculating the steel bar overhanging length data according to the span and the structural design specification.
[0015] Further, the step of determining the drawing start point and the drawing end point of the floor steel bar according to the support comprises: picking up an arbitrary point on the first side line of the support as the drawing start point; drawing a perpendicular line from the drawing start point to the second side line of the support, and taking the foot of the perpendicular line on the second side line as the drawing end point.
[0016] Further, the step of generating the steel bar line segment of the floor steel bar according to the hook style, the steel bar overhanging length data, the drawing start point and the drawing end point comprises: generating an intermediate line segment of the floor steel bar between the drawing start point and the drawing end point; extending the intermediate line segment from the drawing start point and the drawing end point in two directions according to the steel bar overhanging length data, wherein the extended line segments are respectively a start point overhanging line segment and an end point overhanging line segment; generating a hook line segment at the extension end point of the start point overhanging line segment and the extension end point of the end point overhanging line segment according to the hook style, wherein the steel bar line segment comprises the intermediate line segment, the start point overhanging line segment, the end point overhanging line segment and the hook line segment, the sum of the intermediate line segment, the start point overhanging line segment and the end point overhanging line segment is the total length of the floor steel bar, the length information of the floor steel bar comprises the lengths of the intermediate line segment, the start point overhanging line segment and the end point overhanging line segment, and the total length.
[0017] Further, the annotation text comprises first annotation text and second annotation text, and the step of annotating the annotation text at the preset position of the steel bar line segment comprises: generating the first annotation text of the business data above the intermediate line segment; and generating the second annotation text of the steel bar overhanging length data below the start point overhanging line segment and the end point overhanging line segment respectively.
[0018] Further, the hook style comprises a hook angle, a hook radius and a hook length, the business data comprises a steel bar code, a steel bar grade, a steel bar diameter and an arrangement interval, and the step of determining the drawing parameters of the floor steel bar comprises: obtaining a steel bar strength grade requirement and historical drawing parameters; determining the hook angle, the hook radius and the hook length according to the steel bar strength grade requirement and the historical drawing parameters; obtaining a floor reinforcement area and a structure design requirement; and determining the steel bar code, the steel bar grade, the steel bar diameter and the arrangement interval according to the floor reinforcement area and the structure design requirement.
[0019] In another aspect, in order to achieve the above-mentioned purpose, the application provides a floor steel bar drawing device.
[0020] The drawing device of the floor steel bar comprises a first determination module, a second determination module, a third determination module, a drawing module, a calculation module, an extraction module and a marking module.
[0021] In another aspect, to achieve the above object, the application further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above method.
[0022] In another aspect, to achieve the above object, the application further provides a computer readable storage medium, which stores a computer program executable on a processor to implement the steps of the above method.
[0023] The drawing method, device, computer device and readable storage medium of the floor steel bar provided by the application first determine the drawing parameters of the floor steel bar, the support of the floor steel bar and the steel bar overhanging length data matched with the support, and then determine the drawing starting point and the drawing ending point of the floor steel bar according to the support, and generate the steel bar line segment of the floor steel bar according to the hook style, the steel bar overhanging length data, the drawing starting point and the drawing ending point, wherein the length information of the steel bar line segment can be calculated through the generated steel bar line segment, the hook style and the length information together constitute the geometric data of the floor steel bar, the marked words are extracted from the geometric data and the business data included in the drawing parameters, and are marked at the preset position of the steel bar line segment, so that the drawing of the floor steel bar is completed. BRIEF DESCRIPTION OF DRAWINGS
[0024] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0025] Figure 1 A flowchart of a method for drawing floor slab reinforcement provided in Example 1 of the present invention;
[0026] Figure 2 A flowchart of another method for drawing floor slab reinforcement provided in Example 1 of the present invention;
[0027] Figure 3 A schematic diagram of the data structure of floor slab reinforcement provided in the first embodiment of the present invention;
[0028] Figure 4 A flowchart of another method for drawing floor slab reinforcement provided in the first embodiment of the present invention;
[0029] Figure 5 A device for drawing floor slab reinforcement provided in the second embodiment of the present invention;
[0030] Figure 6 This is a hardware structure diagram of the computer device provided in Example 3 of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0032] Example 1
[0033] The embodiment of the present invention provides a method for drawing floor slab reinforcement. Through this method, a reinforcement object including reinforcement lines and annotation text can be directly drawn on the support where the floor slab reinforcement is required. The drawing efficiency is high. At the same time, compared with using BIM component families to draw floor slab reinforcement, it occupies less computing resources and is suitable for large-scale reinforcement drawing using BIM software, which can effectively improve design efficiency. Specifically, Figure 1 This is a flow chart of a method for drawing floor slab reinforcement provided in Example 1 of the present invention, as shown in FIG. Figure 1 As shown, the method for drawing floor slab reinforcement provided by this embodiment includes the following steps S101 to S107.
[0034] Step S101: Determine the drawing parameters of the floor reinforcement.
[0035] In the above method, a reinforcement type can be first created in the structural plan view, and then the created reinforcement type is drawn to obtain the floor reinforcement. When drawing the floor reinforcement, the drawing parameters of the floor reinforcement that need to be determined include the hook style and the business data, and optionally, the hook style includes the hook angle, the hook radius and the hook length, etc., which are used to define the parameters of the end hook of the floor reinforcement, and the business data includes the reinforcement code, the reinforcement grade, the reinforcement diameter and the arrangement spacing, etc., which are the parameters meeting the business requirements.
[0036] Optionally, when determining the hook style and the business data, a drawing parameter configuration window can be provided, and the related parameters are selected by the user in the configuration window to determine the hook style and the business data of the floor reinforcement.
[0037] Optionally, in an embodiment, when determining the hook style, the reinforcement strength grade requirement and the historical drawing parameters are first obtained, and then the hook angle, the hook radius and the hook length are determined according to the reinforcement strength grade requirement and the historical drawing parameters. The reinforcement strength grade requirement is determined by the design scene requirement, and the historical drawing parameters under the same design scene are collected through the drawing log, for example, the hook angle, the hook radius and the hook length meeting the reinforcement strength grade requirement are selected from the historical drawing parameters as the hook style of this time reinforcement drawing.
[0038] Optionally, in an embodiment, when determining the business data, the floor reinforcement area and the structural design requirement are first obtained, and then the reinforcement code, the reinforcement grade, the reinforcement diameter and the arrangement spacing are determined according to the floor reinforcement area and the structural design requirement. The reinforcement code and the reinforcement grade of the floor reinforcement required this time can be determined through the floor reinforcement area, the reinforcement diameter under the reinforcement grade is adopted, and the arrangement spacing meeting the floor reinforcement area requirement is adopted, and the data format of the above business data can be determined through the structural design requirement. The above method for determining the drawing parameters can quickly determine the hook style and the business data meeting the requirements, and the user operation is less and the experience is good.
[0039] Step S102: Determine the support for drawing the floor reinforcement and the reinforcement overhanging length data matched with the support.
[0040] In this step, based on the support selection operation of the user, for example, the user selects the support for drawing the floor reinforcement in the structural plan view in the point selection or frame selection manner, the selected support is the support for drawing the floor reinforcement, and specifically, the support can be a structural wall or beam component.
[0041] After the support is determined, the appropriate reinforcement overhanging length data can be further determined according to the support, wherein the reinforcement overhanging length data is used to define the part of the reinforcement end extending out for forming the hook. Specifically, the reinforcement overhanging length data can be determined according to the span of the floor slab on both sides of the support and the structural design specification. Alternatively, the reinforcement overhanging length data can be controlled based on the data set by the user in the checkbox on the attribute panel. Regardless of the way the reinforcement overhanging length data is determined, the values of the two ends of the extension can be equal or not equal.
[0042] Step S103: Determine the drawing starting point and the drawing ending point of the floor reinforcement according to the support.
[0043] Optionally, a point on each of the two side lines of the support is taken as the drawing starting point and the drawing ending point, respectively, which define the main part of the floor reinforcement.
[0044] Step S104: Generate the reinforcement line segment of the floor reinforcement according to the hook style, the reinforcement overhanging length data, the drawing starting point and the drawing ending point.
[0045] Wherein, the part between the drawing starting point and the drawing ending point is the main part of the floor reinforcement, which extends to both sides from the main part according to the reinforcement overhanging length data, and the end part hook is formed at the end point of the extension part according to the hook style, completing the drawing of the reinforcement line segment.
[0046] Step S105: Calculate the length information of the reinforcement line segment according to the reinforcement line segment.
[0047] After the reinforcement line segment is drawn, the length information of the reinforcement line segment can be further calculated, wherein the length information can include the length of each part of the reinforcement line segment. Further, the length of each part of the reinforcement line segment and the above-mentioned hook style serve as the geometric data of the reinforcement line segment, which together define the reinforcement line segment, i.e., define the geometric expression of the reinforcement object on the structural plan view.
[0048] Step S106: Extract the annotation text in the geometric data and the business data.
[0049] Wherein, the hook style and the above-mentioned length information generate the geometric data of the floor reinforcement, and the geometric data and the business data can be stored together in the reinforcement object. According to the preset annotation text selection rule, the content satisfying the selection rule is extracted as the annotation text in the geometric data and the business data.
[0050] Step S107: Label the annotation text at the preset position of the reinforcement line segment.
[0051] After the text label is extracted and the steel bar segment is drawn in the structural plan view, the text label is labeled at the preset position of the steel bar segment, and the drawing of the floor steel bar is completed. The drawn floor steel bar object includes two elements of the steel bar segment and the text label.
[0052] In the drawing method of the floor steel bar provided in the embodiment, the drawing parameters of the floor steel bar, the support for drawing the floor steel bar, and the steel bar extension length data matched with the support are determined. The drawing starting point and the drawing ending point of the floor steel bar can be determined from the support. The hook style is included in the drawing parameters. The steel bar extension length data, the drawing starting point, and the drawing ending point are determined. The steel bar segment of the floor steel bar can be generated. The length information of the steel bar segment can be calculated through the generated steel bar segment. The hook style and the length information jointly constitute the geometric data of the floor steel bar. The text label is extracted from the geometric data and the business data included in the drawing parameters and is labeled at the preset position of the steel bar segment. The drawing of the floor steel bar is completed. The drawing method of the floor steel bar provided in the embodiment provides a method for drawing the floor steel bar by using parameterized data. The method gives the steel bar segment and the label content the attribute parameters that meet the design requirements to form the floor steel bar. The steel bar component family is not needed, and the problem of resource consumption caused by the use of the steel bar component family is avoided. Meanwhile, the steel bar object can be directly called for reuse, and data exchange is convenient.
[0053] Optionally, in an embodiment, the geometric data and the business data are stored in the attribute panel, and the steel bar segment and the text label are stored in the structural plan view. The drawing method of the floor steel bar further includes: adjusting the steel bar segment and / or the text label in the structural plan view in response to a data editing operation in the attribute panel; modifying the corresponding data in the attribute panel and / or the text label in the structural plan view in response to a drag operation on the steel bar segment in the structural plan view; and modifying the corresponding data in the attribute panel and / or adjusting the steel bar segment in the structural plan view in response to an editing operation on the text label in the structural plan view.
[0054] Specifically, Figure 2 The flowchart of another drawing method of a floor steel bar provided for the embodiment one is shown in Figure 2 After the floor steel bar is drawn, the steel bar object including the geometric data and the business data can be obtained. When the floor steel bar needs to be edited and modified, the steel bar data can be edited, so that the shape of the steel bar segment and / or the text label changes accordingly. When the steel bar data is edited, the geometric data and the business data are edited on the attribute panel, and the shape of the steel bar segment and / or the text label is directly modified on the structural plan view. Regardless of which editing method is used, the geometric data and the business data stored in the attribute panel and the steel bar segment and the text label on the structural plan view will change correspondingly.
[0055] The user can edit the geometry data on the attribute panel, and in response to the data editing operation, the reinforcement line segment in the structural plan view and / or the annotation text are adjusted in linkage. For example, when the hook angle, hook radius and / or hook length are modified on the attribute panel, the hook line segment part in the reinforcement line segment of the floor reinforcement changes accordingly; when the reinforcement overhanging length data on both sides are modified on the attribute panel, the reinforcement overhanging length and the total length in the reinforcement line segment change accordingly, wherein, when the overhanging length data is 0, the overhanging length and the overhanging length annotation text disappear; when the reinforcement code, reinforcement grade, reinforcement diameter and / or arrangement spacing are modified on the attribute panel, the annotation text changes accordingly.
[0056] The user can modify the shape of the reinforcement line segment in the structural plan view by directly dragging the reinforcement line segment, and in response to the dragging operation of the reinforcement line segment, the corresponding data in the attribute panel and / or the annotation text in the structural plan view are modified. For example, when the drawing start point and / or the drawing end point on the reinforcement line segment are dragged, the length and the total length of the intermediate line segment in the reinforcement on the attribute panel can be changed; when the overhanging length end point on the reinforcement line segment is dragged, the length and the total length of the overhanging line segment in the reinforcement on the attribute panel can be changed, wherein, when the overhanging length end point is dragged to coincide with the drawing start point or the drawing end point, the length of the corresponding overhanging line segment in the reinforcement becomes 0, and the overhanging length annotation text disappears accordingly.
[0057] The user can directly edit the annotation text in the structural plan view, and in response to the editing operation of the annotation text, the corresponding data in the attribute panel and / or the reinforcement line segment in the structural plan view are modified. For example, the user directly double-clicks the annotation text on the structural plan view to modify the overhanging length data, and the reinforcement overhanging line segment of the reinforcement line segment on the structural plan view changes accordingly, and the reinforcement overhanging length and the total length in the attribute panel change accordingly, wherein, when the overhanging length data is 0, the reinforcement overhanging line segment disappears, and the annotation text also disappears accordingly. The user directly double-clicks the annotation text on the structural plan view to modify the business data, and the business data in the attribute panel changes accordingly.
[0058] In addition, the annotation text in the structural plan view can also be controlled to be displayed or hidden through the checkbox on the attribute panel; in addition, batch operations can be realized on the attribute panel, so as to further quickly modify the reinforcement style, the line segment length and the annotation text.
[0059] The drawing method of the floor steel bars provided in the embodiment can drive the steel bar shape and the labeling content to change through the parameter editing on the attribute panel, and also supports directly modifying the labeling content in the structural plan view and driving the parameter on the attribute panel and the steel bar shape content to change. Compared with editing the floor steel bars drawn by using the steel bar component family, the embodiment consumes less computing resources when editing, has a fast editing speed, effectively improves the user experience, and solves the difficulty of drawing the floor steel bar diagram in the BIM software.
[0060] Optionally, in an embodiment, determining the support of the floor steel bars to be drawn and the steel bar extension length data matched with the support comprises: in response to a support selection operation, determining the support of the floor steel bars to be drawn; obtaining the span of the floor on both sides of the support and the structural design specification; and calculating the steel bar extension length data according to the span and the structural design specification.
[0061] Specifically, when drawing the floor steel bars, first, the support of the floor steel bars to be drawn is determined. The user can select the target support by point selection or frame selection in the structural plan view, and the support can be determined in response to the operation. After the support is determined, the length of the floor steel bars to be drawn needs to be determined. Therefore, after the target support is determined, the span of the floor on both sides of the support is determined, and the steel bar extension length data matched with the target support can be determined based on the span and the structural design specification, so that the size of the floor steel bars meets the requirements of the span and the structural design specification.
[0062] Optionally, in an embodiment, the step of determining the drawing starting point and the drawing ending point of the floor steel bars according to the support comprises: picking up an arbitrary point on a first side line of the support as the drawing starting point; and drawing a perpendicular line from the drawing starting point to a second side line of the support, and picking up the foot of the perpendicular line on the second side line as the drawing ending point.
[0063] Specifically, when determining the drawing starting point and the drawing ending point of the floor steel bars, an arbitrary point on a side line of the support is picked up as the drawing starting point, a perpendicular line is drawn from the drawing starting point to the other side line of the support, and the foot is picked up as the drawing ending point. In the determination of the drawing starting point, the midpoint of the side line of the support can be taken as the drawing starting point, or the endpoint of the side line of the support can be taken as the drawing starting point, so as to facilitate the rapid determination of the drawing starting point and the drawing midpoint.
[0064] Optionally, in an embodiment, the step of generating the steel bar segment of the floor steel bar according to the hook pattern, the steel bar overhanging length data, the drawing starting point and the drawing ending point comprises: generating an intermediate segment of the floor steel bar between the drawing starting point and the drawing ending point; extending the intermediate segment in two directions from the drawing starting point and the drawing ending point according to the steel bar overhanging length data, wherein the extended segments are respectively a starting point overhanging segment and an ending point overhanging segment; and generating a hook segment at an extension endpoint of the starting point overhanging segment and an extension endpoint of the ending point overhanging segment according to the hook pattern, wherein the steel bar segment comprises the intermediate segment, the starting point overhanging segment, the ending point overhanging segment and the hook segments, the sum of the intermediate segment, the starting point overhanging segment and the ending point overhanging segment is the total length of the floor steel bar, and the length information of the floor steel bar comprises the lengths of the intermediate segment, the starting point overhanging segment and the ending point overhanging segment, and the total length.
[0065] Specifically, after determining the drawing starting point and the drawing midpoint of the floor steel bar, the drawing starting point and the drawing midpoint are connected, an intermediate segment of the floor steel bar is generated according to the two endpoints, and a main body part of the floor steel bar is obtained.
[0066] Meanwhile, the intermediate segment is extended in two extension directions respectively, a straight segment is generated, and the length of the extension is determined by the steel bar overhanging length data. Optionally, the steel bar overhanging length data defines that the extension lengths of the two extension directions are different, the extension lengths are extended respectively according to the corresponding extension lengths; or the steel bar overhanging length data defines that the extension lengths of the two extension directions are the same, the two directions are extended according to the same extension length. The segment obtained by extending from the drawing starting point side is defined as a starting point overhanging segment, and the segment obtained by extending from the drawing ending point side is defined as an ending point overhanging segment.
[0067] Then, a hook segment is generated at an extension endpoint of the starting point overhanging segment, and a hook segment is generated at an extension endpoint of the ending point overhanging segment, and the shapes of the hook segments are generated with reference to the hook pattern, wherein the hook pattern comprises a hook angle, a hook radius and a hook length.
[0068] At this point, the steel bar segment of the floor steel bar, that is, the shape part in the structural plan view, is completed, the steel bar segment comprises the intermediate segment, the starting point overhanging segment, the ending point overhanging segment, the hook segment on the side of the starting point overhanging segment and the hook segment on the side of the ending point overhanging segment, the sum of the intermediate segment, the starting point overhanging segment and the ending point overhanging segment is the total length of the floor steel bar, and the length information of the floor steel bar comprises the lengths of the intermediate segment, the starting point overhanging segment and the ending point overhanging segment, and the total length.
[0069] By using the drawing method of the floor steel bar provided in the embodiment, after determining the support, the drawing starting point and the drawing ending point can be further automatically determined based on the support, and the whole steel bar segment including the overhanging length and the steel bar hook can be automatically generated, the drawing efficiency is high, the user operation is simple, and the experience is good.
[0070] Optionally, in an embodiment, the marking text includes first marking text and second marking text, and the step of marking the marking text at the preset position of the reinforcement line segment includes: generating the first marking text of the service data above the middle line segment; and generating the second marking text of the reinforcement overhanging length data below the overhanging line segment of the starting point and the overhanging line segment of the ending point, respectively.
[0071] Specifically, Figure 3 A data structure diagram of the floor reinforcement provided by the first embodiment of the present application is shown in Figure 3 As shown, the floor reinforcement includes geometric data and service data. The geometric data includes hook style and length information. The hook style further includes hook angle, hook radius and hook length; and the length information further includes starting point overhanging length, ending point overhanging length, middle segment length and total length data. The reinforcement overhanging length data includes the starting point overhanging length and the ending point overhanging length.
[0072] The service data of the floor reinforcement includes reinforcement code, reinforcement grade, reinforcement diameter and arrangement spacing. Both the geometric data and the service data are stored in the floor reinforcement object and are displayed to the user through the attribute panel and the marking text on the drawing.
[0073] The displayed marking text includes first marking text and second marking text. The first marking text is length marking text, which displays the starting point overhanging length and the middle point overhanging length; and the second marking text is service marking text, which displays the service data. When displayed, the data information stored in the reinforcement object is read, and the second marking text in the format of “reinforcement code + reinforcement grade + reinforcement diameter + arrangement spacing” is generated above the middle point of the middle line segment of the reinforcement line segment, and the first marking text of the overhanging length data is generated below each side overhanging line segment.
[0074] Optionally, in an embodiment, Figure 4 A flow chart of another drawing method of the floor reinforcement provided by the first embodiment of the present application is shown in Figure 4 As shown, the drawing method includes: in the structural plan view, creating a reinforcement type. Then setting the reinforcement parameters, specifically, setting the hook style of the floor reinforcement, i.e. setting the hook angle, hook radius and hook length, according to the design reinforcement strength grade and drawing habit; setting the length data, i.e. selecting the support (such as structural wall, beam) of the floor reinforcement to be drawn, and setting the reinforcement overhanging length data according to the span of the floor on both sides of the support and the structural design specification; and setting the service data, i.e. setting the reinforcement code, grade, diameter, spacing and other information, specifically, setting appropriate reinforcement code, grade, diameter, arrangement spacing and other service data according to the floor reinforcement area obtained by the structural calculation software, and the data format meets the structural design requirements.
[0075] Then pick up any two points to draw a floor reinforcement, specifically, pick up any point on the selected support side line as the starting point, make a vertical line to the other side line of the support, pick up the foot as the end point, the program generates the middle line segment of the reinforcement according to the above two endpoints, and generates straight line segments in the two extension directions of the middle line segment, that is, the starting and ending point extension line segments; and according to the design hook style, generate hook line segments at the outside endpoints of each side extension line segment; calculate the total length of the reinforcement line, which is equal to the sum of the middle line segment and the two side extension line segments, excluding the hook part; read the data information stored inside the reinforcement object, and generate the "reinforcement code + grade + diameter + arrangement interval" format of the label text above the midpoint of the reinforcement line, and generate the label text of the extension length data below each side extension length, complete the drawing of the floor reinforcement.
[0076] After drawing the floor reinforcement, it can be edited again, the specific method is as follows:
[0077] 1) Modify the hook angle, radius, length in the attribute panel, and the floor reinforcement hook style changes accordingly;
[0078] 2) Modify the reinforcement two side extension length data in the attribute panel, or directly double-click the label text on the drawing to modify, the reinforcement extension length and total length change accordingly; when the extension length data is 0, the extension length and the label text disappear.
[0079] 3) Drag the drawing starting and ending points and extension length endpoints on the reinforcement line to change the lengths of the middle line segment and the extension line segment; when the two pinch points coincide, the corresponding line segment length becomes 0, and the label text disappears;
[0080] 4) Modify the reinforcement code, grade, diameter, arrangement interval data in the attribute panel, and the label text on the drawing changes accordingly; or directly double-click the label text on the drawing to modify, which can drive the data modification in the attribute panel in reverse.
[0081] 5) Through the checkbox in the attribute panel, you can control the display or hiding of the label text on the drawing;
[0082] In addition to the above, the editing method on the attribute panel supports batch operation, which can quickly modify the reinforcement style, line segment length and label text.
[0083] The floor slab reinforcement drawing method provided by this embodiment supports drawing a reinforcement object by connecting any two points, including reinforcement line segments and annotation text, and has high drawing efficiency; a linkage relationship is established between the reinforcement shape, attribute parameters and annotation text, and the attribute parameter modification can be reversely driven by editing the annotation text. The reinforcement length can be changed by dragging the grip point, and the attribute parameters and annotation text corresponding to the length are driven to be modified at the same time, effectively avoiding the problems of inconsistency between manually input data and attribute panel parameters, easy input errors, and difficulty in checking after input errors, and can achieve fast editing; compared with using reinforcement component families for drawing, it occupies less computing resources and is suitable for BIM software for large-scale reinforcement drawing, which can effectively improve design efficiency.
[0084] Example 2
[0085] Corresponding to the above-mentioned embodiment 1, embodiment 2 of the present invention provides a device for drawing floor slab steel bars. The corresponding technical feature details and corresponding technical effects can be referred to the above-mentioned embodiment 1 and will not be repeated in this embodiment. Figure 5 This is a block diagram of a drawing device for floor slab reinforcement provided by the second embodiment of the present invention, such as Figure 5 As shown, the apparatus includes: a first determination module 201 , a second determination module 202 , a third determination module 203 , a drawing module 204 , a calculation module 205 , an extraction module 206 and a labeling module 207 .
[0086] The first determination module 201 is used to determine the drawing parameters of the floor slab steel bars, wherein the drawing parameters include a hook style and business data; the second determination module 202 is used to determine the supports for drawing the floor slab steel bars and the steel bar extension length data corresponding to the supports; the third determination module 203 is used to determine the drawing starting point and the drawing end point of the floor slab steel bars according to the supports; the drawing module 204 is used to generate the steel bar line segment of the floor slab steel bars according to the hook style, the steel bar extension length data, the drawing starting point and the drawing end point; the calculation module 205 is used to calculate the length information of the steel bar line segment according to the steel bar line segment, wherein the hook style and the geometric data of the floor slab steel bars are generated; the extraction module 206 is used to extract the annotation text from the geometric data and the business data; and the annotation module 207 is used to mark the annotation text at a preset position of the steel bar line segment.
[0087] Optionally, in an embodiment, the geometry data and the service data are stored in an attribute panel, the reinforcement line segment and the label text are stored in a structural plan view, the device further comprises: a first response module, configured to adjust the reinforcement line segment and / or the label text in the structural plan view in response to a data editing operation in the attribute panel; a second response module, configured to modify corresponding data in the attribute panel and / or the label text in the structural plan view in response to a drag operation on the reinforcement line segment in the structural plan view; and a third response module, configured to modify corresponding data in the attribute panel and / or adjust the reinforcement line segment in the structural plan view in response to an editing operation on the label text in the structural plan view.
[0088] Optionally, in an embodiment, the second determination module comprises: a first determination unit, configured to determine a support of the floor reinforcement to be drawn in response to a support selection operation; a first acquisition unit, configured to acquire spans of floors on two sides of the support and structural design specifications; and a calculation unit, configured to calculate the reinforcement overhang length data according to the spans and the structural design specifications.
[0089] Optionally, in an embodiment, the third determination module comprises: a first processing unit, configured to pick up an arbitrary point on a first side edge line of the support as the drawing starting point; and a second processing unit, configured to draw a perpendicular line from the drawing starting point to a second side edge line of the support, and take a foot of the perpendicular line on the second side edge line as the drawing ending point.
[0090] Optionally, in an embodiment, the drawing module comprises: a first generation unit, configured to generate an intermediate line segment of the floor reinforcement between the drawing starting point and the drawing ending point; an extension unit, configured to extend the intermediate line segment from the drawing starting point and the drawing ending point in two directions according to the reinforcement overhang length data, wherein the extended line segments are a starting point overhang line segment and an ending point overhang line segment respectively; and a second generation unit, configured to generate a hook line segment from an extension end point of the starting point overhang line segment and an extension end point of the ending point overhang line segment according to the hook pattern, wherein the reinforcement line segment comprises the intermediate line segment, the starting point overhang line segment, the ending point overhang line segment and the hook line segment, a sum of the intermediate line segment, the starting point overhang line segment and the ending point overhang line segment is a total length of the floor reinforcement, and the length information of the floor reinforcement comprises lengths of the reinforcement intermediate line segment, the starting point overhang line segment and the ending point overhang line segment, and the total length.
[0091] Optionally, in one embodiment, the annotation text includes a first annotation text and a second annotation text, and the annotation module includes: a first annotation unit, used to generate the first annotation text of the business data above the middle line segment; a second annotation unit, used to generate the second annotation text of the steel bar overhang length data below the starting point overhang line segment and the end point overhang line segment respectively.
[0092] Optionally, in one embodiment, the hook style includes a hook angle, a hook radius and a hook length, the business data includes a steel bar code, a steel bar grade, a steel bar diameter and an arrangement spacing, and the first determination module includes: a second acquisition unit for acquiring steel bar strength grade requirements and historical drawing parameters; a second determination unit for determining the hook angle, the hook radius and the hook length based on the steel bar strength grade requirements and the historical drawing parameters; a third acquisition unit for acquiring the floor slab reinforcement area and structural design requirements; a third determination unit for determining the steel bar code, the steel bar grade, the steel bar diameter and the arrangement spacing based on the floor slab reinforcement area and the structural design requirements.
[0093] Example 3
[0094] This embodiment also provides a computer device, such as a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server or a server cluster composed of multiple servers) that can execute programs. Figure 6 As shown, the computer device 01 of this embodiment includes at least but not limited to: a memory 011 and a processor 012 which can be interconnected via a system bus. Figure 6 It should be pointed out that Figure 6 Only the computer device 01 having components memory 011 and processor 012 is shown, but it should be understood that implementation of all of the shown components is not a requirement and more or fewer components may alternatively be implemented.
[0095] The memory 011 (i.e., a readable storage medium) in the embodiment includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 011 can be an internal storage unit of the computer device 01, such as a hard disk or a memory of the computer device 01. In other embodiments, the memory 011 can also be an external storage device of the computer device 01, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 01. Of course, the memory 011 can also include both the internal storage unit and the external storage device of the computer device 01. In the embodiment, the memory 011 is generally used to store an operating system and various application software installed on the computer device 01, such as program codes of the floor steel bar drawing device of the second embodiment, etc. In addition, the memory 011 can also be used to temporarily store various data that have been output or will be output.
[0096] The processor 012 in some embodiments can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 012 is generally used to control the overall operation of the computer device 01. In the embodiment, the processor 012 is used to run program codes or process data stored in the memory 011, such as the floor steel bar drawing method, etc.
[0097] Embodiment Four
[0098] The embodiment also provides a computer readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., having a computer program stored thereon, which, when executed by a processor, implements a corresponding function. The computer readable storage medium of the embodiment is used to store a floor steel bar drawing device, which, when executed by a processor, implements the floor steel bar drawing method of the first embodiment.
[0099] It should be noted that, in this text, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0100] The above-mentioned embodiment numbers of the application are only for description, not representing the advantages and disadvantages of the embodiments.
[0101] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by software and the necessary general hardware platform, of course, they can also be realized by hardware, but in many cases the former is a better embodiment.
[0102] The above is only the preferred embodiment of the application, and does not limit the patent scope of the application, and any equivalent structure or equivalent process transformation using the content of the application specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the application.
Claims
1. A method for drawing floor slab reinforcement, characterized in that: include: Determine drawing parameters of the floor slab reinforcement, wherein the drawing parameters include a hook style and business data, and the hook style includes a hook angle, a hook radius, and a hook length; Determine the support for drawing the floor slab reinforcement and the reinforcement extension length data adapted to the support; Determine the drawing starting point and the drawing end point of the floor slab reinforcement according to the support; Generate a steel bar line segment of the floor slab steel bar according to the hook style, the steel bar extension length data, the drawing starting point and the drawing end point; Calculating the length information of the steel bar segment according to the steel bar segment, wherein the length information includes start point overhang length, end point overhang length, middle segment length, and total length data; and generating geometric data of the floor slab steel bar using the hook pattern and the length information; Extracting annotation text from the geometric data and the business data; and The annotation text is marked at a preset position of the steel bar line segment.
2. The method for drawing floor slab reinforcement according to claim 1, characterized in that: The geometric data and the business data are stored in a property panel, the steel bar segments and the annotation text are stored in a structural plan view, and the method further includes: In response to a data editing operation in the property panel, adjusting the reinforcement line segment and / or the annotation text in the structural plan view; In response to a dragging operation on the steel bar segment in the structural plan view, modifying corresponding data in the property panel and / or annotation text in the structural plan view; In response to an editing operation on the annotation text in the structural plan view, the corresponding data in the property panel is modified and / or the reinforcement line segment in the structural plan view is adjusted.
3. The method for drawing floor slab reinforcement according to claim 1, characterized in that: Determining the support for drawing the floor slab reinforcement and the reinforcement extension length data adapted to the support includes: In response to a support selection operation, determining that supports of the floor slab reinforcement need to be drawn; Obtaining the span and structural design specifications of the floor slabs on both sides of the support; and The steel bar overhang length data is calculated according to the span and the structural design specifications.
4. The method for drawing floor slab reinforcement according to claim 1, wherein: The step of determining the drawing starting point and the drawing end point of the floor slab reinforcement according to the support comprises: Pick any point on the first side edge of the support as the drawing starting point; A perpendicular line is drawn from the drawing starting point to the second side line of the support, and the foot of the perpendicular line on the second side line is used as the drawing end point.
5. The method for drawing floor slab reinforcement according to claim 1, characterized in that: The step of generating the steel bar line segment of the floor slab steel bar according to the hook pattern, the steel bar extension length data, the drawing starting point and the drawing end point comprises: Generating a middle line segment of the floor slab reinforcement between the drawing starting point and the drawing end point; Extending the middle line segment from the drawing starting point and the drawing end point in two directions according to the steel bar overhang length data, wherein the extended line segments are respectively the starting point overhang line segment and the end point overhang line segment; According to the hook pattern, a hook segment is generated at the extended endpoint of the starting point overhanging segment and the extended endpoint of the end point overhanging segment respectively. The steel bar line segment includes the middle line segment, the starting point extended line segment, the end point extended line segment and the hook line segment. The sum of the middle line segment, the starting point overhanging line segment and the end point overhanging line segment is the total length of the floor slab steel bar. The length information of the floor slab steel bar includes the length of the middle line segment of the steel bar, the starting point overhanging line segment and the end point overhanging line segment, as well as the total length.
6. The method for drawing floor slab reinforcement according to claim 5, characterized in that: The marking text includes a first marking text and a second marking text, and the step of marking the marking text at a preset position of the steel bar segment includes: Generating a first annotation text of the business data above the middle line segment; Second annotation text of the steel bar overhang length data is generated below the start point overhang line segment and the end point overhang line segment respectively.
7. The method for drawing floor slab reinforcement according to claim 1, characterized in that: The business data includes steel bar code, steel bar grade, steel bar diameter and arrangement spacing. The steps of determining the drawing parameters of the floor slab steel bars include: Obtain steel bar strength grade requirements and historical drawing parameters; Determine the hook angle, the hook radius, and the hook length according to the steel bar strength grade requirement and the historical drawing parameters; Obtain floor slab reinforcement area and structural design requirements; The steel bar code, the steel bar grade, the steel bar diameter and the arrangement spacing are determined according to the floor slab reinforcement area and the structural design requirements.
8. A device for drawing floor slab reinforcement, characterized in that: include: A first determining module is used to determine drawing parameters of the floor slab reinforcement, wherein the drawing parameters include a hook style and business data, and the hook style includes a hook angle, a hook radius, and a hook length; The second determining module is used to determine the support for drawing the floor slab reinforcement and the reinforcement extension length data adapted to the support; A third determining module is used to determine the drawing starting point and the drawing end point of the floor slab reinforcement according to the support; A drawing module, configured to generate a steel bar line segment of the floor slab steel bar according to the hook pattern, the steel bar overhang length data, the drawing starting point, and the drawing end point; a calculation module, configured to calculate the length information of the steel bar segment according to the steel bar segment, wherein the length information includes the starting point overhang length, the end point overhang length, the middle segment length, and the total length data; and the hook pattern and the length information are used to generate the geometric data of the floor slab steel bar; An extraction module, configured to extract annotation text from the geometric data and the business data; and The marking module is used to mark the marking text at a preset position of the steel bar segment.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Automatic drawing method, device and system for structural reinforcement section drawing
CN111177827A
Steel bar modeling method and device
CN114638034A