A method and system for automatic docking and positioning of parametric cabinets for customized furniture

By calculating the positioning angle properties of the cabinet unit in a three-dimensional scenario and using the cursor to drag the target positioning angle, the problems of cumbersome and erroneous operation of the traditional docking positioning technology are solved, and the rapid and accurate docking positioning and design efficiency of the cabinet unit are achieved.

CN115329412BActive Publication Date: 2025-07-01GUANGZHOU YUANFANG COMP SOFTWARE ENG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210959283.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-10
Publication Date
2025-07-01
Estimated Expiration
2042-08-10

AI Technical Summary

Technical Problem

Traditional docking positioning technology is complicated to operate in customized furniture, and it is easy to cause misoperation to cause positioning errors, which in turn leads to design errors.

Method used

By obtaining the cabinet unit information in the three-dimensional scene, the positioning angle attributes of each cabinet unit are calculated, and the mouse cursor drag is used to match the positioning angle of the target cabinet unit, the cabinet unit can be quickly and accurately docked and positioned.

Benefits of technology

It realizes the rapid and accurate docking and positioning of the cabinet unit, avoids positioning errors caused by cumbersome operations and misoperation in traditional technology, and improves design efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115329412B_ABST
    Figure CN115329412B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for automatically docking and positioning parametric cabinets for customized furniture. The method includes obtaining all cabinet units in a three-dimensional scene; traversing and reading information of all sides of each cabinet unit; calculating all positioning angle attributes of each cabinet unit according to the information of all sides of each cabinet unit; receiving a determination instruction from the user to select a cabinet unit in the three-dimensional scene as the cabinet unit to be arranged, receiving an operation instruction from the user to drag the cabinet unit to be arranged with the mouse cursor, and determining whether the distance between the cursor point and the positioning angle points corresponding to the positioning angles of other cabinet units is less than a limit value. If so, perform matching according to the positioning matching method; convert the positioning angle of the cabinet unit to be arranged to the positioning angle of the target cabinet unit that matches the cabinet unit to be arranged through coordinate transformation. The present invention solves the problems of cumbersome operation of traditional docking and positioning technologies and easy occurrence of misoperations leading to positioning errors and further design errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of docking positioning, and particularly to a method and system for automatically docking and positioning parametric cabinets of customized furniture. Background Art

[0002] In customized furniture, many furniture pieces are composed of multiple parametric unit cabinets, which is particularly common in the application of cabinet design. If the general 3D point capture function and 3D movement editing function in design software are used to achieve the mutual combination, positioning, and docking of parametric unit cabinets, the operation will be very cumbersome, seriously affecting the design efficiency, and it is easy to have misoperations that cause positioning errors and then design errors. Therefore, how to accurately and conveniently dock and position with the already arranged unit cabinets during the layout of unit cabinets is a problem that must be solved. Summary of the Invention

[0003] In view of the above defects, the present invention proposes a method and system for automatically docking and positioning parametric cabinets of customized furniture, aiming to solve the problems of cumbersome operation in traditional docking positioning technology and easy occurrence of misoperations that cause positioning errors and then design errors.

[0004] To achieve this purpose, the present invention adopts the following technical solutions:

[0005] A method for automatically docking and positioning parametric cabinets of customized furniture includes the following steps:

[0006] Step S1: Obtain all cabinet units in the 3D scene, where the cabinet units include information about all sides.

[0007] Step S2: Traverse and read the information about all sides of each cabinet unit.

[0008] Step S3: Calculate all positioning angle attributes of each cabinet unit according to the information about all sides of each cabinet unit, where the positioning angle attributes include the left front angle, the right front angle, the left rear angle, and the right rear angle.

[0009] Step S4: Receive an instruction from the user to create a parametric cabinet in the 3D scene and position and arrange it, or a confirmation instruction to select a cabinet unit in the scene as the arranged cabinet unit, receive an operation instruction from the user to drag the arranged cabinet unit with the mouse cursor, and determine whether the distance between the cursor point and the positioning angle points corresponding to the positioning angles of other cabinet units is less than a limit value. If so, perform matching according to the positioning matching method; if the distances between the cursor point and the positioning angle points corresponding to the positioning angles of multiple other cabinet units are all less than the limit value, match with the positioning angle of the cabinet unit with the smallest distance value.

[0010] Step S5: Convert the positioning corner of the arranged cabinet unit to the positioning corner of the target cabinet unit that matches the arranged cabinet unit through coordinate transformation, and the positioning of the arranged cabinet unit is completed.

[0011] Preferably, in step S4, the limit value is specifically 100 pixel points.

[0012] Preferably, in step S4, the positioning and matching methods include matching the left front corner of the arranged cabinet unit with the right front corner of the target cabinet unit, matching the left rear corner of the arranged cabinet unit with the right rear corner of the target cabinet unit, matching the right front corner of the arranged cabinet unit with the left front corner of the target cabinet unit, and matching the right rear corner of the arranged cabinet unit with the left rear corner of the target cabinet unit.

[0013] Preferably, step S5 specifically includes the following steps:

[0014] Step S51: Establish a first coordinate system for the positioning corner corresponding to the positioning corner point of the arranged cabinet unit;

[0015] Step S52: Establish a second coordinate system for the positioning corner corresponding to the positioning corner point of the target cabinet unit;

[0016] Step S53: Convert the first coordinate system to the second coordinate system through matrix transformation.

[0017] Preferably, it further includes a setting step: setting the positioning corner of the arranged cabinet unit that has completed positioning and the positioning corner of the target cabinet unit that matches it as non-docking associated attributes.

[0018] On the other hand, the present application provides a system for automatically docking and positioning parametric cabinets for customized furniture, and the system includes:

[0019] An acquisition module for acquiring all cabinet units in the three-dimensional scene;

[0020] A reading module for traversing and reading the information of all sides of each cabinet unit;

[0021] A calculation module for calculating all positioning corner attributes of each cabinet unit according to the information of all sides of each cabinet unit;

[0022] A first receiving module for receiving an instruction from the user to create and position a parametric cabinet in the three-dimensional scene, or a determination instruction to select a cabinet unit in the scene as the arranged cabinet unit;

[0023] A second receiving module for receiving an operation instruction from the user to drag the arranged cabinet unit with the mouse cursor;

[0024] A judgment module for judging whether the distance between the cursor point and the positioning corner point corresponding to the positioning corner of other cabinet units is less than the limit value;

[0025] A matching module, configured to match the positioning corners of two cabinet body units according to a positioning and matching method;

[0026] A conversion module, configured to convert the positioning corner of the arranged cabinet body unit to the positioning corner of the target cabinet body unit that matches the arranged cabinet body unit through a coordinate conversion method.

[0027] Preferably, the conversion module includes a first creation sub-module, a second creation sub-module, and a conversion sub-module; the first creation sub-module is configured to establish a first coordinate system for the positioning corner of the arranged cabinet body unit corresponding to the positioning corner point, the second creation sub-module is configured to establish a second coordinate system for the positioning corner of the target cabinet body unit corresponding to the positioning corner point, and the conversion sub-module is configured to convert the first coordinate system into the second coordinate system through matrix transformation.

[0028] Preferably, it further includes a setting module, and the setting module is configured to set the positioning corner of the arranged cabinet body unit that has completed positioning and the positioning corner of the target cabinet body unit that matches it as a non-docking association attribute.

[0029] The technical solution provided by the embodiments of the present application may include the following beneficial effects:

[0030] This solution uses the mutual matching between the light points of the arranged cabinet body unit and the positioning corner points corresponding to the positioning corners of the target cabinet body unit to achieve fast and accurate docking and positioning of the cabinet body units, which can effectively solve the problems of cumbersome operation in traditional docking and positioning technologies, and easy occurrence of misoperations leading to positioning errors and further design errors. Description of the Drawings

[0031] Figure 1 is a flowchart of the method steps for automatic docking and positioning of parametric cabinets for customized furniture;

[0032] Figure 2 is a schematic structural diagram of an embodiment;

[0033] Figure 3 is a top view of the structure of an embodiment.

[0034] Among them, 1. The first cabinet; 2. The second cabinet. Detailed Embodiments

[0035] The following details the embodiments of the present invention. The examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0036] A method for automatically docking and positioning parametric cabinets for customized furniture, comprising the following steps:

[0037] Step S1: Obtain all cabinet units in the three-dimensional scene, where the cabinet units include information about all sides;

[0038] Step S2: Traverse and read the information about all sides of each cabinet unit;

[0039] Step S3: Calculate all positioning angle attributes of each cabinet unit according to the information about all sides of each cabinet unit, where the positioning angle attributes include the left front angle, the right front angle, the left rear angle, and the right rear angle;

[0040] Step S4: Receive an instruction from the user to create and position a parametric cabinet in the three-dimensional scene, or a confirmation instruction to select a cabinet unit in the scene as the cabinet unit to be arranged, receive an operation instruction from the user to drag the cabinet unit to be arranged with the mouse cursor, and determine whether the distance between the cursor point and the positioning angle points corresponding to the positioning angles of other cabinet units is less than a limit value. If so, perform matching according to the positioning matching method; if the distances between the cursor point and the positioning angle points corresponding to the positioning angles of multiple other cabinet units are all less than the limit value, then match with the positioning angle of the cabinet unit with the smallest distance value;

[0041] Step S5: Convert the positioning angle of the cabinet unit to be arranged to the positioning angle of the target cabinet unit that matches the cabinet unit to be arranged through coordinate transformation, and the docking and positioning of the cabinet unit to be arranged is completed.

[0042] A method for automatically docking and positioning parametric cabinets for customized furniture in this solution, as Figure 1 shown, obtains all cabinet units in the three-dimensional scene. The cabinet units include information about all sides. In one embodiment, as Figure 2 shown, the rear side, the front side, the left side, and the right side of the cabinet unit are specified in the counterclockwise direction, which facilitates the subsequent definition of each positioning angle attribute in the cabinet unit. Specifically, p1p2 is the rear side of the unit cabinet, p2p3 is the left side of the unit cabinet, p3p4 is the front side of the unit cabinet, and p4p1 is the right side of the unit cabinet. Therefore, p1p2 and p2p3 form the left rear angle, p1p2 and p4p1 form the right rear angle, p2p3 and p3p4 form the left front angle, and p4p1 and p3p4 form the right front angle.

[0043] First, read the information of all sides of the first cabinet unit, and calculate all the positioning angle attributes of this cabinet unit. The positioning angle attributes include the left front angle, the right front angle, the left rear angle, and the right rear angle. Then, read the second cabinet unit and calculate all the positioning angle attributes of the second cabinet unit, and so on until all cabinet units are read. When the user arranges the cabinet units in the three-dimensional scene, move the mouse cursor point to drag and arrange a cabinet unit, and find the positioning angle whose distance from the mouse cursor point is less than the limit value among the positioning angle points of other cabinet units, and match it with the above. Convert the positioning angle of the arranged cabinet unit to the positioning angle of the target cabinet unit that matches the arranged cabinet unit through coordinate transformation, so as to achieve the fast and accurate docking and positioning of the cabinet unit.

[0044] This solution realizes the fast and accurate docking and positioning of the cabinet unit by matching the cursor point of the arranged cabinet unit with the corresponding positioning angle point of the target cabinet unit, which can effectively solve the problems of cumbersome operation in the traditional docking and positioning technology, and easy occurrence of misoperation leading to positioning errors and then design errors.

[0045] Preferably, in step S4, the limit value is specifically 100 pixel points.

[0046] In this embodiment, the judgment of the distance between the cursor point of the arranged cabinet unit and the corresponding positioning angle point of the positioning angle of other cabinet units is actually the judgment of the screen pixel distance. When the distance between the cursor point of the arranged cabinet unit and the corresponding positioning angle point of the positioning angle of other cabinet units is less than 100 pixel points, the positioning angle of the arranged cabinet unit is in contact with the positioning angle of the corresponding matching cabinet unit, and the effect after the matching positioning of the two is displayed, which is convenient for the user to operate.

[0047] Further explanation, if the distances between the cursor point of the arranged cabinet unit and the corresponding positioning angle points of multiple positioning angles in other cabinet units are all within 100 pixel points, then select the positioning angle with the smallest distance to match the arranged cabinet unit.

[0048] Preferably, in step S4, the positioning matching methods include the left front angle of the arranged cabinet unit matching the right front angle of the target cabinet unit, the left rear angle of the arranged cabinet unit matching the right rear angle of the target cabinet unit, the right front angle of the arranged cabinet unit matching the left front angle of the target cabinet unit, and the right rear angle of the arranged cabinet unit matching the left rear angle of the target cabinet unit. Specifically, the positioning matching method is unique, which is conducive to aligning and positioning the front or rear sides of each cabinet unit and preventing multiple cabinet units from overlapping and stacking.

[0049] Preferably, in step S5, it specifically includes the following steps:

[0050] Step S51: Establish a first coordinate system with the positioning corners of the arranged cabinet unit corresponding to the positioning corner points;

