Movatterモバイル変換


[0]ホーム

URL:


CN114037809A - Method and device for rapidly generating two-dimensional pixels based on three-dimensional steel bar model and computer readable storage medium - Google Patents

Method and device for rapidly generating two-dimensional pixels based on three-dimensional steel bar model and computer readable storage medium
Download PDF

Info

Publication number
CN114037809A
CN114037809ACN202111293629.6ACN202111293629ACN114037809ACN 114037809 ACN114037809 ACN 114037809ACN 202111293629 ACN202111293629 ACN 202111293629ACN 114037809 ACN114037809 ACN 114037809A
Authority
CN
China
Prior art keywords
axis
rebar
dimensional
steel bar
concrete
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111293629.6A
Other languages
Chinese (zh)
Other versions
CN114037809B (en
Inventor
马恩成
张晓龙
姜文明
杨广剑
熊彬燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Construction Technology Co ltd
Original Assignee
Beijing Construction Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Construction Technology Co ltdfiledCriticalBeijing Construction Technology Co ltd
Priority to CN202111293629.6ApriorityCriticalpatent/CN114037809B/en
Publication of CN114037809ApublicationCriticalpatent/CN114037809A/en
Application grantedgrantedCritical
Publication of CN114037809BpublicationCriticalpatent/CN114037809B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

一种基于三维钢筋模型快速生成二维图素的方法、装置和计算机可读存储介质。本公开的实施例涉及一种基于三维钢筋模型快速生成二维图素的方法。该方法包括:将三维管状钢筋抽象为钢筋轴线,并且标识钢筋的直径;沿钢筋轴线,获取钢筋轴线与混凝土轮廓的交点,并且标识钢筋与混凝土相交处的混凝土面的法向量;沿投影方向,使用混凝土轮廓对钢筋进行消隐,以获取可见钢筋轴线,并且更新钢筋轴线与混凝土轮廓的交点以及钢筋与混凝土相交处的混凝土面的法向量;将可见钢筋轴线投影到图纸平面同时简化离散点,以获取二维钢筋轴线;以及通过钢筋的直径和经更新的法向量对二维钢筋轴线进行偏移,以获取双线二维钢筋轴线。通过使用该方法,使得消隐过程变得自主可控,同时使得消隐线离散程度显著降低,便于拾取编辑。

Figure 202111293629

A method, device and computer-readable storage medium for rapidly generating two-dimensional picture elements based on a three-dimensional steel bar model. Embodiments of the present disclosure relate to a method for rapidly generating two-dimensional pixels based on a three-dimensional steel bar model. The method includes: abstracting the three-dimensional tubular steel bar as the steel bar axis, and identifying the diameter of the steel bar; along the steel bar axis, obtaining the intersection of the steel bar axis and the concrete outline, and identifying the normal vector of the concrete surface at the intersection of the steel bar and the concrete; along the projection direction, Reinforcement is blanked using the concrete outline to obtain the visible rebar axis, and the intersection of the rebar axis with the concrete outline and the normal vector of the concrete face where the rebar intersects the concrete are updated; the visible rebar axis is projected to the drawing plane while the discrete points are simplified, to obtain a 2D bar axis; and offset the 2D bar axis by the diameter of the bar and the updated normal vector to obtain a two-line 2D bar axis. By using this method, the blanking process becomes autonomous and controllable, and at the same time, the discrete degree of blanking lines is significantly reduced, which is convenient for picking and editing.

Figure 202111293629

Description

Method and device for rapidly generating two-dimensional pixels based on three-dimensional steel bar model and computer readable storage medium
Technical Field
Embodiments of the present disclosure relate to computer aided design in construction engineering, and more particularly, to a method, apparatus, device, medium, and program product for rapidly generating two-dimensional pixels based on a three-dimensional rebar model.
Background
At present, most of building engineering aided design software adopts a third-party commercial geometric kernel universal blanking algorithm to process reinforcing steel bar and concrete data, calculates the shielding relation of the reinforcing steel bar and the concrete, and generates a two-dimensional pixel by utilizing a finally output blanking line. However, in the case where the amount of the bar data is large, the blanking operation of the conventional two-dimensional pixel generation method takes a long time and the plotting efficiency is low. In addition, the blanking result of the conventional two-dimensional pixel generation method is uncontrollable, the blanking lines are discrete, and the problems of multiple lines and missing lines can occur. The discrete degree of the hidden lines is high, so that picking and editing are not facilitated.
Disclosure of Invention
Embodiments of the present disclosure provide a method, apparatus, device, medium, and program product for rapidly generating a two-dimensional pixel based on a three-dimensional rebar model.
In a first aspect of the present disclosure, a method for rapidly generating two-dimensional pixels based on a three-dimensional rebar model is provided. The method comprises the following steps: abstracting a three-dimensional tubular steel bar into a steel bar axis, and marking the diameter of the steel bar; acquiring an intersection point of the axis of the steel bar and the concrete outline along the axis of the steel bar, and identifying a normal vector of a concrete surface at the intersection of the steel bar and the concrete; blanking the reinforcing steel bars by using the concrete outline along the projection direction to obtain a visible reinforcing steel bar axis, and updating the intersection point of the reinforcing steel bar axis and the concrete outline and the normal vector of the concrete surface at the intersection of the reinforcing steel bar and the concrete; projecting the visible steel bar axis to a drawing plane and simplifying discrete points at the same time to obtain a two-dimensional steel bar axis; and offsetting the two-dimensional steel bar axis through the diameter of the steel bar and the updated normal vector to obtain a two-line two-dimensional steel bar axis.
In a second aspect of the present disclosure, an apparatus for fast generation of a two-dimensional pixel is provided. The device includes: an abstraction module configured to abstract the three-dimensional tubular rebar into a rebar axis; an identification module configured to identify a diameter of a rebar; the acquisition module is configured to acquire an intersection point of the steel bar axis and the concrete outline along the steel bar axis, wherein a normal vector of a concrete surface at the intersection of the steel bar and the concrete is identified through the identification module; the blanking module is configured to blank the steel bars by using the concrete outline along the projection direction to obtain a visible steel bar axis, and update the intersection point of the steel bar axis and the concrete outline and the normal vector of the concrete surface at the intersection of the steel bar and the concrete; the projection module is configured to project the visible rebar axis to a drawing plane and simplify discrete points at the same time so as to obtain a two-dimensional rebar axis; and an offset module configured to offset the two-dimensional rebar axis by the diameter of the rebar and the updated normal vector to obtain a two-wire two-dimensional rebar axis.
In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: a processor; and a memory storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to the first aspect.
In a fourth aspect of the disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon one or more computer instructions, wherein the one or more computer instructions are executed by a processor to implement the method according to the first aspect.
In a fifth aspect of the disclosure, a computer program product is provided. The computer program product comprises one or more computer instructions, wherein the one or more computer instructions are executed by a processor to implement the method according to the first aspect.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in more detail embodiments of the present disclosure with reference to the attached drawings, in which the same or similar reference numerals denote the same or similar components.
In the drawings:
fig. 1 is a schematic diagram showing a three-dimensional rebar model illustrating geometric data about rebar and concrete;
fig. 2 is a side view including a rebar axis according to an embodiment of the present disclosure;
fig. 3 is an elevation view including an intersection of a rebar axis and a concrete profile, according to an embodiment of the present disclosure;
FIG. 4 is a right side view showing a concrete keyway;
fig. 5 shows an elevation view including an intersection of a renewed rebar axis with a concrete profile, in accordance with an embodiment of the present disclosure; (ii) a
FIG. 6 is an elevation view of a two-wire two-dimensional rebar axis showing an offset bottom bar;
FIG. 7 shows a reinforcement map illustrating a two-dimensional pixel according to an embodiment of the present disclosure;
FIG. 8 shows a top view of a case of a rebar with a bend at the end according to an embodiment of the disclosure;
FIG. 9 is a flow chart illustrating a method for fast generation of two-dimensional pixels based on a three-dimensional rebar model according to the present disclosure;
FIG. 10 shows a block diagram of anapparatus 1000 for fast generation of two-dimensional pixels according to an embodiment of the present disclosure; and
FIG. 11 illustrates a block diagram of a computing system in which embodiments of the present disclosure may be implemented.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While some embodiments of the present disclosure are illustrated in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustrative purposes only and are not intended to limit the scope of the disclosure.
The term "include" and variations thereof as used herein is meant to be inclusive in an open-ended manner, i.e., "including but not limited to". Unless specifically stated otherwise, the term "or" should be understood as "and/or," the term "based on" should be understood as "based at least in part on," and the term "one embodiment" should be understood as "at least one embodiment. The term "another embodiment" is to be understood as "at least one further embodiment". The terms "first," "second," and the like may refer to different or the same object. Other explicit and implicit definitions may also be included below.
At present, most of building engineering aided design software adopts a third-party commercial geometric kernel universal blanking algorithm to process reinforcing steel bar and concrete data, calculates the shielding relation of the reinforcing steel bar and the concrete, and generates a two-dimensional pixel by utilizing a finally output blanking line. However, in the case where the amount of the bar data is large, the blanking operation of the conventional two-dimensional pixel generation method takes a long time and the plotting efficiency is low. In addition, the blanking result of the conventional two-dimensional pixel generation method is uncontrollable, the blanking lines are discrete, and the problems of multiple lines and missing lines can occur. The discrete degree of the hidden lines is high, so that picking and editing are not facilitated.
In an embodiment of the present disclosure, a three-dimensional tubular rebar is abstracted as a rebar axis and a diameter of the rebar is identified; acquiring an intersection point of the axis of the steel bar and the concrete outline along the axis of the steel bar, and identifying a normal vector of a concrete surface at the intersection of the steel bar and the concrete; blanking the reinforcing steel bars by using the concrete outline along the projection direction to obtain a visible reinforcing steel bar axis, and updating the intersection point of the reinforcing steel bar axis and the concrete outline and the normal vector of the concrete surface at the intersection of the reinforcing steel bar and the concrete; projecting the visible steel bar axis to a drawing plane and simplifying discrete points at the same time to obtain a two-dimensional steel bar axis; and offsetting the two-dimensional steel bar axis through the diameter of the steel bar and the updated normal vector to obtain a two-line two-dimensional steel bar axis. The three-dimensional tubular set data is abstracted to be the axis of the steel bar, the geometric data and blanking operation are simplified, the speed is obviously improved, and compared with the prior art, the speed is improved by one time. According to the method for rapidly generating the two-dimensional pixels based on the three-dimensional steel bar model, the blanking process can be automatically controlled, the discrete degree of the blanking lines is obviously reduced, and picking and editing are facilitated. Thus, the principles of operation and mechanisms of the present disclosure are significantly different from any known method.
Fig. 1 is a schematic diagram showing a three-dimensional rebar model illustrating geometric data about rebar and concrete. The schematic diagram of fig. 1 illustrates a three-dimensionaltubular rebar 110 and aconcrete profile 101. As shown in fig. 1, examples of the reinforcing bars include awale 102, astirrup 103, abottom bar 104, and atie bar 105.
Because the reinforcing steel bar is a three-dimensional tubular geometric solid with a fixed diameter and is wrapped by the concrete, the reinforcing steel bar is simplified into a reinforcing steel bar axis which is enough for positioning the reinforcing steel bar and judging the shielding relation between the reinforcing steel bar and the concrete. According to the method for rapidly generating the two-dimensional pixels based on the three-dimensional steel bar model, the three-dimensionaltubular steel bar 110 is abstracted to thesteel bar axis 210 so as to convert the geometric data from the entity type to the curve type, thereby achieving the purpose of simplifying the geometric data. In the abstraction process, the diameter of the rebar is identified, and the discrete points of the rebar axis and the curve information are identified, the curve information of the rebar axis being used for the drawing of the two-dimensional pixels of the curved portion of the rebar.
Fig. 2 is a side view including arebar axis 210 according to an embodiment of the present disclosure, therebar axis 210 being obtained by abstracting the three-dimensionaltubular rebar 110 of fig. 1 according to a method of rapidly generating two-dimensional pixels based on a three-dimensional rebar model of the present disclosure for the purpose of simplifying geometric data.
Fig. 3 is an elevation view including anintersection 302 of arebar axis 310 and aconcrete profile 301, according to an embodiment of the present disclosure. In the present example, the axis of thebottom rib 304 is used as an example of thereinforcement axis 310, and it should be understood that thereinforcement axis 310 is not limited to the axis of thebottom rib 304, and may include the axes of the wale, the stirrup, and the tie bar. As shown in fig. 3, therebar axis 310 is cut by theconcrete profile 301. Along therebar axis 310, theintersection 302 of the axis of thebottom rebar 304 with theconcrete profile 301 is taken. Meanwhile, the normal vector of the concrete surface at the intersection of the steel bar and the concrete is identified. As shown in fig. 3, the intersection points 302 cut the axis of thebottom bar 304 in two parts, the part between the twointersection points 302 being located inside the concrete profile and the parts of the twointersection points 302 to the two ends of the axis of thebottom bar 304 being located outside the concrete profile, i.e. the concreteinner part 304a and the concreteouter part 304 b. Wherein the end of the concrete includes akeyway 303.
In the projection direction, due to the existence of the structure of the concretekey groove 303 and the like, theintersection point 302 is not enough to obtain the visible steel bar axis, and the concrete outline is used for carrying out shielding calculation on the steel bar along the projection direction. Fig. 4 is a right side view showing thekey groove 403 of concrete. Since thekey groove 403 is not penetrated, the concrete including thekey groove 403 shields the reinforcing bars in a front view direction. As shown in fig. 4, in the front view direction (x direction in fig. 4), the concrete end outer profile shields a portion of the external rebar due to the presence of thekeyway 303. According to the method for rapidly generating the two-dimensional pixels based on the three-dimensional steel bar model, the intersection point of the steel bar axis and the concrete outline can be updated to obtain the new intersection point of the steel bar axis and the concrete outline, and the updated intersection point to the end of the steel bar is the visible steel bar axis in the front view. According to the method for rapidly generating the two-dimensional pixels based on the three-dimensional steel bar model, the normal vector of the concrete surface at the intersection of the steel bar and the concrete can be updated.
As discussed above, more particularly, the concrete face intersecting the rebar may not be visible from a particular projection direction (e.g., the direction of the front view), and thus the portion of the rebar outside the concrete (e.g., the concreteouter portion 304b) may be obscured, requiring the rebar to be blanked using the concrete profile along that projection direction.
Fig. 5 shows an elevation view including an intersection of a renewed rebar axis with a concrete profile, according to an embodiment of the present disclosure. After blanking, theintersection point 502 of thebottom bar 304 with theconcrete profile 301 is updated, as shown in fig. 5. The section of rebar from theintersection 502 of the renewedbottom rebar 304 with theconcrete profile 301 to the end of thebottom rebar 304,rebar section 504b, is the visible rebar axis.
The three-dimensional tubular steel bar has a width (diameter) when viewed from a certain direction, and on a two-dimensional drawing plane, the width of the steel bar is represented by a double line. The rebar data is projected onto the drawing plane to obtain a two-dimensional rebar axis, while simplifying discrete points, e.g., collinear rebar points, while retaining only the most spaced endpoints, thereby reducing the amount of data. Then, based on an offset algorithm, a two-line two-dimensional rebar axis is obtained by offsetting the two-dimensional rebar axis on the drawing plane using information about the diameter of the rebar, thereby obtaining a two-dimensional pixel.
Fig. 6 is an elevation view of a two-wire two-dimensional rebar axis showing an offsetbottom rebar 604, with other elements omitted for purposes of illustration and simplicity.
Besides the orthogonal, the steel bars and the concrete are also in the oblique crossing condition. According to the method for rapidly generating the two-dimensional pixel based on the three-dimensional steel bar model, the included angle between the axis of the two-dimensional steel bar and the concrete surface is calculated according to the updated normal vector of the concrete surface at the intersection of the steel bar and the concrete, the offset and the offset direction are calculated by using the diameter of the steel bar and the included angle, and the axis of the two-dimensional steel bar is offset to obtain the axis of the two-line two-dimensional steel bar so as to obtain the two-dimensional pixel.
FIG. 7 shows a reinforcement map illustrating a two-dimensional pixel according to an embodiment of the present disclosure. The reinforcement map of fig. 7 illustrates a two-wire two-dimensionalbottom rib axis 704, a two-wire two-dimensional stirrup axis 703, a two-wire two-dimensionallacing wire axis 705, and a two-wire two-dimensionallumbar rib axis 702.
For a steel bar with a bend, the end of the steel bar with the bend needs to be represented as a short transverse line in top view and the bend needs to be drawn as a round head in top view, as required by engineering drawings. According to the method for rapidly generating the two-dimensional pixels based on the three-dimensional steel bar model, the end of the two-dimensional steel bar axis of the steel bar with the elbow is closed to be the short axis, and then the round head is drawn according to the curve information.
Fig. 8 shows a top view of a case of a rebar with a bend at the end according to an embodiment of the disclosure. According to the method for rapidly generating two-dimensional pixels based on the three-dimensional steel bar model of the present disclosure, in a top view, the end of the two-dimensional steel bar axis of the steel bar with the bend is closed as a short axis 806, and the bend is drawn as around head 807.
Fig. 9 is a flowchart illustrating a method of rapidly generating two-dimensional pixels based on a three-dimensional rebar model according to the present disclosure.
Atblock 901, a three-dimensional tubular rebar is abstracted as a rebar axis and a record identifying the diameter of the rebar is recorded.
Atblock 902, along the rebar axis, the intersection of the rebar axis and the concrete profile is obtained and the normal vector identifying the concrete face where the rebar intersects the concrete is recorded.
Atblock 903, the rebar is blanked with the concrete profile along the projection direction to obtain a visible rebar axis, and the intersection of the rebar axis and the concrete profile and the normal vector of the concrete face where the rebar intersects the concrete are updated.
Atblock 904, the visible rebar axis is projected onto the drawing plane while simplifying the discrete points to obtain a two-dimensional rebar axis.
And, atblock 905, offsetting the two-dimensional rebar axis by the diameter of the rebar and the updated normal vector to obtain a two-wire two-dimensional rebar axis.
Fig. 10 shows a block diagram of anapparatus 1000 for fast generation of two-dimensional pixels according to an embodiment of the present disclosure.
Anabstraction module 1001 configured to abstract a three-dimensional tubular rebar into a rebar axis;
anidentification module 1002 configured to identify a diameter of a rebar;
the obtainingmodule 1003 is configured to obtain an intersection point of the steel bar axis and the concrete outline along the steel bar axis, wherein a normal vector of a concrete surface at the intersection of the steel bar and the concrete is identified through the identifying module;
ablanking module 1004 configured to blank the rebar using the concrete profile along the projection direction to obtain a visible rebar axis and update an intersection of the rebar axis and the concrete profile and a normal vector of a concrete face where the rebar intersects the concrete;
aprojection module 1005 configured to project the visible rebar axis to the drawing plane while simplifying the discrete points to obtain a two-dimensional rebar axis; and
an offsetmodule 1006 configured to offset the two-dimensional rebar axis by the diameter of the rebar and the updated normal vector to obtain a two-wire two-dimensional rebar axis.
In some embodiments, the rebar comprises a wale, a stirrup, a bottom bar, and a tie bar.
In some embodiments, theidentification module 1002 is further configured to identify discrete points of the rebar axis and curve information used to plot a curved portion of the rebar.
In some embodiments, the visible rebar axis is the portion of the intersection of the updated rebar axis with the concrete profile to the end of the rebar.
In some embodiments, theapparatus 1000 may further include a calculation module configured to calculate an angle of the two-dimensional rebar axis to the concrete face from the updated normal vector, and offset the two-dimensional rebar axis by using the diameter of the rebar and the angle to obtain a two-wire two-dimensional rebar axis.
In some embodiments, the offsetmodule 1006 is further configured to, for a rebar having a bend, close the end of the two-dimensional rebar axis of the rebar having the bend to the minor axis and then draw the round head from the curve information.
FIG. 11 illustrates a block diagram of acomputing system 1100 in which embodiments of the disclosure may be implemented. Themethod 900 shown in fig. 9 may be implemented by thecomputing system 1100. Thecomputing system 1100 illustrated in FIG. 11 is an example only and should not be construed as limiting the scope and functionality of use of the embodiments described herein.
As shown in fig. 11,computing system 1100 is in the form of a general purpose computing device. Components ofcomputing system 1100 may include, but are not limited to, one or more processors orprocessing units 1100,memory 1120, one ormore input devices 1130, one ormore output devices 1140,storage 1150, and one ormore communication units 1140. Theprocessing unit 1100 may be a real or virtual processor and can perform various processes according to persistence stored in thememory 1120. In a multi-processing system, multiple processing units execute computer-executable instructions to increase processing power.
Computing system 1100 typically includes a number of computer-readable media. Such media may be any available media that is accessible bycomputing system 1100 and includes, but is not limited to, volatile and non-volatile media, removable and non-removable media. Thememory 1120 may be volatile memory (e.g., registers, cache, Random Access Memory (RAM)), non-volatile memory (e.g., Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory), or some combination thereof.Storage 1150 may be removable or non-removable, and may include machine-readable media, such as a flash drive, a diskette, or any other medium, which may be capable of being used to store information and which may be accessed withincomputing system 1100.
Thecomputing system 1100 may further include additional removable/non-removable, volatile/nonvolatile computer system storage media. Although not shown in FIG. 11, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus by one or more data media interfaces.Memory 1120 may include at least one program product having (e.g., at least one) set of program modules that are configured to carry out the functions of the various embodiments described herein.
A program/utility tool having one or more sets of execution modules may be stored, for example, in thememory 1120. The execution modules may include, but are not limited to, an operating system, one or more application programs, other program modules, and operating data. Each of these examples, or particular combinations, may include an implementation of a networked environment. The execution module generally performs the functions and/or methods of embodiments of the subject matter described herein, such asmethod 900.
Theinput unit 1130 may be one or more of various input devices. For example, theinput unit 1130 may include a user device such as a mouse, a keyboard, a trackball, or the like. Acommunication unit 1160 enables communicating over a communication medium to another computing entity. Additionally, the functionality of the components ofcomputing system 1100 may be implemented in a single computing cluster or multiple computing machines, which are capable of communicating over a communication connection. Thus, thecomputing system 1100 may operate in a networked environment using logical connections to one or more other servers, network Personal Computers (PCs), or another general network node. By way of example, and not limitation, communication media includes wired or wireless networking technologies.
Computing system 1100 can also communicate with one or more external devices (not shown), such as storage devices, display devices, etc., as desired, one or more devices that enable a user to interact withcomputing system 1100, or any devices (e.g., network cards, modems, etc.) that enablecomputing system 1100 to communicate with one or more other computing devices. Such communication may be performed via input/output (I/O) interfaces (not shown).
The functions described herein may be performed, at least in part, by one or more hardware logic components. By way of example, and not limitation, illustrative types of hardware logic components that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
Program code for implementing methods of the subject matter described herein may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the subject matter described herein. Certain features that are described in the context of separate implementations can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Some example embodiments of the present disclosure are listed below.
In a first aspect of the present disclosure, a method for rapidly generating two-dimensional pixels based on a three-dimensional rebar model is provided. The method comprises the following steps: abstracting a three-dimensional tubular steel bar into a steel bar axis, and marking the diameter of the steel bar; acquiring an intersection point of the axis of the steel bar and the concrete outline along the axis of the steel bar, and identifying a normal vector of a concrete surface at the intersection of the steel bar and the concrete; blanking the reinforcing steel bars by using the concrete outline along the projection direction to obtain a visible reinforcing steel bar axis, and updating the intersection point of the reinforcing steel bar axis and the concrete outline and the normal vector of the concrete surface at the intersection of the reinforcing steel bar and the concrete; projecting the visible steel bar axis to a drawing plane and simplifying discrete points at the same time to obtain a two-dimensional steel bar axis; and offsetting the two-dimensional steel bar axis through the diameter of the steel bar and the updated normal vector to obtain a two-line two-dimensional steel bar axis.
In some embodiments, the rebar comprises a wale, a stirrup, a bottom bar, and a tie bar.
In some embodiments, the method further comprises: discrete points of the rebar axis are identified and curve information is used to plot the curved portion of the rebar.
In some embodiments, the visible rebar axis is the portion of the intersection of the updated rebar axis with the concrete profile to the end of the rebar.
In some embodiments, the method further comprises calculating an angle of the two-dimensional rebar axis to the concrete face from the updated normal vector, and offsetting the two-dimensional rebar axis by using the diameter of the rebar and the angle to obtain a two-wire two-dimensional rebar axis.
In some embodiments, the method further comprises: for a rebar with a bend, the ends of the two-dimensional rebar axis of the rebar with the bend are closed to the minor axis, and then the round head is drawn according to the curve information.
In a second aspect of the present disclosure, an apparatus for fast generation of a two-dimensional pixel is provided. The device includes: an abstraction module configured to abstract the three-dimensional tubular rebar into a rebar axis; an identification module configured to identify a diameter of a rebar; the acquisition module is configured to acquire an intersection point of the steel bar axis and the concrete outline along the steel bar axis, wherein a normal vector of a concrete surface at the intersection of the steel bar and the concrete is identified through the identification module; the blanking module is configured to blank the steel bars by using the concrete outline along the projection direction to obtain a visible steel bar axis, and update the intersection point of the steel bar axis and the concrete outline and the normal vector of the concrete surface at the intersection of the steel bar and the concrete; the projection module is configured to project the visible rebar axis to a drawing plane and simplify discrete points at the same time so as to obtain a two-dimensional rebar axis; and an offset module configured to offset the two-dimensional rebar axis by the diameter of the rebar and the updated normal vector to obtain a two-wire two-dimensional rebar axis.
In some embodiments, the rebar comprises a wale, a stirrup, a bottom bar, and a tie bar.
In some embodiments, the identification module is further configured to identify discrete points of the rebar axis and curve information used to plot the curved portion of the rebar.
In some embodiments, the visible rebar axis is the portion of the intersection of the updated rebar axis with the concrete profile to the end of the rebar.
In some embodiments, the apparatus may further include a calculation module configured to calculate an angle of the two-dimensional rebar axis to the concrete face from the updated normal vector, and offset the two-dimensional rebar axis by using the diameter of the rebar and the angle to obtain a two-wire two-dimensional rebar axis.
In some embodiments, the offset module is further configured to, for a rebar having an elbow, close the end of the two-dimensional rebar axis of the rebar having the elbow to the minor axis and then draw the round head from the curve information.
In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: a processor; and a memory storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to the first aspect.
In a fourth aspect of the disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon one or more computer instructions, wherein the one or more computer instructions are executed by a processor to implement the method according to the first aspect.
In a fifth aspect of the disclosure, a computer program product is provided. The computer program product comprises one or more computer instructions, wherein the one or more computer instructions are executed by a processor to implement the method according to the first aspect.
Embodiments of the present disclosure have been described above, and the above description is intended to be illustrative, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the illustrated embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (15)

Translated fromChinese
1.一种基于三维钢筋模型快速生成二维图素的方法,包括:1. A method for quickly generating two-dimensional pixels based on a three-dimensional steel bar model, comprising:将三维管状钢筋抽象为钢筋轴线,并且标识钢筋的直径;Abstract the three-dimensional tubular steel bar as the steel bar axis, and identify the diameter of the steel bar;沿所述钢筋轴线,获取所述钢筋轴线与混凝土轮廓的交点,并且标识所述钢筋与混凝土相交处的混凝土面的法向量;along the steel bar axis, obtain the intersection of the steel bar axis and the concrete outline, and identify the normal vector of the concrete surface at the intersection of the steel bar and the concrete;沿投影方向,使用所述混凝土轮廓对所述钢筋进行消隐,以获取可见钢筋轴线,并且更新所述交点和所述法向量;along the projection direction, using the concrete outline to hide the rebar to obtain the visible rebar axis, and update the intersection point and the normal vector;将所述可见钢筋轴线投影到图纸平面同时简化离散点,以获取二维钢筋轴线;以及projecting the visible rebar axis to the drawing plane while simplifying discrete points to obtain a two-dimensional rebar axis; and通过使用所述直径和经更新的所述法向量对所述二维钢筋轴线进行偏移,以获取双线二维钢筋轴线。The two-dimensional bar axis is obtained by offsetting the two-dimensional bar axis using the diameter and the updated normal vector.2.根据权利要求1所述的方法,所述钢筋包括腰筋、箍筋、底筋和拉筋。2. The method of claim 1, wherein the reinforcing bars include waist bars, stirrup bars, bottom bars, and tie bars.3.根据权利要求1所述的方法,还包括:标识所述钢筋轴线的离散点和曲线信息,所述曲线信息用于绘制所述钢筋的曲线部分。3. The method of claim 1, further comprising identifying discrete points of the rebar axis and curve information, the curve information used to draw the curved portion of the rebar.4.根据权利要求1所述的方法,所述可见钢筋轴线是经更新的所述交点到所述钢筋的端头的部分。4. The method of claim 1, the visible bar axis is the updated portion of the intersection to the end of the bar.5.根据权利要求1所述的方法,其中:5. The method of claim 1, wherein:根据经更新的所述法向量,计算所述二维钢筋轴线与所述混凝土面的夹角;以及calculating the angle between the two-dimensional steel bar axis and the concrete face based on the updated normal vector; and通过使用所述直径和所述夹角对所述二维钢筋轴线进行偏移,以获取双线二维钢筋轴线。The two-dimensional bar axis is obtained by offsetting the two-dimensional bar axis using the diameter and the included angle.6.根据权利要求1和3所述的方法,还包括:对于具有弯头的所述钢筋,将具有所述弯头的所述钢筋的所述二维钢筋轴线的端部闭合为短轴线,然后根据所述曲线信息来绘制圆头。6. The method of claims 1 and 3, further comprising: for the rebar having an elbow, closing the ends of the two-dimensional rebar axis of the rebar having the elbow as a short axis, Then the round head is drawn according to the curve information.7.一种快速生成二维图素的装置,包括:7. A device for rapidly generating two-dimensional pixels, comprising:抽象模块,被配置为将三维管状钢筋抽象为钢筋轴线;The abstraction module is configured to abstract the three-dimensional tubular steel bar into the steel bar axis;标识模块,被配置为标识钢筋的直径;an identification module, configured to identify the diameter of the rebar;获取模块,被配置为沿所述钢筋轴线,获取所述钢筋轴线与混凝土轮廓的交点,其中,通过所述标识模块,标识所述钢筋与混凝土相交处的混凝土面的法向量;an acquisition module, configured to acquire the intersection of the reinforcement axis and the concrete outline along the reinforcement axis, wherein, through the identification module, the normal vector of the concrete surface at the intersection of the reinforcement and the concrete is identified;消隐模块,被配置为沿投影方向,使用所述混凝土轮廓对所述钢筋进行消隐,以获取可见钢筋轴线,并且更新所述交点和所述法向量;a concealment module configured to conceal the rebar using the concrete profile along the projection direction to obtain a visible rebar axis, and to update the intersection and the normal vector;投影模块,被配置为将所述可见钢筋轴线投影到图纸平面同时简化离散点,以获取二维钢筋轴线;以及a projection module configured to project the visible rebar axes to the drawing plane while simplifying discrete points to obtain two-dimensional rebar axes; and偏移模块,被配置为通过使用所述直径和经更新的所述法向量对所述二维钢筋轴线进行偏移,以获取双线二维钢筋轴线。An offset module configured to obtain a two-line two-dimensional rebar axis by offsetting the two-dimensional rebar axis using the diameter and the updated normal vector.8.根据权利要求7所述的装置,其中,所述钢筋包括腰筋、箍筋、底筋和拉筋。8. The apparatus of claim 7, wherein the reinforcing bars include waist bars, stirrup bars, bottom bars, and tie bars.9.根据权利要求7所述的装置,所述标识模块还被配置为:标识所述钢筋轴线的离散点和曲线信息,所述曲线信息用于绘制所述钢筋的曲线部分。9. The apparatus of claim 7, the identification module further configured to identify discrete points of the steel bar axis and curve information, the curve information used to draw the curved portion of the steel bar.10.根据权利要求7所述的装置,其中,所述可见钢筋轴线是经更新的所述交点到所述钢筋的端头的部分。10. The apparatus of claim 7, wherein the visible bar axis is an updated portion of the intersection to the end of the bar.11.根据权利要求7所述的装置,还包括计算模块,所述计算模块被配置为:11. The apparatus of claim 7, further comprising a computing module configured to:根据经更新的所述法向量,计算所述二维钢筋轴线与所述混凝土面的夹角;以及calculating the angle between the two-dimensional steel bar axis and the concrete face based on the updated normal vector; and通过使用所述直径和所述夹角对所述二维钢筋轴线进行偏移,以获取双线二维钢筋轴线。The two-dimensional bar axis is obtained by offsetting the two-dimensional bar axis using the diameter and the included angle.12.根据权利要求7和9所述的装置,所述偏移模块还被配置为:对于具有弯头的所述钢筋,将具有所述弯头的所述钢筋的所述二维钢筋轴线的端部闭合为短轴线,然后根据所述曲线信息来绘制圆头。12. The apparatus of claims 7 and 9, wherein the offset module is further configured to: for the rebar with bends, offset the two-dimensional rebar axis of the rebar with bends The end is closed as a short axis, and then the round head is drawn according to the curve information.13.一种电子设备,包括:13. An electronic device comprising:处理器;processor;以及存储器,存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现根据权利要求1至6中的任一项所述的方法。and a memory storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method of any one of claims 1-6.14.一种计算机可读存储介质,其上存储有一条或多条计算机指令,其中,所述一条或多条计算机指令被处理器执行以实现根据权利要求1至6中的任一项所述的方法。14. A computer-readable storage medium having stored thereon one or more computer instructions, wherein the one or more computer instructions are executed by a processor to implement the invention according to any one of claims 1 to 6 Methods.15.一种计算机程序产品,包括一条或多条计算机指令,其中所述一条或多条计算机指令被处理器执行以实现根据权利要求1至6中的任一项所述的方法。15. A computer program product comprising one or more computer instructions, wherein the one or more computer instructions are executed by a processor to implement the method of any one of claims 1 to 6.
CN202111293629.6A2021-11-032021-11-03 A method, device and computer-readable storage medium for quickly generating two-dimensional pixels based on a three-dimensional steel bar modelActiveCN114037809B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111293629.6ACN114037809B (en)2021-11-032021-11-03 A method, device and computer-readable storage medium for quickly generating two-dimensional pixels based on a three-dimensional steel bar model

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111293629.6ACN114037809B (en)2021-11-032021-11-03 A method, device and computer-readable storage medium for quickly generating two-dimensional pixels based on a three-dimensional steel bar model

Publications (2)

Publication NumberPublication Date
CN114037809Atrue CN114037809A (en)2022-02-11
CN114037809B CN114037809B (en)2025-04-15

Family

ID=80136160

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111293629.6AActiveCN114037809B (en)2021-11-032021-11-03 A method, device and computer-readable storage medium for quickly generating two-dimensional pixels based on a three-dimensional steel bar model

Country Status (1)

CountryLink
CN (1)CN114037809B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115344937A (en)*2022-10-202022-11-15三一筑工科技股份有限公司Reinforcing steel bar marking method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080238918A1 (en)*2007-04-022008-10-02Autodesk, Inc.View-specific representation of reinforcement
CN102799712A (en)*2012-06-262012-11-28武汉天喻软件有限责任公司Rapid reinforcement method for three-dimensional model of concrete structure
CN102831259A (en)*2012-07-182012-12-19北京中科辅龙科技股份有限公司Automatic generation method of drawing for three-dimensional concrete structural reinforcement
CN104537191A (en)*2015-01-212015-04-22中国电建集团华东勘测设计研究院有限公司Drawing method for three-dimensional rebar model schematic diagram
JP5806423B1 (en)*2015-01-302015-11-10オフィスケイワン株式会社 3D model display system, 3D model display method, and 3D model display program
CN106469434A (en)*2016-10-112017-03-01中国电建集团成都勘测设计研究院有限公司The method that two-dimentional reinforcement drawing is generated based on three-dimensional rebar model
CN106529039A (en)*2016-11-112017-03-22中国电建集团成都勘测设计研究院有限公司Method for generating two-dimensional reinforcing steel bar type drawing from three-dimensional reinforcing steel bars
CN108829954A (en)*2018-06-012018-11-16广州图石科技有限公司A kind of reinforcing bar configuration method based on structural model profile features

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080238918A1 (en)*2007-04-022008-10-02Autodesk, Inc.View-specific representation of reinforcement
CN102799712A (en)*2012-06-262012-11-28武汉天喻软件有限责任公司Rapid reinforcement method for three-dimensional model of concrete structure
CN102831259A (en)*2012-07-182012-12-19北京中科辅龙科技股份有限公司Automatic generation method of drawing for three-dimensional concrete structural reinforcement
CN104537191A (en)*2015-01-212015-04-22中国电建集团华东勘测设计研究院有限公司Drawing method for three-dimensional rebar model schematic diagram
JP5806423B1 (en)*2015-01-302015-11-10オフィスケイワン株式会社 3D model display system, 3D model display method, and 3D model display program
CN106469434A (en)*2016-10-112017-03-01中国电建集团成都勘测设计研究院有限公司The method that two-dimentional reinforcement drawing is generated based on three-dimensional rebar model
CN106529039A (en)*2016-11-112017-03-22中国电建集团成都勘测设计研究院有限公司Method for generating two-dimensional reinforcing steel bar type drawing from three-dimensional reinforcing steel bars
CN108829954A (en)*2018-06-012018-11-16广州图石科技有限公司A kind of reinforcing bar configuration method based on structural model profile features

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
文伏灵;黄志澎;冯奕;: "三维钢筋出图技术在水电工程中的应用", 水电站设计, no. 04, 15 December 2018 (2018-12-15)*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115344937A (en)*2022-10-202022-11-15三一筑工科技股份有限公司Reinforcing steel bar marking method and device, electronic equipment and storage medium
CN115344937B (en)*2022-10-202023-03-17三一筑工科技股份有限公司Reinforcing steel bar marking method and device, electronic equipment and storage medium

Also Published As

Publication numberPublication date
CN114037809B (en)2025-04-15

Similar Documents

PublicationPublication DateTitle
CN103065319B (en)Closed surface automatic search method of space multiply connected domain
CN114816381B (en)Building engineering MBD three-dimensional labeling method, electronic equipment and storage medium
Bénard et al.Computing smooth surface contours with accurate topology
CN111310254B (en)CAD legend identification method and device, storage medium and electronic equipment
Adikusuma et al.Fast construction of discrete geodesic graphs
CN114037809B (en) A method, device and computer-readable storage medium for quickly generating two-dimensional pixels based on a three-dimensional steel bar model
De Lucas et al.Visibility rendering order: Improving energy efficiency on mobile gpus through frame coherence
CN114565505A (en) Clothing deformation method, device, device and storage medium based on virtual dress-up
Zhang et al.Visual simultaneous localization and mapping for sewer pipe networks leveraging cylindrical regularity
CN109658474A (en)Creation method, device and the computer equipment of three-dimensional sketch
US20140368505A1 (en)Graphics processing subsystem for recovering projection parameters for rendering effects and method of use thereof
Schollmeyer et al.Direct trimming of NURBS surfaces on the GPU
Weber et al.A very fast census-based stereo matching implementation on a graphics processing unit
CN113591168A (en)Three-dimensional stretching body analysis and generation method and system based on inter-point distance
CN100590658C (en) Two-dimensional Constrained Object and Image Point Matching Method
CN114330708A (en) Neural network training method, system, medium and equipment based on point cloud data
JP6441032B2 (en) Corresponding point search device, corresponding point search program, and corresponding point search method
TWI719379B (en)Method and computer program product for ray tracing
CN113902843B (en) A method and device for cross-recognition of rays where camera 2D points are located
Seong et al.Perspective silhouette of a general swept volume
US20240346207A1 (en)Method and apparatus of tracking intersection line of curved surfaces performed by electronic device, and electronic device
CN113535875B (en)Map data expansion method, apparatus, electronic device, medium and program product
CN117370591B (en)Vector diagram identification method, device, terminal and storage medium based on point set representation
CN118537606B (en) A method, device and program product for processing degradation of three-dimensional point cloud matching
CN111895972B (en)High-precision map tunnel portal shape generation method, device and medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp