Management method of three-dimensional drawings of building components

Through the global rotation matrix and placement compensation matrix method, the analysis efficiency problem of IFC-format steel structure data is solved, and the consistent management and high-precision visualization of building component data is realized, which avoids misjudgment of binding relationships and improves data integrity and analysis accuracy.

CN120147575BActive Publication Date: 2025-08-19DAHE ZHONGBANG (XIAMEN) INTELLIGENT TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510624228.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-08-19
Estimated Expiration
2045-05-15

AI Technical Summary

Technical Problem

When processing steel structure data, the multi-dimensional information analysis efficiency of the existing building components is insufficient in IFC format, resulting in significant defects in the integrity management of component attribute information. In particular, the local coordinate system and global coordinate system conversion rule library for special cross-sectional components such as the counterpart pipe and H-shaped steel has not been established, causing geometric model distortion or data faults.

Method used

By obtaining the local stretching direction of the main component and the binding member, using the global rotation matrix and placement compensation matrix, the global point mapping of the main component and position compensation of the binding member are realized, and a composite multi-axis rotation matrix is ​​constructed to ensure the consistent placement of components and unified data management.

Benefits of technology

It realizes consistent management of building component data, improves the parsing efficiency of IFC format data, avoids misjudgment or misjudgment of binding relationships, and supports high-precision visualization and unified analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120147575B_ABST
    Figure CN120147575B_ABST
Patent Text Reader

Abstract

The present disclosure belongs to the field of three-dimensional drawings. The present disclosure provides a management method for three-dimensional drawings of building components. The method includes: obtaining a global rotation matrix based on the local stretching direction and global placement direction of the main component, wherein the component includes a main component and a binding component; obtaining the global point position of the main component based on the local point position of the main component and the global rotation matrix; obtaining the first point position of the binding component based on the local point position of the binding component and the global rotation matrix; obtaining the global point position of the binding component based on the first point position of the binding component and a placement compensation matrix, wherein the placement compensation matrix is obtained based on the local stretching direction of the main component and the local stretching direction of the binding component.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of three-dimensional drawings, and in particular relates to a management method for three-dimensional drawings of building components. Background Art

[0002] The standardized data framework based on the IFC (Industry Foundation Classes) format has become a universal paradigm for managing component geometry, material properties, and topological relationships in building information models. However, existing methods for managing 3D drawings of building components are inefficient in parsing the multidimensional information in the IFC format when processing steel structure data, resulting in significant deficiencies in the integrity management of component attribute information. This is particularly true for components with special cross-sections, such as square tubes and H-beams. Current management methods, lacking a library of local and global coordinate system conversion rules, can lead to geometric model distortion or data discontinuities. Summary of the Invention

[0003] The present disclosure provides a management method for three-dimensional drawings of building components, which can effectively solve the above problems.

[0004] The present disclosure is achieved as follows:

[0005] The present disclosure provides a method for managing three-dimensional drawings of building components, the method comprising:

[0006] Obtaining a global rotation matrix based on the local stretching direction and global placement direction of the main component, wherein the component includes the main component and the binding member;

[0007] Obtaining the global position of the main component according to the local position of the main component and the global rotation matrix;

[0008] Obtaining a first point position of the binding component according to the local point position of the binding component and the global rotation matrix;

[0009] Obtaining a global position of the binding member according to the first position of the binding member and a placement compensation matrix, wherein the placement compensation matrix is obtained according to the local tensile direction of the main component and the local tensile direction of the binding member;

[0010] Methods for obtaining the local tensile direction of a component include:

[0011] According to the IFC information of the component, the original coordinate axis, the local stretching coordinate axis and the original stretching direction of the component are obtained;

[0012] Obtaining a local rotation matrix of the component according to the original coordinate axis and the local stretched coordinate axis of the component;

[0013] The local stretching direction of the component is obtained according to the original stretching direction of the component and the local rotation matrix, wherein the component is a main component or a binding component.

[0014] Compared with the prior art, the present invention has the following advantages:

[0015] 1. This disclosure provides a management method for 3D drawings of building components. This method transforms component placement through the global rotation matrix of the main component and compensates for the position of binding components through a placement compensation matrix to ensure consistent component placement. This creates a "main component-binding component" collaborative management architecture, facilitating unified analysis and visualization, and achieving consistent management of building component data.

[0016] 2. The method constructs a composite multi-axis rotation matrix to accurately map the component's location to its local coordinate system for stretching based on the original IFC information.

