A parametric swing door template creation method and system based on PLM platform
By defining the wall center line, local door coordinate system and axis coordinate system on the PLM platform, and splitting the door into components and placeholding characteristics, the problem of lack of parameterized swing door template creation methods in the existing PLM platform is solved, and a fast and accurate swing door model creation is achieved, which improves modeling efficiency and promotes the application of PLM platform in the construction field.
Patent Information
- Application Number
- CN202411748380.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-12-02
AI Technical Summary
The lack of effective parametric swing door template creation methods in the existing PLM platforms has increased the difficulty of modeling and adjustment for engineers and restricted the promotion and application of PLM platforms in the field of construction engineering.
By selecting the wall center line as input conditions, defining the door local coordinate system and axis coordinate system, splitting the door into components and placeholding features, and controlling the positioning and drawing of component sketches based on these coordinate systems and parameters, realizing the creation of parameterized swing door templates.
It realizes the rapid and accurate creation of a swing door model in the PLM platform, simplifies the expression of door wall positioning, door shaft positioning and door opening and closing state, improves modeling efficiency, and promotes the application of PLM platform in the construction field.
Smart Images

Figure CN119227214B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of parametric model creation, and in particular relates to a parametric swing door template creation method and system based on a PLM platform. Background Art
[0002] Product Lifecycle Management (PLM) is an integrated management system that covers the entire life cycle of a product from concept design, development, production, sales, service to retirement. Based on the PLM platform, it can properly solve the common problems in the construction field, such as cross-enterprise, department, and discipline collaboration difficulties, low management efficiency, large discrepancies between expected expenses and actual costs, and lax product quality control. The PLM platform includes product design modules, data management modules, process management modules, collaboration modules, project management modules, etc.
[0003] The product design module includes corresponding computer-aided design (CAD) tools. CAD software has been widely used in architectural design. Based on the parametric modeling technology in the software, designers can quickly build three-dimensional models by defining parameters, constraints and features. Compared with traditional non-parametric modeling, this modeling method has the advantages of flexibility, efficiency, accuracy, traceability and easy adjustment.
[0004] As important components of buildings, walls and doors are widely used in architecture. The main function of walls is to reasonably divide spaces according to the functionality of the building. The main function of doors is to break the barriers between these spaces and make the flow of people more flexible and convenient. Doors and walls complement each other and together constitute the basic structure and function of architectural space.
[0005] Doors in buildings often take into account functionality, safety and aesthetics, so there are many types and styles of doors, and the classification standards are diverse. Doors can be divided into swing doors, sliding doors, folding doors and rolling doors according to the opening and closing methods. Swing doors are the most widely used in construction projects, and swing doors can also be subdivided into single-opening doors, double-opening doors, and double-opening doors.
[0006] The PLM platform has broad application prospects in the construction field and can effectively solve long-standing problems in the construction industry. Doors are an important part of buildings, and swing doors are the most widely used in construction projects. However, there is no effective method for creating parametric swing door templates in the existing PLM platform, which increases the difficulty of modeling and adjustment for engineers, and restricts the promotion and application of the PLM platform in the field of construction projects. Summary of the invention
[0007] The technical problem to be solved by the present invention is to provide a method and system for creating a parametric swing door template based on a PLM platform, so as to quickly and accurately create a swing door model.
[0008] The technical solution adopted by the present invention to solve the above technical problems is: a method for creating a parametric swing door template based on a PLM platform, comprising the following steps:
[0009] S1: Select the center line of the wall that expresses the positioning characteristics of the wall as the input condition of the template; specify the starting and ending ends of the wall on the center line of the wall, and control the positioning of the door on the wall based on the parameters;
[0010] S2: Define the door local coordinate system on the wall;
[0011] S3: Based on the door local coordinate system and parameters, the door shaft positioning is controlled, and the shaft coordinate system and the follow-up coordinate system related to the door opening and closing state are defined;
[0012] S4: split the door into components and placeholder features, control the component sketch positioning according to the coordinate system obtained in steps S2 and S3, and draw a parametric component sketch;
[0013] S5: Instantiate components and feature sketches according to rules.
[0014] According to the above scheme, in step S1, the specific steps are:
[0015] S11: According to the actual spatial relationship between the door and the wall, the center line of the wall is selected as the input line of the door template, and the wall height direction is the Z direction of the geodetic coordinate system;
[0016] S12: Compare the X and Y values of the two end points of the wall centerline in the geodetic coordinate system to define the starting and ending ends of the wall and orient the wall centerline;
[0017] S13: The positioning of the door on the wall is controlled by the positioning endpoint parameter and the in-plane offset parameter; when the offset parameter value is positive, it means that the offset direction is from the positioning endpoint specified by the parameter to the center point of the center line of the wall;
[0018] S14: Define the door location direction line, the direction of the door location direction line is the same as the direction of the center line of the oriented wall.
[0019] According to the above solution, in step S1, the local coordinate system of the door is irrelevant to the positioning of the door on the wall.
[0020] According to the above scheme, in step S2, the specific steps are:
[0021] S21: define the midpoint of the door positioning direction line as the origin of the door local coordinate system;
[0022] S22: define the door positioning direction line as the X axis of the door local coordinate system;
[0023] S23: define the Z direction of the earth coordinate system as the Z axis of the door local coordinate system;
[0024] S24: Combine the X-axis and the Z-axis of the door local coordinate system and define the Y-axis of the door local coordinate system according to the right-hand screw rule.
[0025] According to the above scheme, in step S3, the specific steps are:
[0026] S31: The door rotation posture includes the door rotation axis positioning features of outer left, outer right, inner left, and inner right. The positioning point of the rotation axis coordinate system is controlled by combining the door local coordinate system and the rotation axis positioning parameters. The position of the rotation axis on the door frame is defined by combining two sets of parameters defining inner or outer and left or right to obtain the door rotation axis positioning point.
[0027] S32: define the door shaft positioning point as the origin of the shaft coordinate system;
[0028] S33: define the direction from the rotation axis positioning point to the midpoint of the door panel as the X axis of the rotation axis coordinate system;
[0029] S34: define the Z axis of the rotation axis coordinate system in combination with the opening and closing state of the door and the right-hand screw method;
[0030] S35: combining the X-axis and the Z-axis of the rotation axis coordinate system, and defining the Y-axis of the rotation axis coordinate system according to the right-hand screw rule; the definition of the rotation axis coordinate system is related to the door axis positioning and the opening and closing state of the door;
[0031] S36: The rotation axis coordinate system rotates around the door axis to obtain a follow-up coordinate system, and the follow-up coordinate system is controlled by the rotation axis coordinate system and the opening and closing angle.
[0032] Furthermore, in step S36, the opening and closing angle is controlled by a parameter; the default door opening and closing angle is .
[0033] According to the above scheme, in step S4, the specific steps are:
[0034] S41: split the door into several components and placeholder features; classify and split the components obtained by the door according to the correlation with the door shaft positioning and the door opening and closing state, and the change postures of the same type of components are coordinated and consistent;
[0035] S42: The sketch of the component that is irrelevant to the door shaft positioning and the opening and closing state is positioned by reference to the local coordinate system;
[0036] S43: a sketch of positioning components related to the door pivot positioning and irrelevant to the opening and closing state, with reference to the pivot coordinate system;
[0037] S44: The sketch of the component related to the door pivot positioning and opening and closing status is positioned by referring to the follower coordinate system.
[0038] Furthermore, in step S4, the components obtained by splitting the door include a door frame, a door panel stopper, a door panel, frosted glass, a rotating shaft, a door handle, a lock core and a door opening; the door opening feature is used to cut a hole in the wall;
[0039] The features of the door frame, hinge and door opening are independent of the door hinge positioning and the door opening and closing state; the sketch positioning points of the corresponding components and features and the H and V directions of the sketch are determined based on the local coordinate system, and a parametric sketch is drawn;
[0040] The door axis positioning affects the door panel stopper. The characteristics of the door panel stopper are related to the door axis positioning and have nothing to do with the door opening and closing state. The sketch positioning point of the door panel stopper and the H and V directions of the sketch are determined based on the axis coordinate system, and a parametric sketch is drawn.
[0041] The door panel, frosted glass, door handle and lock core are related to the door shaft positioning and the door opening and closing status; based on the follower coordinate system and the local coordinate system, the sketch positioning points of the corresponding components and the H and V directions of the sketch are determined, and a parametric sketch is drawn.
[0042] Furthermore, in step S5, the specific steps are:
[0043] S51: Instantiate the door frame, door panel stopper, door panel, frosted glass, hinge, door handle and lock cylinder;
[0044] S52: Instantiate the door opening placeholder sketch as a placeholder entity; define the spatial relationship between the door and the wall through the door opening placeholder.
[0045] A parametric swing door template creation system based on a PLM platform, the system comprises a processor and a memory, the memory stores computer instructions, the processor is used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the system implements the steps of a parametric swing door template creation method based on the PLM platform.
[0046] The beneficial effects of the present invention are:
[0047] 1. A parametric swing door template creation method and system based on a PLM platform of the present invention can quickly and accurately generate a typical swing door model in the PLM platform based on the wall center line and input parameters, accurately express the door wall positioning, door shaft positioning and door opening and closing status, and adjust the door height, door width and door frame thickness driven by parameters; the function of quickly and accurately creating a swing door model is realized.
[0048] 2. The door template created by the present invention has strong applicability and rich details, accurately expresses various postures of the door, has rich model details, beautiful style, powerful functions, and is convenient for modeling personnel to adjust.
[0049] 3. The present invention can be directly reused in the creation of double-door and double-door templates. The idea of creating a corresponding coordinate system based on the component status and using it to assist in modeling is also of great reference value for the creation of other door templates. It greatly improves the efficiency of creating and adjusting models on the PLM platform, and effectively promotes the application of the PLM platform in the construction field. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 is a flow chart of an embodiment of the present invention.
[0051] Figure 2 4 is a diagram showing the relationship between the door and the wall space according to an embodiment of the present invention.
[0052] Figure 3 It is a door and wall positioning and orientation diagram of an embodiment of the present invention.
[0053] Figure 4 This is a case diagram of door and wall positioning according to an embodiment of the present invention.
[0054] Figure 5 It is a local coordinate system diagram of an embodiment of the present invention.
[0055] Figure 6 It is a characteristic diagram of the rotation shaft positioning of an embodiment of the present invention.
[0056] Figure 7 It is a coordinate system definition diagram of an embodiment of the present invention.
[0057] Figure 8 It is a disassembled view of the door template component of an embodiment of the present invention.
[0058] Fig. 9 It is a sketch of a door frame and a door panel stop strip according to an embodiment of the present invention.
[0059] Fig.10 2 is a diagram of a door panel stop bar according to an embodiment of the present invention.
[0060] Fig.11 2 is a diagram showing the door opening and closing states of an embodiment of the present invention.
[0061] Fig.12 is a rough sketch of the frosted glass of an embodiment of the present invention.
[0062] Fig.13 This is a functional diagram of the door template according to an embodiment of the present invention.
[0063] Fig.14 It is another side-hung door template diagram of an embodiment of the present invention.
[0064] Fig.15 It is a template diagram of a civil air defense door according to an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0066] See also Figure 1 , an embodiment of the present invention comprises the following steps:
[0067] 1) Select the center line of the wall that expresses the positioning characteristics of the wall as the input condition of the template to ensure the positioning of the door and the wall; specify the starting and ending ends of the wall, and control the positioning of the door on the wall based on the parameters;
[0068] 1.1) Reference Figure 2 The actual spatial relationship between the door and the wall is shown. The center line of the wall is selected as the input line of the door template, and the wall height direction is the Z direction of the geodetic coordinate system;
[0069] 1.2) If Figure 3 As shown, by comparing the X and Y values of the two end points of the wall centerline in the geodetic coordinate system, the starting end and the ending end of the wall are defined, and the wall centerline is oriented;
[0070] 1.3) If Figure 3 As shown in the figure, the positioning of the door on the wall is controlled by the positioning endpoint parameter and the in-plane offset parameter; when the offset parameter value is positive, it means that the offset direction is from the positioning endpoint specified by the parameter to the center point of the line; Figure 4 It shows the door and wall positioning under different parameter controls;
[0071] 1.4) If Figure 3 As shown, define the door positioning direction line, the direction of the line is the same as the direction of the center line of the oriented wall;
[0072] 2) Define a local coordinate system that is not affected by the positioning of the door on the wall; the positioning of the door on the wall does not affect the definition of the local coordinate system, and the creation of the door component is based on the local coordinate system and its derived coordinate system.
[0073] 2.1) If Figure 5 As shown, the midpoint of the door positioning direction line is defined as the origin of the door local coordinate system;
[0074] 2.2) If Figure 5 As shown, the door positioning direction line is defined as the X-axis of the door local coordinate system;
[0075] 2.3) If Figure 5 As shown, the Z direction of the earth coordinate system is defined as the Z axis of the door local coordinate system;
[0076] 2.4) If Figure 5As shown, the local coordinate system Y axis of the door is defined according to the right-hand screw rule in combination with the local coordinate system X axis and Z axis of the door. The local coordinate system defined in the above manner can ensure that the position change of the door on the wall will not affect the geometric shape of the door.
[0077] 3) Based on the local coordinate system and parameters, the door axis positioning is controlled, the axis coordinate system is defined, and the follow-up coordinate system related to the door opening and closing state is defined;
[0078] 3.1) If Figure 6 As shown in the figure, referring to the rotation posture of the door in reality, four door axis positioning features can be summarized: outer left, outer right, inner left, and inner right. The positioning point of the axis coordinate system is controlled by combining the door local coordinate system and the axis positioning parameters. The definition rules of the axis coordinate system can consistently reflect the four axis positioning features. The position of the axis on the door frame is defined by combining the inner\outer and left\right groups of parameters.
[0079] 3.2) If Figure 7 As shown, the door axis positioning point is specified as the origin of the axis coordinate system;
[0080] 3.3) If Figure 7 As shown in the figure, the direction from the rotation axis positioning point to the midpoint of the door panel is defined as the X axis of the rotation axis coordinate system;
[0081] 3.4) If Figure 7 As shown, the Z axis of the rotation axis coordinate system can be defined based on the door opening and closing direction combined with the right-hand screw rule;
[0082] 3.5) If Figure 7 As shown, the X-axis and Z-axis of the rotation axis coordinate system are combined, and the Y-axis of the rotation axis coordinate system is defined according to the right-hand screw rule; the definition of the rotation axis coordinate system is related to the door axis positioning and the opening and closing posture of the door;
[0083] 3.6) If Figure 7 As shown, the axis coordinate system rotates around the door axis to obtain the follower coordinate system, which is controlled by the axis coordinate system and the opening and closing angle; the opening and closing angle is controlled by parameters; the default door opening and closing angle is ;
[0084] 4) Split the door into components and placeholder features, use the given coordinate system to control the component sketch positioning, and draw a parametric component sketch;
[0085] 4.1) If Figure 8 As shown in the figure, the door is divided into door frame, door panel stopper, door panel, frosted glass, hinge, door handle, lock core and door opening features; Figure 2 As shown in the figure, the door opening feature is used to cut a hole in the wall; components should be classified according to their relevance to the door axis positioning and the door opening and closing state, and the changes in the postures of similar components should be coordinated and consistent;
[0086] 4.2) Components that are not related to the door hinge positioning and opening and closing status mainly refer to the local coordinate system to locate the component sketch; the door frame, hinge and door opening features are not related to the door hinge positioning and door opening and closing status; Fig. 9 As shown, the sketch positioning points and the sketch H and V directions of the corresponding components and features can be determined based on the local coordinate system, and a parametric sketch can be drawn;
[0087] 4.3) Components related to the door axis positioning and unrelated to the opening and closing state are mainly positioned with reference to the axis coordinate system; e.g. Fig.10 As shown, the door pivot positioning affects the door panel stop bar and has nothing to do with the door opening and closing state; Fig. 9 As shown, the sketch positioning point of the door panel stopper and the sketch H and V directions can be determined based on the axis coordinate system, and a parametric sketch can be drawn;
[0088] 4.4) The components related to the door axis positioning and the opening and closing state are mainly positioned with reference to the follower coordinate system. Fig.11 As shown, the door panel, frosted glass, door handle, lock core and door shaft positioning and door opening and closing status are related; Fig.12 As shown, the sketch positioning points and the sketch H and V directions of the corresponding components can be determined based on the follower coordinate system and the local coordinate system, and a parametric sketch can be drawn;
[0089] 5) Instantiate components and feature sketches according to rules.
[0090] 5.1) If Figure 8 As shown, the door frame, door panel stopper, door panel, frosted glass, hinge, door handle, and lock core are instantiated;
[0091] 5.2) If Figure 8 As shown in the figure, the door opening placeholder sketch is instantiated as a placeholder entity; the spatial relationship between the door and the wall is defined through the door opening placeholder.
[0092] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0093] The present invention provides a method and storage medium for creating a parametric swing door template based on a PLM platform. Taking a single swing door as an example, the present invention describes in detail how to quickly and accurately generate a typical swing door model in a PLM platform based on the wall centerline and input parameters. The template is rich in details, beautiful in style, and powerful in function. In addition to being able to accurately express the door wall positioning, door shaft positioning, and door opening and closing status; at the same time, Fig.13 As shown in the figure, the door height, door width and door frame thickness can also be adjusted by parameter drive. Fig.14 As shown, the modeling method provided by the present invention can be directly reused to create double-door and double-door templates. Fig.15 As shown, the idea of creating a corresponding coordinate system based on the component state and using it to assist modeling in the present invention is also of great reference value for the creation of other door templates. This method improves the efficiency of engineers in modeling and adjustment on the PLM platform, and effectively promotes the application of the PLM platform in the construction field.
[0094] The above embodiments are only used to illustrate the design ideas and features of the present invention, and their purpose is to enable those skilled in the art to understand the content of the present invention and implement it accordingly. The protection scope of the present invention is not limited to the above embodiments. Therefore, any equivalent changes or modifications made based on the principles and design ideas disclosed by the present invention are within the protection scope of the present invention.
Claims
1. A method for creating a parametric swing door template based on a PLM platform, characterized in that: The following steps are involved: S1: Select the center line of the wall that expresses the positioning characteristics of the wall as the input condition of the template; specify the starting and ending ends of the wall on the center line of the wall, and control the positioning of the door on the wall based on the parameters; S2: Define the door local coordinate system on the wall; S3: Based on the door local coordinate system and parameters, the door shaft positioning is controlled, and the shaft coordinate system and the follow-up coordinate system related to the door opening and closing state are defined; S4: split the door into components and placeholder features, control the component sketch positioning according to the coordinate system obtained in steps S2 and S3, and draw a parametric component sketch; the specific steps are: S41: split the door into several components and placeholder features; classify and split the components obtained by the door according to the correlation with the door shaft positioning and the door opening and closing state, and the change postures of the same type of components are coordinated and consistent; S42: The sketch of the component that is irrelevant to the door shaft positioning and the opening and closing state is positioned by reference to the local coordinate system; S43: a sketch of positioning components related to the door pivot positioning and irrelevant to the opening and closing state, with reference to the pivot coordinate system; S44: Sketch of positioning components related to the door shaft positioning and opening and closing state with reference to the follower coordinate system; The components obtained by splitting the door include door frame, door panel stopper, door panel, frosted glass, hinge, door handle, lock core and door opening; the door opening feature is used to cut a hole in the wall; The features of the door frame, hinge and door opening are independent of the door hinge positioning and the door opening and closing state; the sketch positioning points of the corresponding components and features and the H and V directions of the sketch are determined based on the local coordinate system, and a parametric sketch is drawn; The door axis positioning affects the door panel stopper. The characteristics of the door panel stopper are related to the door axis positioning and have nothing to do with the door opening and closing state. The sketch positioning point of the door panel stopper and the H and V directions of the sketch are determined based on the axis coordinate system, and a parametric sketch is drawn. The door panel, frosted glass, door handle and lock core are related to the door shaft positioning and the door opening and closing status; based on the follower coordinate system and the local coordinate system, the sketch positioning points of the corresponding components and the H and V directions of the sketch are determined, and the parametric sketch is drawn; S5: Instantiate components and feature sketches according to rules.
2. According to the method for creating a parametric swing door template based on a PLM platform according to claim 1, it is characterized in that: In the step S1, the specific steps are: S11: According to the actual spatial relationship between the door and the wall, the center line of the wall is selected as the input line of the door template, and the wall height direction is the Z direction of the geodetic coordinate system; S12: Compare the X and Y values of the two end points of the wall centerline in the geodetic coordinate system to define the starting and ending ends of the wall and orient the wall centerline; S13: The positioning of the door on the wall is controlled by the positioning endpoint parameter and the in-plane offset parameter; when the offset parameter value is positive, it means that the offset direction is from the positioning endpoint specified by the parameter to the center point of the center line of the wall; S14: Define the door location direction line, the direction of the door location direction line is the same as the direction of the center line of the oriented wall.
3. The method for creating a parametric swing door template based on a PLM platform according to claim 1, characterized in that: In the step S2, the local coordinate system of the door is irrelevant to the positioning of the door on the wall.
4. According to the method for creating a parametric swing door template based on a PLM platform according to claim 1, it is characterized in that: In the step S2, the specific steps are: S21: define the midpoint of the door positioning direction line as the origin of the door local coordinate system; S22: define the door positioning direction line as the X axis of the door local coordinate system; S23: define the Z direction of the earth coordinate system as the Z axis of the door local coordinate system; S24: Combine the X-axis and the Z-axis of the door local coordinate system and define the Y-axis of the door local coordinate system according to the right-hand screw rule.
5. The method for creating a parametric swing door template based on a PLM platform according to claim 1, characterized in that: In the step S3, the specific steps are: S31: The door rotation posture includes the door rotation axis positioning features of outer left, outer right, inner left, and inner right. The positioning point of the rotation axis coordinate system is controlled by combining the door local coordinate system and the rotation axis positioning parameters. The position of the rotation axis on the door frame is defined by combining two sets of parameters defining inner or outer and left or right to obtain the door rotation axis positioning point. S32: define the door shaft positioning point as the origin of the shaft coordinate system; S33: define the direction from the rotation axis positioning point to the midpoint of the door panel as the X axis of the rotation axis coordinate system; S34: define the Z axis of the rotation axis coordinate system in combination with the opening and closing state of the door and the right-hand screw method; S35: combining the X-axis and the Z-axis of the rotation axis coordinate system, and defining the Y-axis of the rotation axis coordinate system according to the right-hand screw rule; the definition of the rotation axis coordinate system is related to the door axis positioning and the opening and closing state of the door; S36: The rotation axis coordinate system rotates around the door axis to obtain a follow-up coordinate system, and the follow-up coordinate system is controlled by the rotation axis coordinate system and the opening and closing angle.
6. The method for creating a parametric swing door template based on a PLM platform according to claim 5 is characterized in that: In step S36, the opening and closing angle is controlled by parameters; the default door opening and closing angle is .
7. The method for creating a parametric swing door template based on a PLM platform according to claim 1, characterized in that: In the step S5, the specific steps are: S51: Instantiate the door frame, door panel stopper, door panel, frosted glass, hinge, door handle and lock cylinder; S52: Instantiate the door opening placeholder sketch as a placeholder entity; define the spatial relationship between the door and the wall through the door opening placeholder.
8. A parametric swing door template creation system based on a PLM platform, the system comprising a processor and a memory, characterized in that: The memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the system implements the steps of a parametric swing door template creation method based on a PLM platform as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Arc wall special-shaped door and window model generation method
CN109858143A
Finite element modeling method for sealing strip of opening and closing piece
CN112016230A