Sprinkler system modeling method, electronic equipment and storage medium based on 3DE platform
By creating a water supply and drainage template library and a sprinkler system structure tree on the 3DE platform, and automatically installing pipes and pipe accessories, the problem of many repetitive operations in sprinkler system modeling is solved, and efficient piping system modeling is achieved.
Patent Information
- Application Number
- CN202410437780.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2044-04-12
AI Technical Summary
When creating a sprinkler system model on a 3DE platform, it is necessary to manually create pipelines and install pipe accessories, which involves a large number of repetitive operations and leads to low modeling efficiency.
By creating a water supply and drainage template library, building a sprinkler system structure tree, automatically creating pipeline path points and sprinkler head positioning points, and using the functions of the 3DE platform to automatically install pipelines and pipe accessories, rapid modeling of the pipeline system can be achieved.
It realizes batch creation of pipelines and automatic installation of pipe accessories, improves the efficiency of sprinkler system modeling, reduces repetitive operations, and improves modeling efficiency.
Smart Images

Figure CN118228360B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the application field of digital design BIM technology, and more specifically, to a method for rapid modeling of a sprinkler system for architectural electromechanical design professionals on the 3DEXPERIENCE platform, as well as related electronic equipment and storage media. Background Art
[0002] Currently, in the architectural design field, the piping design module of the 3DE (3DEXPERIENCE) platform is often used to directly perform electromechanical 3D design. However, when creating sprinkler system models, designers must manually create each pipe individually. Furthermore, the installation of pipe accessories and electromechanical equipment also requires manual installation using their own template libraries. This process involves a large amount of repetitive operations, which is time-consuming and labor-intensive, and affects the efficiency of sprinkler system modeling.
[0003] Therefore, it is necessary to develop a sprinkler system modeling method that can quickly create pipelines on a 3DE platform and save time and effort. Summary of the Invention
[0004] The technical problem to be solved by this application is to provide a rapid modeling method, electronic equipment and storage medium for a sprinkler system based on a 3DE platform, so as to realize the rapid creation of pipelines in the sprinkler system, and at the same time realize the automatic installation and connection of pipe accessories to the pipelines, and complete the creation of three-dimensional models of pipelines and pipe accessories in the pipeline system with one click, thereby overcoming the defects of a large number of repetitive operations and low modeling efficiency faced when performing three-dimensional design of the sprinkler system directly based on the 3DE pipeline module.
[0005] This application provides the following technical solutions to solve the above technical problems:
[0006] A rapid modeling method for a sprinkler system based on a 3DE platform, characterized by comprising the following steps:
[0007] Step 1: Create a water supply and drainage template library to build a sprinkler system resource library, including building a pipeline template library and a pipe accessory template library;
[0008] Step 2: Build a structure tree for creating a sprinkler system, and create pipeline path points and sprinkler head positioning points;
[0009] Step 3: Create a pipeline supervisor;
[0010] Step 4: Create pipeline branches;
[0011] Step 5: Create a sprinkler pipe;
[0012] Step 6: Install pipe accessories.
[0013] In the above technical solution, in the method of creating a water supply and drainage template library in step 1,
[0014] First, use the 3DE platform to create a template library directory, switch to the water supply and drainage pipeline or water supply and drainage pipe accessory definition app, and create a water supply and drainage pipeline or pipe accessory template;
[0015] Add the created template to the corresponding section of the template library directory, switch to the Data setup App, and associate the created template library directory with the project space.
[0016] In the above technical solution, log in to the 3DE platform with an administrator account and create a template library directory.
[0017] In the above technical solution, the specific method of creating the sprinkler system structure tree in step 2 is:
[0018] Create a product node "Create Sprinkler System" of type "Other AEC Spatial Structure Elements" and create a knowledge engineering specification object "Piping System EKL" under the "Create Sprinkler System" node;
[0019] Insert a 3D shape object "Pipeline Path Points and Nozzle Positioning Information" under the "Create Sprinkler System" node to record the path points and nozzle positioning information of the created pipeline in the form of feature points and parameters;
[0020] Insert a node of type "Other AEC Space Structure Elements" under the "Create Sprinkler System" node and name the node "Sprinkler System";
[0021] In the above technical solution, in step 2, the specific method of creating pipeline path points and nozzle positioning points is:
[0022] Obtain the corresponding mechanical feature container through the 3Dshape node of the pipeline path point and nozzle positioning information; create a design table associated with the pipeline path point Excel table based on the container and create the corresponding feature point under the geometric shape set;
[0023] Based on the nozzle positioning information associated with the design table, the feature points are created under the geometric set, the nozzle binding pipeline is read, and the knowledge engineering parameters of the string type are created according to the binding pipeline name.
[0024] In the above technical solution, the specific steps for creating a pipeline main in step 3 are as follows:
[0025] Traverse the entire structure tree from the created "Sprinkler System" node to obtain the root node; obtain all child nodes of the first level through the root node, and obtain the 3Dshape node and EKL knowledge engineering node that record the pipeline path points and nozzle positioning information respectively; obtain the geometric shape sets and part geometries corresponding to all path points in the 3Dshape node;
[0026] Obtain the pipe diameter of the pipeline main according to the name of the geometric set; read the coordinates corresponding to the feature points under the geometric set, and create feature points corresponding to the coordinate points under the part geometry; based on the obtained pipeline diameter, traverse the water supply and drainage template library to obtain the pipeline template of the corresponding diameter;
[0027] Using the created "Sprinkler System" node as input, call pipeline creation through CAA to complete the creation of the pipeline main.
[0028] In the above technical solution, in step 4, the specific steps for creating a pipeline branch are:
[0029] By traversing the geometrical set under the 3Dshape, the geometrical set containing the nozzle positioning information is obtained; the nozzle positioning points and the bound main pipe in the geometrical set are obtained; and the geometrical set of the pipe accessory positioning points is created under the 3Dshape;
[0030] Obtain the branch pipe path points based on the nozzle positioning points and the bound main pipe, and create corresponding feature points "Tee" or "Cross" under the pipe accessory positioning points based on the starting point coordinates. Determine the branch pipe diameter based on the number of nozzle positioning points on the branch pipe and relevant specifications.
[0031] Traverse the water supply and drainage template library to obtain the pipeline template of the corresponding pipe diameter;
[0032] Using the created "Sprinkler System" node as input, call pipeline creation through CAA to complete the creation of pipeline branches.
[0033] In the above technical solution, the specific method of creating a spray pipe implemented in step 5 is:
[0034] Obtain the nozzle positioning point by traversing the geometric graphics set under the 3Dshape;
[0035] Take the nozzle positioning point as the starting point of the sprinkler pipe, calculate the ending point of the sprinkler pipe according to the length of the sprinkler pipe, and create the corresponding feature point "Tee" under the pipe accessory positioning point geometry set based on the coordinates of the starting point of the sprinkler pipe;
[0036] Traverse the water supply and drainage template library to obtain the pipeline template of the corresponding pipe diameter;
[0037] Using the created "Sprinkler System" node as input, call pipeline creation through CAA to complete the creation of sprinkler pipes, and complete the creation of sprinkler heads based on the sprinkler head positioning points;
[0038] In the above technical solution, in step 6, the specific method for installing the pipe accessories is:
[0039] Obtain feature points in the geometric set of pipe accessory positioning points; determine the pipe accessory type, and parse the specification parameters of the pipeline connected to the pipe accessory to obtain the specifications of the required pipe accessory;
[0040] Determine the pipe port to be connected to the pipe accessory based on the distance between the pipe accessory port and the ports at both ends of the pipe to be connected;
[0041] Traverse the pipe accessory template library to obtain pipe accessories of corresponding specifications; instantiate the obtained pipe accessories; and adjust the spatial position and posture of the pipe accessories;
[0042] Complete the connection between pipe accessories and pipelines.
[0043] The present invention also protects a sprinkler system modeling electronic device based on a 3DE platform, and by implementing the above method, rapid modeling of sprinkler system management is achieved.
[0044] At the same time, a storage medium is also protected, characterized in that a computer program is stored thereon for executing the above-mentioned sprinkler system modeling method based on the 3DE platform.
[0045] The beneficial effects of this application are:
[0046] The present invention has the advantages of directly importing pipeline path points and nozzle positioning information from the outside, realizing batch creation of pipelines and automatic installation of pipe accessories, greatly improving the efficiency of sprinkler system modeling, and solving the problem of a large number of repetitive operations in the three-dimensional modeling of sprinkler systems.
[0047] The present invention makes full use of the main and branch nodes and the structure tree, can timely and conveniently perform batch addition or deletion and modification, and adjust the model, which is beneficial for designers to fully improve modeling efficiency.
[0048] The method of the present invention can realize the automatic creation of pipelines and automatic installation of pipe accessories in the entire sprinkler system, improve the modeling efficiency of the pipeline system, and solve the problems of low efficiency and cumbersome operation steps in creating pipeline systems on the 3DE platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0050] Figure 1 The technical roadmap for implementing the sprinkler system modeling method based on the 3DEXPERIENCE platform of the present invention is provided.
[0051] Figure 2 Create a flow chart for the pipeline manager in this invention.
[0052] Figure 3 Create a flow chart for the pipeline branches in this invention.
[0053] Figure 4 Create a flow chart for the spray pipe in this invention.
[0054] Figure 5 Create detailed step diagrams for the piping in this invention.
[0055] Figure 6 This is a flow chart for installing pipe accessories in the present invention.
[0056] Figure 7 This is the pipeline system template library (or water supply and drainage template library) in the embodiment of the present invention.
[0057] Figure 8 This is a structure tree of an embodiment of the present invention.
[0058] Figure 9 This is a supervisor structure tree in an embodiment of the present invention.
[0059] Figure 10 This is a branch pipe structure tree according to an embodiment of the present invention. DETAILED DESCRIPTION
[0060] To make the objectives, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Generally, the components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations.
[0061] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.
[0062] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.
[0063] In the description of this application, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, or are the orientations or positional relationships in which the product of this application is typically placed when in use. These terms are intended only to facilitate the description of this application and simplify the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0064] Furthermore, terms such as "horizontal," "vertical," and "overhanging" do not necessarily imply that a component must be absolutely horizontal or overhanging, but rather that it can be slightly tilted. For example, "horizontal" simply means that its direction is more horizontal than "vertical," and does not mean that the structure must be completely horizontal, but rather that it can be slightly tilted.
[0065] It should also be noted that, in the description of this application, unless otherwise expressly specified or limited, the terms "disposed," "installed," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.
[0066] In this application, unless otherwise expressly specified or limited, a first feature being "above" or "below" a second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Moreover, a first feature being "above," "above," and "above" a second feature may include the first feature being directly above or obliquely above the second feature, or may simply mean that the first feature is higher in level than the second feature. A first feature being "below," "below," and "below" a second feature may include the first feature being directly below or obliquely below the second feature, or may simply mean that the first feature is lower in level than the second feature.
[0067] The features and performance of the present application are further described in detail below with reference to the embodiments.
[0068] Example 1
[0069] like Figure 1As shown, this embodiment uses the sprinkler system modeling method based on the 3DEXPERIENCE platform to implement sprinkler system modeling. The implementation is divided into six steps: Step 1: Building the sprinkler system resource library; Step 2: Building the sprinkler system structure tree; Step 3: Creating the main pipe; Step 4: Creating the branch pipe; Step 5: Creating the sprinkler pipe; and Step 6: Installing the pipe accessories.
[0070] In the above technical solution, the method for implementing step 1 to create a water supply and drainage template library is as follows:
[0071] 1) Log in to the 3DE platform with an administrator account
[0072] 2) Click the New Content command button to create a template library directory object.
[0073] 3) Switch to the water supply and drainage pipeline or water supply and drainage pipe accessory definition app and create a water supply and drainage pipeline or pipe accessory template.
[0074] 4) Add the created template to the corresponding pipeline and pipe accessories chapter in the template library directory.
[0075] 5) Switch to the Data setup app and attach the created template library to the resource set associated with the project space.
[0076] In the above technical solution, the second step is to build a structure tree for creating a sprinkler system, and to create pipeline path points and sprinkler head positioning points. This includes the following steps:
[0077] 1) Log in to the 3DE platform, click the New Content command button, create a product node of type Other AEC Space Structure Elements, and name it "Create Sprinkler System".
[0078] 2) With "Create Sprinkler System" as the root node, create a knowledge engineering specification object under it and name it "Pipeline System EKL". Attach the Action objects containing EKL codes for creating pipeline objects, adding pipeline path points, and changing pipeline references to this node. For the corresponding Action objects, see the attached document. Figure 8 Structure tree of the present invention.
[0079] 3) Insert a 3D shape object under the "Create Sprinkler System" node and name it "Pipeline Path Points and Nozzle Positioning Information" to record the path points and nozzle positioning information of the sprinkler system main pipe in the form of feature points and knowledge engineering parameters.
[0080] Start the developed sprinkler system data import command, select the 3Dshape node named Pipeline Path and Nozzle Positioning Information on the structure tree, import the path points and nozzle positioning data in sequence, click the OK button to complete the creation of the geometric set containing the main path points of each pipeline and all nozzle positioning points.
[0081] 4) Start the developed Create Sprinkler System command, select the sprinkler system node to be created, and click OK to execute the creation of the entire sprinkler system.
[0082] 5) Complete the construction of the sprinkler system tree. See the system tree for details. Figure 8 .
[0083] In the above process, the specific steps for creating pipeline path points and nozzle positioning points are as follows:
[0084] 1) Obtain the corresponding feature container interface (CATIMmiPtrContainer) through the pipeline path point and the nozzle positioning information 3Dshape node.
[0085] 2) Create the interface CATICkeParmFactory based on the container parameters, and create a design table associated with the pipeline path points and nozzle positioning information Excel table. The input parameters in the table are shown in Figure 9 .
[0086] 3) Read the contents of the design table, create a corresponding geometry set under PartFeature based on the main pipe name in the Excel table of pipeline path points, create a geometry set corresponding to the pipe segment based on the pipe segment name under the main pipe geometry set, parse the strings corresponding to the start and end point coordinates of the pipe segment, and obtain the start and end point coordinates.
[0087] 4) According to the coordinates of the starting and ending points of the pipeline, create the feature points corresponding to the starting and ending points under the pipe segment geometry set. The main structure tree is shown in the attached Figure 10 , the main pipe geometry set is the geometry set of each pipe section of the main pipe, and the geometry set of each pipe section is the starting point and end point of the pipe section;
[0088] 5) Based on the nozzle positioning information associated with the design table, create a geometric set named branch pipe number under PartFeature, read the Excel table of nozzle positioning information associated with the design table, and create feature points recording the nozzle position under the corresponding branch pipe number geometric set based on the nozzle positioning information.
[0089] 6) Read the nozzle binding information in EXCEL, create the main pipe and specification string type parameters, use the nozzle positioning feature point as the parameter publishing object, and hang the created parameters under the nozzle positioning feature point node. See the attached branch pipe structure tree. Figure 10 ;
[0090] In the above technical solution, according to Figure 2 To implement step 3 and create a pipeline supervisor, follow these steps:
[0091] 1) Select the "Sprinkler System" node, and recursively traverse the parent nodes of this system node to obtain the root node of the entire tree - "Create Sprinkler System";
[0092] 2) Obtain all child nodes of the first level through the root node, and filter by name to obtain the "Pipeline Path Point and Nozzle Positioning Information" 3D shape node and the "Pipeline System EKL" knowledge engineering specification node;
[0093] 3) Get the part geometry and all main path geometry sets in the 3Dshape node;
[0094] 4) Obtain the pipe diameter specification for creating the pipeline main according to the name of the geometric set;
[0095] 5) Read the coordinates corresponding to the feature points under the geometric set and create corresponding coordinate feature points under the part geometry;
[0096] 6) Obtaining a reference to a pipeline template of corresponding specifications from a template library according to the pipeline specifications obtained in step 4);
[0097] 7) Using the selected "Sprinkler System" node as input, call the "Create Pipe Object" action through CAA (CATICkeFunction interface) to create the pipe segment corresponding to the main pipe;
[0098] 8) Obtain the last child node of the system node on the structure tree through the CATIPLMNavOccurrence interface to obtain the newly created pipeline object;
[0099] 9) Call the "Add Path Point" Action through the CATICkeFunction interface, using the 3D shape obtained in step 3 and the newly created pipeline object as input to add the path point;
[0100] 10) Call the "Set Pipeline Reference" action through the CATICkeFunction interface, using the newly created pipeline main and the pipeline template reference obtained in step 7 as input to complete the change of the pipeline reference and create a pipeline section of a specific specification;
[0101] 11) Combine the reference name of the pipeline template with the serial number of the geometrical set of each pipe segment of the main pipe obtained in step 5 to determine the instance name of the pipe segment, and then use the CATCkeObjectAttrWriteServices interface to complete the instance name change of the pipeline main pipe object;
[0102] Complete the creation of the pipeline main.
[0103] In the above technical solution, according to Figure 3 To create a pipeline branch in step 4, follow these steps:
[0104] 1) Obtain the branch pipe geometry set where the nozzle positioning information is located by traversing the geometric graphics set under the pipeline path points and the nozzle positioning information 3D shape;
[0105] 2) Get the nozzle location point coordinates and the bound main pipe in the branch pipe geometry set;
[0106] 3) Create a geometry set named pipe attachment anchor points under 3Dshape;
[0107] 4) Determine the path points of each branch pipe segment based on the coordinates and number of the nozzle positioning points in the branch pipe geometry set: calculate the distance between the first nozzle positioning point and the end point of each pipe segment in the bound main pipe. The end point with the smallest distance is the starting point of the first pipe segment path of the branch pipe. The first nozzle positioning point is the end point of the first pipe segment path of the branch pipe. The starting point and end point of the second pipe segment path of the branch pipe are the first nozzle positioning point and the second nozzle positioning point respectively. The subsequent pipe segments are deduced in this way. According to the number of nozzle positioning points on the branch pipe, the diameter of the branch pipe is determined according to relevant specifications; according to the starting point of the first pipe segment path, the starting point and end point of the first pipe segment path are determined. Create a corresponding feature point under the pipe accessory positioning point geometry set at the starting point coordinates, obtain the other branch pipe geometry sets that are also bound to the main pipe, calculate the distance between the first nozzle positioning point in the geometry set and the endpoints of each pipe segment bound to the main pipe, and obtain the endpoint with the smallest distance. If there is an endpoint that is the same as the feature point, it means that two branch pipes are connected to the feature point, and the feature point is named a four-way. If not, it means that the feature point is connected to a branch pipe, and the feature point is named a three-way. The bound main pipe and pipe segment information and the pipe segment information of the first pipe segment of the branch pipe are recorded under the feature point.
[0108] 5) Obtain the pipeline template of the corresponding pipe diameter from the template library according to the pipeline specifications;
[0109] 6) Using the created "Sprinkler System" node as input, call pipeline creation through CAA, call the "Create Pipe Object" action through the CATICkeFunction interface, and create the corresponding pipeline branch object;
[0110] 7) Get the next child node of the "Sprinkler System" node in the structure tree through the CATIPLMNavOccurrence interface to obtain the newly created pipeline object;
[0111] 8) Call the "Add Path Point" action through the CATICkeFunction interface, using the branch path point obtained in step 3 and the newly created pipeline branch object as input to add the path point;
[0112] 9) Call the "Set Pipeline Reference" action through the CATICkeFunction interface, using the newly created pipeline branch and the pipeline template obtained in step 5 as input to complete the change of the pipeline branch reference and create a pipeline branch of specific specifications;
[0113] 10) Combine the reference name of the pipeline template and the serial number of the branch geometry set obtained in step 2 to determine the instance name of the pipe segment, and then use the CATCkeObjectAttrWriteServices interface to complete the instance name change of the pipeline branch object;
[0114] Complete the creation of the pipeline branch.
[0115] In the above technical solution, according to Figure 4 To create a sprinkler pipe in step five, follow these steps:
[0116] 1) Obtain the geometrical set where the nozzle positioning information is located by traversing the geometrical set under the pipeline path points and the nozzle positioning information 3D shape; see the structure tree Figure 10 Branch structure tree;
[0117] 2) Obtaining the nozzle positioning point according to the geometric figure set where the nozzle positioning information is located;
[0118] 3) Take the nozzle location point as the starting point of the sprinkler pipe, calculate the end point of the sprinkler pipe according to the length of the sprinkler pipe, determine the sprinkler pipe diameter according to relevant specifications, create a corresponding feature point under the pipe accessory location point geometry set based on the coordinates of the sprinkler pipe starting point, name it a tee (except for the first and last nozzle location points), and record the corresponding branch pipe segment information and sprinkler pipe segment information under the feature point;
[0119] 4) Obtain the pipeline template of the corresponding pipe diameter from the template library according to the pipeline specifications;
[0120] 5) Using the created "Sprinkler System" node as input, call pipeline creation through CAA, call the "Create Pipe Object" action through the CATICkeFunction interface to create the corresponding sprinkler pipe object;
[0121] 6) Get the last child node under the "Sprinkler System" node through the CATIPLMNavOccurrence interface to obtain the newly created sprinkler pipe object;
[0122] 7) Call the "add path point" action through the CATICkeFunction interface, using the sprinkler pipe path point obtained in step 2 and the newly created sprinkler pipe object as the input of the action to add the path point;
[0123] 8) Call the "Set Pipeline Reference" action through the CATICkeFunction interface, using the newly created sprinkler pipe and the pipeline template obtained in step 4 as input to complete the change of the sprinkler pipe reference and create a sprinkler pipe of specific specifications;
[0124] 9) Combine the reference name of the pipeline template and the sequence number of the geometric set obtained in step 1 to determine the instance name of the sprinkler pipe, and then use the CATCkeObjectAttrWriteServices interface to complete the instance name change of the sprinkler pipe object;
[0125] 10) Obtain the corresponding nozzle from the template library according to the end point of the sprinkler pipe and the nozzle specifications to complete the creation of the nozzle.
[0126] In the above technical solution, according to Figure 5 The specific steps for implementing step 5 to create a pipeline are as follows:
[0127] 1) Select the "Sprinkler System" node and obtain the feature points in the PartBody;
[0128] 2) Call the "Create a pipeline object of specific specifications" action through the CATICkeFunction interface to create the corresponding pipeline object;
[0129] 3) Get the last child node of the system node on the structure tree through the CATIPLMNavOccurrence interface to obtain the newly created pipeline object;
[0130] 4) Call the "Create path points for the new pipeline" action through the CATICkeFunction interface, using the 3D shape obtained in step 1 and the newly created pipeline object as input to add path points;
[0131] 5) Call the "Set Pipeline Reference" Action through the CATICkeFunction interface, using the newly created pipeline and the obtained pipeline template reference as input to complete the change of the pipeline reference and realize the creation of a pipeline of specific specifications;
[0132] 6) Obtain the pipeline instance name based on the obtained geometric set name and the reference name of the pipeline, and complete the instance name change of the pipeline object through the CATCkeObjectAttrWriteServices interface;
[0133] 7) Complete pipeline creation.
[0134] In the above technical solution, according to Figure 6 The specific steps for installing pipe accessories in step six are as follows:
[0135] 1) Obtain the characteristic points in the geometric set of the pipe accessory positioning points;
[0136] 2) Determine the pipe accessory type based on the feature point name: if the name is "tee", it is a tee pipe accessory positioning point; if the name is "cross", it is a cross pipe accessory positioning point;
[0137] 3) Analyze the pipe specification parameters of the pipe accessories to obtain the specifications of the required pipe accessories;
[0138] 4) Search the pipe accessory template library according to the pipe accessory specifications, traverse the pipe accessory template library in step 1, and obtain the pipe accessories of corresponding specifications;
[0139] 5) Instantiate the obtained pipe attachment;
[0140] 6) Move the instantiated pipe attachment to the pipe attachment positioning point;
[0141] 7) Determine the pipe segment to which the pipe accessory is connected based on the pipe segment information recorded by the pipe accessory, and determine the pipe port to which the pipe accessory is connected based on the distance between the pipe accessory positioning point and the ports at both ends of the pipe segment to be connected;
[0142] 8) Based on the pipeline port determined in step 7, calculate the angle between the pipe accessory and the port. If the angles are consistent, no adjustment is made. If the angles are inconsistent, the CATIMovable interface of the pipe accessory product object is used to adjust the spatial position and posture of the pipe accessory.
[0143] 9) The pipe accessory instance interface CATIPipPartInstance and the pipeline port determined in step 7 are used to complete the connection between the pipe accessory and the pipeline;
[0144] The pipeline system template library (or water supply and drainage template library) completed according to this embodiment is as follows Figure 7 The pipeline path point data table is shown in Table 1, and the nozzle positioning information data input format is shown in Table 2. The parameters to be entered for the pipeline path are pipeline name, pipe diameter, starting point, and end point; the parameters to be entered for the nozzle are serial number, binding main, nozzle specifications, and positioning point.
[0145] Table 1
[0146]
[0147] Table 2
[0148]
[0149] The method of the present invention can realize the automatic creation of pipelines and automatic installation of pipe accessories in the entire sprinkler system, improve the modeling efficiency of the pipeline system, and solve the problems of low efficiency and cumbersome operation steps in creating pipeline systems on the 3DE platform.
[0150] Other parts not described belong to the prior art.
[0151] Example 2
[0152] The present invention also protects a sprinkler system modeling electronic device based on a 3DE platform, and by implementing the method of Example 1, rapid modeling of sprinkler system management is achieved.
[0153] At the same time, a storage medium is also protected, characterized in that a computer program is stored thereon for executing the above-mentioned sprinkler system modeling method based on the 3DE platform.
[0154] The embodiments described above are part of the embodiments of the present application, rather than all of the embodiments. The detailed description of the embodiments of the present application is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
Claims
1. A rapid modeling method for a sprinkler system based on a 3DE platform, characterized in that: The following steps are included: Step 1: Create a water supply and drainage template library to build a sprinkler system resource library, including building a pipeline template library and a pipe accessory template library; Step 2: Build a structure tree for creating a sprinkler system and create pipe path points and sprinkler location points: Create a product node called "Create Sprinkler System" of the "Other AEC Spatial Structural Elements" type. Create a knowledge engineering specification object called "Pipe System EKL" under the "Create Sprinkler System" node. Insert a 3D shape object called "Pipe Path Points and Sprinkler Location Information" under the "Create Sprinkler System" node to record the created pipe path points and sprinkler location information using feature points and parameters. Insert a node called "Other AEC Spatial Structural Elements" under the "Create Sprinkler System" node and name it "Sprinkler System." Step 3: Create the pipe main. Obtain the root node of the entire structure tree from the "Sprinkler System" node. From the root node, obtain all child nodes at the first level, including the 3Dshape node and EKL knowledge engineering node that record the pipe path points and nozzle positioning information. Obtain the geometric shapes and part geometry corresponding to all path points in the 3Dshape node. Obtain the pipe diameter for creating the pipe main based on the name of the geometric shape. Read the coordinates of the feature points under the geometric shape and create feature points corresponding to the coordinate points under the part geometry. Based on the obtained pipe diameter, traverse the pipe template library to obtain the pipe template with the corresponding diameter. Using the created "Sprinkler System" node as input, CAA calls the Action object created for the pipeline to complete the creation of the pipeline main. Step 4: Create a branch pipe: Traverse the geometric shapes set under the 3D shape to obtain the geometric shape set containing the sprinkler positioning information; obtain the sprinkler positioning points and the bound main pipe within the geometric shape set; create a geometric shape set for the pipe accessory positioning points under the 3D shape; obtain the branch pipe path points based on the sprinkler positioning points and the bound main pipe, and create corresponding feature points "Tee" or "Four-way" under the pipe accessory positioning points based on the coordinates of the starting point. Determine the branch pipe diameter based on the number of sprinkler positioning points on the branch pipe and relevant specifications; traverse the water supply and drainage template library to obtain the pipe template of the corresponding diameter; use the created "Sprinkler System" node as input, call the pipeline creation through CAA, and complete the creation of the pipe branch. Step 5: Create a sprinkler pipe; obtain the nozzle positioning point by traversing the geometric shape set under the 3D shape; The sprinkler pipe's starting point is the nozzle's location point. The sprinkler pipe's ending point is calculated based on its length. Based on the sprinkler pipe's starting point coordinates, a corresponding feature point, "Tee," is created in the pipe accessory location point geometry set. The water supply and drainage pipe library is traversed to obtain a pipe template with the corresponding diameter. Using the created "Sprinkler System" node as input, CAA is used to call pipeline creation to complete the creation of sprinkler pipes. Then, sprinkler heads are created based on the sprinkler positioning points. Step 6: Install pipe accessories; obtain feature points in the pipe accessory positioning point geometry set; determine the pipe accessory type, parse the pipe specification parameters of the pipe accessory connection to obtain the specifications of the required pipe accessories; determine the pipe port connected to the pipe accessory based on the distance between the pipe accessory port and the ports at both ends of the pipe to be connected; traverse the pipe accessory template library to obtain pipe accessories of corresponding specifications; instantiate the obtained pipe accessories; adjust the spatial position and posture of the pipe accessories; and complete the connection between the pipe accessory and the pipeline.
2. The rapid modeling method of the sprinkler system based on the 3DE platform according to claim 1 is characterized in that: In the method of creating the water supply and drainage template library in step 1, First, use the 3DE platform to create a template library directory, switch to the water supply and drainage pipeline or water supply and drainage pipe accessory definition app, and create a water supply and drainage pipeline or pipe accessory template; Add the created template to the corresponding section of the template library directory, switch to the Data setup App, and associate the created template library directory with the project space.
3. A sprinkler system modeling electronic device based on a 3DE platform, which realizes rapid modeling of sprinkler system management by implementing the sprinkler system rapid modeling method based on a 3DE platform as described in any one of claims 1-2 above.
4. A storage medium, characterized in that A computer program is stored thereon for executing the method for rapid modeling of a sprinkler system based on a 3DE platform as described in any one of claims 1-2 above.
Citation Information
Patent Citations
Air duct three-dimensional modeling system and method based on 3DE
CN117057035A