[0017] 3. When determining the neighborhood relationship of components, the method dynamically adjusts the neighborhood range based on the actual size of the components, which can avoid the misjudgment or omission of binding relationships caused by using a fixed neighborhood range. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 4 is a flowchart of a method S100 for managing three-dimensional drawings of building components provided by an embodiment of the present disclosure.

[0020] Figure 2 This is a schematic diagram of IFC format data of square tubes.

[0021] Figure 3 This is a schematic diagram of IFC format data for H-beam.

[0022] Figure 4 It is a schematic diagram of the neighborhood range of the square tube.

[0023] Figure 5 It is a schematic diagram of the neighborhood range of H-beam.

[0024] Figure 6 This is a schematic diagram of the IFC format data of the plate.

[0025] Figure 71 is a schematic structural diagram of a device 1000 for managing three-dimensional drawings of building components provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only intended to explain the relevant content and are not intended to limit the present disclosure. It should also be noted that, for ease of description, only the portions relevant to the present disclosure are shown in the accompanying drawings.

[0027] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0028] Unless otherwise stated, the exemplary embodiments / examples shown are to be understood as providing exemplary features of various details of some ways in which the technical concepts of the present disclosure can be implemented in practice. Therefore, unless otherwise stated, the features of the various embodiments / examples may be further combined, separated, interchanged, and / or rearranged without departing from the technical concepts of the present disclosure.

[0029] Example 1

[0030] Please refer to Figure 1 , an embodiment of the present disclosure provides a method S100 for managing three-dimensional drawings of building components.

[0031] Specifically, the method S100 includes:

[0032] S102, obtaining a global rotation matrix according to the local stretching direction and the global placement direction of the main component, wherein the component includes the main component and the binding member.

[0033] S104: Obtain the global position of the main component according to the local position of the main component and the global rotation matrix.

[0034] S106 , obtaining a first position of the binding component according to the local position of the binding component and the global rotation matrix.

[0035] S108, obtaining the global position of the binding member according to the first position of the binding member and the placement compensation matrix, wherein the placement compensation matrix is obtained according to the local stretching direction of the main component and the local stretching direction of the binding member.

[0036] In some embodiments, the assembly is a steel structure.

[0037] In some embodiments, the main component is a column.

[0038] Please refer to Figure 2 and Figure 3 , the column includes square tubes and H-shaped steel.

[0039] For example, see Figure 2 , you can filter the following fields in an IFC structure data through COLUMN:

[0040] #63=IFCCOLUMN('1cRfgN0000B34tCJWrCZKu',#5,'\X2\65B97BA194A267F1\X0\','RHS150 * 6','RHS150 * 6',#46,#62,'ID666e9a97-0000-002c-3137-313835323538'), thus obtaining Figure 2 Details shown.

[0041] Some of the information is analyzed as follows:

[0042] Coordinate system before stretching:

[0043] #44= IFCCARTESIANPOINT((0,0,-200.)); indicates the original placement point

[0044] #9= IFCDIRECTION((0,0,1.)); indicates the original placement of the Z axis

[0045] #7= IFCDIRECTION((1,0,0.)); indicates the original placement of the X axis

[0046] #59= IFCERTAURDARRAKOLUDP54 #58,89,3780); indicates the stretch length

[0047] The stretched coordinate system, that is, the local coordinate system:

[0048] #54= IFCRECTANGLEHOLLOWNOTHLEDFLABEA, "RHS1500", #53,150, 150, 6, 8,12; indicates the bottom surface of the extrusion

[0049] #57= IFCCARTSIAMPOINT(10,0,3800); indicates the origin of the stretched layout, i.e. the local stretching origin

[0050] #56= IFCORRETION(0,0,-1); indicates the Z-axis direction after stretching, that is, the local Z-axis direction

[0051] #55= IFCORRETION(1,0,0); indicates the Z-axis direction after stretching, that is, the local Z-axis direction

[0052] #6= IFCORRETION(0,0,1); indicates the original stretching direction

[0053] From the section name "RHS150" in the bottom surface information of the extrusion * 6”, it can be distinguished that the column is a square tube.

[0054] Methods for obtaining the local tensile direction of a component include:

[0055] According to the IFC information of the component, the original coordinate axis, the local stretching coordinate axis and the original stretching direction of the component are obtained;

[0056] Obtaining a local rotation matrix of the component according to the original coordinate axis and the local stretched coordinate axis of the component;

[0057] The local stretching direction of the component is obtained according to the original stretching direction of the component and the local rotation matrix, wherein the component is a main component or a binding component.

[0058] It should be noted that, in the present disclosure, both “coordinate axis” and “direction” can be represented by a direction vector, and the direction vector represents the positive direction.

[0059] The original coordinate axes of the component include a first original coordinate axis and a second original coordinate axis of the component, and the local stretching coordinate axes of the component include a first local stretching coordinate axis and a second local stretching coordinate axis of the component.

[0060] In some embodiments, the first coordinate axis represents the placement Z axis, and the second coordinate axis represents the placement X axis.

[0061] For example, the first original coordinate axis of the component represents the first original placement Z axis of the component.

[0062] In some embodiments, obtaining a local rotation matrix of the component according to the original coordinate axes and the local stretched coordinate axes of the component includes:

[0063] The original coordinate axes of the component include a first original coordinate axis and a second original coordinate axis of the component, and the local stretching coordinate axes of the component include a first local stretching coordinate axis and a second local stretching coordinate axis of the component;

[0064] A rotation matrix of the first local stretching coordinate axis of the component is obtained according to the first original coordinate axis and the first local stretching coordinate axis of the component.

[0065] The rotation matrix of the second local stretching coordinate axis of the component is obtained according to the rotation matrix of the second original coordinate axis of the component and the first local stretching coordinate axis of the component.

[0066] The local rotation matrix of the component is obtained according to the rotation matrix of the first local stretching coordinate axis and the rotation matrix of the second local stretching coordinate axis of the component.

[0067] For example, according to the above square tube data, the original placement Z axis is (0, 0, 1) and the local placement Z axis is (0, 0, -1).

[0068] The rotation axis is obtained by taking the cross product of the original placement Z axis and the local placement Z axis. The rotation angle is obtained by taking the dot product of the original placement Z axis and the local placement Z axis. The rotation matrix for the local placement Z axis is then obtained based on the rotation axis and the rotation angle.

[0069] By rotating the original placement X-axis using the local placement Z-axis rotation matrix, we can obtain the rotated placement X-axis, which is the second rotation coordinate axis of the component. The rotation matrix of the local placement X-axis can then be obtained by performing a cross product and a dot product on the rotated placement X-axis and the local placement X-axis, respectively.

[0070] The component's rotation matrix can be obtained by cross-producting the local Z-axis rotation matrix with the local X-axis rotation matrix.

[0071] This rotation matrix is a composite multi-axis rotation matrix, which is used to perform rotation mapping between the original coordinate system and the local coordinate system based on the IFC information of the component, so that the stretched component can have accurate point position and stretching direction in the local coordinate system.

[0072] In some embodiments, the method for obtaining the local position of the component includes:

[0073] According to the IFC information of the component, obtain the local stretch origin and stretch length of the component;

[0074] According to the local stretching direction, local stretching origin and stretching length of the component, the local closest point and the local farthest point of the stretching axis of the component are obtained.

[0075] Some columns need to be corrected at certain points.

[0076] For example, according to the above square tube data, the stretching length is 3780, and the original stretching direction is (0, 0, 1), so the original stretching length axis is (0, 0, 3780).

[0077] The original stretch length axis is transformed by the local rotation matrix, and the local stretch length axis is obtained as (0, 0, -3780).

[0078] According to the above square tube data, the local stretching origin is (0, 0, 3800). By translating the local stretching length axis to the local stretching origin, the other endpoint of the local stretching axis is (0, 0, 20).

[0079] So for this extruded part, the closest point is (0, 0, 20) and the farthest point is (0, 0, 3800).

[0080] Record the point data obtained by the analysis.

[0081] In some embodiments, the method for obtaining the local position of the component further includes:

[0082] According to the IFC information of the component, the original cutting point of the component is obtained;

[0083] The local cutting point of the component is obtained according to the cutting point of the component and the local closest point and the local farthest point of the tensile axis of the component.

[0084] Please refer to Figure 3 , Figure 3 The IFC structure data of an H-beam is shown, which includes cutting information and is bound to IFCRELVOIDSELEMENT.

[0085] Among them, you can see the cutting surface information.

[0086] According to the stretching information, the nearest point of the local stretching axis is (0, 0, 0) and the farthest point is (3500, 0, 0).