[0051] Step S52: Establish a second coordinate system with the positioning corners of the target cabinet unit corresponding to the positioning corner points;

[0052] Step S53: Convert the first coordinate system into the second coordinate system through matrix transformation.

[0053] Specifically, the coordinate conversion method is an existing 3D editing technology. In one embodiment, as Figure 3 shown, set the second cabinet 2 as the arranged cabinet unit, and set the first cabinet 1 as the target cabinet unit that matches the arranged cabinet unit. The left rear corner of the second cabinet 2 matches the right rear corner of the first cabinet 1. Among them, the corner point e corresponding to the left rear corner of the second cabinet 2 and the two corresponding sides he and ef form the first coordinate system, and the corner point d corresponding to the right rear corner of the first cabinet 1 and the two corresponding sides cd and da form the second coordinate system. By converting the first coordinate system into the second coordinate system through matrix transformation, the docking and positioning of the second cabinet 2 are completed.

[0054] Preferably, it further includes a setting step: setting the positioning corners of the arranged cabinet unit that has completed positioning and the positioning corners of the target cabinet unit that matches it as non-docking associated attributes. Specifically, set the two positioning corners that have completed matching as non-docking associated attributes, so that these two positioning corners will not participate in the matching during the next matching operation, avoiding interference operations and misoperations.

[0055] On the other hand, the present application provides a system for automatically docking and positioning parametric cabinets for customized furniture, and the system includes:

[0056] An acquisition module, used to acquire all cabinet units in the 3D scene;

[0057] A reading module, used to traverse and read the information of all sides of each cabinet unit;

[0058] A calculation module, used to calculate all positioning corner attributes of each cabinet unit according to the information of all sides of each cabinet unit;

[0059] A first receiving module, used to receive the instruction of the user to create a parametric cabinet and position and arrange it in the 3D scene, or the confirmation instruction of selecting a cabinet unit in the scene as the arranged cabinet unit;

[0060] A second receiving module, used to receive the operation instruction of the user to drag the arranged cabinet unit with the mouse cursor;

[0061] A judgment module, used to judge whether the distance between the cursor point and the positioning corner points corresponding to the positioning corners of other cabinet units is less than the limit value;

[0062] A matching module for matching the positioning corners of two cabinet units according to the positioning matching method;

[0063] A conversion module for converting the positioning corner of the arranged cabinet unit to the positioning corner of the target cabinet unit that matches the arranged cabinet unit through coordinate conversion.

[0064] Specifically, the system includes an acquisition module, a reading module, a calculation module, a first receiving module, a second receiving module, a judgment module, a matching module, and a conversion module. The cooperation of each module realizes the rapid and accurate docking positioning of the cabinet unit.

[0065] Preferably, the conversion module includes a first creation sub-module, a second creation sub-module, and a conversion sub-module; the first creation sub-module is used to establish a first coordinate system for the positioning corner corresponding to the positioning corner point of the arranged cabinet unit, the second creation sub-module is used to establish a second coordinate system for the positioning corner corresponding to the positioning corner point of the target cabinet unit, and the conversion sub-module is used to convert the first coordinate system into the second coordinate system through matrix transformation.

[0066] Specifically, the conversion module includes a first creation sub-module, a second creation sub-module, and a conversion sub-module. The cooperation of each module realizes the conversion of the positioning corner of the cabinet unit that has been matched with the arranged cabinet unit to the target positioning corner of the arranged cabinet unit through coordinate conversion.

[0067] Preferably, it further includes a setting module for setting the positioning corner of the arranged cabinet unit that has completed positioning and the positioning corner of the target cabinet unit that matches it as a non-docking association attribute.

[0068] Specifically, the setting module sets the two positioning corners that have been matched as non-docking association attributes, and these two positioning corners will not participate in the matching during the next matching operation, avoiding interference operations and misoperations.

[0069] In addition, in each embodiment of the present invention, each functional unit can be integrated in a processing module, or each unit can exist physically alone, or two or more units can be integrated in a module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0070] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.

Claims

