Decorative Surface Arrangement Method, System and Storage Medium Based on Component Attribute Association
By defining the properties of the parent component, analyzing the section profile and edge information, configuring the properties of the decorative surface and establishing a model, the linkage between the decorative surface and the properties of the component is solved, and the problem of incoherent operations in the layout of the decorative surface is improved, and design efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202411365874.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2044-09-29
AI Technical Summary
The existing decorative surface layout methods are prone to incoherent operational steps in construction projects, increasing the workload of users and reducing work efficiency, especially in visually, it is difficult to distinguish the arranged decorative surface from the untreated components.
By defining the attribute information of the parent component, analyzing its cross-sectional profile and edge information, configuring the decorative surface and veneer attributes, and establishing a model of the parent component in response to user requests, realizing the linkage between the decorative surface and component attributes, reducing confusion in operation steps.
It improves the accuracy and design efficiency of decorative surface layout, reduces the incidence of design errors, and improves the coherence of user operations and overall design efficiency.
Smart Images

Figure CN119203286B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of computer graphic interface operations, and particularly to a method, system, and storage medium for arranging decorative surfaces based on component attribute associations. Background Art
[0002] In construction projects, the exposed surfaces of components need to be decorated to meet visual aesthetic and functional requirements. Decorative surfaces not only enhance the overall appearance of the building but also provide protection and durability. There is a wide variety of existing decorative surface materials, including tiles, stones, paints, etc., and users usually select and combine them according to design requirements. The efficiency of this process directly affects the quantity calculation and budget management of the entire project.
[0003] In existing quantity calculation software, components and decorative surfaces are regarded as two independent types of components. Users first complete the arrangement of components and then select the corresponding decorative surfaces. This process usually involves multiple steps, including selecting components, invoking decorative surface attributes, setting the positions of decorative surfaces, etc. During use, users need to operate based on the surfaces of parent components to ensure the accurate arrangement of decorative surfaces so as to reflect the real situation in subsequent quantity calculation and budget management. Here, the parent component refers to the main component as the basis.
[0004] However, the existing operation methods are prone to confusion when arranging multiple decorative surfaces, especially when it is visually difficult to distinguish the arranged decorative surfaces from the components that have not been processed. After completing the first step, users often have difficulty accurately remembering the subsequent arrangement of decorative surfaces, resulting in discontinuous operation steps, increasing the workload of operators and reducing work efficiency. Summary of the Invention
[0005] This application provides a method, system, and storage medium for arranging decorative surfaces based on component attribute associations, which can reduce confusion in operation steps by ensuring the linkage relationship between decorative surfaces and component attributes, improve the overall design efficiency, and solve the workload caused by discontinuous operation. This application provides the following technical solutions:
[0006] In a first aspect, this application provides a method for arranging decorative surfaces based on component attribute associations, and the method includes:
[0007] Respond to the user's request to create a component and define the attribute information of the parent component;
[0008] Parse the defined parent component attributes to obtain the cross-sectional profile and edge line information of the parent component;
[0009] Configure the decorative surface and veneer attributes according to the cross-sectional profile and edge line information of the parent component;
[0010] Respond to the user's request to draw the parent component and establish the model of the parent component;
[0011] In response to the user's request to set the decorative edge properties of the parent component, the custom veneer is configured in a linked manner.
[0012] In a specific implementation scheme, in response to a user's request to create a component, defining the property information of the parent component includes:
[0013] Enter a unique number for the component to identify it;
[0014] Select the cross-sectional shape of the component and confirm the desired shape from the preset options.
[0015] In a specific possible implementation scheme, the parsing of the defined parent component attributes and obtaining the parent component cross-sectional profile and edge information includes:
[0016] By parsing the previously defined parent component properties, the cross-sectional profile of the parent component is generated in real time, and the edge information of the profile is extracted to display the cross-sectional profile and its edges in a graphical manner.
[0017] In a specific possible implementation scheme, configuring the decorative surface and veneer properties according to the cross-sectional profile and edge information of the parent component includes:
[0018] In the decorative edge property interface, the property list of the custom veneer is called to support the user to add, delete, copy and modify properties;
[0019] Configure the layout relationship of custom veneers on each face of the parent component, and specify which veneers will be applied to the side and end faces of the parent component.
[0020] In a specific possible implementation scheme, configuring the decorative surface and veneer properties according to the cross-sectional profile and edge information of the parent component further includes:
[0021] The decorative edge settings of the parent component are displayed in the form of end sections;
[0022] By inserting and deleting points, any side of the parent component cross section can be divided into multiple segments, and different custom veneer properties can be bound to each segment.
[0023] In a specific implementation scheme, in response to a user's request to draw a parent component, establishing a model of the parent component includes:
[0024] Construct and generate a three-dimensional model of the parent component according to the attribute information and decorative edge attributes of the parent component;
[0025] After the parent component model is established, the user can select the model and adjust its decorative edge properties;
[0026] After the adjustment is completed, the custom veneer will be regenerated to match it according to the new decorative edge property settings.
[0027] In a specific feasible implementation, the linkage configuration of the custom veneer in response to the user's request for setting the attributes of the decorative edge of the parent component includes:
[0028] When the user configures the decorative edge attribute value, automatically read the attributes of the parent component that support the layout of the decorative edge and display them classified by category;
[0029] After the user selects the corresponding attribute on the interface, view the cross-section, splitting points, and the veneer attributes bound to each edge of the attribute;
[0030] After the user completes the modification of the veneer information, automatically arrange the custom veneer for all components without setting the private attributes of the decorative edge according to the specified edge and veneer attributes;
[0031] The addition, deletion, and modification operations of the parent component trigger the corresponding update of the custom veneer.
[0032] In a second aspect, the present application provides a decorative surface layout system based on component attribute association, adopting the following technical solution:
[0033] A decorative surface layout system based on component attribute association, comprising:
[0034] An attribute definition module, configured to define the attribute information of the parent component in response to the user's request for creating a component;
[0035] A contour acquisition module, configured to parse the defined attributes of the parent component and obtain the cross-section contour and edge line information of the parent component;
[0036] A decorative surface configuration module, configured to configure the decorative surface and veneer attributes according to the cross-section contour and edge line information of the parent component;
[0037] A parent component drawing module, configured to establish a model of the parent component in response to the user's request for drawing the parent component;
[0038] A linkage configuration module, configured to perform linkage configuration of the custom veneer in response to the user's request for setting the attributes of the decorative edge of the parent component.
[0039] In a third aspect, the present application provides an electronic device, the device comprising a processor and a memory; a program is stored in the memory, and the program is loaded and executed by the processor to implement a decorative surface layout method based on component attribute association as described in the first aspect.
[0040] In a fourth aspect, the present application provides a computer-readable storage medium, a program is stored in the storage medium, and the program is used to implement a decorative surface layout method based on component attribute association as described in the first aspect when executed by a processor.
[0041] In summary, the beneficial effects of this application include at least:
[0042] 1) By automatically obtaining the cross-sectional profile and edge information of the parent component, users can set the decorative surface directly based on the component shape without manual input. This not only reduces the difficulty of operation, but also improves efficiency and reduces rework caused by design errors.
[0043] 2) Users can flexibly bind multiple custom veneer properties to different sides and ends of the parent component. On the same surface, different parts can be set to use different veneers to meet complex design requirements and improve design flexibility and aesthetics.
[0044] 3) Intelligent linkage is achieved between the decorative edge properties of the parent component and the custom veneer. When the user adjusts the decorative edge properties, the system automatically updates the relevant information to ensure the consistency of the design. This real-time feedback mechanism improves the user's operating experience, makes the design process smoother, and reduces problems caused by inconsistent information.
[0045] By optimizing the relationship between components and decorative surfaces in existing quantity calculation software, the consistency and efficiency of user operations can be improved. The method includes defining parent component properties, parsing section profiles, configuring decorative surfaces and veneer properties, drawing parent component models, and adjusting decorative edge properties in a linked manner. Specifically, when creating a component, the user enters the necessary attribute information and obtains the section profile and edge data in real time to ensure the accuracy of subsequent decorative surface layout. When setting up decorative surfaces, users are allowed to flexibly configure different veneer properties and automatically update relevant information through the intelligent layout function. This process reduces confusion in operation steps, improves overall design efficiency, and solves the workload caused by inconsistent operations by ensuring the linkage relationship between decorative surfaces and component properties.
[0046] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present application in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a flowchart of a decorative surface arrangement method based on component attribute association in an embodiment of the present application.
[0048] Figure 2 It is a schematic diagram of the overall process of the decorative surface arrangement method based on component attribute association in an embodiment of the present application.
[0049] Figure 3 It is a structural block diagram of a decorative surface arrangement system based on component attribute association in an embodiment of the present application.
[0050] Figure 4It is a block diagram of an electronic device with decorative surface arrangement based on component attribute association in an embodiment of the present application. DETAILED DESCRIPTION
[0051] The specific implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.
[0052] Optionally, the present application takes the decorative surface arrangement method based on component attribute association provided in each embodiment as an example of being used in an electronic device, where the electronic device is a terminal or a server. The terminal may be a mobile phone, a computer, a tablet computer, etc. This embodiment does not limit the type of electronic device.
[0053] Reference Figure 1 , is a flow chart of a decorative surface arrangement method based on component attribute association provided by an embodiment of the present application, the method comprising at least the following steps:
[0054] Step S101: In response to a user's request to create a component, define attribute information of a parent component.
[0055] Step S102: parse the defined parent component properties to obtain the parent component cross-sectional profile and edge information.
[0056] Step S103: configuring the decorative surface and veneer properties according to the cross-sectional profile and edge information of the parent component.
[0057] Step S104: In response to the user's request to draw the parent component, a model of the parent component is established.
[0058] Step S105: In response to the user's request to set the decorative border properties of the parent component, the custom veneer is configured in a linked manner.
[0059] In step S101, in response to the user's request to create a component, the parent component property setting interface is entered. The user first enters the unique number of the component so that the component can be accurately identified later. Next, the user selects the cross-sectional shape of the component and confirms the desired shape from the preset options, such as rectangle or circle. In addition, the user can also enter other relevant attribute information, including material type, length, width and height of the component, etc. This information provides the necessary basic data for the subsequent decorative surface layout. After the user confirms all inputs, the attribute information is automatically saved for subsequent calls and modifications.
[0060] In step S102, when the user opens the decorative edge property setting interface, the operation of obtaining the cross-sectional profile of the parent component is automatically executed. Specifically, by parsing the previously defined parent component properties, the system generates the cross-sectional profile of the parent component in real time and extracts the edge line information of the profile. This process ensures that when the user sets the decorative edge properties, they can clearly view and confirm the actual shape of the parent component. The system will display the cross-sectional profile and its edge lines in a graphical manner to facilitate the user's subsequent decorative surface layout operation. At the same time, the obtained profile data will serve as the basis for subsequent decorative surface settings, ensuring that the user can operate accurately during the design process and improving the overall design efficiency.
[0061] In implementation, by obtaining the cross-sectional profile and edge line information of the parent component in real time, the user can arrange the decorative surface based on the actual shape of the component, thus avoiding design errors caused by shape mismatch. This operation not only improves the user's operation convenience but also provides reliable basic data for subsequent decorative surface settings, ensuring that the final design effect meets expectations.
[0062] In step S103, based on the cross-sectional profile and edge line information of the parent component, the decorative surface and its veneer properties are set. First, in the decorative edge property interface, the property list of the custom veneer is called, supporting operations such as adding, deleting, copying, and modifying properties by the user. The user can flexibly configure the layout relationship of the custom veneer on each surface of the parent component, specifying which veneers will be applied to the side and end faces of the parent component.
[0063] In implementation, the decorative edge setting of the parent component is displayed in the form of an end face cross-section. The user can select a certain edge line to represent the corresponding side face. On this basis, the user can divide any side of the cross-section of the parent component into multiple segments through the functions of inserting and deleting points. Different custom veneer properties can be bound to each segment to achieve veneer settings for different parts on the same surface.
[0064] In addition, to protect the original data, the new cross-section generated after inserting points will be saved as independent data. After the user confirms the save, the system will record the new profile after segmentation, the custom veneer properties bound to each edge, as well as whether the end face is arranged with veneers and the specific veneer information. These data will be stored as the decorative edge property values of the parent component.
[0065] When the parent component is generated, a custom veneer generation method will be called based on the decorative edge attribute values to automatically generate the corresponding decorative edges for each edge. Regarding how to arrange multiple decorative edges on one face of the parent component, the parent component will combine its original cross-section and the positioning line data saved internally to generate a 3D model. The positioning lines are directly connected by the starting and ending points of the linear components without additional calculation and serve as the path for model generation. Using the extrusion modeling method, the 2D graphics are extruded along the specified direction into 3D solids to form the attached custom veneers. Finally, by selecting the edge lines of the end face, the user can accurately select the corresponding side surfaces, while the other two end faces are uniformly selected through checkboxes, and the corresponding veneer attributes are selected through dropdown boxes. This process ensures the generation of the corresponding veneer component model according to the veneer attributes associated in the decorative edge attributes.
[0066] In implementation, during the process of arranging the decorative surface, the software provides a series of operation options for the user to achieve the function of intelligent layout adjustment. The user can input design rules in the setting interface, such as the minimum spacing and the maximum coverage area. These inputs will guide the software to perform automatic adjustments when arranging the decorative surface.
[0067] Specifically, the user first selects the decorative surface to be arranged on the interface and defines the corresponding layout rules. After the user selects two or more decorative surfaces, the software will analyze the current layout in real time to ensure that the distance between the decorative surfaces meets the minimum spacing set by the user. If the position of a decorative surface is close to another decorative surface, the software will automatically adjust its position to maintain a reasonable interval.
[0068] At the same time, the software will also monitor the coverage area of each decorative surface. If the total area of a decorative surface reaches the maximum coverage area set by the user, the system will automatically prompt the user and suggest alternative solutions to ensure the rationality and aesthetics of the layout. The user can make corresponding adjustments according to these prompts to avoid unnecessary visual chaos.
[0069] Through these operations, the user can not only efficiently complete the decorative surface layout but also ensure the harmony and consistency of the overall effect during the design process. This intelligent layout adjustment operation enables the user to focus more on the design concept during the creation process without worrying too much about details, thus significantly improving the design efficiency and quality. Finally, through the intelligent layout adjustment, the software helps the user achieve a decorative effect that meets both aesthetic requirements and functional needs.
[0070] In another feasible embodiment, a technical solution of introducing a multi-level decorative surface combination is presented. Through the diverse decorative layers on the external surface of the component, the visual effect and functionality of the architectural design are enhanced. This solution allows users to flexibly apply multiple decorative layers on the outer surface of each component. These layers can have different material, color, texture, and thickness attributes, thus creating a rich and unique visual experience.
[0071] During the specific implementation process, the user first selects the target parent component in the decorative edge attribute setting interface and defines the attributes of the first decorative layer, including material type, color, and texture, etc. After completion, the user can choose to add the second decorative layer and set different attributes for it, such as higher protection or a unique visual style. The system will automatically calculate and adjust according to the physical properties between the layers, such as adhesion, thermal conductivity, and appearance coordination, to ensure that the designed decorative combination achieves the best effect in terms of function and aesthetics.
[0072] To support this complex hierarchical structure, the system will provide a graphical interface to intuitively display the layout and attributes of each layer of the decorative surface. The user can adjust the order and position of the layers through simple drag-and-drop operations to ensure that the design meets their expectations. At the same time, the system will be equipped with a preview function, allowing the user to view the overall effect of the multi-level decorative combination before final confirmation, which can effectively reduce design errors and adjustment costs.
[0073] In addition, the multi-level decorative surface combination technology not only enhances the flexibility and diversity of the design but also meets the personalized needs of different users, providing a wider creative space. By introducing this technology, architectural design will become more innovative, injecting new vitality into the beauty and practicality of buildings, and promoting the development and progress of the construction industry.
[0074] In step S104, after the attribute setting is completed, a model of the parent component is established. According to the attribute information of the parent component and the decorative edge attributes, a three-dimensional model of the parent component is automatically constructed and generated. During this process, the previously configured attributes are used to ensure that the various parameters of the model and the settings of the decorative edge are correctly applied, thus realizing the complete display of the component. The generated model will facilitate the user's subsequent operations and adjustments, improving the efficiency and convenience of the overall design.
[0075] In addition, preferably, after the parent component model is established, the user can select the model and adjust the properties of its decorative edges. This operation allows the user to modify the relevant parameters of the decorative edges according to specific design requirements. During the adjustment process, the system provides real-time feedback to ensure that the user can clearly understand the impact of the changes made. After the adjustment is completed, a custom veneer that matches the new decorative edge property settings will be automatically regenerated. This process ensures the consistency between the decorative edges and the custom veneer, ultimately forming a model effect that meets the user's requirements. The user can further optimize the design based on this to enhance the overall user experience.
[0076] In step S105, the setting of the decorative edge properties of the parent component is closely linked to the intelligent layout function of the custom veneer. When the user configures the decorative edge property values, the intelligent layout function will automatically read all the properties of the parent components that support the layout of the decorative edges and display them classified by category. After the user selects the corresponding properties on the interface, detailed information such as the cross-section, splitting points, and veneer properties bound to each edge of the property can be viewed.
[0077] On this basis, the user can conveniently add, delete, or modify the veneer information. After the modification is completed and the confirmation is clicked, the system will automatically arrange the custom veneers for all components without setting the private properties of the decorative edges according to the specified edges and veneer properties. At the same time, any changes made in the custom veneer function will be immediately updated to the properties of the parent component to ensure information consistency.
[0078] In addition, operations such as adding, deleting, or modifying the parent component, such as creating new ones, deleting, or moving the position, will trigger corresponding updates to the custom veneer. In specific cases, for example, after a custom veneer is arranged on the end face of a linear component, if a chamfer is formed between this end face and other components, the veneer will also be deleted accordingly to ensure the integrity and accuracy of the design.
[0079] In another feasible embodiment, after the user completes the decorative surface setting, the system will automatically optimize it to ensure the rationality and aesthetics of the layout. First, in terms of geometric optimization, the system will use the "Least Squares Method" algorithm to analyze the contact points between the decorative surface and the parent component. By minimizing the sum of the squares of the errors, the system can automatically adjust the position and size of the veneer to ensure a seamless connection between the decorative surface and the component. Specifically, when the user sets the decorative surface, the system calculates the distances of each contact point in real time and makes fine adjustments according to the actual situation to eliminate gaps or irregular contacts. This processing method significantly enhances the overall aesthetic of the design and ensures that the decorative surface looks more harmonious visually.
[0080] Secondly, in terms of aesthetic adjustment, the system will apply the "K-Means clustering algorithm" to recommend the best combination of decorative surface colors and materials. This algorithm identifies other color and material combinations that match the main color by clustering and analyzing decorative surface material and color samples. For example, when the user selects a material of a specific color, the system will automatically recommend the matching color, providing a more aesthetically pleasing design solution. This process not only makes the design results more professional but also enhances the flexibility of the user when choosing materials.
[0081] Finally, in terms of functional suggestions, the system will integrate the "Decision Tree Algorithm" to evaluate the durability and applicability of the selected decorative surface in a specific environment. Based on the environmental conditions (such as humidity, temperature, etc.) input by the user and the characteristics of the decorative surface material, this algorithm determines the performance of the selected material under these conditions. When the system detects that the selected decorative surface is not suitable for the current environment, it will actively provide suggestions for alternative materials to ensure the applicability of the materials.
[0082] By introducing the automatic optimization function, the intelligence level of the design process has been significantly improved. Geometric optimization ensures seamless connection between the decorative surface and the parent component, making the design more visually unified. Aesthetic adjustment enables users to easily obtain the best combination of materials and colors, enhancing the overall aesthetic of the design. Functional suggestions further ensure the durability of the selected materials in practical applications, avoiding subsequent problems caused by unsuitable materials.
[0083] In addition, another method can also be used to automatically optimize the layout of the decorative surface. Specifically:
[0084] First, in terms of geometric optimization, the system will analyze the contact points between the decorative surface and the parent component and automatically adjust the size and position of the veneer using the "least squares method". By calculating the error of the contact points in real time, the system can eliminate potential gaps, ensuring seamless connection visually, thereby enhancing the integrity and aesthetic of the design.
[0085] Next, in aesthetic adjustment, the system will use the "Principal Component Analysis (PCA)" algorithm to provide users with suggestions on the best combination of decorative surface colors and materials. By analyzing existing material samples, the system can identify the color matching schemes with the most visual impact, helping users quickly select the best combination and optimize the design effect.
[0086] Finally, in terms of functional suggestions, the system will implement the "Decision Tree Algorithm" to analyze the applicability of the selected decorative surface under different environmental conditions. This algorithm will evaluate the durability of the material and provide feasible alternative suggestions when it is found that the selected decorative surface is not suitable for a specific environment, ensuring the effective use of the material.
[0087] After introducing the automatic optimization function, when users arrange decorative surfaces, the efficiency and effect of the design will be significantly improved. Geometric optimization ensures perfect connection between components and enhances the overall visual aesthetic. Aesthetic adjustment enables users to find the best combinations more easily, reducing the time cost in the design process. Functional suggestions enhance the practicality of the design and avoid problems caused by inappropriate materials.
[0088] In summary, this application improves the coherence and efficiency of user operations by optimizing the relationship between components and decorative surfaces in existing quantity calculation software. The method includes defining parent component attributes, parsing cross-section profiles, configuring decorative surface and veneer attributes, drawing the parent component model, and synchronously adjusting decorative edge attributes. Specifically, when creating a component, the user inputs the necessary attribute information and obtains cross-section profile and edge line data in real time to ensure the accuracy of subsequent decorative surface arrangement. When setting the decorative surface, the user is allowed to flexibly configure different veneer attributes, and relevant information is automatically updated through the intelligent arrangement function. This process reduces confusion in the operation steps by ensuring the synchronous relationship between the decorative surface and component attributes, improves the overall design efficiency, and solves the work burden caused by inconsistent operations.
[0089] Figure 3 It is the structural block diagram of a decorative surface arrangement system based on component attribute association provided by an embodiment of this application. The device at least includes the following modules:
[0090] The attribute definition module is used to define the attribute information of the parent component in response to the user's request to create a component;
[0091] The profile acquisition module is used to parse the defined parent component attributes and obtain the cross-section profile and edge line information of the parent component;
[0092] The decorative surface configuration module is used to configure the decorative surface and veneer attributes according to the cross-section profile and edge line information of the parent component;
[0093] The parent component drawing module is used to establish the model of the parent component in response to the user's request to draw the parent component;
[0094] The synchronous configuration module is used to synchronously configure the custom veneer in response to the user's request to set the decorative edge attributes of the parent component.
[0095] For relevant details, refer to the above method embodiment.
[0096] Figure 4 It is the block diagram of an electronic device provided by an embodiment of this application. The device at least includes a processor 401 and a memory 402.
[0097] The processor 401 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 401 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 401 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0098] The memory 402 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 402 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 402 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 401 to implement the method for arranging decorative surfaces based on component attribute association provided in the method embodiments of the present application.
[0099] In some embodiments, the electronic device may also optionally include: a peripheral device interface and at least one peripheral device. The processor 401, the memory 402, and the peripheral device interface may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface through a bus, signal lines, or a circuit board. Schematically, the peripheral devices include, but are not limited to: a radio frequency circuit, a touch display screen, an audio circuit, and a power supply, etc.
[0100] Of course, the electronic device may also include fewer or more components, and this embodiment does not limit this.
[0101] Optionally, the present application further provides a computer-readable storage medium, in which a program is stored and loaded and executed by a processor to implement the method for arranging a decorative surface based on component attribute association in the above method embodiment.
[0102] Optionally, the present application further provides a computer product, which includes a computer-readable storage medium, in which a program is stored and loaded and executed by a processor to implement the method for arranging a decorative surface based on component attribute association in the above method embodiment.
[0103] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0104] The above embodiments only express several implementation manners of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several deformations and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. A method for arranging decorative surfaces based on component attribute association, characterized in that, The method comprises: In response to a user's request to create a component, define attribute information of the parent component; Parse the defined parent component properties and obtain the parent component section profile and edge information; Configure the decorative surface and veneer properties according to the parent component section profile and edge information, including: the parent component decorative edge setting is displayed in the form of end section; through the function of inserting and deleting points, any side of the parent component cross section can be divided into multiple segments, and different custom veneer properties can be bound to each segment; When the parent component is generated, the custom veneer generation method is called according to the decorative edge attribute value to automatically generate the decorative edges corresponding to each edge; when multiple decorative edges are arranged, the parent component will generate a 3D model in combination with its original cross-section and positioning line data; using the stretch modeling method, the 2D graphics are stretched into a 3D entity along the specified direction to form an attached custom veneer; by selecting the edge line of the end face, the corresponding side surface is selected, and the other two end faces are uniformly selected by checking the box, and the corresponding veneer attributes are selected through the drop-down box; In response to a user's request to draw a parent component, a model of the parent component is established; In response to a user's request to set the decorative edge property of the parent component, a custom veneer is configured in a linked manner; In response to the user's request to set the decorative border property of the parent component, the linked configuration of the custom veneer also includes: After the decoration surface is set, in terms of geometric optimization, the least squares algorithm is used to analyze the contact points between the decoration surface and the parent component. By minimizing the sum of square errors, the distance between each contact point is calculated in real time to adjust the position and size of the veneer. In terms of aesthetic adjustment, the K-Means clustering algorithm or principal component analysis algorithm is used to analyze the decorative surface materials and color samples, identify other color and material combinations that match the main color, and recommend the best decorative surface color and material combination; In terms of functional recommendations, an integrated decision tree algorithm determines the performance of the selected material under the conditions based on the environmental conditions and characteristics of the decorative surface materials input by the user, and evaluates the durability and applicability of the decorative surface selected by the user in a specific environment.
2. The method for arranging decorative surfaces based on component attribute association according to claim 1, wherein The step of defining the attribute information of the parent component in response to the user's request to create a component includes: Enter a unique number for the component to identify it; Select the cross-sectional shape of the component and confirm the desired shape from the preset options.
3. The method for arranging a decorative surface based on component attribute association according to claim 1, characterized in that The parent component attributes defined by the analysis, and obtaining the parent component cross-sectional profile and edge information include: By parsing the previously defined parent component properties, the cross-sectional profile of the parent component is generated in real time, and the edge information of the profile is extracted to display the cross-sectional profile and its edges in a graphical manner.
4. The method for arranging decorative surfaces based on component attribute association according to claim 1, wherein The configuration of the decorative surface and veneer properties according to the cross-sectional profile and edge information of the parent component includes: In the decorative edge property interface, the property list of the custom veneer is called to support the user to add, delete, copy and modify properties; Configure the layout relationship of custom veneers on each face of the parent component, and specify which veneers will be applied to the side and end faces of the parent component.
5. The method for arranging decorative surfaces based on component attribute association according to claim 1, wherein In response to the user's request to draw the parent component, establishing the model of the parent component includes: Construct and generate a three-dimensional model of the parent component according to the attribute information and decorative edge attributes of the parent component; After the parent component model is established, the user can select the model and adjust its decorative edge properties; After the adjustment is completed, the custom veneer will be regenerated to match it according to the new decorative edge property settings.
6. The method for arranging decorative surfaces based on component attribute association according to claim 1, wherein In response to the user's request to set the decorative border property of the parent component, the linked configuration of the custom veneer includes: When the user configures the decorative border attribute value, the parent component attributes that support the decorative border arrangement are automatically read and displayed by category; After the user selects the corresponding attribute on the interface, he can view the cross section, split point and veneer attributes bound to each edge of the attribute; After the user completes the modification of the veneer information, all components that do not have the private properties of the decorative edges set will automatically be arranged according to the specified edge and veneer properties. Adding, deleting, or modifying the parent component triggers the corresponding custom veneer update.
7. A decorative surface arrangement system based on component attribute association, characterized in that include: The attribute definition module is used to define the attribute information of the parent component in response to the user's request to create the component; The contour acquisition module is used to parse the defined parent component attributes and obtain the cross-sectional contour and edge information of the parent component; The decorative surface configuration module is used to configure the decorative surface and veneer properties according to the cross-sectional profile and edge information of the parent component, including: the decorative edge setting of the parent component is displayed in the form of an end section; through the function of inserting and deleting points, any side of the parent component cross section can be divided into multiple segments, and different custom veneer properties can be bound to each segment; When the parent component is generated, the custom veneer generation method is called according to the decorative edge attribute value to automatically generate the decorative edges corresponding to each edge; when multiple decorative edges are arranged, the parent component will generate a 3D model in combination with its original cross-section and positioning line data; using the stretch modeling method, the 2D graphics are stretched into a 3D entity along the specified direction to form an attached custom veneer; by selecting the edge line of the end face, the corresponding side surface is selected, and the other two end faces are uniformly selected by checking the box, and the corresponding veneer attributes are selected through the drop-down box; A parent component drawing module, used to establish a model of the parent component in response to a user's request to draw the parent component; A linkage configuration module is used to configure a custom veneer in response to a user's setting request for the parent component's decorative edge attribute; after the linkage configuration of the custom veneer in response to the user's setting request for the parent component's decorative edge attribute, the following further comprises: After the decoration surface is set, in terms of geometric optimization, the least squares algorithm is used to analyze the contact points between the decoration surface and the parent component. By minimizing the sum of square errors, the distance between each contact point is calculated in real time to adjust the position and size of the veneer. In terms of aesthetic adjustment, the K-Means clustering algorithm or principal component analysis algorithm is used to analyze the decorative surface materials and color samples, identify other color and material combinations that match the main color, and recommend the best decorative surface color and material combination; In terms of functional recommendations, an integrated decision tree algorithm determines the performance of the selected material under the conditions based on the environmental conditions and characteristics of the decorative surface materials input by the user, and evaluates the durability and applicability of the decorative surface selected by the user in a specific environment.
8. An electronic device, characterized in that, The device includes a processor and a memory; a program is stored in the memory, and the program is loaded and executed by the processor to implement a decorative surface arrangement method based on component attribute association as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, A program is stored in the storage medium, and when the program is executed by a processor, it is used to implement a decorative surface arrangement method based on component attribute association as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method for realizing brick arrangement design based on Revit modeling software
CN116702263A