[0087] If there is a cut in the stretched part, the cut point needs to be corrected. Because the cut is the closest position in the positive direction close to the origin, and the closest point of the local stretch axis is the local stretch origin, the cut point is corrected to (0, 0, 10) at the closest point and (3500, 0, 0) at the farthest point.

[0088] If the nearest point of the local stretching axis is corrected, the origin in the cutting surface information is correspondingly corrected to the nearest point of the local stretching axis.

[0089] In some embodiments, the method for obtaining the binding member includes:

[0090] According to the IFC information of the component, the category of the component is obtained, where the category includes columns and plates;

[0091] Traverse the preset neighborhood of each column member. If the preset neighborhood of the first column member contains the second column member, then the column member with the longer stretched length among the first column member and the second column member is the main component, and the column member with the shorter stretched length is the binding member.

[0092] The first column is the column that is traversed.

[0093] In some embodiments, see Figure 4 The main component is a square tube. The coordinate plane shown is the XoY plane. The neighborhood of the square tube is defined by the positive and negative X-axis directions, as well as the positive and negative Y-axis directions. The Z-axis is not considered. The neighborhood on the X and Y axes exceeds the width of the square tube and forms a square.

[0094] In some embodiments, see Figure 5 , the main component is H-shaped steel. First, determine how the H-shaped steel is placed.

[0095] If it is placed along the X-axis, its neighborhood range is the length of the main component along the positive direction of the X-axis (the reason why the length of the main component in the negative direction does not need to be considered is because the starting point of the H-beam can be known), a certain range along the positive and negative directions of the Y-axis, and a certain range along the positive and negative directions of the Z-axis.

[0096] If it is placed along the Y axis, its neighborhood range is a certain range along the positive and negative directions of the X axis, the length of the main component along the positive direction of the Y axis, and a certain range along the positive and negative directions of the Z axis.

[0097] That is, the coordinate plane shown corresponds to the XoZ plane or the YoZ plane.

[0098] In some implementations, the dynamic range is comprehensively calculated based on the size of the first pillar as the neighborhood range, which can improve the accuracy of neighborhood relationship judgment and scene adaptability.

[0099] For example,

[0100] in, L 、 W 、 H are the length, width and height of the first column respectively, k is the proportionality factor, for example, k =0.2.

[0101] Furthermore, the neighborhood range can be expanded along the stretching direction.

[0102] For example,

[0103] The neighborhood range extends along the length direction. For example, α= 0.1.

[0104] By traversing all the square tubes, determine whether there is another square tube around a square tube. If there is, determine the length of the two square tubes. The shorter one is classified as a ring. Figure 4 The red area in the figure is the neighborhood of the square tube.

[0105] By traversing all H-shaped steels, determine whether there is another H-shaped steel around one H-shaped steel. If so, determine the length of the two H-shaped steels. The shorter one is classified as an angle steel. Figure 5 The red area in the figure is the neighborhood of the H-beam.

[0106] Bind the distinguished rings to the corresponding square tube main components.

[0107] Bind the distinguished angle steels to the corresponding H-shaped steel main components.

[0108] Furthermore, the column member serving as the binding member is set as the first binding member to distinguish it from the plate member, so as to facilitate subsequent model analysis, such as mechanical analysis.

[0109] The first plate member is configured as a second binding member.

[0110] The preset neighborhood of each main component is traversed. If the preset neighborhood of the main component includes the first plate, the first plate is a binding component.

[0111] Based on the same method, the first plate is bound to the corresponding main component.

[0112] Please refer to Figure 6 The IFC format data of the plate contains stretching information and cross-section information.

[0113] In some implementations, the panels are differentiated by parsing IFC format data of the panels.

[0114] If the chamfers are on different sides, for example, on the lower left and upper right, the plate can be identified as a square tube stiffener. If they are on the same side, the plate can be identified as an H-beam stiffener.

[0115] If the plate has more than 6 sections, it can be classified as an H-shaped steel connecting plate. If the number of sections is less than 5 and the length and width are equal, it can be classified as a square tube base plate. If the number of sections is less than 5 and the length and width are unequal, it can be classified as a square tube flange plate.

[0116] Bind the distinguished panels to the corresponding main components.

[0117] By distinguishing the panels, it is possible to filter the binding parts and exclude non-matching components, thereby reducing invalid calculations and improving the accuracy of binding processing.

[0118] In step S102, the global rotation matrix is used to rotate and transform the local stretching direction of the main component in the assembly into the global placement direction of the global coordinate system.

[0119] In some embodiments, the global stretching direction is the X-axis of the global coordinate system.

[0120] In step S104, correspondingly, the local point position of the main component is mapped to the global coordinate system through the global rotation matrix.

[0121] In step S106, the local point position of the binding part is mapped to the global coordinate system through the global rotation matrix, assuming that the local tensile directions of the binding part and the main component are consistent.

[0122] In step S108, the placement compensation matrix is obtained according to the local stretching direction of the main component and the local stretching direction of the binding member, including:

[0123] According to the spatial relative relationship between the main component and the binding part, the relative amount of rotation of the binding part required when the main component is aligned with the global stretching direction is obtained.

[0124] In step S108, rotation compensation is performed on the binding member in the stretching direction.

[0125] In some embodiments, the method further comprises:

[0126] Obtaining dimension information of the component according to the IFC information of the component;

[0127] The assembly is drawn according to the size information and global position of each component.

[0128] Use the intermediate drawing method to draw the component model and display it to achieve model visualization.

[0129] The method can achieve high-precision visualization and efficient extraction of complete attribute information when parsing three-dimensional steel structure data in IFC format.

[0130] Example 2

[0131] An embodiment of the present disclosure provides a device 1000 for managing three-dimensional drawings of building components.

[0132] The management device may include corresponding modules for executing each or several steps in the flowchart of the above-mentioned method S100. Therefore, each step or several steps in the above-mentioned flowchart may be executed by corresponding modules, and the management device may include one or more of these modules. The modules may be one or more hardware modules specifically configured to execute the corresponding steps, or implemented by a processor configured to execute the corresponding steps, or stored in a computer-readable medium for execution by the processor, or implemented by some combination thereof.

[0133] Specifically, such as Figure 7 As shown, the management device 1000 includes:

[0134] A rotation matrix acquisition module 1002 is used to obtain a global rotation matrix based on the local stretching direction and global placement direction of the main component, wherein the component includes the main component and the binding member;

[0135] A global position acquisition module 1004 is configured to obtain the global position of the main component according to the local position of the main component and the global rotation matrix;

[0136] A first position acquisition module 1006 is configured to obtain a first position of the binding component according to the local position of the binding component and the global rotation matrix;

[0137] The placement compensation module 1008 is used to obtain the global point position of the binding part based on the first point position of the binding part and the placement compensation matrix, wherein the placement compensation matrix is obtained based on the local stretching direction of the main component and the local stretching direction of the binding part.

[0138] An embodiment of the present disclosure also provides an electronic device, including: a memory, the memory storing execution instructions; and a processor or other hardware module, the processor or other hardware module executing the execution instructions stored in the memory, so that the processor or other hardware module executes the above-mentioned method for managing three-dimensional drawings of building components.

[0139] The present disclosure also provides a readable storage medium, in which execution instructions are stored. When the execution instructions are executed by a processor, they are used to implement the above-mentioned method for managing three-dimensional drawings of building components.

[0140] The hardware structure used by the management device 1000 of the present disclosure, which is implemented based on a hardware implementation using a processor, can be implemented using a bus architecture. The bus architecture can include any number of interconnecting buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300, and / or hardware modules. The bus 1100 can also connect various other circuits 1400 such as peripheral devices, voltage regulators, power management circuits, external antennas, etc.

[0141] Bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component Architecture (EISA) bus. Buses can be classified as address buses, data buses, control buses, and the like. For ease of illustration, the figure shows only one connecting line, but this does not imply that there is only one bus or only one type of bus.

[0142] Any process or method description in the flowchart or otherwise described herein can be understood to represent a module, fragment or portion of code including one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which the functions may not be performed in the order shown or discussed, including performing the functions in a substantially simultaneous manner or in a reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong. The processor performs the various methods and processes described above. For example, the method embodiments of the present disclosure can be implemented as a software program that is tangibly contained in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via a memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps in the method described above can be performed. Alternatively, in other embodiments, the processor can be configured to perform one of the above methods in any other appropriate manner (e.g., by means of firmware).

[0143] The logic and / or steps represented in the flowchart or otherwise described herein may be embodied in any readable storage medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device).

[0144] For the purposes of this specification, a "readable storage medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use with or in conjunction with an instruction execution system, device, or apparatus. More specific examples (a non-exhaustive list) of readable storage media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable read-only memory (CDROM). In addition, the readable storage medium can even be paper or other suitable medium on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting, or processing it in another suitable manner as necessary, and then storing it in a memory.