1. A method for automatically docking and positioning a parametric cabinet body for customized furniture, characterized in that: It includes the following steps: Step S1: Obtain all cabinet units in the three-dimensional scene, where the cabinet units include information about all sides; Step S2: Traverse and read the information about all sides of each cabinet unit; Step S3: Calculate all positioning angle attributes of each cabinet unit according to the information about all sides of each cabinet unit, and the positioning angle attributes include the left front angle, the right front angle, the left rear angle, and the right rear angle; Step S4: Receive an instruction from the user to create a parametric cabinet in the three-dimensional scene and position and arrange it, or receive a confirmation instruction to select a cabinet unit in the scene as the cabinet unit to be arranged. Receive an operation instruction from the user to drag the cabinet unit to be arranged with the mouse cursor, and determine whether the distance between the cursor point and the positioning angle points corresponding to the positioning angles of other cabinet units is less than a limit value. If so, perform matching according to the positioning matching method; if the distances between the cursor point and the positioning angle points corresponding to the positioning angles of multiple other cabinet units are all less than the limit value, then match with the positioning angle of the cabinet unit with the smallest distance value; Step S5: Convert the positioning angle of the cabinet unit to be arranged to the positioning angle of the target cabinet unit that matches the cabinet unit to be arranged through coordinate transformation, and the docking and positioning of the cabinet unit to be arranged is completed; It also includes a setting step: Set the positioning angles of the cabinet unit to be arranged that has completed positioning and the positioning angles of the target cabinet unit that matches it as non-docking associated attributes.

2. A method for automatically docking and positioning a parametric cabinet for customized furniture according to claim 1, characterized in that: In step S4, the limit value is specifically 100 pixel points.

3. A method for automatically docking and positioning a parametric cabinet for customized furniture according to claim 1, characterized in that: In step S4, the positioning matching method includes matching the left front angle of the cabinet unit to be arranged with the right front angle of the target cabinet unit, matching the left rear angle of the cabinet unit to be arranged with the right rear angle of the target cabinet unit, matching the right front angle of the cabinet unit to be arranged with the left front angle of the target cabinet unit, and matching the right rear angle of the cabinet unit to be arranged with the left rear angle of the target cabinet unit.

4. A method for automatically docking and positioning a parametric cabinet for customized furniture according to claim 1, characterized in that: In step S5, it specifically includes the following steps: Step S51: Establish a first coordinate system for the positioning angle points corresponding to the positioning angles of the cabinet unit to be arranged; Step S52: Establish a second coordinate system for the positioning angle points corresponding to the positioning angles of the target cabinet unit; Step S53: Convert the first coordinate system to the second coordinate system through matrix transformation.

5. A system for automatically docking and positioning a parametric cabinet body for customized furniture, characterized in that: Using the method for automatic docking and positioning of parametric cabinets for customized furniture according to any one of claims 1-4, the system includes: An acquisition module for acquiring all cabinet units in the three-dimensional scene; A reading module for traversing and reading the information about all sides of each cabinet unit; A calculation module for calculating all positioning angle attributes of each cabinet unit according to the information about all sides of each cabinet unit; A first receiving module for receiving an instruction from the user to create a parametric cabinet in the three-dimensional scene and position and arrange it, or receiving a confirmation instruction to select a cabinet unit in the scene as the cabinet unit to be arranged; A second receiving module for receiving an operation instruction from the user to drag the cabinet unit to be arranged with the mouse cursor; A judgment module for judging whether the distance between the cursor point and the positioning angle points corresponding to the positioning angles of other cabinet units is less than a limit value; A matching module for matching the positioning angles of two cabinet units according to the positioning matching method; A conversion module is used to convert the positioning angle of the arranged cabinet unit to the positioning angle of the target cabinet unit that matches the arranged cabinet unit through coordinate conversion.

6. The system for automatically docking and positioning a parametric cabinet for customized furniture according to claim 5, wherein: The conversion module includes a first creation sub-module, a second creation sub-module, and a conversion sub-module; the first creation sub-module is used to establish a first coordinate system in which the positioning angle of the arranged cabinet unit corresponds to the positioning angle point, the second creation sub-module is used to establish a second coordinate system in which the positioning angle of the target cabinet unit corresponds to the positioning angle point, and the conversion sub-module is used to convert the first coordinate system into the second coordinate system through matrix transformation.

7. A system for automatically docking and positioning a parametric cabinet for customized furniture according to claim 5, characterized in that: It further includes a setting module, which is used to set the positioning angle of the arranged cabinet unit that has completed positioning and the positioning angle of the target cabinet unit that matches it as a non-docking association attribute.

Citation Information

Patent Citations

  • Automatic kitchen space layout system and device

    CN108595768A

  • A method for intelligently generating a cabinet based on free wall selection of a user

    CN109598017A