CN110020502A - The generation method and device of floor plan - Google Patents
The generation method and device of floor plan Download PDFInfo
- Publication number
- CN110020502A CN110020502A CN201910321532.8A CN201910321532A CN110020502A CN 110020502 A CN110020502 A CN 110020502A CN 201910321532 A CN201910321532 A CN 201910321532A CN 110020502 A CN110020502 A CN 110020502A
- Authority
- CN
- China
- Prior art keywords
- wall
- middle line
- line
- wall middle
- line segment
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000013461 design Methods 0.000 claims abstract description 99
- 238000010276 construction Methods 0.000 claims abstract description 48
- 238000013519 translation Methods 0.000 claims description 48
- 238000010586 diagram Methods 0.000 claims description 15
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000009428 plumbing Methods 0.000 claims description 4
- 238000012216 screening Methods 0.000 claims description 4
- 239000013589 supplement Substances 0.000 claims description 3
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000009434 installation Methods 0.000 description 4
- 239000000919 ceramic Substances 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 241001465382 Physalis alkekengi Species 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000005498 polishing Methods 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Architecture (AREA)
- Civil Engineering (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Residential Or Office Buildings (AREA)
Abstract
The present invention provides a kind of generation method of floor plan and devices, are related to house ornamentation construction drawing technical field.This method comprises: determining that wall information, wall information include two extreme coordinates of thickness of wall body, wall middle line according to Size Dwelling Design data;Wall middle line connection relationship is determined according to the two of wall middle line extreme coordinates;The first wall middle line is zoomed in and out according to thickness of wall body, obtains the surface line segment of the first wall, the first wall middle line is any one the wall middle line for including in Size Dwelling Design data;The redundancy line segment of junction is adjusted according to the surface line segment of wall middle line connection relationship and the first wall, obtain the floor plan with Size Dwelling Design Data Matching, the surface line segment intersected for the first wall with the second wall at wall connecting, the second wall is the wall for having connection relationship with the first wall.The invention realizes the floor plan that construction usage is automatically generated based on Size Dwelling Design data, improves the drafting efficiency and accuracy rate of construction floor plan.
Description
Technical field
The present invention relates to home improvement arts, more particularly, to the generation method and device of a kind of floor plan.
Background technique
Currently, house decoration mainly includes two links of design and construction, house ornamentation designer is good using house ornamentation software design
After specific decorating scheme, the corresponding construction drawing of manual drawing is needed, consuming time is long, and construction drawing content is complicated, holds
Drawing careless omission is tended to have, therefore, how according to Size Dwelling Design data, the floor plan used when quick and precisely generating construction becomes needs
Consider the problems of.
Summary of the invention
In view of this, construction can be improved the purpose of the present invention is to provide a kind of generation method of floor plan and device
The drafting efficiency and accuracy rate of floor plan.
In a first aspect, the embodiment of the invention provides a kind of generation methods of floor plan, comprising:
Wall information is determined according to Size Dwelling Design data, and the wall information includes thickness of wall body, two of wall middle line
Extreme coordinates;
Wall middle line connection relationship is determined according to the two of wall middle line extreme coordinates;
The first wall middle line is zoomed in and out according to thickness of wall body, obtains the surface line segment of the first wall, first wall
Body middle line is any one the wall middle line for including in the Size Dwelling Design data;
The redundancy line segment of junction is adjusted according to the surface line segment of the wall middle line connection relationship and first wall,
The floor plan with the Size Dwelling Design Data Matching is obtained, is intersected for first wall with the second wall at the wall connecting
Surface line segment, second wall is the wall for having connection relationship with first wall.
Second aspect, the embodiment of the invention provides a kind of generating means of floor plan, comprising:
Screening module, for determining that wall information, the wall information include thickness of wall body, wall according to Size Dwelling Design data
Two extreme coordinates of body middle line;
First computing module, for determining wall middle line connection relationship according to two extreme coordinates of wall middle line;
Zoom module obtains the surface line of the first wall for zooming in and out according to thickness of wall body to the first wall middle line
Section, the first wall middle line are any one the wall middle line for including in the Size Dwelling Design data;
Second computing module, for being adjusted according to the surface line segment of the wall middle line connection relationship and first wall
The redundancy line segment of junction obtains the floor plan with the Size Dwelling Design Data Matching, is described first at the wall connecting
The surface line segment that wall intersects with the second wall, second wall are the wall for having connection relationship with first wall;
Third computing module, for obtaining the interior wall length of the floor plan, and it is high according to the interior wall length and wall
Degree generates wall plane construction drawing.
The embodiment of the present invention brings following the utility model has the advantages that the present invention provides a kind of generation method of floor plan and dresses
It sets.This method comprises: determining that wall information, wall information include thickness of wall body, wall middle line according to Size Dwelling Design data first
Two extreme coordinates;Wall middle line connection relationship is determined further according to two extreme coordinates of wall middle line;Then according to wall
Thickness zooms in and out the first wall middle line, obtains the surface line segment of the first wall, and the first wall middle line is Size Dwelling Design data
In include any one wall middle line;It is finally adjusted and is connected according to the surface line segment of wall middle line connection relationship and the first wall
The redundancy line segment at place obtains the floor plan with Size Dwelling Design Data Matching, is the first wall and the second wall phase at wall connecting
The surface line segment of friendship, the second wall are the wall for having connection relationship with the first wall.This method is screened from Size Dwelling Design data
Wall information out obtains wall middle line connection relationship based on two extreme coordinates of wall middle line in wall information, further according to wall
Thickness zooms in and out the floor plan for generating and using when construction to wall middle line, applies to realize and be automatically generated based on Size Dwelling Design data
The floor plan that work uses improves the drafting efficiency and accuracy rate of construction floor plan.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims
And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of generation method flow chart of floor plan provided in an embodiment of the present invention;
Fig. 2 a, Fig. 2 b, Fig. 2 c and Fig. 2 d are that a kind of wall middle line provided in an embodiment of the present invention scales process schematic;
Fig. 3 a, Fig. 3 b, Fig. 3 c and Fig. 3 d are a kind of wall optimization process schematic diagram provided in an embodiment of the present invention;
Fig. 4 a and Fig. 4 b are a kind of generating process schematic diagram of floor plan provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of floor plan for adding wall size provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of the floor plan of addition door and window provided in an embodiment of the present invention;
Fig. 7 is a kind of wall middle line connection relationship diagram provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram before a kind of wall middle line translation provided in an embodiment of the present invention;
Fig. 9 is the schematic diagram after a kind of wall middle line translation provided in an embodiment of the present invention;
Figure 10 is a kind of three dimensional design figure of floor plan provided in an embodiment of the present invention;
Figure 11 a and Figure 11 b are a kind of wall plane construction drawing provided in an embodiment of the present invention;
Figure 12 is a kind of generating means structural schematic diagram of floor plan provided in an embodiment of the present invention;
Figure 13 is electronic devices structure figure provided in an embodiment of the present invention.
Icon: the 6th wall middle line of 11-;The 7th wall middle line of 12-;The 8th wall middle line of 13-;The 9th wall middle line of 14-;
The tenth wall middle line of 15-;The 11st wall middle line of 16-;21- screening module;The first computing module of 22-;23- Zoom module;24-
Second computing module;25- third computing module;4- electronic equipment;41- processor;42- memory;43- communication interface;44- is total
Line.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, house ornamentation designer needs manual drawing corresponding using after the good specific decorating scheme of house ornamentation software design
Construction drawing, consuming time is long, and construction drawing content is complicated, has been easy careless omission of drawing.It is complicated due to being designed in house ornamentation design,
Wall quantity is relatively more, and there is only the corresponding information of wall middle line in Size Dwelling Design data.It is fast to construction drawing for response designer
Demand derived from speed, and because construction drawing needs to draw elevation, it is necessary to the inner surface length of each face wall in each room is calculated,
For drawing interior wall plan view, to realize the accurate positioning of switch, socket and admission port etc..Therefore, how to be set according to house type
It counts and the floor plan used when construction and wall plane construction drawing quickly is calculated, become urgent problem to be solved.
Based on this, a kind of generation method and device of floor plan provided in an embodiment of the present invention, from Size Dwelling Design data
Wall information is filtered out, obtains wall middle line connection relationship, then root based on two extreme coordinates of wall middle line in wall information
The floor plan for generating and using when construction is zoomed in and out to wall middle line according to wall thickness, to realize automatic based on Size Dwelling Design data
The floor plan for generating construction usage improves the drafting efficiency and accuracy rate of construction floor plan.
For convenient for understanding the present embodiment, first to a kind of house type map generalization side disclosed in the embodiment of the present invention
Method describes in detail.
Embodiment one:
The embodiment of the invention provides a kind of generation methods of floor plan, as shown in Figure 1, method includes the following steps:
S101: determining wall information according to Size Dwelling Design data, and wall information includes thickness of wall body, two of wall middle line
Extreme coordinates.
Size Dwelling Design data include the location information and each room of room number, wall number, wall information, door and window
Between corresponding furniture installation information etc..Each wall has number, and the wall of each number blocks up continuous and do not have angle for one
The wall of variation is spent, as shown in Figure 2 a, wall middle line 1 is the middle line of wall 1, and wall 1 and the wall on right side have connection, by right side
Wall is divided into wall 2 and wall 3.The location information of door and window includes the dimension information of door and window itself, there are also door and
The location information of window corresponding wall number and door and window in locating wall.
When needing from plane floor plan (for example, CAD diagram paper) of Size Dwelling Design data export construction usage, set from house type
Wall information is filtered out in counting, wall information includes two extreme coordinates of thickness of wall body, wall middle line.Wall middle line is
Among wall, and it is parallel to the line segment of exterior surface of wall and inner surface.Two extreme coordinates of wall middle line can be used
((x1, y1), (x2, y2)) is indicated.
S102: wall middle line connection relationship is determined according to the two of wall middle line extreme coordinates.
When two walls are adjacent, there are shared extreme coordinates, it, can be with according to the coordinate of the two of wall middle line endpoints
The coordinate for determining the wall middle line and shared endpoint with connection relationship, may further generate in all walls in coordinate system
Line, to obtain the connection relationship of all wall middle lines in floor plan.
As a preferred method, above-mentioned steps S102 specifically includes the following steps:
S1021, the first end point for obtaining the first wall middle line, first end point are any one end of the first wall middle line
Point.
Select any one wall middle line as the first wall middle line, the first wall obtains any one of the first wall middle line
A endpoint is as first end point.
S1022, at least one second wall middle line from Size Dwelling Design data search with first end point.
The first end point coordinate phase with the first wall middle line in step S1021 is found out from the wall information of house type data
The second same wall middle line.
The endpoint of at least one the second wall middle line is first end point if it exists, then the first wall and other walls (such as the
Two walls) there are connection relationship, exclude the possibility that the first wall is house type internal independence wall.Second wall middle line if it does not exist
Endpoint be first end point, then the first wall be house type internal independence wall.
S1023, the connection relationship for establishing the first wall middle line, first end point and the second wall middle line, the first wall middle line
For any one the wall middle line for including in Size Dwelling Design data.
Using any one wall middle line in house type as the first wall middle line, and according to the first wall middle line and the second wall
Two extreme coordinates of body middle line, generate the connection of the first wall middle line, first end point and the second wall middle line in a coordinate system
Relationship.Traversing each wall in house type can then generate in house type as the first wall middle line in the corresponding position of coordinate system
The wall middle line of each face wall, to obtain the floor plan being made of wall middle line.
As another preferred embodiment, above-mentioned steps S102 specifically includes the following steps:
S1024, the beginning and end that the first wall middle line is determined according to two endpoints of the first wall middle line.
Select any one wall middle line as the first wall middle line from Size Dwelling Design data, in two-dimensional coordinate system,
Using one of extreme coordinates of the first wall middle line as starting point, the coordinate of another endpoint is as terminal.
S1025, the middle line vector that the first wall middle line is generated according to beginning and end.
According to the beginning and end of the first wall middle line, the middle line vector of the first wall middle line is generated.
S1026, the house type polar plot that Size Dwelling Design data are generated according to middle line vector each in Size Dwelling Design data.
Wall middle line all in Size Dwelling Design data is traversed as the first wall middle line, by the wall middle line of all walls
Line vector in generating in same two-dimensional coordinate system generates house type polar plot according to the middle line vector of all wall middle lines.
S1027, wall middle line connection relationship is determined according to house type polar plot.
According to the middle line vector of wall middle line each in house type polar plot, two middle lines arrow of shared endpoint can be determined
The included angle of amount.
S103: the first wall middle line is zoomed in and out according to thickness of wall body, obtains the surface line segment of the first wall, the first wall
Body middle line is any one the wall middle line for including in Size Dwelling Design data.
Select any one wall middle line as the first wall middle line from Size Dwelling Design data, according to the wall of the first wall
Body thickness determines default translation distance.Such as default translation distance can be the half of thickness of wall body.
Line vector in first wall middle line corresponding first is put down along preset direction to the two sides of line vector in first respectively
Default translation distance is moved, the outer surface line segment and inner surface line segment of the first wall are obtained.Line vector is house type polar plot in first
In the corresponding vector representation of the first wall middle line, preset direction be direction vertical with line vector in first in coordinate plane.
Specifically, when being zoomed in and out to the first wall middle line, can be numbered according to wall from Size Dwelling Design data according to
Secondary selection wall middle line, can also the wall middle line of the first outermost profile wall to house type zoom in and out, then to the wall of internal wall
Body middle line zooms in and out.The inquiry mode of outermost profile wall can be with are as follows: find out in Size Dwelling Design data extreme coordinates near
The wall middle line of the nearly longitudinal axis (horizontal axis value is minimum).And in the wall middle line near the longitudinal axis, select near horizontal axis (longitudinal axis value
It is minimum) wall middle line endpoint as inquiry starting point (in plane right-angle coordinate, horizontal number axis is called x-axis or horizontal axis,
Vertical number axis is called y-axis or the longitudinal axis).Since inquiring the wall middle line a where starting point, according to direction counterclockwise, search
With wall middle line a close to the maximum wall middle line b of X direction angle, it is by wall middle line a and the shared endpoint of wall middle line b
The starting point of wall middle line b, another endpoint of wall middle line b are terminal.Again using wall middle line b as inquiry starting point, lookup and wall
The maximum wall middle line c of angle (if right side does not have wall middle line, it is minimum to search angle on the left of wall middle line b on the right side of body middle line b
Wall middle line as wall middle line c), the starting point for being wall middle line c by the shared endpoint of wall middle line b and wall middle line c, wall
Another endpoint of body middle line c is terminal.Again using wall middle line c as inquiry starting point, according to the method described above in a counterclockwise direction, directly
To wall middle line a is found again, then the outermost profile wall of house type can be found out.The querying method of internal wall are as follows: successively
Searching has the non-outermost profile wall for sharing endpoint with outermost profile wall, and according to directly connecting with outermost profile wall
Internal wall searches the inside wall not being directly connected to outermost profile wall, until finding all inside walls.
Illustratively, the wall middle line 1-3 in Fig. 2 a is zoomed in and out, makes wall by wall middle line 1-3 as shown in Figure 2 a
The corresponding middle line vector 1 of middle line 1 translates preset translation distance to the both direction perpendicular to middle line vector 1 respectively, preset
Translation distance is the half of thickness of wall body.The Zoom method of wall middle line 2 and wall middle line 3 is identical as wall middle line 1, in wall
The surface line segment of wall 1-3 is obtained after line 1-3 scaling, as shown in Figure 2 b.Wall middle line 4-5 as shown in Figure 2 c, will be in wall
Line 4 and wall middle line 5 obtain the surface line segment of wall 4 and wall 5 after scaling, as shown in Figure 2 d.
S104: the redundancy line segment of junction is adjusted according to the surface line segment of wall middle line connection relationship and the first wall, is obtained
To the floor plan with Size Dwelling Design Data Matching, the surface line segment intersected for the first wall with the second wall at wall connecting, the
Two walls are the wall for having connection relationship with the first wall.
Angle according to the determination of house type polar plot with line vector in the first middle line vector sum second of connection relationship, second
Middle line vector be with first in line vector have middle line connection relationship vector.When the first wall middle line and the second wall middle line have
When common end, determine that line vector is corresponding with the second wall middle line in the first wall middle line corresponding first according to house type polar plot
Second in included angle between line vector.
It, will according to wall middle line connection relationship if the angle of line vector is not 180 degree in the first middle line vector sum second
The missing of the outer surface line segment and inner surface line segment of first wall and the outer surface line segment of the second wall and inner surface line segment intersection
Part supplements complete, redundance deletion, the floor plan of acquisition and Size Dwelling Design Data Matching.Redundance are as follows: the first wall
Outer surface line segment and inner surface line segment be in the part between the outer surface line segment and inner surface line segment of the second wall, and/or
The outer surface line segment and inner surface line segment of second wall are in the portion between the outer surface line segment and inner surface line segment of the first wall
Point;Lack part are as follows: the outer surface line segment or inner surface line segment of the first wall and the outer surface line segment or inner surface of the second wall
The part that line segment does not intersect.Illustratively, by the interior table of the outer surface of the wall 1 in Fig. 3 a and inner surface and wall 2, wall 3
The line segment of face intersection interrupts, and removes unwanted line segment, and the line segment in no connection is supplemented to complete wall after being optimized
Body, as shown in Figure 3b.The line segment that the inner surface of wall 4 intersects with the inner surface of wall 5 in Fig. 3 c is interrupted, by the outer of wall 4
The line segment polishing on surface and the outer surface of wall 5 missing, the wall after being optimized are as shown in Figure 3d.
Since line vector has common endpoint in the first middle line vector sum second, if first the second middle line of middle line vector sum is sweared
The angle of amount is 180 degree, then in the first middle line vector sum second line vector point-blank, the outer surface line segment of the first wall
And inner surface line segment is mutually connected with the outer surface line segment of the second wall and inner surface line segment.
Illustratively, a certain Size Dwelling Design data are set in the plane floor plan for needing to generate construction usage according to house type
Count the wall middle line connection relationship of extreme coordinates foundation of middle wall middle line as shown in fig. 4 a.It will be each according to thickness of wall body
After wall middle line scaling, outer surface and the inner surface of each wall are obtained, the redundancy line segment of junction is adjusted, interrupts extra wall
Body, after the wall for supplementing missing, obtained floor plan is as shown in Figure 4 b.
The above method as a preferred method, further include:
S105: the coordinate of two endpoints of wall middle line is obtained;According to the coordinate of two endpoints, wall is added in floor plan
The dimension information of wall represented by body middle line.
The coordinate that two endpoints of wall middle line are obtained from Size Dwelling Design data, according to the coordinate of two endpoints of wall middle line
The length of each wall middle line can be calculated, and the length information of each wall middle line is added to step S104 acquisition
In floor plan on corresponding wall middle line.Illustratively, as shown in figure 5, by the size and thickness of wall body of wall middle line, addition exists
The size of floor plan is indicated in floor plan.
The above method as a preferred method, further include:
S106: the location information of door and window in Size Dwelling Design data is obtained;According to the location information of door and window, at family
Corresponding position addition door and window in type figure.
The dimension information and location information of door and window itself are obtained from Size Dwelling Design data, and door and window are added
On the corresponding position in floor plan obtained to step S104.
Illustratively, according to the door and window position information in Size Dwelling Design data, door and window are added to floor plan
In, and the size and location of door and window are added in floor plan, as shown in Figure 6.
The above method as a preferred method, further include:
S107: the interior wall length of floor plan is calculated, and wall plane construction drawing is generated according to interior wall length and wall height.
The specific embodiment of above-mentioned steps S107 as a preferred method, can refer to following steps 1~6:
Step 1: determine room information according to Size Dwelling Design data, room information include the corresponding wall information in room, with
And the wall middle line information of each wall.
Size Dwelling Design data include the location information and each room of room number, wall number, wall information, door and window
Between corresponding furniture installation information etc..The room information in each room can be filtered out according to Size Dwelling Design data.Room information
The wall middle line information of the wall number and each wall of all walls for being included including a certain room.
Step 2: wall middle line connection relationship is determined according to the corresponding wall information in room and wall middle line information.
Wall middle line information includes the coordinate of two endpoints of wall middle line, is numbered according to the wall that each room includes and every
The wall middle line information of one face wall determines the connection relationship of the wall middle line in room in plane right-angle coordinate.If two walls
Body middle line has public extreme coordinates, then the two walls have joining relation, and finding out from the wall that room includes has
The wall two-by-two of connection relationship, and according to the coordinate of wall middle line, room can be generated in plane right-angle coordinate includes
The corresponding wall middle line of wall, to obtain the connection relationship for the corresponding wall middle line of all walls that room includes.
It is determined in above-mentioned steps 2 according to the corresponding wall information in room and wall middle line information as a preferred method,
The specific embodiment of wall middle line connection relationship can refer to following steps (1)~(3):
Step (1): according to the first end point and the second endpoint of the 6th wall middle line of wall middle line acquisition of information, the 6th wall
Middle line is any one the wall middle line for including in Size Dwelling Design data;First end point is one of end of the 6th wall middle line
Point;Second endpoint is another endpoint of the 6th wall middle line.
The corresponding wall middle line of any one wall in Size Dwelling Design data is chosen, two of the 6th wall middle line are obtained
Extreme coordinates, and taking any one endpoint therein is first end point, another endpoint is the second endpoint.
Step (2): according to the corresponding wall information in room and wall middle line information, the 7th wall with first end point is searched
Body middle line and the 8th wall middle line with the second endpoint, the 6th wall middle line, the 7th wall middle line and the 8th wall middle line pair
It should be the room number that the 6th wall middle line corresponds to wall number place in the wall number that the first room includes, the first room.
According to corresponding the 6th wall of wall information searching in each room, (the 6th wall is above-mentioned 6th wall middle line place
Wall) corresponding room number is the first room, the first room is indicated with number A, and in the room information of room A,
The 7th wall middle line for sharing first end point with the 6th wall middle line is searched, and shares the second endpoint with the 6th wall middle line
8th wall middle line.Wherein, A corresponding wall information in room includes the 6th wall, the 7th wall where the 6th wall middle line
The 7th wall where middle line and the 8th wall where the 8th wall middle line.
Step (3): the 6th wall middle line, first end point and the 7th wall middle line and the 6th wall in the first room are established
The connection relationship of body middle line, the second endpoint and the 8th wall middle line.
The 7th wall middle line and the 8th being connected in the first room with the 6th wall middle line is found out according to above-mentioned steps
After wall middle line, obtain the wall middle line connection relationship in the first room, wherein the 6th wall middle line by first end point with
7th wall middle line is connected, and the 6th wall middle line is connected by the second endpoint with the 8th wall middle line.
Further, can be using the 7th wall middle line in the first room as the 6th new wall middle line, and then find out
The 7th new wall middle line and the 8th new wall middle line being connected with the 6th new wall middle line, to obtain the first room
All wall middle lines between connection relationship.
It can also be other embodiments, it can be raw according to the both ends coordinate of wall middle line in plane right-angle coordinate
Corresponding wall middle line is numbered at all walls that the first room includes, thus between all wall middle lines in the first room of acquisition
Connection relationship.
Illustratively, the first room is indicated with room A, as shown in fig. 7, the corresponding wall information of room A (namely room
The wall number that A includes) it is the 6th wall, the 7th wall, the 8th wall, the 9th wall, the tenth wall and the 11st wall, phase
It answers, the corresponding wall middle line of the wall that room A includes is indicated with 11-16 respectively.Obtaining room A respectively includes wall
Two extreme coordinates of wall middle line, as shown in fig. 7, the of the 6th wall middle line 11 (the namely wall middle line of the 6th wall)
1. end point is with indicating, 2. the second endpoint is with indicating.Searching has the wall middle line of shared endpoint with the 6th wall middle line 11, and the 6th
1. wall middle line 11 and the 7th wall middle line 12 (the namely wall middle line of the 7th wall) share first end point, in the 6th wall
2. line 11 and the 8th wall middle line 13 (the namely wall middle line of the 8th wall) share first end point.Correspondingly, according to wall
Middle line information, in the wall that A includes from room, successively search have with 12 to the 11st wall middle line 16 of the 7th wall middle line it is shared
The wall middle line of endpoint, the connection relationship that can be obtained between the wall middle line of room A are as shown in Figure 7.
Step 3: translation direction being determined according to wall middle line connection relationship, by the corresponding wall middle line in room along translation direction
It is translated, obtains wall-body energy saving line segment.
The profile in room is obtained according to the wall middle line connection relationship in above-mentioned first room, the translation direction of wall middle line is
With wall median perpendicular, and it is directed toward the direction inside room, the direction inside room can be according to the connection relationship of wall middle line
It determines.For example, the 6th wall middle line is connect with the 7th wall middle line and the 8th wall middle line in Fig. 7, the 7th wall middle line and
Eight wall middle lines are located at the left side of the 6th wall middle line, then the translation direction of the 6th wall middle line is hanging down along the 6th wall middle line
Line translates to the left.For another example the 9th wall middle line is connect with the 7th wall middle line and the tenth wall middle line, the 7th wall middle line
The lower section of the 9th wall middle line is all located at the tenth wall middle line, then the translation direction of the 9th wall middle line is along the 9th wall
The vertical line of line translates downwards.
Above-mentioned room information further includes the thickness of wall body of each face wall.Correspondingly, according to the thickness of wall, in rectangular co-ordinate
In system, the corresponding wall middle line in room is translated into default translation distance along above-mentioned translation direction.It is specific:
Default translation distance is determined according to thickness of wall body.Illustratively, default translation distance can be the one of thickness of wall body
Half, when wall middle line respectively translates default translation distance to the two sides of line segment, so that it may obtain the wall with thickness of wall body.
The vertical line x1 of the 6th wall middle line is determined at the first end point of the 6th wall middle line or the second extreme coordinates.?
At the first end point coordinate of seven wall middle lines or at another endpoint of the 7th wall middle line, determine in the 7th wall
The vertical line x2 of line.At the second endpoint of the 8th wall middle line or at another endpoint of the 8th wall middle line, determine
The vertical line x3 of 8th wall middle line, as shown in Figure 8.
Vertical line by the 6th wall middle line along the 6th wall middle line presets translation distance to translation on the inside of room, obtains the 6th
Wall-body energy saving line segment.Vertical line by the 7th wall middle line along the 7th wall middle line presets translation distance to translation on the inside of room,
Obtain the 7th wall-body energy saving line segment.8th wall middle line is default flat to translation on the inside of room along the vertical line of the 8th wall middle line
Distance is moved, the 8th wall-body energy saving line segment is obtained.Correspondingly, successively by the wall middle line in room A along the vertical line of wall middle line
Wall-body energy saving line segment to room internal translation pre-determined distance, after obtaining all wall middle lines translation of room A.
Illustratively, as shown in figure 9, by corresponding whole wall middle lines of room A, the vertical line along wall middle line is to room
Internal translation presets translation distance, presets the half that translation distance is thickness of wall body, obtains the inner surface line of room A whole wall
Section.
Step 4: according to the inner surface length of the intersection point calculation wall between wall-body energy saving line segment.
After the inner surface line segment determined according to step 3, it is known that there are intersection points between inner surface line segment.When according to wall
The coordinate of two endpoints of middle line generates wall middle line in the mapping software (for example, CAD mapping software), and according to wall thickness by wall
When middle line translation obtains inner surface line segment, mapping software can be automatic to obtain inner surface line segment according to the inner surface line segment of acquisition
Between intersecting point coordinate.According to the intersection point at inner surface line segment both ends, the inner surface length for obtaining wall can be calculated.
After the wall-body energy saving length for calculating some room according to above-mentioned steps, successively calculated each according to the above method
The wall-body energy saving length of each face wall in room, to calculate the inner surface length of all walls in house type.
Illustratively, as shown in figure 9, the inner surface line segment that obtains after the translation of the 6th wall middle line, with the 7th wall middle line
Inner surface intersection point of line segments after translation is D1, is D2 with the inner surface intersection point of line segments obtained after the translation of the 8th wall middle line, according to
The coordinate of intersection point D1 and D2 can find out the inner surface length (the as length of line segment D1D2) of the 6th wall.
As a preferred embodiment, this method is further comprising the steps of:
Step 5: according to the wall height and inner surface length of walls all in room, obtaining the wall plane of each face wall
Figure.
Size Dwelling Design data further include the information of wall height, high according to the wall-body energy saving length and wall that are calculated
Degree, can be generated the wall plane figure of each face wall in room.
If there is also independent walls in room, be neither connected with the profile wall in room, then it will be in the wall of independent wall
Line is translated to two sides respectively, obtains the both side surface line segment of wall.Since independent wall does not have connection relationship with other walls, then
The both side surface length of independent wall is equal to the length of wall middle line.
Step 6: wall plane construction drawing, wall plane construction drawing packet are obtained according to wall plane figure and Size Dwelling Design data
It includes: socket arrangements figure, illuminant arrangement figure, switch arrangement figure and plumbing diagram.
Due to the designed 3 d effect graph of designer, general only display visual effect does not have dimensioning information, so
It needs to be generated according to wall plane figure from the decorating information obtained in Size Dwelling Design data in room and be added with dimension information
Wall plane construction drawing, wall plane construction drawing is added to the size and location information of all design parts on wall, helps
Improve construction efficiency and accuracy.Size Dwelling Design data are also possible to set either the design data document that designer provides
The corresponding file of the three-dimensional figure counted, this document or document contain all indoor design data, including room information, wall
The placement informations such as door and window, socket, switch, lamps and lanterns and water pipe in information and wall.
The above method can make when directly generating house type decoration construction according to three dimensional design figure corresponding Size Dwelling Design data
Wall plane construction drawing.Illustratively, as shown in Figure 10, by taking two face wall visible in three-dimensional figure as an example, from Size Dwelling Design
Room information is obtained in data, and according to method provided in this embodiment, the wall plane construction drawing of generation, such as Figure 11 a and figure
Shown in 11b.Wherein, the RBA80270 in Figure 11 a and D6FA-A6 respectively indicates the material model of two kinds of ceramic tiles in figure;In Figure 11 b
" Brest -3A " and " Brest -4 " respectively indicate the material models of two kinds of ceramic tiles in figure, be added to a left side in Figure 11 b
The switch of side is at a distance from the wall leftmost side and ground.It also added wall-body energy saving length, door and window in Figure 11 a and Figure 11 b
The arrangement method and size of size and location and ceramic tile.
The embodiment of the invention provides a kind of generation method of floor plan, this method filters out wall from Size Dwelling Design data
Body information obtains wall middle line connection relationship based on two extreme coordinates of wall middle line in wall information, further according to wall thickness pair
Wall middle line zooms in and out the floor plan for generating and using when construction, automatically generates construction based on Size Dwelling Design data to realize
The floor plan used;The wall connecting relationship in each room is determined according to Size Dwelling Design data, and wall middle line is translated and is obtained
Wall-body energy saving line segment after translation calculates the interior table for obtaining wall according to the intersecting point coordinate between wall-body energy saving line segment
Face length generates interior wall plan view using inner wall surface length and wall height, and then can obtain wall plane construction drawing, mentions
High house ornamentation construction efficiency.
Embodiment two:
The embodiment of the invention provides a kind of generating means of floor plan, and as shown in figure 12, which includes:
Screening module 21, for determining that wall information, wall information include thickness of wall body, wall according to Size Dwelling Design data
Two extreme coordinates of middle line.Size Dwelling Design data include the position of room number, wall number, wall information, door and window
Corresponding furniture installation information of information and each room etc..When the plane house type for needing to export construction usage from Size Dwelling Design data
When scheming (for example, CAD diagram paper), wall information is filtered out from Size Dwelling Design data, wall information includes thickness of wall body, in wall
Two extreme coordinates of line.Wall middle line is to be located among wall, and be parallel to the line segment of exterior surface of wall and inner surface.
First computing module 22, for determining wall middle line connection relationship according to two extreme coordinates of wall middle line.When
When two walls are adjacent, there are shared extreme coordinates, according to the coordinate of the two of wall middle line endpoints, can determine has company
The wall middle line of relationship and the coordinate of shared endpoint are connect, all wall middle lines may further be generated in coordinate system, to obtain
Obtain the connection relationship of all wall middle lines in floor plan.The major function of first computing module 22 is to obtain the first wall middle line
First end point, first end point be the first wall middle line any one endpoint.There is first end from Size Dwelling Design data search
At least one second wall middle line of point.The connection relationship of the first wall middle line, first end point and the second wall middle line is established, the
One wall middle line is any one the wall middle line for including in Size Dwelling Design data.
First computing module 22 is it is also possible that determine the starting point of the first wall middle line according to two endpoints of the first wall middle line
And terminal.The middle line vector of the first wall middle line is generated according to beginning and end.According to middle line vector each in Size Dwelling Design data
Generate the house type polar plot of Size Dwelling Design data.Wall middle line connection relationship is determined according to house type polar plot.
Zoom module 23 obtains the surface of the first wall for zooming in and out according to thickness of wall body to the first wall middle line
Line segment, the first wall middle line are any one the wall middle line for including in Size Dwelling Design data.It is selected from Size Dwelling Design data
Any one wall middle line determines default translation distance as the first wall middle line, according to the thickness of wall body of the first wall.Such as
Default translation distance can be the half of thickness of wall body.By line vector in the first wall middle line corresponding first respectively along default side
Default translation distance is translated to the two sides to line vector in first, obtains the outer surface line segment and inner surface line segment of the first wall.
In first line vector be house type polar plot in the corresponding vector representation of the first wall middle line, preset direction be in coordinate plane with
The vertical direction of line vector in first.
Second computing module 24, for adjusting junction according to the surface line segment of wall middle line connection relationship and the first wall
Redundancy line segment, obtain the floor plan with Size Dwelling Design Data Matching, intersect for the first wall with the second wall at wall connecting
Surface line segment, the second wall is the wall for having connection relationship with the first wall.Determine that there is connection to close according to house type polar plot
The angle of line vector in first middle line vector sum second of system, line vector is with line vector in first there is middle line to connect in second
The vector of relationship.When the first wall middle line and the second wall middle line have common end, the first wall is determined according to house type polar plot
Included angle in body middle line corresponding first between line vector and line vector in the second wall middle line corresponding second.If first
The angle of line vector is not 180 degree in middle line vector sum second, then according to wall middle line connection relationship, by the appearance of the first wall
The redundance of the outer surface line segment and inner surface line segment intersection of upper thread section and inner surface line segment and the second wall is deleted, missing portion
Divide supplement complete, obtains the floor plan with Size Dwelling Design Data Matching.
Third computing module 25, for calculating the interior wall length of the floor plan, and according to the interior wall length and wall
Height generates wall plane construction drawing.Third computing module 25 is used to determine room information, room letter according to Size Dwelling Design data
Breath includes the wall middle line information of the corresponding wall information in room and each wall.
Wall middle line connection relationship is determined further according to the corresponding wall information in room and wall middle line information.Wall middle line letter
Breath includes the coordinate of two endpoints of wall middle line, and the wall middle line of the wall number and each face wall that include according to each room is believed
Breath determines the connection relationship of the wall middle line in room in plane right-angle coordinate.
Then, according to the first end point and the second endpoint of the 6th wall middle line of wall middle line acquisition of information, in the 6th wall
Line is any one the wall middle line for including in Size Dwelling Design data;First end point is one of end of the 6th wall middle line
Point;Second endpoint is another endpoint of the 6th wall middle line.Translation direction is determined according to middle line connection relationship, by room pair
The wall middle line answered is translated along translation direction, obtains wall-body energy saving line segment.According to the wall middle line in above-mentioned first room
Connection relationship obtains the profile in room, the translation direction of wall middle line be with wall median perpendicular, and be directed toward the side inside room
To the direction inside room can be determined according to the connection relationship of wall middle line.
Finally, according to the inner surface length of the intersection point calculation wall between wall-body energy saving line segment.Between inner surface line segment
There are intersection points, when the coordinate according to two endpoints of wall middle line is in the middle generation wall of mapping software (for example, CAD mapping software)
Body middle line, and according to wall thickness by wall middle line translate obtain inner surface line segment when, mapping software can be according to the inner surface of acquisition
Line segment, the automatic intersecting point coordinate obtained between inner surface line segment.According to the intersection point at inner surface line segment both ends, acquisition wall can be calculated
The inner surface length of body.
Returning apparatus as a preferred method, further include:
First adding module 26, the coordinate of two endpoints for obtaining wall middle line;According to the coordinate of two endpoints,
The dimension information of wall represented by wall middle line is added in floor plan.Two, wall middle line ends are obtained from Size Dwelling Design data
The coordinate of point, can calculate the length of each wall middle line according to the coordinate of two endpoints of wall middle line, and by each wall
The length information of body middle line is added in floor plan on corresponding wall middle line.
Second adding module 27, for obtaining the location information of door and window in Size Dwelling Design data;According to door and window
Location information, the corresponding position addition door and window in floor plan.Door and window itself are obtained from Size Dwelling Design data
Dimension information and location information, and will door and window addition floor plan in corresponding position on.
Plane module 28 obtains every one side for the wall height and inner surface length according to walls all in room
The wall plane figure of wall.Above-mentioned Size Dwelling Design data further include the information of wall height, according to the wall-body energy saving being calculated
The wall plane figure of each face wall in room can be generated in length and wall height.
Construction module 29, for obtaining wall plane construction drawing, wall according to wall plane figure and Size Dwelling Design data
Plane construction drawing includes: socket arrangements figure, illuminant arrangement figure, switch arrangement figure and plumbing diagram.From Size Dwelling Design data
The decorating information in room is obtained, then wall plane construction drawing can be generated according to wall plane figure.
The device can be direct according to Size Dwelling Design data (for example, the corresponding design data bottom document of three dimensional design figure)
The wall plane construction drawing used when house ornamentation construction is generated, including switch arrangement figure, the socket arrangements figure, illuminant arrangement on wall
Figure and plumbing diagram etc..
The embodiment of the invention provides a kind of generating means of floor plan, the life of the floor plan provided with above-described embodiment one
At method technical characteristic having the same, so also can solve identical technical problem, reach identical technical effect.
Embodiment three:
A kind of electronic equipment provided in an embodiment of the present invention, as shown in figure 13, electronic equipment include processor 41, memory
42, the computer program that can be run on the processor is stored in the memory, the processor executes the calculating
The step of method that above-described embodiment one provides is realized when machine program.
Referring to Figure 13, electronic equipment further include: bus 44 and communication interface 43, processor 41, communication interface 43 and storage
Device 42 is connected by bus 44.Processor 41 is for executing the executable module stored in memory 42, such as computer program.
Wherein, memory 42 may include high-speed random access memory (RAM, Random Access Memory),
It may further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.By at least
One communication interface 43 (can be wired or wireless) realizes the communication between the system network element and at least one other network element
Connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 44 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, data
Bus, control bus etc..Only to be indicated with a four-headed arrow in Figure 13, it is not intended that an only bus convenient for indicating
Or a type of bus.
Wherein, memory 42 is for storing program, and the processor 41 executes the journey after receiving and executing instruction
Sequence, method performed by the device that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can be applied to handle
In device 41, or realized by processor 41.
Processor 41 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor 41 or the instruction of software form.Above-mentioned
Processor 41 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network
Processor (Network Processor, abbreviation NP) etc..It can also be digital signal processor (Digital Signal
Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable
Logical device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in the embodiment of the present invention
Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to appoint
What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing
Device executes completion, or in decoding processor hardware and software module combination execute completion.Software module can be located at
Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally
In the storage medium of field maturation.The storage medium is located at memory 42, and processor 41 reads the information in memory 42, in conjunction with
Its hardware completes the step of above method.
Example IV:
It is provided in an embodiment of the present invention it is a kind of with processor can be performed non-volatile program code it is computer-readable
Medium, the method that said program code makes the processor execute the offer of above-described embodiment one.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. a kind of generation method of floor plan characterized by comprising
Determine that wall information, the wall information include two endpoints of thickness of wall body, wall middle line according to Size Dwelling Design data
Coordinate;
Wall middle line connection relationship is determined according to the two of wall middle line extreme coordinates;
The first wall middle line is zoomed in and out according to thickness of wall body, obtains the surface line segment of the first wall, in first wall
Line is any one the wall middle line for including in the Size Dwelling Design data;
The redundancy line segment that junction is adjusted according to the surface line segment of the wall middle line connection relationship and first wall, obtains
With the floor plan of the Size Dwelling Design Data Matching, the table intersected for first wall with the second wall at the wall connecting
Upper thread section, second wall are the wall for having connection relationship with first wall.
2. the method according to claim 1, wherein further include: obtain the interior wall length of the floor plan, and root
Wall plane construction drawing is generated according to the interior wall length and wall height, is specifically included:
Room information is determined according to Size Dwelling Design data, and the room information includes the corresponding wall information in room and each
The wall middle line information of wall;
Wall middle line connection relationship is determined according to the corresponding wall information in the room and the wall middle line information;
Translation direction is determined according to the wall middle line connection relationship, by the corresponding wall middle line in the room along the translation side
To being translated, wall-body energy saving line segment is obtained;
According to the inner surface length of the intersection point calculation wall between the wall-body energy saving line segment;
According to the wall height of walls all in room and the inner surface length, the wall plane figure of each face wall is obtained;
Wall plane construction drawing, the wall plane construction drawing packet are obtained according to the wall plane figure and Size Dwelling Design data
It includes: socket arrangements figure, illuminant arrangement figure, switch arrangement figure and plumbing diagram.
3. the method according to claim 1, wherein described determine wall according to two extreme coordinates of wall middle line
Body middle line connection relationship, specifically includes:
The first end point of the first wall middle line is obtained, the first end point is any one endpoint of the first wall middle line;
There is at least one second wall middle line of the first end point from the Size Dwelling Design data search;
Establish the connection relationship of the first wall middle line, the first end point and the second wall middle line, first wall
Body middle line is any one the wall middle line for including in the Size Dwelling Design data.
4. the method according to claim 1, wherein described determine wall according to two extreme coordinates of wall middle line
Body middle line connection relationship, specifically includes:
The beginning and end of the first wall middle line is determined according to two endpoints of the first wall middle line;
The middle line vector of the first wall middle line is generated according to the starting point and the terminal;
The house type polar plot of the Size Dwelling Design data is generated according to middle line vector each in the Size Dwelling Design data;
Wall middle line connection relationship is determined according to the house type polar plot.
5. according to the method described in claim 4, it is characterized in that, described contract to the first wall middle line according to thickness of wall body
It puts, obtains the surface line segment of the first wall, the first wall middle line is any one for including in the Size Dwelling Design data
Wall middle line, specifically includes:
Default translation distance is determined according to the thickness of wall body of the first wall;
Line vector in first is translated into the default translation distance to the two sides of line vector in described first along preset direction respectively,
Obtain the outer surface line segment and inner surface line segment of first wall;Line vector is institute in the house type polar plot in described first
The vector representation of the first wall is stated, the preset direction is direction vertical with line vector in described first in coordinate plane.
6. according to the method described in claim 5, it is characterized in that, described according to the wall middle line connection relationship and described
The redundancy line segment of the surface line segment adjustment junction of one wall, obtains the floor plan with the Size Dwelling Design Data Matching, described
The surface line segment intersected for first wall with the second wall at wall connecting, second wall are and first wall
There is the wall of connection relationship, specifically include:
The angle of line vector in the first middle line vector sum second with connection relationship is determined according to the house type polar plot, it is described
In second line vector be with described first in line vector have middle line connection relationship vector;
It, will according to the wall middle line connection relationship if the angle of line vector is not 180 degree in the first middle line vector sum second
The outer surface line segment and inner surface line segment of first wall and the outer surface line segment of the second wall and inner surface line segment intersection it is extra
Part is deleted, and lack part supplement is complete, obtains the floor plan with the Size Dwelling Design Data Matching;
The redundance are as follows: the outer surface line segment and inner surface line segment of the first wall be in the second wall outer surface line segment and
The outer surface line segment and inner surface line segment of part and/or the second wall between inner surface line segment are in the appearance of the first wall
Part between upper thread section and inner surface line segment;
The lack part are as follows: the outer surface line segment or inner surface line segment of the first wall and the outer surface line segment of the second wall are interior
The part that surface line segment does not intersect.
7. according to the method described in claim 2, it is characterized in that, described according to the corresponding wall information in the room and described
Wall middle line information determines wall middle line connection relationship, specifically includes:
According to the first end point and the second endpoint of the 6th wall middle line of wall middle line acquisition of information, the 6th wall middle line
For any one the wall middle line for including in the Size Dwelling Design data;The first end point is its of the 6th wall middle line
In an endpoint;Second endpoint is another endpoint of the 6th wall middle line;
According to the corresponding wall information in the room and the wall middle line information, the 7th wall with the first end point is searched
Body middle line and the 8th wall middle line with the second endpoint, the 6th wall middle line, the 7th wall middle line and the 8th wall
Body middle line corresponds to the wall number that the first room includes, and first room is that the 6th wall middle line corresponds to wall number place
Room number;
Establish the 6th wall middle line, the first end point and the 7th wall middle line in first room, Yi Jisuo
State the connection relationship of the 6th wall middle line, second endpoint and the 8th wall middle line.
8. the method according to the description of claim 7 is characterized in that the room information further includes thickness of wall body, correspondingly, institute
It states and translates the corresponding wall middle line in the room along the translation direction, comprising:
Default translation distance is determined according to thickness of wall body;
The vertical line of the 6th wall middle line is determined at the first end point of the 6th wall middle line or the second extreme coordinates;?
The vertical line of the 7th wall middle line is determined at the first end point coordinate of the 7th wall middle line;In the 8th wall middle line
Second endpoint at determine the vertical line of the 8th wall middle line;
Vertical line by the 6th wall middle line along the 6th wall middle line translates the default translation distance to room inside,
Obtain the 6th wall-body energy saving line segment;The 7th wall middle line is flat to room inside along the vertical line of the 7th wall middle line
The default translation distance is moved, the 7th wall-body energy saving line segment is obtained;By the 8th wall middle line along the 8th wall
The vertical line of line obtains the 8th wall-body energy saving line segment to the translation default translation distance on the inside of room.
9. according to the method described in claim 8, it is characterized in that, according to the intersection point calculation between the wall-body energy saving line segment
The inner surface length of wall, specifically includes:
The coordinate of the first intersection point is obtained according to the 6th wall-body energy saving line segment and the 7th wall-body energy saving line segment, it is described
First intersection point is the intersection point of the 6th wall-body energy saving line segment and the 7th wall-body energy saving line segment;
The coordinate of the second intersection point is obtained according to the 6th wall-body energy saving line segment and the 8th wall-body energy saving line segment, it is described
Second intersection point is the intersection point of the 6th wall-body energy saving line segment and the 8th wall-body energy saving line segment;
It is calculated according to the coordinate of the coordinate of first intersection point and second intersection point and obtains wall-body energy saving length.
10. a kind of generating means of floor plan characterized by comprising
Screening module, for determining wall information according to Size Dwelling Design data, the wall information includes thickness of wall body, in wall
Two extreme coordinates of line;
First computing module, for determining wall middle line connection relationship according to two extreme coordinates of wall middle line;
Zoom module obtains the surface line segment of the first wall, institute for zooming in and out according to thickness of wall body to the first wall middle line
Stating the first wall middle line is any one the wall middle line for including in the Size Dwelling Design data;
Second computing module is connected for being adjusted according to the surface line segment of the wall middle line connection relationship and first wall
The redundancy line segment at place obtains the floor plan with the Size Dwelling Design Data Matching, is first wall at the wall connecting
The surface line segment intersected with the second wall, second wall are the wall for having connection relationship with first wall;
Third computing module, for obtaining the interior wall length of the floor plan, and it is raw according to the interior wall length and wall height
At wall plane construction drawing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910321532.8A CN110020502A (en) | 2019-04-18 | 2019-04-18 | The generation method and device of floor plan |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910321532.8A CN110020502A (en) | 2019-04-18 | 2019-04-18 | The generation method and device of floor plan |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110020502A true CN110020502A (en) | 2019-07-16 |
Family
ID=67192026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910321532.8A Pending CN110020502A (en) | 2019-04-18 | 2019-04-18 | The generation method and device of floor plan |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110020502A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111179412A (en) * | 2019-12-12 | 2020-05-19 | 江苏艾佳家居用品有限公司 | Automatic processing method and system for house type graph |
CN111275820A (en) * | 2020-01-15 | 2020-06-12 | 深圳市华橙数字科技有限公司 | Method, device, terminal and storage medium for drawing three-dimensional wall based on two-dimensional plane |
CN112231787A (en) * | 2020-10-16 | 2021-01-15 | 苏州织巢信息科技有限公司 | Wall body auxiliary drawing method and device applied to home decoration system |
CN112347539A (en) * | 2020-11-06 | 2021-02-09 | 久瓴(江苏)数字智能科技有限公司 | Method and device for determining whether wall lines intersect or not and processor |
CN112364405A (en) * | 2020-10-16 | 2021-02-12 | 苏州织巢信息科技有限公司 | Wall drawing processing method and device and computer readable storage medium |
CN112966330A (en) * | 2021-04-09 | 2021-06-15 | 福建省晨曦信息科技股份有限公司 | Wall surface generation method of crossed wall body, computer equipment and readable storage medium |
CN113239785A (en) * | 2021-05-11 | 2021-08-10 | 百安居信息技术(上海)有限公司 | Method, system, storage medium and electronic device for automatically identifying house type based on convolutional neural network |
CN113375601A (en) * | 2020-02-25 | 2021-09-10 | 广东博智林机器人有限公司 | Wall body yin-yang angle measuring method, device, equipment and storage medium |
CN114255267A (en) * | 2021-12-20 | 2022-03-29 | 北京房江湖科技有限公司 | Method and apparatus for registering a family plot |
CN114329723A (en) * | 2021-12-31 | 2022-04-12 | 北京有竹居网络技术有限公司 | Processing method and device of house type graph, readable storage medium and electronic equipment |
CN115712934A (en) * | 2022-11-03 | 2023-02-24 | 北京城市网邻信息技术有限公司 | House information processing method, device, equipment and storage medium |
CN115830162A (en) * | 2022-11-21 | 2023-03-21 | 北京城市网邻信息技术有限公司 | Home map display method and device, electronic equipment and storage medium |
CN116721237A (en) * | 2023-06-09 | 2023-09-08 | 北京优贝卡科技有限公司 | House type wall editing method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778756A (en) * | 2015-04-10 | 2015-07-15 | 北京明兰网络科技有限公司 | Intelligent home decoration design system |
CN106484959A (en) * | 2016-09-19 | 2017-03-08 | 上海斐讯数据通信技术有限公司 | A kind of house type drawing drawing method and rendering apparatus |
CN106528904A (en) * | 2016-07-09 | 2017-03-22 | 陈志静 | Residential house chart building structure intelligent recognition and functional area automatic planning and designing method |
CN108804815A (en) * | 2018-06-08 | 2018-11-13 | 杭州群核信息技术有限公司 | A kind of method and apparatus assisting in identifying wall in CAD based on deep learning |
-
2019
- 2019-04-18 CN CN201910321532.8A patent/CN110020502A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778756A (en) * | 2015-04-10 | 2015-07-15 | 北京明兰网络科技有限公司 | Intelligent home decoration design system |
CN106528904A (en) * | 2016-07-09 | 2017-03-22 | 陈志静 | Residential house chart building structure intelligent recognition and functional area automatic planning and designing method |
CN106484959A (en) * | 2016-09-19 | 2017-03-08 | 上海斐讯数据通信技术有限公司 | A kind of house type drawing drawing method and rendering apparatus |
CN108804815A (en) * | 2018-06-08 | 2018-11-13 | 杭州群核信息技术有限公司 | A kind of method and apparatus assisting in identifying wall in CAD based on deep learning |
Non-Patent Citations (1)
Title |
---|
黄文: ""面向自动家装生成的户型图识别方法研究"", 《硕士电子期刊》 * |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111179412A (en) * | 2019-12-12 | 2020-05-19 | 江苏艾佳家居用品有限公司 | Automatic processing method and system for house type graph |
CN111179412B (en) * | 2019-12-12 | 2022-07-08 | 江苏艾佳家居用品有限公司 | Automatic processing method and system for house type graph |
CN111275820B (en) * | 2020-01-15 | 2023-09-19 | 深圳市华橙数字科技有限公司 | Method, device, terminal and storage medium for drawing three-dimensional wall based on two-dimensional plane |
CN111275820A (en) * | 2020-01-15 | 2020-06-12 | 深圳市华橙数字科技有限公司 | Method, device, terminal and storage medium for drawing three-dimensional wall based on two-dimensional plane |
CN113375601A (en) * | 2020-02-25 | 2021-09-10 | 广东博智林机器人有限公司 | Wall body yin-yang angle measuring method, device, equipment and storage medium |
CN112231787A (en) * | 2020-10-16 | 2021-01-15 | 苏州织巢信息科技有限公司 | Wall body auxiliary drawing method and device applied to home decoration system |
CN112364405A (en) * | 2020-10-16 | 2021-02-12 | 苏州织巢信息科技有限公司 | Wall drawing processing method and device and computer readable storage medium |
CN112231787B (en) * | 2020-10-16 | 2024-04-19 | 深圳金装科技装饰工程有限公司 | Wall auxiliary drawing method and device applied to home decoration system |
CN112347539A (en) * | 2020-11-06 | 2021-02-09 | 久瓴(江苏)数字智能科技有限公司 | Method and device for determining whether wall lines intersect or not and processor |
CN112966330A (en) * | 2021-04-09 | 2021-06-15 | 福建省晨曦信息科技股份有限公司 | Wall surface generation method of crossed wall body, computer equipment and readable storage medium |
CN113239785A (en) * | 2021-05-11 | 2021-08-10 | 百安居信息技术(上海)有限公司 | Method, system, storage medium and electronic device for automatically identifying house type based on convolutional neural network |
CN114255267A (en) * | 2021-12-20 | 2022-03-29 | 北京房江湖科技有限公司 | Method and apparatus for registering a family plot |
CN114329723A (en) * | 2021-12-31 | 2022-04-12 | 北京有竹居网络技术有限公司 | Processing method and device of house type graph, readable storage medium and electronic equipment |
CN115712934B (en) * | 2022-11-03 | 2023-08-08 | 北京城市网邻信息技术有限公司 | House information processing method, device, equipment and storage medium |
CN115712934A (en) * | 2022-11-03 | 2023-02-24 | 北京城市网邻信息技术有限公司 | House information processing method, device, equipment and storage medium |
CN115830162A (en) * | 2022-11-21 | 2023-03-21 | 北京城市网邻信息技术有限公司 | Home map display method and device, electronic equipment and storage medium |
CN115830162B (en) * | 2022-11-21 | 2023-11-14 | 北京城市网邻信息技术有限公司 | House type diagram display method and device, electronic equipment and storage medium |
CN116721237A (en) * | 2023-06-09 | 2023-09-08 | 北京优贝卡科技有限公司 | House type wall editing method, device, equipment and storage medium |
CN116721237B (en) * | 2023-06-09 | 2024-04-12 | 铯镨科技有限公司 | House type wall editing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110020502A (en) | The generation method and device of floor plan | |
CN109711018B (en) | Two-dimensional to three-dimensional house type design method | |
AU2019281667B2 (en) | Data collection and model generation method for house | |
US8072450B2 (en) | System and method for measuring a three-dimensional object | |
US20200081125A1 (en) | Method and robot of mapping | |
CN101673410B (en) | Vector building drawing based method for reconstructing three-dimensional model | |
CN105844631B (en) | A kind of object localization method and device | |
CN107798715B (en) | Alignment adsorption method and device for three-dimensional graph, computer equipment and storage medium | |
CN105913483A (en) | Method and device for generating three-dimensional crossing road model | |
CN108416785A (en) | Topological dividing method towards enclosure space and device | |
US20200125115A1 (en) | Methods and systems of distributing task regions for a plurality of cleaning devices | |
CN110657804B (en) | Indoor location service | |
CN104183016A (en) | Method for rapidly constructing 2.5-dimensional building model | |
CN103177167A (en) | Cupboard design method | |
CN109933902A (en) | Construction drawing goes out drawing method, device and electronic equipment | |
CN111241643B (en) | Processing method and device of polygonal cabinet body and electronic equipment | |
CN104700225A (en) | Real estate mapping management system | |
CN103761094A (en) | Method for polygon combination in planar drawing | |
CN104915053A (en) | Position determining method and device for interface controls | |
CN113626907B (en) | Automatic building drawing identification method based on boundary scanning algorithm | |
CN113850996B (en) | Road section bus line repetition coefficient data calculation method and device and storage medium | |
CN111195104A (en) | Region dividing method and device, electronic equipment and computer readable storage medium | |
CN109579834A (en) | Localization method and device based on Space Optical Communication Technologies | |
KR101487343B1 (en) | Method of preparing three-dimensional indoor map based on web | |
CN114648546B (en) | Building configuration scheme determination method and device, electronic equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190716 |