[0145] It should be understood that various parts of the present disclosure can be implemented using hardware, software, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having logic gate circuits for implementing logic functions on data signals, an application-specific integrated circuit having suitable combinational logic gate circuits, a programmable gate array (PGA), a field-programmable gate array (FPGA), etc.

[0146] Those skilled in the art will understand that all or part of the steps of the above-mentioned implementation method can be accomplished by instructing related hardware through a program, and the program can be stored in a readable storage medium. When the program is executed, it includes one or a combination of the steps of the method implementation method.

[0147] Furthermore, the functional units in the various embodiments of the present disclosure may be integrated into a single processing module, each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules. If the integrated modules are implemented as software functional modules and sold or used as independent products, they may also be stored in a readable storage medium. The storage medium may be a read-only memory, a magnetic disk, or an optical disk, etc.

[0148] Those skilled in the art will appreciate that the above embodiments are merely intended to clearly illustrate the present disclosure and are not intended to limit the scope of the present disclosure. Other changes or modifications may be made based on the above disclosure, and such changes or modifications are still within the scope of the present disclosure.

Claims

1. A method for managing three-dimensional drawings of building components, characterized in that: The method comprises: Obtaining a global rotation matrix based on the local stretching direction and global placement direction of the main component, wherein the component consists of the main component and the binding parts; Obtaining the global position of the main component according to the local position of the main component and the global rotation matrix; Obtaining a first point position of the binding component according to the local point position of the binding component and the global rotation matrix; Obtaining a global position of the binding member according to the first position of the binding member and a placement compensation matrix, wherein the placement compensation matrix is obtained according to the local tensile direction of the main component and the local tensile direction of the binding member; Methods for obtaining the local tensile direction of a component include: According to the IFC information of the component, the original coordinate axis, the local stretching coordinate axis and the original stretching direction of the component are obtained; Obtaining a local rotation matrix of the component according to the original coordinate axis and the local stretched coordinate axis of the component; Obtaining a local stretching direction of the component according to an original stretching direction of the component and the local rotation matrix, wherein the component is a main component or a binding component; According to the original coordinate axis and the local stretched coordinate axis of the component, the local rotation matrix of the component is obtained, including: The original coordinate axes of the component include a first original coordinate axis and a second original coordinate axis of the component, and the local stretching coordinate axes of the component include a first local stretching coordinate axis and a second local stretching coordinate axis of the component; Obtaining a rotation matrix of the first local stretching coordinate axis of the component according to the first original coordinate axis and the first local stretching coordinate axis of the component; Obtaining a second rotation coordinate axis of the component according to a rotation matrix of the second original coordinate axis of the component and the first local stretching coordinate axis of the component; Obtaining a rotation matrix of the second local stretching coordinate axis of the component according to the second rotation coordinate axis and the second local stretching coordinate axis of the component; Obtaining a local rotation matrix of the component according to a rotation matrix of a first local stretching coordinate axis and a rotation matrix of a second local stretching coordinate axis of the component; The method for obtaining the local point position of the component includes: According to the IFC information of the component, obtain the local stretch origin and stretch length of the component; According to the local stretching direction, local stretching origin and stretching length of the component, the local closest point and the local farthest point of the stretching axis of the component are obtained.

2. The method according to claim 1, wherein The method for obtaining the local position of the component further includes: According to the IFC information of the component, the original cutting point of the component is obtained; The local cutting point of the component is obtained according to the original cutting point of the component and the local closest point and the local farthest point of the tensile axis of the component.

3. The method according to claim 1, wherein The method for obtaining the binding component includes: According to the IFC information of the component, the category of the component is obtained, where the category includes columns and plates; Traversing the preset neighborhood of each column, if the preset neighborhood of the first column contains the second column, then the column with the longer stretched length of the first column and the second column is the main component, and the column with the shorter stretched length is the binding component; The preset neighborhood of each main component is traversed. If the preset neighborhood of the main component includes the first plate, the first plate is a binding component.

4. The method according to claim 1, wherein The method further comprises: Obtaining dimension information of the component according to the IFC information of the component; The assembly is drawn according to the size information and global position of each component.

Citation Information

Patent Citations

  • Format conversion method, device and equipment for building surveying and mapping drawing and storage medium

    CN116644501A

  • Architectural drawing three-dimensional method and device and readable storage medium

    CN117576309A