CN111125815A - Indoor curtain layout calculation method based on rules - Google Patents

Indoor curtain layout calculation method based on rules Download PDF

Info

Publication number
CN111125815A
CN111125815A CN201911234569.3A CN201911234569A CN111125815A CN 111125815 A CN111125815 A CN 111125815A CN 201911234569 A CN201911234569 A CN 201911234569A CN 111125815 A CN111125815 A CN 111125815A
Authority
CN
China
Prior art keywords
layout
curtain
rule
information
door
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
CN201911234569.3A
Other languages
Chinese (zh)
Other versions
CN111125815B (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.)
Jiangsu Aijia Household Products Co Ltd
Original Assignee
Jiangsu Aijia Household Products 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 Jiangsu Aijia Household Products Co Ltd filed Critical Jiangsu Aijia Household Products Co Ltd
Priority to CN201911234569.3A priority Critical patent/CN111125815B/en
Publication of CN111125815A publication Critical patent/CN111125815A/en
Application granted granted Critical
Publication of CN111125815B publication Critical patent/CN111125815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a rule-based indoor curtain layout calculation method, which comprises the following steps of S1: collecting target space data, and acquiring space information and layout information of a layout space; s2: encoding spatial information of a target space; s3: establishing a model for the coded spatial information by using a rule algorithm to perform rule calculation to obtain layout position information; s4: combining the curtain components to obtain curtain combination information; s5: laying out the curtain combination to the layout position calculated in the step S3 to obtain a final layout result; s6: and carrying out a combined solution algorithm to obtain the actual position of each curtain component. The invention utilizes the rule method to analyze and calculate the given space, constructs a curtain layout model based on the rule, and can simply and quickly obtain the layout position of the curtain based on the model algorithm, thereby helping designers to quickly layout the curtain and reducing the design labor of the designers.

Description

