CN110704900B - Method for placing connection node between keel column model and wall keel model and product - Google Patents
Method for placing connection node between keel column model and wall keel model and product Download PDFInfo
- Publication number
- CN110704900B CN110704900B CN201910843993.1A CN201910843993A CN110704900B CN 110704900 B CN110704900 B CN 110704900B CN 201910843993 A CN201910843993 A CN 201910843993A CN 110704900 B CN110704900 B CN 110704900B
- Authority
- CN
- China
- Prior art keywords
- model
- keel
- adjacent
- wall keel
- information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000004590 computer program Methods 0.000 claims description 31
- 239000007787 solid Substances 0.000 claims description 26
- 238000012216 screening Methods 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 8
- 238000013461 design Methods 0.000 description 25
- 239000012634 fragment Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The application relates to a method for placing connection nodes between a keel stand column model and a wall keel model and a product. The method comprises the following steps: acquiring a keel stand column model to be connected and a wall keel model to be connected, and determining adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected; determining the placement points and the placement directions of the connection nodes required between the to-be-connected keel stand column model and the to-be-connected wall keel model according to the adjacent information; generating connection nodes according to the placement points and the placement directions; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected; the adjacency algorithm is an algorithm for determining adjacency relations between entity models according to the intersecting state after model surface extension; the adjacent information characterizes adjacent states among different entity models; by adopting the method, the placement efficiency of the connection node can be improved.
Description
Technical Field
The application relates to the technical field of computers, in particular to a method and a product for placing a connecting node between a keel stand column model and a wall keel model.
Background
With the rapid development of computer technology, automated aided design has been widely applied to various industries.
In general, in the field of building design, automated design software is used to design buildings. In general, when two entity models to be connected are aimed at, a designer often needs to observe the design model, subjectively judge the part to be connected between the entity models, then select the setting position of the connection node by operating the computer device, and generate the connection node at the selected position according to the direction set by the user. For example, the connection node between the T-shaped wall keel model, the cross-shaped wall keel model and the column model requires a designer to find out the T-shaped wall keel model, the cross-shaped wall keel model and the adjacent column model to be connected first, then find out the position where the node needs to be set, and manually judge the direction in which the connection node is set, thereby completing the placement of the connection node.
However, the conventional method of manually placing the connection nodes between the T-shaped wall joist model, the cross-shaped wall joist model and the column model is inefficient.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, computer device, and storage medium for placing a connection node between a keel column model and a wall keel model that enables placement efficiency.
In a first aspect, an embodiment of the present application provides a method for placing a connection node between a keel column model and a wall keel model, the method including:
obtaining a keel column model to be connected and a wall keel model to be connected; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
determining adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the entity models according to the intersecting state after the model surface extends; the adjacent information is used for representing adjacent states among different entity models;
determining the placement points and the placement directions of the connection nodes required for connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information;
And generating the connection node according to the placement point and the placement direction.
In a second aspect, an embodiment of the present application provides a method for placing a connection node between a bone upright model and a wall keel model, the method including:
obtaining model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent;
Determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel end point;
determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction;
and generating the connection node according to the placement point and the placement direction.
In a third aspect, an embodiment of the present application provides a device for placing a connection node between a keel column model and a wall keel model with placement efficiency, the device comprising:
the acquisition module is used for acquiring the keel stand column model to be connected and the wall keel model to be connected; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
the processing module is used for determining the adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the entity models according to the intersecting state after the model surface extends; the adjacent information is used for representing adjacent states among different entity models;
The generating module is used for determining the placement points and the placement directions of the connection nodes required by connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information; and generating the connection node according to the placement point and the placement direction.
In a fourth aspect, an embodiment of the present application provides a device for placing a connection node between a keel column model and a wall keel model with placement efficiency, the device comprising:
the acquisition module is used for acquiring model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
the screening module is used for screening the wall keel model to be connected and the keel upright column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
the processing module is used for carrying out adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information; the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent;
The generating module is used for determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of to-be-connected wall keel models in each group of model identification pairs according to the adjacent information, determining at least one placement point in the adjacent areas according to the distance between each connection node and the distance between the connection node and a keel endpoint, determining the direction of the to-be-connected wall keel models pointing to the to-be-connected keel upright models as the placement direction, and generating the connection nodes according to the placement points and the placement direction.
In a fifth aspect, an embodiment of the present application provides a computer device, including a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
obtaining a keel column model to be connected and a wall keel model to be connected; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
determining adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the entity models according to the intersecting state after the model surface extends; the adjacent information is used for representing adjacent states among different entity models;
Determining the placement points and the placement directions of the connection nodes required for connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information;
and generating the connection node according to the placement point and the placement direction.
In a sixth aspect, an embodiment of the present application provides a computer device, including a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
obtaining model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
The adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent;
determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
Determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel end point;
determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction;
and generating the connection node according to the placement point and the placement direction.
In a seventh aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
obtaining a keel column model to be connected and a wall keel model to be connected; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
determining adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the entity models according to the intersecting state after the model surface extends; the adjacent information is used for representing adjacent states among different entity models;
Determining the placement points and the placement directions of the connection nodes required for connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information;
and generating the connection node according to the placement point and the placement direction.
In an eighth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
obtaining model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
The adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent;
determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
Determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel end point;
determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction;
and generating the connection node according to the placement point and the placement direction.
The method, the device, the computer equipment and the storage medium for placing the connecting node between the keel column model and the wall keel model are realized by acquiring the keel column model to be connected and the wall keel model to be connected; according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected, adopting a preset adjacent algorithm to determine the adjacent information of the keel stand column model to be connected and the wall keel model to be connected, determining the placement point and the placement direction of the required connection node between the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information, and finally automatically generating the connection node for connecting the keel stand column model to be connected and the wall keel model to be connected according to the placement point and the placement direction. Because the adjacent algorithm is an algorithm for determining the adjacent relation between the solid models according to the intersecting state after the model surface is extended, and the adjacent information is used for representing the adjacent state between different solid models, based on the adjacent relation, the computer equipment can automatically and accurately determine the to-be-connected keel stand column model and the to-be-connected wall keel model of the to-be-connected node, automatically determine the placement point and the placement direction of the to-be-generated connection node, and finally automatically generate the connection node according to the placement point and the placement direction, thereby completing the automatic placement of the connection node between the to-be-connected keel stand column model and the to-be-connected wall keel model. The method can greatly shorten the generation time of the connection node between the keel stand column model and the wall keel model, greatly improve the design efficiency of the connection node, greatly improve the accuracy of placing the connection node, reduce the difficulty of model design, and enable designers to complete the design of the relevant part of the model design through simple learning, so that the learning cost is greatly reduced, and the design cost is reduced.
Drawings
FIG. 1 is an internal block diagram of a computer device in one embodiment;
FIG. 2 is a flow chart of a method for placing a connection node between a keel column model and a wall keel model according to one embodiment;
FIG. 3 is a schematic flow chart of a method for placing a connection node between a keel column model and a wall keel model according to another embodiment;
FIG. 4 is a flow chart of a method for placing a connection node between a keel column form and a wall keel form according to yet another embodiment;
FIG. 5 is a flow chart of a method for placing a connection node between a keel column form and a wall keel form according to yet another embodiment;
FIG. 6 is a flow chart of a method for placement of a connection node between a keel column form and a wall keel form according to yet another embodiment;
FIG. 7 is a flow chart of a method for placement of a connection node between a keel column form and a wall keel form according to yet another embodiment;
FIG. 7a is a schematic illustration of a connection node of a T-wall keel model and a keel column model in one embodiment;
FIG. 7b is a schematic illustration of a connection node of a cross wall keel model and a keel column model in one embodiment;
FIG. 7c is another view of a cross wall keel model and keel column model connection node in one embodiment;
FIG. 8 is a schematic view of a device for placing a connection node between a keel column model and a wall keel model according to an embodiment;
fig. 9 is a schematic structural view of a joint placement device between a keel column form and a wall keel form according to another embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The method for placing the connection node between the keel stand column model and the wall keel model provided by the embodiment of the application can be applied to the computer equipment shown in figure 1. The computer device includes a processor, a memory, a network interface, a database, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used to store various models in the embodiments described below, for which a detailed description is given. The network interface of the computer device may be used to communicate with other devices external through a network connection. Optionally, the computer device may be a server, a desktop, a personal digital assistant, other terminal devices, such as a tablet computer, a mobile phone, etc., or a cloud or remote server, and the embodiment of the present application is not limited to a specific form of the computer device. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like. Of course, the input device and the display screen may not be part of the computer device, and may be an external device of the computer device.
It will be appreciated by those skilled in the art that the architecture shown in fig. 1 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements may be implemented, as a particular computer device may include more or less components than those shown, or may be combined with some components, or may have a different arrangement of components.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It should be noted that, the execution body of the method embodiment described below may be a connection node placement device between the keel column model and the wall keel model, where the device may be implemented in a software, hardware or a combination of software and hardware to form part or all of the above-mentioned computer device. The following method embodiments are described taking an execution subject as a computer device as an example.
Fig. 2 is a flow chart of a method for placing a connection node between a keel column model and a wall keel model according to an embodiment. The embodiment relates to a concrete process that computer equipment automatically sets connection nodes between a keel stand column model and a wall keel model. As shown in fig. 2, the method includes:
S11, acquiring a keel stand column model to be connected and a wall keel model to be connected; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected.
Specifically, the computer device may obtain the keel column model to be connected and the wall keel model to be connected from the design model, for example, may screen the design model according to model attribute information of the entity model, such as identification, name, number or type of the model, so as to obtain the keel column model to be connected and the wall keel model to be connected; or firstly screening the keel column model according to the model attribute information, and then further screening the keel column model to be connected which needs to be connected, which is not limited in the embodiment. The computer equipment can obtain the mode of the wall keel model to be connected in a similar mode to the mode of the keel stand column model to be connected, and can refer to the mode. Optionally, the number of the keel column models to be connected and the number of the wall keel models to be connected can be one or a plurality. It should be noted that the wall keel to be connected includes a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected.
S12, determining adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the entity models according to the intersecting state after the model surface extends; the adjacency information is used for representing adjacency states between different entity models.
Specifically, the computer device obtains model surface information for each model surface of the keel column model to be connected. The model surface information may include, but is not limited to, a shape, a size, a position, an orientation of the model surface, and a physical model to which the model surface belongs. The computer equipment processes the two-by-two adjacent algorithms between each model surface of the keel column model to be connected and each wall keel model to be connected, so that adjacent information representing the adjacent state between each model surface of the keel column to be connected and the wall keel model to be connected is obtained. Alternatively, the adjacent states may include adjacent and non-adjacent states. The adjacent information can represent the adjacent states of each model surface of the keel upright model to be connected and each wall keel model to be connected. It should be noted that the above-mentioned adjacent algorithm may include extending one of the model surfaces, for example, increasing the thickness, then determining whether the model surface after the increased thickness intersects with other solid models, if so, determining that the solid model where the model surface is located is adjacent to the other solid model, and if not, determining that the solid model where the model surface is located is not adjacent to the other solid model.
And S13, determining the placement points and the placement directions of the connection nodes required for connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information.
The computer equipment can determine the required connection node between the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information, and particularly can determine the placement direction of the connection node according to the orientation of the surfaces of the keel stand column model to be connected and the wall keel model to be connected, which have the adjacent relation in the adjacent information; the computer equipment can also determine the placement point of the connecting node according to the size and the position of the overlapped part of the surfaces of the keel stand column model to be connected and the wall keel model to be connected; optionally, the method further comprises the step that the computer equipment determines the size of the connecting node according to the thickness of the to-be-connected keel stand column model and the to-be-connected wall keel model, to which the two model surfaces with adjacent relation in the adjacent information respectively belong; alternatively, the type and number of the connection nodes required between the keel column model to be connected and the wall keel model to be connected may be determined by the computer device according to the above-mentioned adjacent information, which is not limited in this embodiment.
S14, generating the connection node according to the placement point and the placement direction.
Specifically, the computer community device can automatically generate the connection node capable of connecting the wall keel model to be connected and the bottom guide beam model to be connected according to the placement point and the placement direction of the connection node. Specifically, the computer device may automatically generate the connection node according to the placement direction by using the placement point as the origin of coordinates of the own coordinate system of the connection node, thereby completing automatic placement of the connection node.
In the embodiment, the computer equipment acquires a keel stand column model to be connected and a wall keel model to be connected; according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected, adopting a preset adjacent algorithm to determine the adjacent information of the keel stand column model to be connected and the wall keel model to be connected, determining the placement point and the placement direction of the required connection node between the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information, and finally automatically generating the connection node for connecting the keel stand column model to be connected and the wall keel model to be connected according to the placement point and the placement direction. Because the adjacent algorithm is an algorithm for determining the adjacent relation between the solid models according to the intersecting state after the model surface is extended, and the adjacent information is used for representing the adjacent state between different solid models, based on the adjacent relation, the computer equipment can automatically and accurately determine the to-be-connected keel stand column model and the to-be-connected wall keel model of the to-be-connected node, automatically determine the placement point and the placement direction of the to-be-generated connection node, and finally automatically generate the connection node according to the placement point and the placement direction, thereby completing the automatic placement of the connection node between the to-be-connected keel stand column model and the to-be-connected wall keel model. The method can avoid the problems of low efficiency and easy error caused by the traditional mode of manually placing the connection nodes, thereby greatly shortening the generation time of the connection nodes between the keel stand column model and the wall keel model, greatly improving the design efficiency of the connection nodes and simultaneously greatly improving the accuracy of placing the connection nodes. In this embodiment, through automatic generation connected node for the degree of automation of model design is higher, consequently very big reduction the degree of difficulty of model design, make the designer can accomplish the relevant part design of model design through simple study, consequently study cost greatly reduced, thereby reduced the design cost.
Alternatively, on the basis of the above embodiment, one possible implementation manner of the above step S12 may include: performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information; the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, and the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected. Specifically, the computer device may combine each model surface of a keel column model to be connected and a wall keel model to be connected in pairs to form a combined pair for determining the adjacent relationship. For example, the keel column model to be connected has six model surfaces a, B, c, d, e and f, and the combined pair formed by combining the keel column model to be connected and the wall keel model to be connected B comprises: aB. bB, cB, dB, eB and fB. Then, the computer device performs the adjacency information judgment operation on the formed combination pairs using the adjacency algorithm, thereby obtaining the adjacency state of each combination pair. The model identifier of the keel column model to be connected and the model identifier of the wall keel model to be connected form a model identifier pair, and a combination pair between the model identifier pair and the model identifier of the wall keel model to be connected and the adjacent state of the combination pair can be used as a part or all of the adjacent information. The above-described adjacent information can be obtained after the computer device performs the above-described operations for each of the to-be-connected keel column model and each of the to-be-connected wall keel models. In this embodiment, the computer device may execute the adjacent information judging operation by using the foregoing respective model surfaces of each keel column model to be connected and each wall keel model to be connected by using a preset adjacent algorithm, so as to obtain the adjacent information, where the adjacent information includes at least one set of model identifier pairs having an association relationship and information of model surfaces having an adjacent relationship in the model identifier pairs, and the model identifier pairs include a model identifier of a wall keel model to be connected and a model identifier of a bottom guide beam model to be connected. Based on this, computer equipment just can be according to above-mentioned adjacent information, from the multiple entity model of design model automatic screening need connect wait to connect fossil fragments stand model and wait to connect the wall fossil fragments model to can be on the model surface of the wait to connect fossil fragments stand model and wait to connect the wall fossil fragments model of what confirm needs to connect automatic generation connected node, and then improved the rate of accuracy of placing of connected node and the placement of connected node, and then reduced the design cost.
In one embodiment, the adjacent information determining operation may include, as shown in fig. 3:
s121, generating a corresponding virtual entity along the normal direction of the surface of the first model; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation.
Specifically, when the computer device performs the operation of judging the adjacent information between the two entity models, the first model surface of the first entity model is determined first, and the first entity model may be any one of the two entity models or may be determined according to the priority set in the rule, and generally, when the wall keel model and the bottom guide beam model perform the operation of judging the adjacent information, the wall keel model may be used as the first model where the first model surface is located. The computer equipment generates a virtual entity with a certain thickness in the normal direction of the first model surface, the virtual entity is attached to the first model surface, and it is to be noted that the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as the size of the first model surface, meanwhile, the thickness of the virtual entity is not limited, and generally, the virtual entity can be judged and preset as long as the judgment of the adjacent relation can be represented. For example, if the number of the connection nodes is determined to be greater than X cm, it is determined that the connection nodes are not required between the two entity models, and if the number of the connection nodes is less than X cm, it is determined that the connection nodes are required between the two entity models, and if the connection nodes are not required between the two entity models, it is determined that the connection nodes are not required between the two entity models, and if the connection nodes are not required between the two entity models, the thickness of the virtual entity can be set to be X cm. It is readily understood that the virtual entity may be a solid portion extending the first model surface by a certain thickness in a normal direction.
S122, acquiring an intersecting state between the virtual entity and the second model; wherein the second model and the first model are different entity models.
Specifically, the computer device may perform intersection judgment on the virtual entity and a second model different from the first model, so as to obtain an intersection state of the virtual entity and the second model, and may further perform intersection judgment between the virtual entity and a second model surface on the second model; alternatively, the computer device may determine whether two objects intersect, by projecting the two objects in three directions in the three-dimensional space, and then determining whether projections of the two objects in each direction overlap, if projections in all three directions overlap, it may be determined that the two objects intersect, and if projections in more than one direction do not overlap, it may be determined that the two objects do not intersect.
And S123A, if the intersecting state is intersecting, determining that the adjacent states of the first model surface and the second model are adjacent.
And S123B, if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent.
Specifically, when the intersecting state is intersecting, it may be determined that the first model surface and the second model are adjacent states; when the intersecting state is disjoint, it may be determined that the first model surface and the second model are in a non-adjacent state. Alternatively, when all the model surfaces of the first model are not adjacent to the second model, it may be determined that the first model and the second model are not adjacent; if one of the surfaces of the first model is adjacent to the second model, then it may be determined that the first model is adjacent to the second model.
In the adjacency information judging operation related to this embodiment, the computer device generates a corresponding virtual entity along a normal direction of the first model surface, and acquires an intersecting state between the virtual entity and a second model different from the first model, when the intersecting state is intersecting, determines that the adjacency states of the first model surface and the second model are adjacency, and if the intersecting state is disjoint, determines that the adjacency states of the first model surface and the second model are non-adjacency. The size of the cross section of the virtual entity perpendicular to the normal direction of the surface of the first model is the same as that of the surface of the first model, and the thickness of the virtual entity is used for representing the judging threshold value of the adjacent relation, so that the computer equipment can realize accurate judging of the adjacent relation through the intersecting state of the virtual entity and the second model, and adjust the judging threshold value of the adjacent relation through setting the thickness of the virtual entity.
Alternatively, on the basis of the above embodiment, one possible implementation manner of step S13 may be as shown in fig. 4, including:
s131, determining adjacent areas between adjacent surfaces of the keel upright models to be connected and the wall keel models to be connected in each group of model identification pairs according to the adjacent information.
Specifically, each group of model identification pairs includes a keel stand column model to be connected and a wall keel model to be connected, which have an association relationship, and the association relationship may be two entity models needing to judge the adjacent relationship. The computer device may calculate, according to the adjacent information between the two adjacent solid models, an adjacent area of the adjacent model surface, for example, project the model surfaces of the keel column model to be connected and the wall keel model to be connected to a target direction, and calculate, as the above adjacent area, an area corresponding to an overlapping portion of the two in the projected area. The target direction is the direction with the largest projection area in the three-dimensional space where the solid model is located.
And S132, determining the placement points and the placement directions according to the adjacent areas and a preset connection node placement rule.
It should be noted that the connection node placement rule may include a rule such as a distance between connection nodes, a distance between two end points and a distance between two other solid models, and optionally, a rule that a connection element is added or subtracted to two ends of the solid model to be connected by reinforcement, which is not limited in this implementation. The above-mentioned connection node placement rule needs to meet the connection node design criteria in national standard and row standard; optionally, the connection node design criteria in the enterprise criteria may also be met. The computer device generates the connection nodes uniformly in the adjacent area at intervals set in the connection node placement rule, for example, at intervals of 3 meters; optionally, it may also be checked whether the distance between the nearest connection node at the two ends of the keel column model to be connected and the end point of this keel column model to be connected meets the design criteria, and if not, the position of the connection node is automatically adjusted to a suitable position according to the design criteria, or is adjusted based on the manual adjustment operation of the designer. Specifically, the computer equipment determines adjacent areas between adjacent surfaces of the keel upright models to be connected and the wall keel models to be connected in each group of model identification pairs according to adjacent information, and determines placement points and placement directions in each adjacent area according to preset connection node placement rules according to the adjacent areas, so that positions allowing placement of connection nodes can be automatically screened out and placement directions of the connection nodes can be automatically determined, the placement of the connection nodes is more reasonable, and the accuracy of the placement of the connection nodes is further improved.
In one embodiment, when the wall keel to be connected is an L-shaped wall keel model to be connected, one possible implementation of S132 in the above embodiment may be as shown in fig. 5, including:
s1321, determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel endpoint.
S1322, determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction.
Specifically, the computer device may determine at least one placement point in the adjacent region according to the spacing between the connection nodes and the keel end points set in the connection node placement rules. For example, the keel model of the wall to be connected is 110cm long, the distance between the connecting nodes is 30cm, and the distance between the connecting nodes and the keel end points is 10cm, so that the size of the placing point determined by the computer equipment from one of the keel end points is 10cm, 40cm, 70cm and 100cm respectively. Of course, the distance between the connection nodes and the keel end points set in the connection node placement rule can be a range, and the computer equipment can adjust the positions of the placement points in the range, so long as the connection node placement rule can be satisfied; optionally, adding or deleting connection nodes can be further included. The computer equipment also determines the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction.
In this embodiment, through the interval between every connected node and the interval between connected node and the fossil fragments extreme point, confirm at least one placement point in adjacent region to will wait to connect the direction that the wall fossil fragments model points to wait to connect fossil fragments stand model and confirm as the direction of placing, thereby can be accurate obtain the placement position appearance of connected node, and then make the placement of tie point more accurate and reasonable, further improved the quality of design.
Alternatively, on the basis of the above embodiments, one possible implementation manner of step S11 may be as shown in fig. 6, including:
s111, obtaining model attribute information of all entity models; the model attribute information is used for representing the types of the entity models.
S112, screening the wall keel model to be connected and the keel column model to be connected from all the entity models according to the model attribute information.
In particular, the computer device may read model attribute information for all solid models in the design model. Because the model attribute information can characterize the kind of the entity model, optionally, the model attribute information can include a model identifier of the entity model, such as a name, an ID, or a number, which can characterize the kind of the entity model; the connection mode of the entity model, such as screw connection, flat steel belt connection or other connection modes adopting other connection nodes, can also be included; the method may further include a correspondence between model identifiers and connection modes, which is not limited in this embodiment, so long as the method can characterize the types of the solid models. The computer equipment screens the entity model through at least one of the model identification of the entity model and the connection mode of the entity model, so that the to-be-connected keel stand column model and the to-be-connected wall keel model which are required to be connected are obtained. Optionally, the step may be one-time selection, and then screening again according to other conditions to obtain, for example, primarily deleting the entity model with the excessively far distance, or screening the entity model with the connection node set, so as to obtain the keel stand column model to be connected and the wall keel model to be connected.
In this embodiment, the entity model is screened through the model attribute information representing the types of the entity model, so that the to-be-connected keel stand column model and the to-be-connected wall keel model which are required to be connected by adopting the connection node are obtained, and the entity model with the part which is obviously not required to be connected can be screened out, so that the operation amount in the subsequent processing is greatly reduced, and the automatic placement of the node is more efficient and accurate.
For a more clear description of the technical solution described in the present application, a specific embodiment is described below, as shown in fig. 7, including:
s21, obtaining model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
s22, screening the wall keel model to be connected and the keel upright column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
s23, carrying out adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
The adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent;
s24, determining adjacent areas between adjacent surfaces of the keel upright models to be connected and the wall keel models to be connected in each group of model identification pairs according to the adjacent information;
S25, determining at least one placement point in the adjacent area according to the interval between each connection node and the interval between the connection node and the keel endpoint;
s26, determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction;
and S27, generating the connection node according to the placement point and the placement direction.
The implementation principle and technical effect of the steps in this embodiment may be referred to the foregoing embodiments, and will not be described herein.
The connection nodes of the T-shaped wall keel model and the cross-shaped wall keel model determined by the above method embodiment and the keel column model respectively can be shown in fig. 7a and 7b, wherein a view of another angle of the connection node of the cross-shaped wall keel model and the keel column model can also be shown in fig. 7c, and the connection node of the cross-shaped wall keel shown in fig. 7c can be used as a schematic diagram of the connection node of the cross-shaped top guide beam model.
It should be understood that, although the steps in the flowcharts of fig. 2-7 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
In one embodiment, as shown in fig. 8, there is provided a joint placement device between a keel column model and a wall keel model, comprising:
the acquisition module 100 is used for acquiring the keel stand column model to be connected and the wall keel model to be connected; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
the processing module 200 is configured to determine, according to the model surface information of the to-be-connected keel column model and the to-be-connected wall keel model, the adjacent information of the to-be-connected keel column model and the to-be-connected wall keel model by adopting a preset adjacent algorithm; the adjacent algorithm is an algorithm for determining the adjacent relation between the entity models according to the intersecting state after the model surface extends; the adjacent information is used for representing adjacent states among different entity models;
the generating module 300 is configured to determine, according to the adjacent information, a placement point and a placement direction of a connection node required for connecting the to-be-connected keel column model and the to-be-connected wall keel model; and generating the connection node according to the placement point and the placement direction.
In one embodiment, the processing module 200 is specifically configured to execute the adjacent information judging operation by using a preset adjacent algorithm on each model surface of each keel to be connected upright model and each keel to be connected model, so as to obtain the adjacent information; the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, and the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected.
In one embodiment, the adjacency information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; and if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent.
In one embodiment, the generating module 300 is specifically configured to determine, according to the adjacent information, an adjacent area between the adjacent to-be-connected keel column model and an adjacent surface of the to-be-connected wall keel model in each group of model identification pairs; and determining the placement points and the placement directions according to the adjacent areas and a preset connection node placement rule.
In one embodiment, the generating module 300 is specifically configured to determine at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel endpoint; and determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction.
In one embodiment, the obtaining module 100 is specifically configured to obtain model attribute information of all entity models; the model attribute information is used for representing the types of the entity models; and screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information.
In one embodiment, the model attribute information includes at least one of a model identification of the solid model and a connection manner of the solid model.
In one embodiment, as shown in fig. 9, there is provided a joint placement device between a keel column form and a wall keel form, comprising:
an obtaining module 400, configured to obtain model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
The screening module 500 is configured to screen the wall keel model to be connected and the keel column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
the processing module 600 is configured to execute the adjacent information judging operation by using a preset adjacent algorithm two by two on each model surface of each keel stand column model to be connected and each wall keel model to be connected, so as to obtain the adjacent information; the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent;
And the generating module 700 is configured to determine, according to the adjacent information, adjacent areas between the to-be-connected keel column model and the adjacent surface of the to-be-connected wall keel model in each group of model identification pairs, determine at least one placement point in the adjacent areas according to a distance between each connection node and a distance between a connection node and a keel endpoint, determine a direction in which the to-be-connected wall keel model points to the to-be-connected keel column model as the placement direction, and generate the connection node according to the placement point and the placement direction.
The concrete limitation of the connection node placement device between the keel stand column model and the wall keel model can be referred to as the limitation of the connection node placement method between the keel stand column model and the wall keel model, and the description is omitted here. All or part of each module in the connecting node placement device between the keel stand column model and the wall keel model can be realized by software, hardware and the combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
obtaining a keel column model to be connected and a wall keel model to be connected; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
determining adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the entity models according to the intersecting state after the model surface extends; the adjacent information is used for representing adjacent states among different entity models;
determining the placement points and the placement directions of the connection nodes required for connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information;
and generating the connection node according to the placement point and the placement direction.
In one embodiment, the processor when executing the computer program further performs the steps of:
Performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, and the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected.
In one embodiment, the adjacency information judging operation includes:
generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation;
acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models;
if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent;
And if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent.
In one embodiment, the processor when executing the computer program further performs the steps of:
determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
and determining the placement points and the placement directions according to the adjacent areas and a preset connection node placement rule.
In one embodiment, the processor when executing the computer program further performs the steps of:
determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel end point;
and determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction.
In one embodiment, the processor when executing the computer program further performs the steps of:
obtaining model attribute information of all entity models; the model attribute information is used for representing the types of the entity models;
And screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information.
In one embodiment, the model attribute information includes at least one of a model identification of the solid model and a connection manner of the solid model.
It should be clear that the process of executing the computer program by the processor in the embodiment of the present application is consistent with the execution of the steps in the above method, and specific reference may be made to the foregoing description.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
obtaining model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
Performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent;
Determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel end point;
determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction;
and generating the connection node according to the placement point and the placement direction.
It should be clear that the process of executing the computer program by the processor in the embodiment of the present application is consistent with the execution of the steps in the above method, and specific reference may be made to the foregoing description.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
obtaining a keel column model to be connected and a wall keel model to be connected; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
determining adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the entity models according to the intersecting state after the model surface extends; the adjacent information is used for representing adjacent states among different entity models;
Determining the placement points and the placement directions of the connection nodes required for connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information;
and generating the connection node according to the placement point and the placement direction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, and the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected.
In one embodiment, the adjacency information judging operation includes:
generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation;
Acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models;
if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent;
and if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
and determining the placement points and the placement directions according to the adjacent areas and a preset connection node placement rule.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel end point;
and determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
obtaining model attribute information of all entity models; the model attribute information is used for representing the types of the entity models;
and screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information.
In one embodiment, the model attribute information includes at least one of a model identification of the solid model and a connection manner of the solid model.
It should be clear that the process of executing the computer program by the processor in the embodiment of the present application is consistent with the execution of the steps in the above method, and specific reference may be made to the foregoing description.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
obtaining model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
Performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent;
Determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel end point;
determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction;
and generating the connection node according to the placement point and the placement direction.
It should be clear that the process of executing the computer program by the processor in the embodiment of the present application is consistent with the execution of the steps in the above method, and specific reference may be made to the foregoing description.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
Claims (12)
1. A method for placing a connection node between a keel column model and a wall keel model, the method comprising:
according to the model attribute information of all the entity models, obtaining a keel stand column model to be connected and a wall keel model to be connected from all the entity models; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
Determining adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of each model in the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the keel stand column model to be connected and the wall keel model to be connected according to the intersecting state between the model surface of each model in the keel stand column model to be connected and the wall keel model to be connected after the model surface of each model extends; the adjacent information is used for representing different adjacent states between the keel stand column model to be connected and the wall keel model to be connected, and the model surface information comprises the shape, the size, the position and the orientation of the model surface and the entity model to which the model surface belongs;
determining the placement points and the placement directions of the connection nodes required for connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information;
and generating the connection node according to the placement point and the placement direction.
2. The method of claim 1, wherein determining the adjacency information of the keel column model to be connected and the wall keel model to be connected using a preset adjacency algorithm based on the model surface information of each of the keel column models to be connected and the wall keel models to be connected, comprises:
Performing adjacent information judgment operation on the surfaces of the to-be-connected keel upright column models and the to-be-connected wall keel models by adopting a preset adjacent algorithm to obtain the adjacent information;
the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, and the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected.
3. The method of claim 2, wherein the adjacency information determination operation comprises:
generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation;
acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models;
if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent;
And if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent.
4. A method according to any one of claims 1 to 3, wherein said determining, based on said adjacency information, placement points and placement directions of connection nodes required for connecting between said to-be-connected keel model and said to-be-connected wall keel model, comprises:
determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
and determining the placement points and the placement directions according to the adjacent areas and a preset connection node placement rule.
5. The method of claim 4, wherein determining the placement point and the placement direction according to the neighboring area and a preset connection node placement rule includes:
determining at least one placement point in the adjacent area according to the distance between each connection node and the distance between the connection node and the keel end point;
and determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as the placement direction.
6. The method according to claim 1, wherein the obtaining the keel column model to be connected and the wall keel model to be connected from all the solid models according to the model attribute information of all the solid models comprises:
obtaining model attribute information of all entity models; the model attribute information is used for representing the types of the entity models;
and screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information.
7. The method of claim 6, wherein the model attribute information includes at least one of a model identification of the solid model and a connection manner of the solid model.
8. A method for placing a connection node between a keel column model and a wall keel model, the method comprising:
obtaining model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
screening a wall keel model to be connected and a keel stand column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
Performing adjacent information judgment operation on the model surface of each model of each keel stand column model to be connected and each keel model of the wall to be connected by adopting a preset adjacent algorithm to obtain the adjacent information;
the adjacent information comprises at least one group of model identification pairs with association relations and model surface information of models with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent; the model surface information comprises the shape, size, position, orientation of the model surface and the entity model to which the model surface belongs;
Determining adjacent areas between adjacent to-be-connected keel upright models and adjacent surfaces of the to-be-connected wall keel models in each group of model identification pairs according to the adjacent information;
determining at least one placement point in the adjacent region according to the spacing between each connection node and the spacing between the connection node and the keel end point;
determining the direction of the to-be-connected wall keel model pointing to the to-be-connected keel upright column model as a placement direction;
and generating the connection node according to the placement point and the placement direction.
9. A connection node placement device between a keel column model and a wall keel model, the device comprising:
the acquisition module is used for acquiring the keel stand column model to be connected and the wall keel model to be connected from all the entity models according to the model attribute information of all the entity models; the wall keel to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
the processing module is used for determining the adjacent information of the keel stand column model to be connected and the wall keel model to be connected by adopting a preset adjacent algorithm according to the model surface information of each model in the keel stand column model to be connected and the wall keel model to be connected; the adjacent algorithm is an algorithm for determining the adjacent relation between the keel stand column model to be connected and the wall keel model to be connected according to the intersecting state between the model surface of each model in the keel stand column model to be connected and the wall keel model to be connected after the model surface of each model extends; the adjacent information is used for representing different adjacent states between the keel stand column model to be connected and the wall keel model to be connected, and the model surface information comprises the shape, the size, the position and the orientation of the model surface and the entity model to which the model surface belongs;
The generating module is used for determining the placement points and the placement directions of the connection nodes required by connecting the keel stand column model to be connected and the wall keel model to be connected according to the adjacent information; and generating the connection node according to the placement point and the placement direction.
10. A connection node placement device between a keel column model and a wall keel model, the device comprising:
the acquisition module is used for acquiring model attribute information of all entity models; the model attribute information comprises at least one of a model identifier of the entity model and a connection mode of the entity model;
the screening module is used for screening the wall keel model to be connected and the keel stand column model to be connected from all the entity models according to the model attribute information; the wall keel model to be connected comprises a T-shaped wall keel model to be connected and a cross-shaped wall keel model to be connected;
the processing module is used for carrying out adjacent information judgment operation on the model surface of each model of each keel stand column model to be connected and each wall keel model to be connected by adopting a preset adjacent algorithm to obtain the adjacent information; the adjacent information comprises at least one group of model identification pairs with association relations and information of model surfaces with the adjacent relations in the model identification pairs, wherein the model identification pairs comprise a model identification of a keel stand column model to be connected and a model identification of a wall keel model to be connected; the adjacent information judging operation includes: generating a corresponding virtual entity along the normal direction of the first model surface; the size of a cross section of the virtual entity perpendicular to the normal direction of the first model surface is the same as that of the first model surface, and the thickness of the virtual entity is used for representing a judging threshold value of the adjacent relation; acquiring an intersecting state between the virtual entity and a second model; wherein the second model and the first model are different entity models; if the intersecting state is intersecting, determining that adjacent states of the first model surface and the second model are adjacent; if the intersecting state is disjoint, determining that the adjacent states of the first model surface and the second model are non-adjacent; the model surface information comprises the shape, size, position, orientation of the model surface and the entity model to which the model surface belongs;
The generating module is used for determining adjacent areas between adjacent surfaces of the keel upright models to be connected and the wall keel models to be connected in each group of model identification pairs according to the adjacent information, determining at least one placement point in the adjacent areas according to the distance between each connection node and the distance between the connection node and the keel endpoint, determining the direction of the keel models to be connected to the keel upright models to be connected as a placement direction, and generating the connection nodes according to the placement points and the placement direction.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 8 when the computer program is executed.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910843993.1A CN110704900B (en) | 2019-09-06 | 2019-09-06 | Method for placing connection node between keel column model and wall keel model and product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910843993.1A CN110704900B (en) | 2019-09-06 | 2019-09-06 | Method for placing connection node between keel column model and wall keel model and product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110704900A CN110704900A (en) | 2020-01-17 |
CN110704900B true CN110704900B (en) | 2023-11-21 |
Family
ID=69194639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910843993.1A Active CN110704900B (en) | 2019-09-06 | 2019-09-06 | Method for placing connection node between keel column model and wall keel model and product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110704900B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105264566A (en) * | 2013-05-31 | 2016-01-20 | 松下知识产权经营株式会社 | Modeling device, three-dimensional model generation device, modeling method, program, and layout simulator |
-
2019
- 2019-09-06 CN CN201910843993.1A patent/CN110704900B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105264566A (en) * | 2013-05-31 | 2016-01-20 | 松下知识产权经营株式会社 | Modeling device, three-dimensional model generation device, modeling method, program, and layout simulator |
Also Published As
Publication number | Publication date |
---|---|
CN110704900A (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110221600B (en) | Path planning method and device, computer equipment and storage medium | |
CN114692250B (en) | Wall reinforcement method and device and computer equipment | |
US20200125115A1 (en) | Methods and systems of distributing task regions for a plurality of cleaning devices | |
CN109102524B (en) | Tracking method and tracking device for image feature points | |
CN112308969A (en) | Three-dimensional map generation method and device | |
CN112632679A (en) | Building information model scene rendering method and device and computer equipment | |
CN112464322B (en) | Building component arrangement method and device, computer equipment and storage medium | |
CN110704901B (en) | Method for placing connecting nodes of gable roof guide beams and related products | |
CN110704896A (en) | Method and product for placing connecting node between keel column model and wall keel model | |
CN110704900B (en) | Method for placing connection node between keel column model and wall keel model and product | |
CN110704898B (en) | Method for placing connecting node between tiger window model and roof truss girder model and product | |
CN110765513B (en) | Connection node placement method and products for wall keel model and L-shaped roof guide beam model | |
CN113158280B (en) | Roof main body structure generation method, device, computer equipment and storage medium | |
CN110704897A (en) | Method for placing connecting node between wall keel model and bottom guide beam model and product | |
CN110765509B (en) | Method and device for generating main roof hole-opening reinforcing node | |
CN111125809B (en) | Building steel column generation method and device, computer equipment and storage medium | |
CN112836263B (en) | Axle network generation method and device, computer equipment and storage medium | |
CN109410304B (en) | Projection determination method, device and equipment | |
CN110704899B (en) | Connecting node placement method and device for tiger window model and roof opening model | |
CN115906225A (en) | Component net height analysis method and device and computer equipment | |
CN110750817B (en) | Connecting piece placement method, adjacent relation determination method, device, equipment and medium | |
CN112464324B (en) | Adjacent relation acquisition method, adjacent state set generation method and related products | |
CN112836262A (en) | Method for acquiring intersection state between planes, model generation method and related product | |
CN110826118B (en) | Method and device for generating variable cross-section splicing nodes of column factory of light steel structure | |
CN113793352B (en) | Laser filling method and device for single-layer outline pattern based on contour lines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200921 Address after: Room 701, East Building, innovation and Research Center, No. 8, Yanzheng West Avenue, Wujin District, Changzhou City, Jiangsu Province Applicant after: Jiuling (Jiangsu) Digital Intelligent Technology Co.,Ltd. Address before: Room d1-9999, 58 Fumin Road, Hengsha Township, Chongming District, Shanghai 202150 (Hengtai Economic Development Zone, Shanghai) Applicant before: Jiuling (Shanghai) Intelligent Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |