Claims (14)
1. Способ автоматического отображения варианта расстановки мебели, заключающийся в выполнении этапов, на которых с помощью вычислительного устройства:1. A method for automatically displaying a variant of furniture arrangement, which consists in performing stages at which, using a computing device:
- получают данные от пользователя, содержащие: план помещения или размеры помещения, а также: количество проживающих взрослых, количество детей и стиль планировки;- receive data from the user, containing: the layout of the room or the size of the room, as well as: the number of adults living, the number of children and the style of the layout;
- получают для каждого помещения список типов мебели, выбранной пользователем из анкеты;- receive for each room a list of types of furniture selected by the user from the questionnaire;
- осуществляется автоматический подбор шаблонов наборов мебели, при этом выполняют условия:- automatic selection of templates for furniture sets is carried out, while the following conditions are met:
если заполнена расширенная анкета, то выбираются шаблоны наборов мебели, в которых присутствует мебель из расширенной анкеты;if the extended questionnaire is filled in, then the templates for furniture sets are selected, in which there is furniture from the extended questionnaire;
если заполнена только базовая анкета, то шаблоны автоматически подбираются исходя из правил расстановки, в соответствии с количеством проживающих в каждой комнате, для осуществления подбора мебель некоторых типов размечается по количеству посадочных мест;if only the basic questionnaire is filled out, then the templates are automatically selected based on the placement rules, in accordance with the number of people living in each room, for the selection of some types of furniture, it is marked according to the number of seats;
- выстраиваются все возможные варианты размещения шаблонов, содержащих типы мебели в конкретном помещении, при этом линии из шаблонов совмещаются со стенами;- all possible options for placing templates containing types of furniture in a particular room are built, while the lines from the templates are aligned with the walls;
- для каждой комбинации строятся варианты из конкретных предметов, одному типу соответствует несколько предметов в базе, в процессе осуществляется предварительное отсеивание вариантов, в которых совокупный размер предметов на том или ином участке стены превышает длину этого участка;- for each combination, variants are built from specific objects, several objects in the base correspond to one type, in the process a preliminary screening of variants is carried out in which the total size of objects in a particular section of the wall exceeds the length of this section;
- для каждого варианта рассчитывается положение каждого элемента исходя из размеров всех предметов в данном варианте- for each option, the position of each element is calculated based on the sizes of all objects in this option
- отсеивают варианты расстановки мебели не соответствующей геометрическим параметрам помещения- weed out options for arranging furniture that does not correspond to the geometric parameters of the room
- вычисляют количественное значение функции качества расстановки разных вариантов расстановки;- calculate the quantitative value of the quality function of the placement of different placement options;
- выбирают для каждого из подобранных вариантов вариант с максимальным значением функции качества расстановки;- select for each of the selected options the option with the maximum value of the placement quality function;
- отображают варианты созданного интерьера расстановки мебели.- display options for the created interior furniture arrangement.
2. Способ по п. 1, характеризующийся тем, что дополнительно указывают пол и возраст взрослых и детей.2. The method according to claim 1, characterized in that the sex and age of adults and children are additionally indicated.