CN112329102A - Method and device for generating structural floor slab model in building design software - Google Patents

Method and device for generating structural floor slab model in building design software Download PDF

Info

Publication number
CN112329102A
CN112329102A CN202011198064.9A CN202011198064A CN112329102A CN 112329102 A CN112329102 A CN 112329102A CN 202011198064 A CN202011198064 A CN 202011198064A CN 112329102 A CN112329102 A CN 112329102A
Authority
CN
China
Prior art keywords
floor slab
point coordinate
enclosing
model
structural floor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011198064.9A
Other languages
Chinese (zh)
Other versions
CN112329102B (en
Inventor
尤勇敏
其他发明人请求不公开姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Original Assignee
Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiuling Jiangsu Digital Intelligent Technology Co Ltd filed Critical Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Priority to CN202011198064.9A priority Critical patent/CN112329102B/en
Publication of CN112329102A publication Critical patent/CN112329102A/en
Application granted granted Critical
Publication of CN112329102B publication Critical patent/CN112329102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04BGENERAL BUILDING CONSTRUCTIONS; WALLS, e.g. PARTITIONS; ROOFS; FLOORS; CEILINGS; INSULATION OR OTHER PROTECTION OF BUILDINGS
    • E04B5/00Floors; Floor construction with regard to insulation; Connections specially adapted therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Architecture (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Processing Or Creating Images (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method and a device for generating a structural floor slab model in building design software. The method comprises the following steps: generating a structural floor model according to a simulated floor in the building design software, wherein the simulated floor is a floor which is drawn in advance and used as a reference for generating the structural floor model; and if the simulated floor slab is provided with the hole, determining whether the hole corresponding to the simulated floor slab is added to the structural floor slab model or not according to the enclosing and closing line section of the hole on the simulated floor slab. Through this application, the problem that the efficiency of correlation technique development structure floor model is lower has been solved.

Description

Method and device for generating structural floor slab model in building design software
Technical Field
The application relates to the technical field of building aided design, in particular to a method and a device for generating a structural floor slab model in building design software.
Background
In the process of generating the structural floor slab by the computer, the structural floor slab is generated according to the enclosure of the shear wall and the coupling beam in the simulated floor slab. When the simulated floor slab is provided with the hole, the structural floor slab is required to be provided with the hole consistent with the hole on the simulated floor slab. In the prior art, the condition is that a developer needs to design and implement on building design software, much time is occupied by the developer, and the development efficiency is low.
Aiming at the problem of low efficiency of developing a structural floor slab model in the related art, an effective solution is not provided at present.
Disclosure of Invention
The application mainly aims to provide a method and a device for generating a structural floor model in building design software, so as to solve the problem of low efficiency of developing the structural floor model in the related art.
To achieve the above objects, according to one aspect of the present application, there is provided a method of generating a structural floor model in building design software. The method comprises the following steps: generating a structural floor model according to a simulated floor in building design software, wherein the simulated floor is a floor which is drawn in advance and used as a reference for generating the structural floor model; and if the simulated floor slab is provided with the hole, determining whether the hole corresponding to the simulated floor slab is added to the structural floor slab model or not according to the enclosing and closing line section of the hole in the simulated floor slab.
Further, determining whether to add a hole to the structural floor model according to the enclosing line segment of the hole in the simulated floor comprises: determining a starting point coordinate and an end point coordinate on a line segment of a closed line of the opening on the simulated floor slab; judging whether the starting point coordinates and the end point coordinates on the enclosing line segment are in the enclosing line of the structural floor slab model; and if the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model, adding a hole corresponding to the simulated floor slab on the structural floor slab model.
Further, before determining whether the start and end coordinates on the box line segment are within the box line of the structural floor model, the method further comprises: judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model; and if the starting point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model, judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are in the enclosing line of the structural floor slab model.
Further, judging whether the start point coordinate and the end point coordinate on the enclosing line segment and the enclosing line of the structural floor slab model are on the same plane comprises: respectively combining the start point coordinate and the end point coordinate on the enclosing line section with any two points in the enclosing line of the structural floor slab model to form three vectors; and if the mixed product of the three vectors consisting of any two points in the enclosing line of the starting point coordinate and the structural floor slab model and the mixed product of the three vectors consisting of any two points in the enclosing line of the terminal point coordinate and the structural floor slab model are both 0, determining that the starting point coordinate and the terminal point coordinate on the enclosing line section and the enclosing line of the structural floor slab model are on the same plane.
Further, determining whether the start point coordinates and the end point coordinates on the bounding line segments are within the bounding line of the structural floor model comprises: judging whether the starting point coordinates and the end point coordinates on the enclosing line segments are on the enclosing line of the structural floor slab model or not; if the starting point coordinate and the end point coordinate on the enclosing and joining line section are not on the enclosing and joining line of the structural floor slab model, calculating the number of intersection points of a ray taking the starting point coordinate on the enclosing and joining line section as a starting point and any side of the enclosing and joining line of the structural floor slab model, and the number of intersection points of a ray taking the end point coordinate on the enclosing and joining line section as a starting point and any side of the enclosing and joining line of the structural floor slab model; if the number of the intersection points of the ray taking the starting point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model is even, the number of the intersection points of the ray taking the ending point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model is even, the starting point coordinate and the ending point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model.
In order to achieve the above object, according to another aspect of the present application, there is provided an apparatus for generating a structural floor model in building design software. The device includes: the system comprises a generating unit, a generating unit and a control unit, wherein the generating unit is used for generating a structural floor model according to a simulated floor in the building design software, wherein the simulated floor is a floor which is drawn in advance and is used as a reference for generating the structural floor model; and the determining unit is used for determining whether to add the hole corresponding to the simulated floor slab on the structural floor slab model according to the enclosing and closing line section of the hole on the simulated floor slab under the condition that the hole is designed on the simulated floor slab.
Further, the determining unit further includes: the first determining module is used for determining a starting point coordinate and an end point coordinate on a line segment of a closed line of the opening in the simulated floor slab; the first judgment module is used for judging whether the start point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model; and the processing module is used for adding a hole corresponding to the simulated floor slab on the structural floor slab model under the condition that the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model.
Further, the apparatus further comprises: the first judgment unit is used for judging whether the start point coordinate and the end point coordinate on the enclosing line section are on the same plane with the enclosing line of the structural floor slab model before judging whether the start point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model; and the execution unit is used for judging whether the start point coordinate and the end point coordinate on the enclosing line segment are in the enclosing line of the structural floor slab model under the condition that the start point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model.
In order to achieve the above object, according to another aspect of the present application, there is provided a storage medium including a stored program, wherein the program performs the method of any one of the above.
To achieve the above object, according to another aspect of the present application, there is provided a processor for executing a program, wherein the program executes to perform the method of any one of the above.
Through the application, the following steps are adopted: generating a structural floor model according to a simulated floor in building design software, wherein the simulated floor is a floor which is drawn in advance and used as a reference for generating the structural floor model; if the simulated floor slab is provided with the hole, whether the hole corresponding to the simulated floor slab is added to the structural floor slab model or not is determined according to the enclosing and closing line section of the hole in the simulated floor slab, and the problem of low efficiency of developing the structural floor slab model in the related technology is solved. Through the basis whether the line section of closing of enclosing of entrance to a cave on the simulation floor confirms whether structural floor model add with corresponding entrance to a cave on the simulation floor, whether the entrance to a cave is added at structural floor model in the quick determination of confirming, and then has reached the effect that promotes the efficiency of development structural floor model.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a flow chart of a method for generating a structural floor model in building design software according to an embodiment of the present application;
FIG. 2 is a first schematic diagram of an intersection point of a point and one side of a polygon according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of an intersection point of a point and one side of a polygon according to an embodiment of the present application;
fig. 4 is a schematic diagram of an apparatus for generating a structural floor model in building design software according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the application, a method for generating a structural floor model in building design software is provided.
FIG. 1 is a flow chart of a method of generating a structural floor model in building design software according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, generating a structural floor model according to a simulated floor in building design software, wherein the simulated floor is a floor which is drawn in advance and used as a reference for generating the structural floor model;
and S102, if the simulated floor slab is provided with the hole, determining whether the hole corresponding to the simulated floor slab is added to the structural floor slab model or not according to the enclosing and closing line section of the hole on the simulated floor slab.
To sum up, in the method for generating a structural floor model in building design software provided in the embodiment of the present application, the structural floor model is generated according to a simulated floor in the building design software, wherein the simulated floor is a floor pre-drawn as a reference for generating the structural floor model; if the simulated floor slab is provided with the hole, whether the hole corresponding to the simulated floor slab is added to the structural floor slab model or not is determined according to the enclosing and closing line section of the hole in the simulated floor slab, and the problem of low efficiency of developing the structural floor slab model in the related technology is solved. Whether the corresponding hole is added to the structural floor slab model or not and the corresponding hole is added to the simulated floor slab or not is determined according to the enclosing and closing line section of the hole in the simulated floor slab, whether the hole is added to the structural floor slab model or not can be rapidly determined, and therefore the effect of improving the efficiency of developing the structural floor slab model is achieved.
Optionally, in the method for generating a structural floor model in building design software provided in the embodiment of the present application, determining whether to add a hole to the structural floor model according to a closed line segment of the hole in the simulated floor includes: determining a starting point coordinate and an end point coordinate on a line segment of a closed line of a hole in a simulated floor slab; judging whether the starting point coordinates and the end point coordinates on the enclosing line section are in the enclosing line of the structural floor slab model; and if the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model, adding a hole corresponding to the simulated floor slab on the structural floor slab model.
For example, if the hole in the simulated floor slab is square, the line segment of the enclosing line of the hole in the simulated floor slab is the line segment of four sides of the square, the start point coordinate and the end point coordinate on the line segment of the enclosing line of the hole in the simulated floor slab are the start point coordinate and the end point coordinate on the line segment of each side, and if the start point coordinate and the end point coordinate on the line segment of each side of the hole in the simulated floor slab are both in the enclosing line of the structural floor slab model, the hole corresponding to the hole in the simulated floor slab is added to the structural floor slab model.
Optionally, in the method for generating a structural floor model in building design software provided in this embodiment of the present application, before determining whether the start-point coordinate and the end-point coordinate on the enclosing line segment are within the enclosing line of the structural floor model, the method further includes: judging whether the starting point coordinates and the end point coordinates on the enclosing line section are on the same plane with the enclosing line of the structural floor slab model; and if the starting point coordinate and the end point coordinate on the enclosing and line-combining line section are on the same plane with the enclosing and line of the structural floor slab model, judging whether the starting point coordinate and the end point coordinate on the enclosing and line-combining line section are in the enclosing and line of the structural floor slab model.
In order to obtain the accuracy of the finally generated structural floor slab model, in the embodiment of the application, whether a starting point coordinate and an end point coordinate on a simulation floor slab enclosing line segment and an enclosing line of the structural floor slab model are on the same plane is judged; and if the starting point coordinate and the end point coordinate on the enclosing line section are not on the same plane with the enclosing line of the structural floor slab model, determining that the corresponding hole on the simulated floor slab is not added to the structural floor slab model. If the starting point coordinate and the end point coordinate on the enclosing and line-closing line section are on the same plane with the enclosing and line of the structural floor slab model, then whether the starting point coordinate and the end point coordinate on the enclosing and line-closing line section are in the enclosing and line-closing line of the structural floor slab model is judged, and the accuracy of the finally generated structural floor slab model is ensured.
Optionally, in the method for generating a structural floor model in the building design software provided in the embodiment of the present application, determining whether the start point coordinate and the end point coordinate on the enclosing line segment and the enclosing line of the structural floor model are on the same plane includes: respectively combining the start point coordinate and the end point coordinate on the enclosing line section with any two points in the enclosing line of the structural floor slab model to form three vectors; and if the mixed product of the three vectors consisting of any two points in the enclosing line of the starting point coordinate and the structural floor slab model and the mixed product of the three vectors consisting of any two points in the enclosing line of the end point coordinate and the structural floor slab model are both 0, determining that the starting point coordinate and the end point coordinate on the enclosing line section and the enclosing line of the structural floor slab model are on the same plane.
Through the scheme, the embodiment of the application discloses how to judge whether the starting point coordinate and the end point coordinate on the enclosing line section and the enclosing line of the structural floor slab model are on the same plane, namely, the mode of vector mixed product is adopted, and whether the starting point coordinate and the end point coordinate on the enclosing line section and the enclosing line of the structural floor slab model are on the same plane is quickly and accurately judged.
Optionally, in the method for generating a structural floor model in building design software provided in the embodiment of the present application, determining whether the start point coordinate and the end point coordinate on the enclosing line segment are within the enclosing line of the structural floor model includes: judging whether the starting point coordinates and the end point coordinates on the enclosing line section are on the enclosing line of the structural floor slab model; if the starting point coordinate and the end point coordinate on the enclosing line section are not on the enclosing line of the structural floor slab model, calculating the number of intersection points of the ray taking the starting point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model, and the number of intersection points of the ray taking the end point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model; if the number of the intersection points of the ray taking the starting point coordinate on the enclosing and merging line section as the starting point and any side of the enclosing and merging line of the structural floor slab model is even, the number of the intersection points of the ray taking the ending point coordinate on the enclosing and merging line section as the starting point and any side of the enclosing and merging line of the structural floor slab model is even, the starting point coordinate and the ending point coordinate on the enclosing and merging line section are in the enclosing and merging line of the structural floor slab model.
As shown in fig. 2 and 3, if the number of intersections between a ray having a start point coordinate on the enclosed line segment as a start point and one side of an enclosed line (i.e., a polygon) of the structural floor model is 1, i.e., an odd number, the start point coordinate is considered to be within the enclosed line of the structural floor model. If the number of intersections between a ray having the start point coordinate on the enclosing line segment as the start point and one side of the enclosing line (i.e., polygon) of the structural floor model is 2, i.e., even, the start point coordinate is considered to be outside the enclosing line of the structural floor model.
And if the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model, adding a hole corresponding to the simulated floor slab on the structural floor slab model, so that the holes are consistent with the simulated template storage, and generating the final hole corresponding to the structural floor slab model and the simulated floor slab. If the starting point coordinate or the end point coordinate on the enclosing and line-closing line section is outside the enclosing and line-closing line of the structural floor slab model, a hole corresponding to the simulated floor slab does not need to be added in the structural floor slab model, and therefore the accuracy of the actually generated structural floor slab model is guaranteed.
It should be noted that the method for generating the structural floor model in the architectural design software according to the embodiment of the present application can perform encapsulation to generate library files, and when a developer needs the method, the library files are directly called, and corresponding parameters of the functional interface are transmitted, so that the encapsulated functions can be called to quickly obtain a desired development result, thereby improving the efficiency of developing the structural floor model.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a device for generating a structural floor model in building design software, and it should be noted that the device for generating a structural floor model in building design software of the embodiment of the present application can be used to execute the method for generating a structural floor model in building design software provided by the embodiment of the present application. The following describes a device for generating a structural floor model in the building design software according to the embodiment of the present application.
Fig. 4 is a schematic diagram of an apparatus for generating a structural floor model in building design software according to an embodiment of the present application. As shown in fig. 4, the apparatus includes: a generating unit 401 and a determining unit 402.
A generating unit 401, configured to generate, in the building design software, a structural floor model according to a simulated floor, where the simulated floor is a floor pre-drawn as a reference for generating the structural floor model;
the determining unit 402 is configured to determine whether to add a hole corresponding to the simulated floor slab to the structural floor slab model according to a closure line segment of the hole in the simulated floor slab when the hole is designed in the simulated floor slab.
According to the device for generating the structural floor model in the building design software, the generating unit 401 generates the structural floor model according to the simulated floor in the building design software, wherein the simulated floor is a floor which is drawn in advance and is used as a reference for generating the structural floor model; the determining unit 402 determines whether to add a corresponding opening on the structural floor model and the simulated floor according to the line segment of the enclosing line of the opening on the simulated floor under the condition that the opening is designed on the simulated floor, so that the problem of low efficiency of developing the structural floor model in the related art is solved, and whether to add the opening on the structural floor model and the simulated floor is determined according to the line segment of the enclosing line of the opening on the simulated floor, so that whether to add the opening on the structural floor model can be rapidly determined, and the effect of improving the efficiency of developing the structural floor model is achieved.
Optionally, in the apparatus for generating a structural floor model in architectural design software provided in an embodiment of the present application, the determining unit further includes: the first determining module is used for determining a starting point coordinate and an end point coordinate on a line segment of a closed line of the opening on the simulated floor slab; the first judgment module is used for judging whether the start point coordinates and the end point coordinates on the enclosing line section are in the enclosing line of the structural floor slab model; and the processing module is used for adding a hole corresponding to the simulated floor slab on the structural floor slab model under the condition that the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model.
Optionally, in the apparatus for generating a structural floor model in building design software provided in an embodiment of the present application, the apparatus further includes: the first judgment unit is used for judging whether the start point coordinate and the end point coordinate on the enclosing line section are on the same plane with the enclosing line of the structural floor slab model before judging whether the start point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model; and the execution unit is used for executing and judging whether the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model under the condition that the starting point coordinate and the end point coordinate on the enclosing line section are in the same plane with the enclosing line of the structural floor slab model.
Optionally, in the apparatus for generating a structural floor model in architectural design software provided in an embodiment of the present application, the determining unit further includes: the composition module is used for respectively composing the start point coordinate and the end point coordinate on the enclosing line section and any two points in the enclosing line of the structural floor slab model into three vectors; and the second determining module is used for determining that the starting point coordinate and the end point coordinate on the line segment of the enclosing line are on the same plane with the enclosing line of the structural floor slab model under the condition that the mixed product of the starting point coordinate and any two points in the enclosing line of the structural floor slab model form three vectors, and the mixed product of the end point coordinate and any two points in the enclosing line of the structural floor slab model form three vectors is 0.
Optionally, in the apparatus for generating a structural floor model in architectural design software provided in an embodiment of the present application, the execution unit further includes: the second judgment module is used for judging whether the starting point coordinates and the end point coordinates on the enclosing line section are on the enclosing line of the structural floor slab model or not; the calculation module is used for calculating the number of intersection points of the ray taking the starting point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model and the number of intersection points of the ray taking the ending point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model under the condition that the starting point coordinate and the ending point coordinate on the enclosing line section are not on the enclosing line of the structural floor slab model; and the third determining module is used for indicating that the starting point coordinate and the ending point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model under the condition that the number of the intersection points of the ray taking the starting point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model and the number of the intersection points of the ray taking the ending point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model are both even numbers.
The device for generating the structural floor model in the building design software comprises a processor and a memory, wherein the generating unit 401, the determining unit 402 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel may be set to one or more, and the structural floor model is generated in the building design software by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, where the program, when executed by a processor, implements a method for generating a structural floor model in the architectural design software.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program is used for executing a generation method of a structural floor slab model in the building design software during running.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: generating a structural floor model according to a simulated floor in building design software, wherein the simulated floor is a floor which is drawn in advance and used as a reference for generating the structural floor model; and if the simulated floor slab is provided with the hole, determining whether the hole corresponding to the simulated floor slab is added to the structural floor slab model or not according to the enclosing and closing line section of the hole in the simulated floor slab.
The processor executes the program and further realizes the following steps: determining whether to add a hole in the structural floor slab model according to the enclosing and closing line section of the hole in the simulated floor slab comprises the following steps: determining a starting point coordinate and an end point coordinate on a line segment of a closed line of the opening on the simulated floor slab; judging whether the starting point coordinates and the end point coordinates on the enclosing line segment are in the enclosing line of the structural floor slab model; and if the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model, adding a hole corresponding to the simulated floor slab on the structural floor slab model.
The processor executes the program and further realizes the following steps: prior to determining whether the start and end coordinates on the box line segment are within the box line of the structural floor model, the method further comprises: judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model; and if the starting point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model, judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are in the enclosing line of the structural floor slab model.
The processor executes the program and further realizes the following steps: judging whether the starting point coordinate and the end point coordinate on the enclosing line segment and the enclosing line of the structural floor slab model are on the same plane or not comprises the following steps: respectively combining the start point coordinate and the end point coordinate on the enclosing line section with any two points in the enclosing line of the structural floor slab model to form three vectors; and if the mixed product of the three vectors consisting of any two points in the enclosing line of the starting point coordinate and the structural floor slab model and the mixed product of the three vectors consisting of any two points in the enclosing line of the terminal point coordinate and the structural floor slab model are both 0, determining that the starting point coordinate and the terminal point coordinate on the enclosing line section and the enclosing line of the structural floor slab model are on the same plane.
The processor executes the program and further realizes the following steps: judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are in the enclosing line of the structural floor slab model or not comprises the following steps: judging whether the starting point coordinates and the end point coordinates on the enclosing line segments are on the enclosing line of the structural floor slab model or not; if the starting point coordinate and the end point coordinate on the enclosing and joining line section are not on the enclosing and joining line of the structural floor slab model, calculating the number of intersection points of a ray taking the starting point coordinate on the enclosing and joining line section as a starting point and any side of the enclosing and joining line of the structural floor slab model, and the number of intersection points of a ray taking the end point coordinate on the enclosing and joining line section as a starting point and any side of the enclosing and joining line of the structural floor slab model; if the number of the intersection points of the ray taking the starting point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model is even, the number of the intersection points of the ray taking the ending point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model is even, the starting point coordinate and the ending point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: generating a structural floor model according to a simulated floor in building design software, wherein the simulated floor is a floor which is drawn in advance and used as a reference for generating the structural floor model; and if the simulated floor slab is provided with the hole, determining whether the hole corresponding to the simulated floor slab is added to the structural floor slab model or not according to the enclosing and closing line section of the hole in the simulated floor slab.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: determining whether to add a hole in the structural floor slab model according to the enclosing and closing line section of the hole in the simulated floor slab comprises the following steps: determining a starting point coordinate and an end point coordinate on a line segment of a closed line of the opening on the simulated floor slab; judging whether the starting point coordinates and the end point coordinates on the enclosing line segment are in the enclosing line of the structural floor slab model; and if the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model, adding a hole corresponding to the simulated floor slab on the structural floor slab model.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: prior to determining whether the start and end coordinates on the box line segment are within the box line of the structural floor model, the method further comprises: judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model; and if the starting point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model, judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are in the enclosing line of the structural floor slab model.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: judging whether the starting point coordinate and the end point coordinate on the enclosing line segment and the enclosing line of the structural floor slab model are on the same plane or not comprises the following steps: respectively combining the start point coordinate and the end point coordinate on the enclosing line section with any two points in the enclosing line of the structural floor slab model to form three vectors; and if the mixed product of the three vectors consisting of any two points in the enclosing line of the starting point coordinate and the structural floor slab model and the mixed product of the three vectors consisting of any two points in the enclosing line of the terminal point coordinate and the structural floor slab model are both 0, determining that the starting point coordinate and the terminal point coordinate on the enclosing line section and the enclosing line of the structural floor slab model are on the same plane.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are in the enclosing line of the structural floor slab model or not comprises the following steps: judging whether the starting point coordinates and the end point coordinates on the enclosing line segments are on the enclosing line of the structural floor slab model or not; if the starting point coordinate and the end point coordinate on the enclosing and joining line section are not on the enclosing and joining line of the structural floor slab model, calculating the number of intersection points of a ray taking the starting point coordinate on the enclosing and joining line section as a starting point and any side of the enclosing and joining line of the structural floor slab model, and the number of intersection points of a ray taking the end point coordinate on the enclosing and joining line section as a starting point and any side of the enclosing and joining line of the structural floor slab model; if the number of the intersection points of the ray taking the starting point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model is even, the number of the intersection points of the ray taking the ending point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model is even, the starting point coordinate and the ending point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for generating a structural floor model in building design software is characterized by comprising the following steps:
generating a structural floor model according to a simulated floor in building design software, wherein the simulated floor is a floor which is drawn in advance and used as a reference for generating the structural floor model;
and if the simulated floor slab is provided with the hole, determining whether the hole corresponding to the simulated floor slab is added to the structural floor slab model or not according to the enclosing and closing line section of the hole in the simulated floor slab.
2. The method of claim 1, wherein determining whether to add an opening to the structural floor model based on the box line segment of the opening in the simulated floor comprises:
determining a starting point coordinate and an end point coordinate on a line segment of a closed line of the opening on the simulated floor slab;
judging whether the starting point coordinates and the end point coordinates on the enclosing line segment are in the enclosing line of the structural floor slab model;
and if the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model, adding a hole corresponding to the simulated floor slab on the structural floor slab model.
3. The method of claim 2, wherein prior to determining whether the start and end coordinates on the line segment are within the line of containment of the structural floor model, the method further comprises:
judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model;
and if the starting point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model, judging whether the starting point coordinate and the end point coordinate on the enclosing line segment are in the enclosing line of the structural floor slab model.
4. A method according to claim 3, wherein determining whether the start and end coordinates on the line segment are in the same plane as the line of the structural floor model comprises:
respectively combining the start point coordinate and the end point coordinate on the enclosing line section with any two points in the enclosing line of the structural floor slab model to form three vectors;
and if the mixed product of the three vectors consisting of any two points in the enclosing line of the starting point coordinate and the structural floor slab model and the mixed product of the three vectors consisting of any two points in the enclosing line of the terminal point coordinate and the structural floor slab model are both 0, determining that the starting point coordinate and the terminal point coordinate on the enclosing line section and the enclosing line of the structural floor slab model are on the same plane.
5. The method of claim 3, wherein determining whether the start and end coordinates on the line segment are within the line of the structural floor model comprises:
judging whether the starting point coordinates and the end point coordinates on the enclosing line segments are on the enclosing line of the structural floor slab model or not;
if the starting point coordinate and the end point coordinate on the enclosing and joining line section are not on the enclosing and joining line of the structural floor slab model, calculating the number of intersection points of a ray taking the starting point coordinate on the enclosing and joining line section as a starting point and any side of the enclosing and joining line of the structural floor slab model, and the number of intersection points of a ray taking the end point coordinate on the enclosing and joining line section as a starting point and any side of the enclosing and joining line of the structural floor slab model;
if the number of the intersection points of the ray taking the starting point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model is even, the number of the intersection points of the ray taking the ending point coordinate on the enclosing line section as the starting point and any side of the enclosing line of the structural floor slab model is even, the starting point coordinate and the ending point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model.
6. An apparatus for generating a model of a structural floor in architectural design software, comprising:
the system comprises a generating unit, a generating unit and a control unit, wherein the generating unit is used for generating a structural floor model according to a simulated floor in the building design software, wherein the simulated floor is a floor which is drawn in advance and is used as a reference for generating the structural floor model;
and the determining unit is used for determining whether to add the hole corresponding to the simulated floor slab on the structural floor slab model according to the enclosing and closing line section of the hole on the simulated floor slab under the condition that the hole is designed on the simulated floor slab.
7. The apparatus of claim 6, wherein the determining unit further comprises:
the first determining module is used for determining a starting point coordinate and an end point coordinate on a line segment of a closed line of the opening in the simulated floor slab;
the first judgment module is used for judging whether the start point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model;
and the processing module is used for adding a hole corresponding to the simulated floor slab on the structural floor slab model under the condition that the starting point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model.
8. The apparatus of claim 7, further comprising:
the first judgment unit is used for judging whether the start point coordinate and the end point coordinate on the enclosing line section are on the same plane with the enclosing line of the structural floor slab model before judging whether the start point coordinate and the end point coordinate on the enclosing line section are in the enclosing line of the structural floor slab model;
and the execution unit is used for judging whether the start point coordinate and the end point coordinate on the enclosing line segment are in the enclosing line of the structural floor slab model under the condition that the start point coordinate and the end point coordinate on the enclosing line segment are on the same plane with the enclosing line of the structural floor slab model.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program performs the method of any one of claims 1 to 5.
10. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 5.
CN202011198064.9A 2020-10-30 2020-10-30 Method and device for generating structural floor slab model in building design software Active CN112329102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011198064.9A CN112329102B (en) 2020-10-30 2020-10-30 Method and device for generating structural floor slab model in building design software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011198064.9A CN112329102B (en) 2020-10-30 2020-10-30 Method and device for generating structural floor slab model in building design software

Publications (2)

Publication Number Publication Date
CN112329102A true CN112329102A (en) 2021-02-05
CN112329102B CN112329102B (en) 2022-10-25

Family

ID=74323936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011198064.9A Active CN112329102B (en) 2020-10-30 2020-10-30 Method and device for generating structural floor slab model in building design software

Country Status (1)

Country Link
CN (1) CN112329102B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207110052U (en) * 2017-07-14 2018-03-16 天水大成精工制造有限公司 The stair concatenation module of Box Modular Building
CN207863470U (en) * 2018-01-31 2018-09-14 山西四建集团有限公司 A kind of stair beam bottom mother plate device for clearing up sundries
CN109815568A (en) * 2019-01-10 2019-05-28 中国建筑第七工程局有限公司 A method of protective device is added based on the model automatic identification hole BIM
US20190251209A1 (en) * 2018-02-09 2019-08-15 Guangzhou University Method for Automatic Modeling of an Architecture Based on an Architectural Drawing
CN111079263A (en) * 2019-11-22 2020-04-28 久瓴(上海)智能科技有限公司 Building main body structure generation method and device, computer equipment and storage medium
CN111324922A (en) * 2020-01-23 2020-06-23 久瓴(上海)智能科技有限公司 Method and device for generating floor tile model, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207110052U (en) * 2017-07-14 2018-03-16 天水大成精工制造有限公司 The stair concatenation module of Box Modular Building
CN207863470U (en) * 2018-01-31 2018-09-14 山西四建集团有限公司 A kind of stair beam bottom mother plate device for clearing up sundries
US20190251209A1 (en) * 2018-02-09 2019-08-15 Guangzhou University Method for Automatic Modeling of an Architecture Based on an Architectural Drawing
CN109815568A (en) * 2019-01-10 2019-05-28 中国建筑第七工程局有限公司 A method of protective device is added based on the model automatic identification hole BIM
CN111079263A (en) * 2019-11-22 2020-04-28 久瓴(上海)智能科技有限公司 Building main body structure generation method and device, computer equipment and storage medium
CN111324922A (en) * 2020-01-23 2020-06-23 久瓴(上海)智能科技有限公司 Method and device for generating floor tile model, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
占文峰等: "建筑结构楼板开洞部位分析及加强措施", 《江西科学》 *

Also Published As

Publication number Publication date
CN112329102B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN107656759B (en) Rendering method and device for user interface
CN107608609B (en) Event object sending method and device
CN111744199B (en) Image processing method and device, computer readable storage medium and electronic equipment
CN117406982B (en) Integrated storage and calculation application generation system and method, storage medium and equipment
CN103632237A (en) Method and device for implementing organization and authority management
CN105183622A (en) Log processing method and device based on Android system
CN111695827A (en) Business process management method and device, electronic equipment and storage medium
CN110908707A (en) Resource packaging method, device, server and storage medium
CN109426513A (en) A kind of processing method and equipment of view component
CN110941934A (en) FPGA prototype verification development board segmentation simulation system, method, medium and terminal
CN112329102B (en) Method and device for generating structural floor slab model in building design software
CN114120100A (en) Remote sensing target detection processing method and device
US20170140839A1 (en) Address translation stimuli generation for post-silicon functional validation
CN110930520B (en) Semantic segmentation labeling method, device and equipment
CN112732252A (en) Method and device for dynamically generating UI (user interface) and electronic equipment
CN105184641A (en) Interactive processing method and device
CN109684846A (en) A kind of file extraction method and device
CN104239199A (en) Virtual robot generation method, automatic test method and related device
CN105094773B (en) The method for reusing and system of functions of modules
CN114253845A (en) Automatic testing method and device for special-shaped architecture integration system
CN114116485A (en) Automatic test method and device for CAD software, storage medium and processor
CN114092932A (en) Method and device for identifying chamfered surface, electronic equipment and storage medium
CN113419952A (en) Cloud service management scene testing device and method
CN110286909B (en) Statistical method and device for resource use data of Simulink model
CN111324368A (en) Data sharing method and server

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
GR01 Patent grant
GR01 Patent grant