CN113946886A - Home decoration line free design system and method - Google Patents
Home decoration line free design system and method Download PDFInfo
- Publication number
- CN113946886A CN113946886A CN202010680576.2A CN202010680576A CN113946886A CN 113946886 A CN113946886 A CN 113946886A CN 202010680576 A CN202010680576 A CN 202010680576A CN 113946886 A CN113946886 A CN 113946886A
- Authority
- CN
- China
- Prior art keywords
- line
- path
- profile
- design
- generator
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/12—Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Analysis (AREA)
- Evolutionary Computation (AREA)
- Computational Mathematics (AREA)
- Architecture (AREA)
- Civil Engineering (AREA)
- Structural Engineering (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a system and a method for freely designing a home decoration line, which mainly comprise a path module and the like, wherein the path module is responsible for generation, legal detection and grouping processing of a line path; the profile preprocessing module processes preset attributes according to the line types and provides a uniform structure for subsequent lofting generation; generating a profile of the line at the critical position of the line path by a critical profile generator; generating grid data of lines by a lofting body generator according to the line path and by using a profile structure generated by a profile preprocessing module and a key profile generator; the texture coordinate generator is responsible for generating texture coordinates in the process of generating the grid data by the loft generator. According to the invention, the skirting line surrounding the whole room can be generated by simply clicking the floor of the house in the cloud design software, a plurality of continuous line segments can be freely selected in the whole 3d space, and then the expected decorative line is generated along the path of the line, so that the flexible and efficient line design effect is achieved.
Description
Technical Field
The invention relates to the field of cloud design, in particular to a home decoration line free design system and a home decoration line free design method.
Background
Along with the rapid development of the computer industry, more and more home industry designers select cloud design software to carry out indoor design, and the software is lighter in weight, can be used as soon as being opened without installation, can quickly generate a simulation effect, is simple and flexible, and can quickly generate an effect diagram.
Before the effect graph is rapidly generated, modeling needs to be carried out on the expected effect (wall drawing, paving and pasting, furniture placing). In the hard-set design modeling stage, lines (skirting lines, vertex lines, decorative lines and the like) are indispensable design elements from both practical and design perspectives. However, such elements cannot generate a model in advance like furniture, and the modeling of lines needs to be able to adapt to the design scene and change freely.
At present, a designer often can only select one surface to place a circle of lines, the lines can not be placed in a single mode, path line segments can not be freely selected to carry out lofting design, the effect of the current lines applying the current path can not be predicted in advance in the path selection stage, the lines can only be placed and generated and then viewed, and if the lines are unreasonable, the lines need to be reselected. This greatly limits the creative ability of designers, reduces the work efficiency of designers, and also makes the design of lines monotonous. The method aims to solve the problems that a home decoration designer cannot design a line from a lofting path and the perception of modeling effect is delayed when the home decoration designer uses cloud design software, and therefore a method capable of freely designing the line in the cloud design software is provided based on a self-research algorithm.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a system and a method for freely designing a home decoration line.
The purpose of the invention is achieved by the following technical scheme: a free design system for home decoration lines mainly comprises a path module, a section preprocessing module, a key section generator, a lofting body generator and a texture coordinate generator, wherein,
the path module is responsible for generation, legal detection and grouping processing of the line path;
the profile preprocessing module is used for processing the preset attributes according to the line types, providing a uniform structure for subsequent lofting generation and ensuring the expandability of the line types;
the key profile generator is used for generating a profile of the line at the key position of the line path;
the lofting body generator generates grid data of lines according to the line paths and by using the profile structure generated by the profile preprocessing module and the key profile generator;
and the texture coordinate generator is responsible for generating texture coordinates in the process of generating the grid data by the lofting body generator.
As a further technical solution, the texture coordinate generator includes a tile and stretch mode of the attached material.
As a further technical solution, the linear path design operation of the path module is divided into three types, i.e., a single line design, a single-sided design and a free path design, wherein the single line design is a single-sided design, the single-sided design is a single surrounding-surface side line design, and the free path design is a continuous side line combination design.
As a further technical scheme, the line types comprise skirting lines, vertex angle lines and decorative lines.
The invention also discloses a method for freely designing the home decoration lines, which comprises the following steps:
1) determining lofting paths under three modes of a single side, a single side and a free path through a path module, wherein the lofting paths comprise:
1.1) acquiring a geometric contour in a determined mode based on a scene object to form a path;
1.2) verifying whether the edges selected by the user in the free path mode are continuous, closed or not and whether redundant edges exist or not, and constructing a lofting path according to the verified edges which are legal;
1.3) generating a normal orientation for each path segment in a free path mode, wherein the normal orientation of the line determined by user operation is a single-side normal orientation;
1.4) converting the two-dimensional section in the local coordinate system into a three-dimensional coordinate system at the starting position of the path;
2) applying a change setting to the profile to the original profile data by a profile preprocessing module, comprising:
2.1) verifying the legality of the profile data structure, and performing partial error correction treatment to reach the standard of a normal simple polygon;
2.2) acquiring the transformation attribute of the section, and setting system preset transformation for the firstly created line according to the type of the line;
2.3) applying the acquired change attribute to a profile data structure to obtain a preprocessed profile structure;
3) generating profile data at each endpoint of the path line segment according to the path and the profile contour data by the key profile generator, and specifically comprising the following steps:
3.1) determining a starting point coordinate system according to the path direction and the starting surface normal;
3.2) converting the profile contour from the original two-dimensional coordinate to a starting point coordinate system to generate a starting point contour of the first line segment;
3.3) determining a plane (an angle bisection plane) where the section is located at the end point of the line segment according to the lofting path line segment;
3.4) projecting the starting point outline of the line segment to the plane of the end point section of the line segment to obtain the outline of the line segment;
3.5) repeating the step 3.3) and the step 3.4) to obtain the section profiles at all the inflection points;
4) the lofting body generator generates lofting body grid data by taking every two adjacent sections on a path line as a unit based on the sections generated by the key section generator, and the specific steps are as follows:
4.1) for a path line segment, selecting points of corresponding edges according to profile contour points at two ends to form a lofting surface;
4.2) traversing the profile contour to generate a section of sample surface grid structure;
4.3) traversing the path line segments to generate a lofting surface grid structure of the whole line;
5) the texture coordinate generator is used for setting the rotation and the offset of the applied material to the texture material, calculating a change matrix of the attached material in a tiling mode and a stretching mode, and applying the change matrix to the attached material, and the method comprises the following specific steps:
5.1) grouping the edges of the section in sequence according to the same material and the same paving method to obtain shading paving, paving and adhering and stretching adhering types;
5.2) applying user-set property transformations in case of shading tiles and using system-calculated transformation settings in case of tiling or stretch tiles, according to the grouping type in step 5.1).
The invention has the beneficial effects that: the invention is applied to the free line design in the hard-mounted design stage, and can generate a skirting line enclosing the whole room by simply clicking the floor of the house in the cloud design software, also can freely select a plurality of continuous line segments in the whole 3d space, and then generate an expected decorative line along the path of the line, thereby achieving the flexible and efficient line design effect; the preview effect of various design modes reduces the design quantity of inferior-quality products, and greatly improves the design efficiency; the method has the advantages that a set of complete solution system is designed by single-side design, single-side design and free path design, the operation is fully covered, the whole design of lines is more flexible and free, and the creation capability of designers is greatly improved.
Drawings
FIG. 1 is a schematic diagram of the architecture of the present invention.
FIG. 2 is a schematic diagram of the operation steps of the present invention.
FIG. 3 is a schematic view of an operation interface according to the present invention.
FIG. 4 is a schematic diagram of the single-side placing process of the present invention.
FIG. 5 is a schematic diagram of a single-side placing process according to the present invention.
FIG. 6 is a schematic diagram of the single-sided placement result of the present invention.
FIG. 7 is a schematic diagram of a single-sided placement preview of the present invention.
FIG. 8 is a schematic diagram of the single-sided placement generation results of the present invention.
Fig. 9 is a free-standing schematic of the present invention.
FIG. 10 is a schematic view of a free standing select edge of the present invention.
FIG. 11 is a schematic view of a free-standing selected continuous edge of the present invention.
Fig. 12 is a schematic view of a free-standing selected discontinuous edge of the present invention.
Fig. 13 is a schematic view of the free lay correction to continuous edge of the present invention.
FIG. 14 is a schematic diagram of the present invention showing the completion of the free placement selection.
FIG. 15 is a schematic diagram of a free-form preview line location in accordance with the present invention.
FIG. 16 is a schematic diagram of the free-form generation of prospective lines of the present invention.
FIG. 17 is a schematic of the key profile generator process of the present invention.
FIG. 18 is a schematic diagram of the loft generator process of the present invention.
FIG. 19 is a schematic diagram of a texture coordinate generator process according to the present invention.
Detailed Description
The invention will be described in detail below with reference to the following drawings:
as shown in the attached drawings, the system and the method for freely designing the home decoration lines mainly comprise a path module, a section preprocessing module, a key section generator, a lofting body generator and a texture coordinate generator, wherein the path module is responsible for generation, legal detection and grouping processing of the line paths, the line path design operation of the path module is divided into three types, namely single line design, single-side design and free path design, the single line design is single-edge design, the single side design is single-surrounding-surface edge design, and the free path design is continuous edge combination design; the line types comprise skirting lines, vertex lines, decorative lines and the like, and the preset scenes of the lines are different at the same positions. The profile preprocessing module processes preset attributes according to the line types, provides a uniform structure for subsequent lofting generation, and simultaneously ensures the expandability of the line types; the method comprises the following steps that three scenes are placed on a line, different scenes are processed by a path module to generate a uniform path structure, the paths are broken lines, and a key profile generator generates a profile of the line at the key position of the line path; the lofting body generator generates grid data of lines by using a profile structure generated by the profile preprocessing module and the key profile generator according to the line path; the texture coordinate generator is responsible for generating texture coordinates in the process of generating the grid data by the lofting body generator, and comprises a mode of tiling and stretching attached materials.
The path module determines lofting paths under three modes of a single-side path, a single-side path and a free path, and comprises the following steps:
1) acquiring a geometric outline in a determined mode based on a scene object to form a path;
2) verifying whether the edges selected by the user in the free path mode are continuous, closed or not and whether redundant edges exist or not, and constructing a lofting path according to the verified edges which are legal;
3) each path segment in the free path mode, in which the line normal direction determined by the user operation is a single face, generates a normal direction (supplementary explanation: a line segment in space, one circle of which has innumerable normal lines vertical to the line segment, a normal line is determined as a line lofting position through user operation, and each subsequent line segment is calculated according to the normal line determined by the first line segment);
4) the two-dimensional section plane in the local coordinate system is transformed into the three-dimensional coordinate system at the starting position of the path.
The profile preprocessing module applies the change settings to the profile to the raw profile data, including:
1) verifying the legality of the profile data structure, and performing partial error correction processing to reach the standard of a normal simple polygon;
2) acquiring the transformation (rotation, scaling, offset and mirror image) attributes of the profile, and setting system preset transformation for the lines created for the first time according to the types (vertex lines, decorative lines and skirting lines) of the lines;
3) and applying the acquired variation attributes to a profile data structure to obtain a preprocessed profile structure.
The key profile generator generates profile data at each endpoint of the path line segment according to the path and profile contour data, and the specific steps are as follows:
1) determining a starting point coordinate system, such as P-G-1 in FIG. 17, according to the path direction and the starting surface normal;
2) converting the profile contour from the original two-dimensional coordinates to a starting point coordinate system to generate a starting point contour of the first line segment, such as P-G-2 in fig. 17;
3) determining a plane (an angle bisection plane) where the section is located at the end point of the line segment according to the lofting path line segment, such as P-G-3 in the attached figure 17;
4) projecting the starting point outline of the line segment onto the plane of the end point section of the line segment to obtain the outline thereof, such as P-G-4 and P-G-5 in the attached figure 17;
5) repeating the steps 3) and 4) to obtain the profile at all the inflection points, such as P-G-6 in the attached figure 17.
The lofting body generator generates lofting body grid data by taking every two adjacent cross sections on a path line as a unit based on the cross sections generated by the key cross section generator, and the specific steps are as follows:
1) for a path segment, selecting points of corresponding edges according to the profile points at the two ends to form a lofting surface, as shown in B-G-1 in FIG. 18;
2) traversing the profile contour to generate a section of sample surface mesh structure, such as B-G-2 in FIG. 18;
3) the path segments are traversed to generate a lofted surface mesh structure for the entire line, as shown in FIG. 18B-G-3.
The texture coordinate generator applies rotation and offset of the material to the texture material, calculates a change matrix of the attached material in a tiling mode and a stretching mode, and applies the change matrix to the attached material, and the specific steps are as follows:
1) sequentially grouping the edges of the section according to the same material and the same paving method to obtain shading paving, tiling attaching and stretching attaching types, as shown in figure 19;
2) according to the grouping type in step 1), applying the property transformation (rotation, offset) set by the user if it is a shading tile, and using the transformation setting calculated by the system if it is a tile or a stretch tile.
The operation process of the invention comprises:
1) a user selects a line commodity in a commodity column and enters a line design mode; if the right mouse button is clicked, the line design mode is exited, and no line can be created.
2) According to the use scene of a user, selecting line design types, wherein line design operations are divided into three types: single line design, single-sided design, free path design.
a) Single line design: after entering a line design mode, when a mouse is suspended on a certain edge in a scene, a preview line is generated on one side of the edge, the mouse slightly moves on two sides of the edge, and the preview line can be adjusted according to the position of the opposite edge of the mouse;
b) single-side design: after entering a line design mode, the mouse is suspended on a certain face in a scene, and a circle of lines are generated according to the side line of the surrounding face and are attached to the periphery of the facing face;
c) designing a free path: after entering a line design mode, prompting to press a Shift key, and entering a line free path design mode; after the Shift key is pressed to enter, a mouse selects a plurality of edges, if the edges are continuous (connected end to end), a legal path is displayed as green, if the edges are not continuous or have a situation of multiple edges sharing a common point, the path belongs to an illegal path situation, the path is displayed as red, and a desired lofting path can be designed by selecting and deselecting; after the path design is finished, the Shift is released, if the selected edge is a legal continuous line, the preview position of the lofting section is generated according to the surface to which the first edge belongs, and the position of the whole preview line is adjusted along with the movement of the mouse on the surfaces. And clicking the mouse to select the final position surface, and generating the final expected free line according to the position of the surface.
It should be understood that equivalent substitutions and changes to the technical solution and the inventive concept of the present invention should be made by those skilled in the art to the protection scope of the appended claims.
Claims (5)
1. The free design system of the home decoration lines is characterized in that: mainly comprises a path module, a section preprocessing module, a key section generator, a lofting body generator and a texture coordinate generator, wherein,
the path module is responsible for generation, legal detection and grouping processing of the line path;
the profile preprocessing module is used for processing the preset attributes according to the line types, providing a uniform structure for subsequent lofting generation and ensuring the expandability of the line types;
the key profile generator is used for generating a profile of the line at the key position of the line path;
the lofting body generator generates grid data of lines according to the line paths and by using the profile structure generated by the profile preprocessing module and the key profile generator;
and the texture coordinate generator is responsible for generating texture coordinates in the process of generating the grid data by the lofting body generator.
2. The home decoration line free design system of claim 1, wherein: the texture coordinate generator comprises a tiled attached material and stretching mode.
3. The home decoration line free design system of claim 1, wherein: the line path design operation of the path module is divided into three types, namely single line design, single-side design and free path design, wherein the single line design is single-side design, the single-side design is single-surrounding-surface side line design, and the free path design is continuous side line combination design.
4. The home decoration line free design system of claim 1, wherein: the lines comprise skirting lines, vertex angle lines and decorative lines.
5. A method for freely designing a home decoration line is characterized by comprising the following steps: the method comprises the following steps:
1) determining lofting paths under three modes of a single side, a single side and a free path through a path module, wherein the lofting paths comprise:
1.1) acquiring a geometric contour in a determined mode based on a scene object to form a path;
1.2) verifying whether the edges selected by the user in the free path mode are continuous, closed or not and whether redundant edges exist or not, and constructing a lofting path according to the verified edges which are legal;
1.3) generating a normal orientation for each path segment in a free path mode, wherein the normal orientation of the line determined by user operation is a single-side normal orientation;
1.4) converting the two-dimensional section in the local coordinate system into a three-dimensional coordinate system at the starting position of the path;
2) applying a change setting to the profile to the original profile data by a profile preprocessing module, comprising:
2.1) verifying the legality of the profile data structure, and performing partial error correction treatment to reach the standard of a normal simple polygon;
2.2) acquiring the transformation attribute of the section, and setting system preset transformation for the firstly created line according to the type of the line;
2.3) applying the acquired change attribute to a profile data structure to obtain a preprocessed profile structure;
3) generating profile data at each endpoint of the path line segment according to the path and the profile contour data by the key profile generator, and specifically comprising the following steps:
3.1) determining a starting point coordinate system according to the path direction and the starting surface normal;
3.2) converting the profile contour from the original two-dimensional coordinate to a starting point coordinate system to generate a starting point contour of the first line segment;
3.3) determining a plane where the section is located at the end point of the line segment, namely an angle bisection plane, according to the lofting path line segment;
3.4) projecting the starting point outline of the line segment to the plane of the end point section of the line segment to obtain the outline of the line segment;
3.5) repeating the step 3.3) and the step 3.4) to obtain the section profiles at all the inflection points;
4) the lofting body generator generates lofting body grid data by taking every two adjacent sections on a path line as a unit based on the sections generated by the key section generator, and the specific steps are as follows:
4.1) for a path line segment, selecting points of corresponding edges according to profile contour points at two ends to form a lofting surface;
4.2) traversing the profile contour to generate a section of sample surface grid structure;
4.3) traversing the path line segments to generate a lofting surface grid structure of the whole line;
5) the texture coordinate generator is used for setting the rotation and the offset of the applied material to the texture material, calculating a change matrix of the attached material in a tiling mode and a stretching mode, and applying the change matrix to the attached material, and the method comprises the following specific steps:
5.1) grouping the edges of the section in sequence according to the same material and the same paving method to obtain shading paving, paving and adhering and stretching adhering types;
5.2) applying user-set property transformations in case of shading tiles and using system-calculated transformation settings in case of tiling or stretch tiles, according to the grouping type in step 5.1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010680576.2A CN113946886A (en) | 2020-07-15 | 2020-07-15 | Home decoration line free design system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010680576.2A CN113946886A (en) | 2020-07-15 | 2020-07-15 | Home decoration line free design system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113946886A true CN113946886A (en) | 2022-01-18 |
Family
ID=79326246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010680576.2A Pending CN113946886A (en) | 2020-07-15 | 2020-07-15 | Home decoration line free design system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113946886A (en) |
-
2020
- 2020-07-15 CN CN202010680576.2A patent/CN113946886A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109408907B (en) | Method and device for manufacturing three-dimensional building physical model | |
Baik | From point cloud to jeddah heritage BIM nasif historical house–case study | |
CN105069226B (en) | A kind of three-dimensional modeling modeling method based on template | |
CN104217066B (en) | 3D modeling object is designed using 2D view | |
US20050081161A1 (en) | Three-dimensional interior design system | |
CN105046534A (en) | Internet aided design (iAD) | |
Leblanc et al. | Component-based modeling of complete buildings. | |
Beccari et al. | A fast interactive reverse-engineering system | |
CN105354883A (en) | 3ds Max fast and precise three-dimensional modeling method and system based on point cloud | |
CN109344462A (en) | A method of indoor design is carried out based on BIM | |
US10664628B2 (en) | Interactive surface alignment | |
CN102663171A (en) | Method and device capable of supporting interactive display of virtual family products assortment | |
Igarashi et al. | Knitting a 3D model | |
CN105374068B (en) | The Meshing Method of free form surface network | |
CN106485784A (en) | Indoor design image processing method based on multi-terminal equipment data syn-chronization | |
Hamekasi et al. | Interactive modeling of Muqarnas | |
CN111241622A (en) | Self-adaptive water heating electric pipeline adjusting system and method | |
Huard et al. | Planar panelization with extreme repetition | |
CN109697303B (en) | Building brick paving scheme generation method for plane special-shaped area | |
CN106202701A (en) | The generation method of a kind of three-dimensional house image and client | |
CN110378039A (en) | A kind of aluminum alloy pattern plate design method and system based on Revit | |
CN110757806A (en) | 3D printing-oriented double-type-shape close-laying method and system | |
CN113946886A (en) | Home decoration line free design system and method | |
Das et al. | Sketching Free-form Surfaces Using Network of Curves. | |
US20160196691A1 (en) | Systems and methods of retopologizing graphical data |
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 |