Indoor curtain layout calculation method based on rules
Technical Field
The invention belongs to the technical field of computer aided design, and particularly relates to a rule-based indoor curtain layout calculation method.
Background
When a designer carries out decoration layout, it is relatively tedious to place relevant parts of the curtain in design software, and although the layout of the curtain has certain regularity, different spaces have different requirements. And the layout characteristics of different curtains are also different, so that the reasonable layout of the curtains needs to ensure the practicability of the curtain function. Thus, the designer still needs to determine the layout position of the window covering. Because of the large number of components, replacement is relatively cumbersome once misplaced. Therefore, a simple and effective calculation method is needed to help the designer lay out the curtain and reduce the designer's design labor.
Disclosure of Invention
The technical problems solved by the invention are as follows: the related components of the curtain are placed in the design software, so that the method is complex, the workload is large, and the efficiency is low.
The technical scheme is as follows: in order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a rule-based indoor curtain layout calculation method is characterized by comprising the following steps:
s1: collecting target space data, and acquiring space information and layout information of a layout space;
s2: encoding spatial information of a target space;
s3: establishing a model for the coded spatial information by using a rule algorithm to perform rule calculation to obtain layout position information;
s4: combining the curtain components to obtain curtain combination information;
s5: laying out the curtain combination to the layout position calculated in the step S3 to obtain a final layout result;
s6: and carrying out a combined solution algorithm to obtain the actual position of each curtain component.
Furthermore, the layout space comprises a living room, a dining room, a bedroom, a kitchen, a bathroom, a study room and a balcony.
Further, in step S1, the layout space information obtained includes the wall vertex coordinates, the door type, position, and rotation information, the window type, position, and rotation information, and the space usage information.
Further, in step S2, the door center position coordinates (x, y) are point M1~MnThe angle of rotation of the door is R1~RnLength of door is marked as L1~LnThe door outer space is coded, and the coded value is marked as S1~SnThe door and window type is coded, and the coded value is T1~Tn
Further, in step S3, first, a coordinate point D of possible curtain layouts is calculated1~DnThe method comprises the following steps:
Dm=(100×cosRm,100×sinRm)
in the above formula: rmThe rotation angle of the curtain layout position;
then, the position D is calculated1~DnCorresponding to Z1~ZnThe method comprises the following steps:
Figure BDA0002304533220000021
in the above formula: p is the length of the curtain to be laid out;
Smis the coded value of the door outer space;
Tma coded value for a door and window type;
Lmis the length of the door in millimeters;
and finally, taking the position D with the maximum Z value, namely the final curtain layout position.
Further, in step S4, the window covering components include a roman rod, a window covering, and a window screen.
Further, in step S4, the relative position vector of each component of the window covering is represented as M.
Further, in step S6, the final layout position of the curtain members is solved by adding the relative position vector M to the curtain layout position D.
Has the advantages that: compared with the prior art, the invention has the following advantages:
the invention utilizes the rule method to analyze and calculate the given space, constructs a curtain layout model based on the rule, can simply and quickly obtain the layout position of the curtain based on the model algorithm, can help designers to quickly layout the curtain, and reduces the design labor of the designers.
Drawings
FIG. 1 is a schematic diagram of a layout flow of a rule-based indoor curtain layout calculation method;
FIG. 2 is a schematic diagram of the placement window shade positions for a rule-based indoor window shade placement calculation method;
FIG. 3 is a schematic plan view of the final layout position of the window covering assembly based on the rule-based indoor window covering layout calculation method;
fig. 4 is a schematic diagram of a final curtain layout 3D position according to a rule-based indoor curtain layout calculation method.
Detailed Description
The present invention will be further illustrated by the following specific examples, which are carried out on the premise of the technical scheme of the present invention, and it should be understood that these examples are only for illustrating the present invention and are not intended to limit the scope of the present invention.
The indoor curtain layout calculation method based on the rules comprises the following steps:
step S1: collecting target space data, and acquiring space information and layout information of a layout space;
the acquired layout space information mainly comprises wall vertex coordinates, door types (single door, double door and sliding door), door coordinate positions and rotation information, window positions (French window, bay window and common window), window coordinate positions and rotation information and space use information.
The layout space mainly comprises a living room, a dining room, a bedroom, a kitchen, a toilet, a study room and a balcony, and the space layout does not comprise the layout of a large-bay room.
Step S2: encoding spatial information of a target space;
the specific process is that, as shown in figure 2, several doors of the living room can be obtainedCenter position coordinates (x, y) noted as point M1~MnAnd the rotation angle of the door can be obtained as R1~RnIn degrees. The length of the door is noted as L1~LnIn millimeters. The outer door spaces are coded at the same time, and the coded value is marked as S1~SnThe corresponding relationship between the coding table value and the door outer space type is as follows:
type of space S number
Parlor 0
Dining room 0
Kitchen cabinet 0
Bedroom 1
Balcony 3
Toilet room 1
Study room 1
Outdoors 5
Finally, the door and window type is coded, and the coding value is T1~TnThe corresponding relation between the coding numerical value and the door type is as follows:
door and window type Value of T
Double door 1
Single door 0
Sliding door 2
Sliding door 2
Door opening 1
Ordinary window 1
French window 3
Floating window 4
Step S3: establishing a model for the coded spatial information by using a rule algorithm to perform rule calculation to obtain layout position information;
as shown in FIG. 2, first, a coordinate point D of the possible curtain layout is calculated1~DnThe method comprises the following steps:
Dm=(100×cosRm,100×sinRm)
in the above formula: rmThe rotation angle of the curtain layout position;
then, the position D is calculated1~DnCorresponding to Z1~ZnThe method comprises the following steps:
Figure BDA0002304533220000041
in the above formula: p is the length of the curtain to be laid out;
Smis the coded value of the door outer space;
Tma coded value for a door and window type;
Lmis the length of the door in millimeters;
and finally, taking the position D with the maximum Z value, namely the final curtain layout position. As shown in FIG. 3, D3 can be calculated to be the position of the final shade layout.
Step S4: combining the curtain components to obtain curtain combination information;
the specific process is to take the relative position vector of each part of the curtain as M. The curtain components include a roman rod, a curtain and a window screen.
Step S5: laying out the curtain combination to the layout position calculated in the step S3 to obtain a final layout result;
step S6: and carrying out a combined solution algorithm to obtain the actual position of each curtain component.
The specific process is to add the relative position vector M to the curtain layout position D to solve the final layout position of the curtain components.
As shown in fig. 4, the calculated position of the final curtain component is placed in the 3D scene to obtain the layout position of the final curtain.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A rule-based indoor curtain layout calculation method is characterized by comprising the following steps:
s1: collecting target space data, and acquiring space information and layout information of a layout space;
s2: encoding spatial information of a target space;
s3: establishing a model for the coded spatial information by using a rule algorithm to perform rule calculation to obtain layout position information;
s4: combining the curtain components to obtain curtain combination information;
s5: laying out the curtain combination to the layout position calculated in the step S3 to obtain a final layout result;
s6: and carrying out a combined solution algorithm to obtain the actual position of each curtain component.
2. The rule-based indoor window covering layout calculation method of claim 1, wherein: the layout space comprises a living room, a dining room, a bedroom, a kitchen, a toilet, a study room and a balcony.
3. The rule-based indoor window covering layout calculation method of claim 1, wherein: in step S1, the acquired layout space information includes wall vertex coordinates, door type, position, and rotation information, window type, position, and rotation information, and space usage information.
4. The rule-based indoor window covering layout calculation method of claim 1, wherein: in step S2, the door center position coordinate (x, y) is point M1~MnThe angle of rotation of the door is R1~RnLength of door is marked as L1~LnThe door outer space is coded, and the coded value is marked as S1~SnThe door and window type is coded, and the coded value is T1~Tn
5. The rule-based indoor window covering layout calculation method of claim 1, wherein:
in step S3, first, a coordinate point D at which the curtain is likely to be laid out is calculated1~DnThe method comprises the following steps:
Dm=(100×cosRm,100×sinRm)
in the above formula: rmThe rotation angle of the curtain layout position;
then, the position D is calculated1~DnCorresponding to Z1~ZnThe method comprises the following steps:
Figure FDA0002304533210000011
in the above formula: p is the length of the curtain to be laid out;
Smis the coded value of the door outer space;
Tma coded value for a door and window type;
Lmis the length of the door in millimeters;
and finally, taking the position D with the maximum Z value, namely the final curtain layout position.
6. The rule-based indoor window covering layout calculation method of claim 1, wherein: in step S4, the window covering components include a roman rod, a window covering, and a window screen.
7. The rule-based indoor window covering layout calculation method of claim 1, wherein: in step S4, the relative position vector of each component of the window shade is recorded as M.
8. The rule-based indoor window covering layout calculation method of claim 7, wherein: in step S6, the final curtain member layout position is solved by adding the relative position vector M to the curtain layout position D.
CN201911234569.3A 2019-12-05 2019-12-05 Rule-based indoor curtain layout calculation method Active CN111125815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911234569.3A CN111125815B (en) 2019-12-05 2019-12-05 Rule-based indoor curtain layout calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911234569.3A CN111125815B (en) 2019-12-05 2019-12-05 Rule-based indoor curtain layout calculation method

Publications (2)

Publication Number Publication Date
CN111125815A true CN111125815A (en) 2020-05-08
CN111125815B CN111125815B (en) 2022-07-26

Family

ID=70497857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911234569.3A Active CN111125815B (en) 2019-12-05 2019-12-05 Rule-based indoor curtain layout calculation method

Country Status (1)

Country Link
CN (1) CN111125815B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111985011A (en) * 2020-06-22 2020-11-24 杭州群核信息技术有限公司 Customized combined cabinet grouping design method based on inter-board model information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484940A (en) * 2016-07-09 2017-03-08 陈志静 A kind of home decoration Intelligentized design method and system
CN110442952A (en) * 2019-07-30 2019-11-12 佛山市小云科技有限公司 A kind of method of rule Virtual Space furniture intelligent distribution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484940A (en) * 2016-07-09 2017-03-08 陈志静 A kind of home decoration Intelligentized design method and system
CN110442952A (en) * 2019-07-30 2019-11-12 佛山市小云科技有限公司 A kind of method of rule Virtual Space furniture intelligent distribution

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111985011A (en) * 2020-06-22 2020-11-24 杭州群核信息技术有限公司 Customized combined cabinet grouping design method based on inter-board model information

Also Published As

Publication number Publication date
CN111125815B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
CN109670264B (en) Method and system for optimizing layout of reinforcement learning home
CN106484940B (en) A kind of home decoration Intelligentized design method and system
CN105787230A (en) Home simulation design system and method
CN111008416B (en) Method and system for generating illumination effect of house type scene
CN107240151A (en) A kind of scene layout based on parent-child constraint preserves and reproducting method
CN108446830B (en) Household type sunshine analysis method based on mobile equipment terminal
CN109344462A (en) A method of indoor design is carried out based on BIM
CN105447226A (en) BIM based house type parameterized design control method and system
CN111597616A (en) Digital indoor design method, device, equipment and readable storage medium
CN110826135A (en) Home arrangement method and device, neural network construction method and storage medium
CN111125815B (en) Rule-based indoor curtain layout calculation method
CN110390145A (en) A kind of house type graphic design method based on BIM
CN109544687A (en) A kind of orientation Story and door based map extended method
CN104331932A (en) Freeform surface building grid division method based on self-defined element method
CN110555914B (en) Model information processing method, device, computer equipment and readable storage medium
US20210365603A1 (en) Artificial intelligence systems and methods for interior furnishing
CN109815551A (en) Architectural design method, device, readable storage medium storing program for executing and mixed reality equipment
CN115879198A (en) Indoor decoration design method and system integrating industrial decoration
CN106874612A (en) A kind of settlement model generation method for designing of user oriented customization
CN108257212A (en) A kind of level of detail conversion method and system for D Urban model
Pont et al. SEMERGY: Utilizing semantic web technologies for performance-guided building design optimization
CN115659453B (en) Working method for generating multi-layer point type residence based on building information matrix table
Ghiassi Development of a building data model for a performance based optimization environment
Frank et al. Thermal zoning and natural ventilation in vernacular Anatolian settlements
CN113486484B (en) Grid wiring method, device 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
GR01 Patent grant
GR01 Patent grant