A method, apparatus, device, and storage medium for generating isometric diagrams of pipelines.

By receiving target pipeline information and drawing template configuration, isometric pipeline diagrams that meet the needs of different scenarios are generated, solving the problem of inconsistent display standards in existing technologies and realizing efficient and flexible generation and display of isometric pipeline diagrams.

CN121415433BActive Publication Date: 2026-04-03PLANT RESOURCE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing technologies lack a unified display standard when generating isometric diagrams of pipelines, which affects generation efficiency, fails to meet the display styles and effects of different scenarios, and lacks flexibility.

Method used

By receiving the target pipeline's number information and drawing template configuration information, the system queries the geometry and component information in the preset 3D pipeline model database, generates an isometric view, and displays a material list based on the configuration information, ensuring the standardization and consistency of the page layout.

Benefits of technology

It improves the flexibility and efficiency of generating isometric diagrams of pipelines, and ensures the uniformity and standardization of the display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121415433B_ABST
    Figure CN121415433B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and storage medium for generating isometric diagrams of pipelines. The method includes: receiving pipeline number information of a selected target pipeline and target configuration information of a target drawing template, wherein the target configuration information includes first configuration information for an isometric view area and second configuration information for a material list area; querying geometric information and component information corresponding to the pipeline number information in a preset three-dimensional pipeline model database; generating an isometric view based on the first configuration information, geometric information, and component information; and displaying the isometric view within the isometric view area; performing statistical analysis on the component information according to the list statistics items in the second configuration information; generating a material list based on the statistical results; and displaying the material list within the material list area, thereby obtaining an isometric diagram of the pipeline containing the isometric view and the material list. This method improves the flexibility and efficiency of generating isometric diagrams of pipelines while ensuring the standardization and uniformity of the displayed page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electrical digital data processing, and in particular to a method, apparatus, device, and storage medium for generating isometric diagrams of pipelines. Background Technology

[0002] In the design process of large-scale industrial projects, isometric drawings of pipelines are a key deliverable connecting multiple stages such as design, procurement, construction, and commissioning. They clearly express the spatial orientation, dimensions, slope, coordinates, fittings, valves, welds, and material information of individual pipelines using a three-dimensional isometric projection. The quality of the isometric drawings directly affects the efficiency of engineering construction, cost control, and operational safety; therefore, the industry has imposed strict requirements on their standardization, accuracy, and drawing efficiency.

[0003] In related technologies, during the generation of isometric diagrams of pipelines, an isometric view is generated based on the relevant data of the target pipeline and fixed page layout parameters, and the isometric view is displayed in the corresponding area. The relevant material information is also labeled and displayed in the generated isometric view. However, there is a lack of unified display standards, which affects the generation efficiency of isometric diagrams of pipelines. Furthermore, the above-mentioned methods for generating isometric diagrams of pipelines cannot meet the display style and display effect of isometric diagrams of pipelines in different scenarios, and lack flexibility. Summary of the Invention

[0004] This application provides a method, apparatus, device, and storage medium for generating isometric diagrams of pipelines. It solves the problem that in the process of generating isometric diagrams of pipelines, the generation of isometric views based on relevant data of the target pipeline and fixed page layout parameters, and the subsequent display of related material information in the generated isometric views, lacks a unified display standard, affecting the generation efficiency of isometric diagrams of pipelines and failing to meet the display style and effect requirements of pipeline isometric diagrams in different scenarios, thus lacking flexibility. The method can generate isometric diagrams of pipelines that meet the needs of different scenarios based on the target configuration information of the received target drawing template and relevant information of the target pipeline, improving the flexibility of pipeline isometric diagram generation. Furthermore, by displaying the isometric views and material lists according to the page layout method corresponding to the target drawing template, it ensures the standardization and uniformity of the display page, improves the generation efficiency of pipeline isometric diagrams, and fully guarantees the display effect of pipeline isometric diagrams.

[0005] In a first aspect, embodiments of this application provide a method for generating isometric diagrams of pipelines, comprising:

[0006] Receive the pipe number information of the selected target pipe and the target configuration information of the target drawing template. The target configuration information includes the first configuration information of the isometric view area and the second configuration information of the bill of materials area.

[0007] The system queries the geometric and component information corresponding to the pipe number information in the preset three-dimensional pipe model database, generates an axonometric view based on the first configuration information, the geometric information and the component information, and displays the axonometric view in the axonometric view area.

[0008] The component information is statistically analyzed based on the list statistics items in the second configuration information. A material list is generated based on the statistical results and displayed in the material table area to obtain an isometric view of the pipes that includes the isometric view and the material list.

[0009] Optionally, generating the isometric view based on the first configuration information, the geometric information, and the component information includes:

[0010] An initial isometric view is generated based on the geometric information and the component information. The initial isometric view is then adjusted in terms of viewpoint, annotation, and style according to the first configuration information to obtain the target isometric view.

[0011] The target axonometric view is matched with the axonometric view area in the page layout. Based on the matching result, the target fill position of the target axonometric view is determined, and the target axonometric view is filled into the target fill position.

[0012] Optionally, matching the target axonometric view with the axonometric view area for page layout includes:

[0013] Identify the key feature dimensions of the axonometric view, generate a set of key feature dimensions, and determine the set of constraint feature dimensions associated with the axonometric view region;

[0014] Calculate the size feature matching coefficient between the set of key feature dimensions and the set of constraint feature dimensions, and adjust the isometric view based on the size feature matching coefficient.

[0015] Optionally, adjusting the isometric view based on the size feature matching coefficient includes:

[0016] Based on the size feature matching coefficient, the key features of the isometric view are locally scaled and adjusted to obtain the current key feature coordinates;

[0017] The translation amount of the feature anchor point is calculated based on the key feature size information and the current key feature coordinates, and the key features of the isometric view are translated based on the translation amount of the feature anchor point.

[0018] Optionally, before receiving the pipe number information of the selected target pipe and the target configuration information of the target drawing template, the method further includes:

[0019] Obtain the initial drawing template, region division instructions, and region configuration information; divide the initial drawing template into regions based on the region division instructions to obtain multiple regions, wherein the multiple regions include at least an isometric view region and a bill of materials region.

[0020] Based on the area configuration information, the corresponding areas are configured to generate a standard drawing template that includes at least the configured isometric view area and the configured bill of materials area.

[0021] Optionally, the step of dividing the initial drawing template into regions based on the region division instruction includes:

[0022] Based on the region division instruction, a drag trajectory is generated, and the starting point coordinates and ending point coordinates of the drag trajectory are identified;

[0023] The region segmentation boundary is generated based on the coordinates of the starting point of the trajectory, the coordinates of the ending point of the trajectory, and the preset region shape, and the initial drawing template is segmented based on the region segmentation boundary.

[0024] Optionally, the first configuration information includes at least one of: ISO viewpoint, coordinate origin, reference system positioning method, compass style and position, and the second configuration information includes at least one of: list dimension, data source, quantity unit and table style.

[0025] In a second aspect, embodiments of this application provide an apparatus for generating isometric diagrams of pipelines, comprising:

[0026] The information receiving module is used to receive the pipe number information of the selected target pipe and the target configuration information of the target drawing template. The target configuration information includes the first configuration information of the isometric view area and the second configuration information of the bill of materials area.

[0027] The information query module is used to query the geometric information and component information corresponding to the pipeline number information in a preset three-dimensional pipeline model database;

[0028] An axonometric view generation module is used to generate an axonometric view based on the first configuration information, the geometric information, and the component information, and to display the axonometric view within the axonometric view area;

[0029] The information statistics module is used to perform statistics on the component information based on the list statistics items in the second configuration information;

[0030] The material table generation module is used to generate a material list based on statistical results and display the material list in the material table area to obtain an isometric drawing of the pipe that includes the isometric view and the material list.

[0031] In a third aspect, embodiments of this application provide an electronic device, the device comprising: one or more processors; and a storage device configured to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the pipeline isometric diagram generation method described in the first aspect.

[0032] In a fourth aspect, embodiments of this application provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the method for generating isometric diagrams of pipes as described in the first aspect.

[0033] This application implements a method that receives the pipe number information of a selected target pipeline and the target configuration information of a target drawing template. The target configuration information includes first configuration information in the isometric view area and second configuration information in the material list area. It then queries a preset 3D pipeline model database for the geometric and component information corresponding to the pipe number information. Based on the first configuration information, geometric information, and component information, an isometric view is generated and displayed within the isometric view area. Finally, it performs statistical analysis on the component information according to the list statistics items in the second configuration information, generates a material list based on the statistical results, and displays the material list within the material list area, resulting in an isometric drawing of the pipeline containing the isometric view and the material list. This solution can generate isometric drawings of pipelines that meet the needs of different scenarios based on the target configuration information of the target drawing template and the relevant information of the target pipeline, improving the flexibility of generating isometric drawings. Furthermore, by displaying the isometric view and material list according to the page layout corresponding to the target drawing template, it ensures the standardization and uniformity of the display page, improves the generation efficiency of isometric drawings, and fully guarantees the display effect of the isometric drawings. Attached Figure Description

[0034] Figure 1 This is a flowchart of a method for generating an isometric diagram of a pipeline provided in an embodiment of this application;

[0035] Figure 2 This is a flowchart of an isometric view generation method provided in an embodiment of this application;

[0036] Figure 3 This is a flowchart of a page layout matching method provided in an embodiment of this application;

[0037] Figure 4 This is a flowchart of a standard drawing template generation method provided in an embodiment of this application;

[0038] Figure 5 This is a schematic diagram of an ISO drawing template management page provided in an embodiment of this application;

[0039] Figure 6This is a schematic diagram of an axonometric view area configuration page provided in an embodiment of this application;

[0040] Figure 7 This is a schematic diagram of a material list area configuration page provided in an embodiment of this application;

[0041] Figure 8 This is a newly added initial drawing template setting page diagram provided in an embodiment of this application;

[0042] Figure 9 This is a schematic diagram of the structure of a device for generating isometric diagrams of pipelines provided in an embodiment of this application;

[0043] Figure 10 This is a schematic diagram of the structure of a pipeline isometric drawing generation device provided in an embodiment of this application. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0045] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0046] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0047] The method, apparatus, equipment, and medium for generating isometric diagrams of pipelines provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0048] The method for generating isometric diagrams of pipelines provided in this application is used in scenarios where disinfection routes are planned and adjusted. Based on the above application scenario, it can be understood that the executing entity of each step can be a computer device. This computer device refers to any electronic device with data computing, processing, and storage capabilities, such as mobile phones, PCs (Personal Computers), tablet computers, and other terminal devices, or it can be a server or other devices. This application does not limit this.

[0049] Figure 1 This is a flowchart illustrating a configuration method for a management function template provided in an embodiment of this application, such as... Figure 1 As shown, it includes:

[0050] Step S101: Receive the pipe number information of the selected target pipe and the target configuration information of the target drawing template. The target configuration information includes the first configuration information of the isometric view area and the second configuration information of the bill of materials area.

[0051] The target pipeline refers to the individual pipelines selected from the overall system that require isometric drawing. The pipeline number is a unique and structured identifier assigned to each pipeline, representing its process system, medium type, pressure rating, diameter, and sequence number, such as RE-W-150-200-001. Here, "RE" indicates the process system is a reactor cooling system, "W" indicates the medium type is water, "150" indicates a pressure rating of 150 psi, "200" indicates a diameter of 200 mm, and "001" indicates the first pipeline of this type. The target drawing template refers to a standardized template file pre-created and configured by the user to define the layout structure, display style, and information specifications of the final isometric drawing. The target configuration information refers to the set of detailed parameters pre-set by the user for each functional area within the target drawing template to define the rules for presenting the drawing content. The isometric view area refers to an independent functional block within the target drawing template, predefined visually to carry the 3D isometric projection image of the pipeline and related annotation information. It is the core area in the isometric drawing that intuitively presents the spatial orientation of the pipeline. The first configuration information refers to the set of key parameters set when configuring the attributes of the isometric view area, which determines the basic presentation framework of the pipeline isometric view. This may include feature annotation rules, target viewpoint, and style setting rules. Optionally, the first configuration information includes at least one of the following: ISO viewpoint, coordinate origin, reference system positioning method, and north arrow style and position. The ISO viewpoint refers to a parameter that provides a standardized viewing direction for the pipeline isometric view. Based on the isometric projection principle, fixed viewing angle options (such as ISO1~4) are preset. Users can select these options through the area configuration information, and the system will project and transform the 3D geometric information of the pipeline according to this angle to generate an isometric view that intuitively reflects the spatial orientation of the pipeline. The coordinate origin can refer to a preset reference point in the isometric view area attribute configuration. It serves as the starting point for measuring pipe geometry information (such as node locations, pipe routing, and dimensions). All pipe-related spatial coordinate data is calculated and displayed based on this point, ensuring the accuracy of dimensions and positions in the isometric view. The reference system positioning method refers to the baseline rules used in the isometric view area configuration to standardize the spatial positioning of geometric information such as pipe node locations and pipe routing within the view. The north arrow style and position refer to the parameter combinations set by the user in the isometric view area attribute configuration, used to define the visual form of the north arrow and its specific placement within the isometric view area. The material list area refers to an independent functional block within the target drawing template, predefined visually to hold a list of all component information associated with the target pipe. The second configuration information refers to the detailed set of parameters pre-defined by the user for the material list area within the target drawing template, defining the dimensions, display style, data sources, etc., of the material list information.Optionally, the second configuration information includes at least one of the following: list dimension, data source, quantity unit, and table style. The list dimension can refer to a set of rules set by the user in the material table area attribute configuration to standardize the display dimensions of material information, such as serial number, name, and specifications. The data source can refer to the original data source identifier set by the user in the material table area attribute configuration for each list dimension to extract data. The data unit can refer to the parameters set by the user in the material table area attribute configuration to unify the standard of data measurement. The table style can refer to the rules set by the user in the material table area attribute configuration to standardize the visual appearance of the material list, such as table borders, font, layout, and partitioning.

[0052] In one embodiment, the system receives a target pipeline selected by the user for which an isometric drawing is required, a target drawing template selected from multiple templates stored in the drawing template management module, and configuration information associated with the target drawing template. The drawing template management module stores various types of drawing templates pre-configured by the user, such as ISO standard piping templates, process flow diagram templates, equipment installation template A1, and instrument piping template A3. Since the target drawing template includes at least an isometric side view area and a bill of materials area, the target configuration information associated with the target drawing template includes at least first configuration information associated with the isometric test view area and second configuration information associated with the bill of materials area.

[0053] Step S102: Query the geometric information and component information corresponding to the pipe number information in the preset three-dimensional pipe model database, generate an axonometric view based on the first configuration information, geometric information and component information, and display the axonometric view in the axonometric view area.

[0054] The pre-built 3D pipeline model database refers to a structured database that is constructed and stored in advance before the generation of the isometric drawing of the pipeline, containing 3D geometric information, component information, and relational data of all pipelines in an industrial project. Geometric information refers to a set of quantitative data used to describe the spatial location, morphological structure, and connection relationships of the target pipeline. Component information refers to a set of structured data describing the identification, attribute parameters, and relational relationships of components in an industrial pipeline system. An axonometric view refers to an engineering view that uses axonometric projection to transform the 3D spatial morphology of the pipeline into a 2D planar image.

[0055] In one embodiment, the main body lines of the pipeline are drawn based on the three-dimensional coordinates of the pipeline nodes, the pipeline direction and slope, and components are drawn based on the component type, component position coordinates and component symbol identification, and matched with the main body of the pipeline to obtain the main body structure diagram of the pipeline. The projection reference of the axonometric view is determined according to the reference system positioning rules in the first configuration information. Based on the projection reference, the main body diagram of the pipeline is subjected to projection calculation and graphic positioning processing to generate an axonometric view, and the axonometric view is displayed in the axonometric view area.

[0056] Step S103: Statistically analyze the component information according to the list statistics items in the second configuration information, generate a material list based on the statistical results, and display the material list in the material table area to obtain an isometric view of the pipes that includes the isometric view and the material list.

[0057] The list statistics items refer to the specific data entries in the material list area used to classify, statistically analyze, and quantify the component information associated with the target pipeline; that is, the column definitions set in the material list. The material list itself refers to a standardized table automatically generated according to preset configuration rules within the material list area of ​​the pipeline isometric drawing, used by the system to present the core information of all components associated with the target pipeline. The pipeline isometric drawing refers to a standardized two-dimensional engineering drawing that converts the three-dimensional spatial shape, component information, and engineering parameters of the pipeline into a drawing conforming to international standards, based on isometric projection technology. This includes an engineering view of the standard two-dimensional pipeline and a material list detailing the installation and material inventory for that engineering view.

[0058] In one embodiment, the relevant parameters for generating the isometric view that need to be statistically analyzed are determined based on the list statistics items in the second configuration information, such as serial number, description, specification, material number, and quantity. The component information obtained from the query is then statistically analyzed from aspects such as serial number, description, specification, material number, and quantity to generate a material list that can be used to clearly represent the bill of materials. This material list is then displayed in the center of the material list area, thereby obtaining an isometric drawing of the piping that includes the isometric view and the material list.

[0059] This embodiment of the application receives the pipe number information of a selected target pipeline and the target configuration information of a target drawing template. The target configuration information includes first configuration information in the isometric view area and second configuration information in the material list area. It queries a preset 3D pipeline model database for geometric and component information corresponding to the pipe number information. Based on the first configuration information, geometric information, and component information, an isometric view is generated and displayed within the isometric view area. The component information is statistically analyzed according to the list statistics items in the second configuration information. Based on the statistical results, a material list is generated and displayed within the material list area, resulting in an isometric drawing of the pipeline containing the isometric view and the material list. This solution can generate isometric drawings of pipelines that meet the needs of different scenarios based on the target configuration information of the target drawing template and the relevant information of the target pipeline, improving the flexibility of generating isometric drawings. Furthermore, by displaying the isometric view and material list according to the page layout corresponding to the target drawing template, the standardization and uniformity of the display page are ensured, improving the generation efficiency of the isometric drawing and fully guaranteeing the display effect of the isometric drawing.

[0060] Figure 2 This is a flowchart of an isometric view generation method provided in an embodiment of this application, such as... Figure 2 As shown, it includes:

[0061] Step S1021: Generate an initial axonometric view based on geometric information and component information. Adjust the viewpoint, annotation, and style of the initial axonometric view according to the first configuration information to obtain the target axonometric view.

[0062] The initial isometric view refers to the isometric view generated in the early stages of the pipeline isometric drawing generation process, based on the basic geometric data of a preset 3D pipeline model database and according to default or initially configured isometric projection rules, used to initially present the 3D spatial morphology of the pipeline. The target isometric view refers to the final isometric view generated in the pipeline isometric drawing generation process, based on the configuration rules of the first configuration information, for the target pipeline, meeting project standardization requirements and accurately conveying the 3D spatial information of the pipeline. Viewpoint adjustment refers to the operation of adjusting the viewing direction of the pipeline isometric projection according to project needs or spatial observation focus. Annotation adjustment refers to the operation of optimizing and adjusting the position and display status of annotation content in the view, such as adjusting coordinates, pipe diameter, and component numbers. Style adjustment refers to the operation of optimizing and adjusting the appearance style of graphic elements and annotation elements in the view, such as adjusting the font and line type of annotation elements.

[0063] In one embodiment, the spatial location, morphology, attribute parameters, and relationships of the target pipeline are queried from a preset 3D pipeline model database based on the pipeline number. An initial isometric view is generated based on the retrieved spatial location, morphology, attribute parameters, and relationships. The initial isometric view is then adjusted based on the target perspective in the first configuration information. According to feature annotation rules, the coordinate values, diameters, and component numbers of each pipeline in the isometric view are optimized and their display controlled to ensure clear, readable, and non-overlapping annotations. Line thickness, color scheme, and font are adjusted according to style setting rules to ensure that the graphic elements conform to the project's drafting standards, ultimately generating a pipeline isometric drawing that meets standardization requirements, has accurate spatial information, and clear visual hierarchy.

[0064] Step S1022: Match the target axonometric view with the axonometric view area for page layout, determine the target fill position of the target axonometric view based on the matching result, and fill the target axonometric view to the target fill position.

[0065] The target fill position can refer to the specific display position of the target isometric view within the isometric view area. In one embodiment, the size information of the target isometric view is identified, and the size of the target isometric view is matched with the size of the isometric view area. For example, the distance from the target isometric view to the boundary of the template isometric view area is calculated based on the size of the target isometric view and the size of the isometric view area, so that the distances from the left and right boundaries of the target isometric view to the left and right boundaries of the template isometric view area are equal, and the distances from the top and bottom boundaries of the target isometric view to the top and bottom boundaries of the template is also equal. At this time, it can be considered that the target isometric view matches the isometric view area, and the coordinates of the points on the boundary of the target isometric view within the isometric view area are recorded. The area enclosed by the coordinates of the points on each boundary is determined as the target fill position of the target isometric view, and the target isometric view is filled into the target position for display.

[0066] This embodiment generates an initial axonometric view based on geometric and component information. The initial axonometric view is then adjusted in terms of viewpoint, annotation, and style according to first configuration information to obtain a target axonometric view. The target axonometric view is then matched with the axonometric view area using page layout matching. Based on the matching result, the target fill position of the target axonometric view is determined, and the target axonometric view is filled into the target fill position. This solution ensures the accuracy of the target axonometric view's fill position in the drawing by matching it with the page layout of the axonometric view area, improving the generation quality of the axonometric view and enhancing the overall standardization and readability of the drawing.

[0067] Figure 3 This is a flowchart of a page layout matching method provided in an embodiment of this application, such as... Figure 3 As shown, it includes:

[0068] Step S10221: Identify the key feature dimension information of the axonometric view, generate a set of key feature dimensions, and determine the set of constraint feature dimensions associated with the axonometric view area.

[0069] Step S10222: Calculate the size feature matching coefficient between the key feature size set and the constraint feature size set, and adjust the isometric view based on the size feature matching coefficient.

[0070] In this context, key feature dimension information refers to the core dimensional data contained in the isometric view during the generation of the pipeline isometric drawing, which determines its core shape, layout adaptability, and key display information. The key feature dimension set refers to the set of all core dimensional data extracted from the isometric view that characterizes its core shape, key component layout, and annotation specifications. The constraint feature dimension set refers to a set of preset dimensional data associated with the isometric view area of ​​the drawing template, used to define the layout adaptation standards of the isometric view. The dimension feature matching coefficient refers to a quantitative index used to quantify the degree of adaptation between the key feature dimension set of the isometric view and the constraint feature dimension set of the isometric view area of ​​the drawing template.

[0071] In one embodiment, the coordinate data of all visible elements in the isometric view are traversed to determine the extreme coordinates of the view in a unified coordinate system, the coordinates of inflection points where the pipe direction changes, and the coordinate values ​​corresponding to preset key target points, such as the center coordinates of mounting holes, valves, weld points, flanges, etc. A set of feature dimensions is generated by combining all identified extreme coordinates, inflection point coordinates, and coordinates of preset key target points. For example, if the center coordinates of the mounting hole (x...) th ,y th ), hole spacing D t Chamfer side length C t , labeled as feature size set F t ={D t ,Ct,(x th ,y thIn one embodiment, the association between pipe numbers and constraint feature size sets under different viewpoints within the isometric view area can be preset. After receiving the selected pipe number, the target constraint feature size set is determined based on the display viewpoint in the first configuration information and the preset pipe number and constraint feature size sets under different viewpoints. The constraint size set may include the reasonable filling area range of each key feature. For example, the reasonable filling area range corresponding to a certain inflection point may be x∈[120mm,380mm] and y∈[80mm,220mm]. The coordinates of each key feature in the key feature size set are compared with the reasonable filling area range corresponding to the corresponding feature in the constraint size set to determine whether each key feature is within the reasonable filling area range. If not, the deviation value between the key feature and the corresponding reasonable filling area range is calculated, and the size feature matching coefficient between the key feature size set and the constraint feature size set is calculated based on the calculated deviation values. For example, the key feature size set is F. t ={D t C t ,(x th ,y th The set of constraint feature sizes is F. a ={D a C a ,(x ah ,y ah The feature size matching coefficient is calculated as: k=D a / D t The isometric view is then scaled and adjusted according to the feature size matching coefficient to align the feature anchor points of the target view with the region constraint anchor points. Specifically, the adjusted target horizontal and vertical coordinates can be calculated based on the feature size matching coefficient and the initial horizontal and vertical coordinates of the key feature, and the key feature is then adjusted to these target horizontal and vertical coordinates.

[0072] This application embodiment generates a set of key feature dimensions by identifying key feature dimension information of the isometric view, and determines a set of constraint feature dimensions associated with the isometric view area; it calculates the size feature matching coefficient between the key feature dimension set and the constraint feature dimension set, and adjusts the isometric view based on the size feature matching coefficient. In the above scheme, the automatic alignment of feature anchor points and area constraint anchor points improves the positioning accuracy of the isometric view in complex page environments and significantly enhances the layout standardization of isometric pipe diagrams.

[0073] Optionally, the matching adjustment of the axonometric view based on the size feature matching coefficient includes: adjusting the local scaling of the key features of the axonometric view based on the size feature matching coefficient to obtain the current key feature coordinates; calculating the feature anchor point translation amount based on the key feature size information and the current key feature coordinates; and performing translation processing on the key features of the axonometric view based on the feature anchor point translation amount.

[0074] The current key feature coordinates refer to the specific coordinate position of the key feature in the current coordinate system after local scaling adjustment of the key feature in the isometric view. The feature anchor point translation amount refers to the quantized displacement value used to translate the key feature to a reasonable display area, calculated based on the key feature size information and the current key feature coordinates after local scaling. This feature anchor point translation amount is used to represent the direction and distance of the displacement and can be expressed as (Δx, Δy). If Δx > 0 or Δy > 0, it indicates a translation in the positive x-axis direction or the positive y-axis direction. If Δx < 0 or Δy < 0, it indicates a translation in the negative x-axis direction or the negative y-axis direction.

[0075] In one embodiment, when it is determined that a key feature in an isometric view needs to be scaled based on a size feature matching coefficient, such as zooming in or out of a pipe segment, the coordinates of the scaled end point of the pipe segment are calculated using a corresponding scaling algorithm, and these end point coordinates are determined as the current key feature coordinates. The method for calculating the current key feature coordinates is as follows: x th '=x th ×k, y th '=y th ×k. Calculate the difference between the original x and y coordinates of the key feature and the current key feature coordinates, and calculate the feature anchor point translation based on this difference, such as Δx=x ah -x th ',Δy=y ah -y th Based on the translation amount of the feature anchor point, the key features of the axonometric view are translated so that the key features can be accurately positioned in the appropriate location after scaling.

[0076] This application embodiment performs local scaling adjustment on key features of the isometric view based on the size feature matching coefficient to obtain the current key feature coordinates; calculates the feature anchor point translation amount based on the key feature size information and the current key feature coordinates, and performs translation processing on the key features of the isometric view based on the feature anchor point translation amount, which can fully ensure the accuracy and standardization of the isometric view in the page layout and improve the overall generation quality of the pipeline isometric diagram.

[0077] Figure 4 This is a flowchart of a standard drawing template generation method provided in an embodiment of this application, such as... Figure 4 As shown, it includes:

[0078] Step S201: Obtain the initial drawing template, area division instructions, and area configuration information. Based on the area division instructions, divide the initial drawing template into multiple areas, which include at least the isometric view area and the bill of materials area.

[0079] Step S202: Configure the corresponding regions according to the region configuration information to generate a standard drawing template that includes at least the configured isometric view region and the configured bill of materials region.

[0080] The initial drawing template can refer to the basic template carrier used for customized configuration. This initial drawing template can be a newly created blank template carrier or a previously configured template. If the initial drawing template is a previously configured template, the user can modify the configuration within it to create a target drawing template that meets the user's needs. The area division command refers to the operation command used to divide the initial drawing template into functional areas. The area configuration information refers to the parameter set used to personalize the attribute settings of each functional area after the initial drawing template is divided. The standard drawing template refers to the final form after the initial drawing template has been customized; it is a standardized template carrier that at least includes preset functional areas and a material list area, and this standard drawing template can be designated as the target drawing template.

[0081] Figure 5 This is a schematic diagram of an ISO drawing template management page provided in an embodiment of this application, such as... Figure 5 As shown, the ISO drawing template management page includes "ISO Standard Piping Template," "Equipment Installation Template A1," "Instrument Piping Template A3," "Process Flow Diagram Template," and operation buttons such as "Add," "Copy," "Modify," "Delete," and "Close." In one embodiment, the system receives a "New" or "Modify" command selected by the user on the ISO drawing template management page. If it is a "Modify" command, the system retrieves the corresponding historical drawing template, which can be any one of the "ISO Standard Piping Template," "Equipment Installation Template A1," "Instrument Piping Template A3," or "Process Flow Diagram Template." The system then modifies the configuration information of this historical drawing template according to the area configuration information and area division instructions. If it is a "New" command, the system retrieves a preset blank template carrier and divides the blank area of ​​the blank template into regions according to the area division instructions. These region division instructions can be the region vertex coordinates entered by the user on the region division settings page. Based on these region vertex coordinates, a rectangle with the corresponding position and size is generated. These region division instructions include division instructions for multiple different content display areas, including at least the division instructions for the isometric view area and the material list area. After determining the location and extent of the isometric view area and the bill of materials area based on the area division command, the blank page is divided into areas based on these locations and extents to obtain the isometric view area and the bill of materials area. The isometric view area is then configured according to the first configuration information. Figure 6 This is a schematic diagram of an isometric view area configuration page provided in an embodiment of this application, such as... Figure 6As shown, the font, attributes, positioning, and alternative text of this area can be configured, such as configuring the font type, font size, and text spacing within the area, and the configuration information can be saved. The material table area is configured according to the second configuration information. Figure 7 This is a schematic diagram of a material list area configuration page provided in an embodiment of this application, such as... Figure 7 As shown, the font, attributes, column definitions, and styles of this area can be configured, such as font type, font size, and text spacing. The configuration information is then saved, generating a standard drawing template containing the configured isometric view area and the configured bill of materials area. During area configuration, users typically divide the area into its constituent regions, select a target area to be configured, and set its configuration information. The system receives this configuration information, binds it to the target area, and completes the configuration of that target area. Similarly, the configuration method for other areas is the same.

[0082] In another possible embodiment, the region division instructions may also include instructions for dividing text description regions and instructions for dividing custom text regions. Figure 8 This is a newly added initial drawing template setting page diagram provided in an embodiment of this application, such as... Figure 8 As shown, the area includes: an isometric view area 31, a bill of materials area 32, a text description area 33, and a custom text area 34. The text description area 33 can be used to display general technical specifications or precautions. The custom text area 34 can be used to display dynamically populated text such as drawing titles, drawing numbers, and project information; there can be multiple custom text areas. Correspondingly, after obtaining the isometric view area 31, bill of materials area 32, text description area 33, and custom text area 34 according to the area division instructions, the corresponding areas are configured according to the received area configuration information to generate a standard drawing template containing the configured isometric view area, configured bill of materials area, configured text description area, and configured custom text area.

[0083] This application embodiment obtains an initial drawing template, a region division instruction, and region configuration information. Based on the region division instruction, the initial drawing template is divided into multiple regions, which include at least an isometric view region and a material list region. According to the region configuration information, the corresponding regions are configured to generate a standardized drawing template that includes at least a configured isometric view region and a configured material list region. This improves the flexibility of template settings and the diversity of display effects, and ensures the quality of subsequent pipeline isometric drawings.

[0084] Optionally, the initial drawing template is divided into regions based on the region division command, including: generating a drag trajectory based on the region division command, identifying the starting point coordinates and ending point coordinates of the drag trajectory; generating region division boundaries based on the starting point coordinates, ending point coordinates, and preset region shapes, and dividing the initial drawing template into regions based on the region division boundaries.

[0085] The drag trajectory refers to the positional change path created by the user's dragging operation on the template visualization interface to divide the initial drawing template and define functional areas. The trajectory start coordinates refer to the two-dimensional coordinates corresponding to the first click position when the user performs the drag operation on the visualization interface. The trajectory end coordinates refer to the two-dimensional coordinates corresponding to the position where the user releases the operating device after completing the drag operation on the visualization interface, i.e., the two-dimensional coordinates of the drag trajectory's stopping position. The area segmentation boundary refers to the closed boundary line generated on the initial drawing template based on the trajectory data generated by the user's drag operation and the preset area shape, used to clearly define the physical scope of different functional areas, ensuring that each area is independent and does not overlap.

[0086] In one embodiment, a user can drag and drop elements on the template visualization interface using a mouse or touch device. The system captures and records the starting and ending coordinates of the drag trajectory in real time. After obtaining the starting and ending coordinates, the system calculates and generates region segmentation boundaries based on a preset region shape, such as a rectangle or circle, combined with the starting and ending coordinates. For example, if the preset region shape is a rectangle, the diagonal of the rectangle can be determined based on the starting and ending coordinates, thereby determining the coordinates of the four vertices of the rectangle and generating the rectangular region segmentation boundary. Based on the generated region segmentation boundaries, the system segments the initial drawing template into multiple independent functional areas. These multiple areas include at least an isometric view area and a bill of materials area, and may also include text description areas, custom text areas, etc., depending on actual needs.

[0087] This application embodiment generates a drag trajectory based on a region division command, identifies the coordinates of the trajectory's starting point and ending point, and then generates a region division boundary for region division, thereby improving the flexibility and accuracy of region division and meeting users' personalized customization needs for drawing templates.

[0088] Figure 9 This is a schematic diagram of the structure of a device for generating isometric diagrams of pipelines provided in an embodiment of this application, as shown below. Figure 9 As shown, it includes:

[0089] Information receiving module 41 is used to receive the pipe number information of the selected target pipe and the target configuration information of the target drawing template. The target configuration information includes the first configuration information of the isometric view area and the second configuration information of the bill of materials area.

[0090] Information query module 42 is used to query geometric information and component information corresponding to the pipeline number information in a preset three-dimensional pipeline model database;

[0091] The axonometric view generation module 43 is used to generate an axonometric view based on the first configuration information, the geometric information and the component information, and display the axonometric view in the axonometric view area;

[0092] Information statistics module 44 is used to perform statistics on the component information according to the list statistics items in the second configuration information;

[0093] The material table generation module 45 is used to generate a material list based on statistical results and display the material list in the material table area to obtain an isometric view of the pipe that includes the isometric view and the material list.

[0094] In this embodiment, the method involves receiving the pipe number information of a selected target pipeline and the target configuration information of a target drawing template. The target configuration information includes first configuration information in the isometric view area and second configuration information in the material list area. The method then queries a preset 3D pipeline model database for geometric and component information corresponding to the pipe number information. Based on the first configuration information, geometric information, and component information, an isometric view is generated and displayed within the isometric view area. Furthermore, the method performs statistical analysis on the component information according to the list statistics items in the second configuration information, generates a material list based on the statistical results, and displays the material list within the material list area, resulting in an isometric drawing of the pipeline containing the isometric view and the material list. This solution generates isometric drawings of pipelines that meet the needs of different scenarios based on the target configuration information of the target drawing template and the relevant information of the target pipeline. This improves the flexibility of generating isometric drawings and ensures the standardization and uniformity of the display page by displaying the isometric view and material list according to the page layout corresponding to the target drawing template. This enhances the generation efficiency of the isometric drawing and fully guarantees the display effect of the isometric drawing.

[0095] In one possible embodiment, the axonometric view generation module 43 is specifically used for:

[0096] An initial isometric view is generated based on the geometric information and the component information. The initial isometric view is then adjusted in terms of viewpoint, annotation, and style according to the first configuration information to obtain the target isometric view.

[0097] The target axonometric view is matched with the axonometric view area in the page layout. Based on the matching result, the target fill position of the target axonometric view is determined, and the target axonometric view is filled into the target fill position.

[0098] In one possible embodiment, the axonometric view generation module 43 is specifically used for:

[0099] Identify the key feature dimensions of the axonometric view, generate a set of key feature dimensions, and determine the set of constraint feature dimensions associated with the axonometric view region;

[0100] Calculate the size feature matching coefficient between the set of key feature dimensions and the set of constraint feature dimensions, and adjust the isometric view based on the size feature matching coefficient.

[0101] In one possible embodiment, the axonometric view generation module 43 is specifically used for:

[0102] Based on the size feature matching coefficient, the key features of the isometric view are locally scaled and adjusted to obtain the current key feature coordinates;

[0103] The translation amount of the feature anchor point is calculated based on the key feature size information and the current key feature coordinates, and the key features of the isometric view are translated based on the translation amount of the feature anchor point.

[0104] In one possible embodiment, a standard drawing template generation module is also included, which is used for:

[0105] Obtain the initial drawing template, region division instructions, and region configuration information; divide the initial drawing template into regions based on the region division instructions to obtain multiple regions, wherein the multiple regions include at least an isometric view region and a bill of materials region.

[0106] Based on the area configuration information, the corresponding areas are configured to generate a standard drawing template that includes at least the configured isometric view area and the configured bill of materials area.

[0107] In one possible embodiment, the specification drawing template generation module is specifically used for:

[0108] Based on the region division instruction, a drag trajectory is generated, and the starting point coordinates and ending point coordinates of the drag trajectory are identified;

[0109] The region segmentation boundary is generated based on the coordinates of the starting point of the trajectory, the coordinates of the ending point of the trajectory, and the preset region shape, and the initial drawing template is segmented based on the region segmentation boundary.

[0110] In one possible embodiment, the first configuration information includes at least one of: ISO viewpoint, coordinate origin, reference system positioning method, compass style and location, and the second configuration information includes at least one of: list dimension, data source, quantity unit and table style.

[0111] This application also provides an electronic device that can integrate a pipeline isometric diagram generation apparatus provided in this application. Figure 10 This is a schematic diagram of a device for generating isometric diagrams of pipelines according to an embodiment of this application. (Refer to...) Figure 10 The device for generating the isometric pipe diagram includes: an input device 53, an output device 54, a memory 52, and one or more processors 51; the memory 52 is used to store one or more programs; when one or more programs are executed by one or more processors 51, the one or more processors 51 implement the isometric pipe diagram generation method provided in the above embodiments. The input device 53, output device 54, memory 52, and processors 51 can be connected via a bus or other means. Figure 10 Taking the example of a connection between China and Israel via a bus.

[0112] The memory 52, as a computing device readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the pipeline isometric diagram generation method provided in any embodiment of this application. The memory 52 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created based on the use of the device. Furthermore, the memory 52 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 52 may further include memory remotely located relative to the processor 51, and these remote memories can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0113] Input device 53 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the device. Output device 54 may include display devices such as a display screen.

[0114] The processor 51 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 52, thereby realizing the above-mentioned method for generating the isometric diagram of the pipeline.

[0115] The pipeline isometric diagram generation apparatus, device, and computer provided above can be used to execute the pipeline isometric diagram generation method provided in any of the above embodiments, and have corresponding functions and beneficial effects.

[0116] This application embodiment also provides a storage medium for storing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to execute a method for generating isometric pipe diagrams as provided in the above embodiment. The method for generating isometric pipe diagrams includes: receiving pipe number information of a selected target pipe and target configuration information of a target drawing template, wherein the target configuration information includes first configuration information of an isometric view area and second configuration information of a material list area; querying geometric information and component information corresponding to the pipe number information in a preset three-dimensional pipe model database; generating an isometric view based on the first configuration information, the geometric information, and the component information; and displaying the isometric view in the isometric view area; performing statistics on the component information according to the list statistics items in the second configuration information; generating a material list based on the statistics results; and displaying the material list in the material list area to obtain an isometric pipe diagram containing the isometric view and the material list.

[0117] Storage medium – any type of memory device or storage device. The term “storage medium” is intended to include: mounting media, such as CD-ROMs, floppy disks, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disks or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. Furthermore, storage media may reside in a first computer system in which a program is executed, or may reside in a different second computer system connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term “storage medium” can include two or more storage media that may reside in different locations (e.g., in different computer systems connected via a network). Storage media may store program instructions (e.g., specifically implemented as a computer program) executable by one or more processors.

[0118] Of course, the computer-executable instructions provided in the embodiments of this application are not limited to the method for generating isometric diagrams of pipes as described above, but can also perform related operations in the method for generating isometric diagrams of pipes provided in any embodiment of this application.

[0119] The pipeline isometric diagram generation apparatus, device, and storage medium provided in the above embodiments can execute the pipeline isometric diagram generation method provided in any embodiment of this application. For technical details not described in detail in the above embodiments, please refer to the pipeline isometric diagram generation method provided in any embodiment of this application.

[0120] The above description is merely a preferred embodiment and the technical principles employed in this application. This application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the claims.

Claims

1. A method for generating isometric diagrams of pipelines, characterized in that, include: Receive the pipe number information of the selected target pipe and the target configuration information of the target drawing template. The target configuration information includes the first configuration information of the isometric view area and the second configuration information of the bill of materials area. The first configuration information includes at least one of the following: ISO view, coordinate origin, reference system positioning method, north arrow style and position. The second configuration information includes at least one of the following: column definition, data source, quantity unit and table style. The system queries the geometric and component information corresponding to the pipe number information in the preset 3D pipe model database. An initial isometric view is generated based on the geometric and component information. The initial isometric view is adjusted in terms of viewpoint, annotation, and style according to the first configuration information to obtain a target isometric view. The target isometric view is matched with the isometric view area in the page layout. The target fill position of the target isometric view is determined based on the matching result. The target isometric view is filled into the target fill position and displayed in the isometric view area. The component information is a structured data set describing the component identity, attribute parameters, and association relationships. The component information is statistically analyzed based on the list statistics items in the second configuration information. A material list is generated based on the statistical results and displayed in the material table area to obtain an isometric view of the pipeline that includes the target axonometric view and the material list.

2. The method for generating isometric diagrams of pipelines according to claim 1, characterized in that, The step of matching the target axonometric view with the axonometric view area for page layout includes: Identify the key feature dimensions of the target isometric view, generate a set of key feature dimensions, and determine the set of constraint feature dimensions associated with the isometric view region; Calculate the size feature matching coefficient between the set of key feature dimensions and the set of constraint feature dimensions, and adjust the target axonometric view based on the size feature matching coefficient.

3. The method for generating isometric diagrams of pipelines according to claim 2, characterized in that, The matching adjustment of the target axonometric view based on the size feature matching coefficient includes: Based on the size feature matching coefficient, the key features of the target isxonometric view are locally scaled and adjusted to obtain the current key feature coordinates; The feature anchor point translation is calculated based on the key feature size information and the current key feature coordinates, and the key features of the isometric view are translated based on the feature anchor point translation.

4. The method for generating isometric diagrams of pipelines according to claim 1, characterized in that, Before receiving the pipe number information of the selected target pipe and the target configuration information of the target drawing template, the method further includes: Obtain the initial drawing template, region division instructions, and region configuration information; divide the initial drawing template into regions based on the region division instructions to obtain multiple regions, wherein the multiple regions include at least an isometric view region and a bill of materials region. Based on the area configuration information, the corresponding areas are configured to generate a standard drawing template that includes at least the configured isometric view area and the configured bill of materials area.

5. The method for generating isometric diagrams of pipelines according to claim 3, characterized in that, The process of dividing the initial drawing template into regions based on the region division instruction includes: Based on the region division instruction, a drag trajectory is generated, and the starting point coordinates and ending point coordinates of the drag trajectory are identified; The region segmentation boundary is generated based on the coordinates of the starting point of the trajectory, the coordinates of the ending point of the trajectory, and the preset region shape, and the initial drawing template is segmented based on the region segmentation boundary.

6. An apparatus for generating isometric diagrams of pipelines, characterized in that, include: The information receiving module is used to receive the pipe number information of the selected target pipe and the target configuration information of the target drawing template. The target configuration information includes the first configuration information of the isometric view area and the second configuration information of the bill of materials area. The first configuration information includes at least one of the following: ISO view, coordinate origin, reference system positioning method, north arrow style and position. The second configuration information includes at least one of the following: column definition, data source, quantity unit and table style. The information query module is used to query the geometric information and component information corresponding to the pipeline number information in a preset three-dimensional pipeline model database; The axonometric view generation module is used to generate an initial axonometric view based on the geometric information and the component information, adjust the perspective, annotation, and style of the initial axonometric view according to the first configuration information to obtain a target axonometric view, match the target axonometric view with the axonometric view area for page layout, determine the target fill position of the target axonometric view based on the matching result, fill the target axonometric view into the target fill position, and display it in the axonometric view area. The component information is a structured data set describing component identity, attribute parameters, and association relationships. The information statistics module is used to perform statistics on the component information based on the list statistics items in the second configuration information; The material table generation module is used to generate a material list based on statistical results and display the material list in the material table area to obtain an isometric drawing of the pipeline that includes the target axonometric view and the material list.

7. An electronic device, characterized in that, The device includes: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method for generating isometric diagrams of pipes as described in any one of claims 1-5.

8. A storage medium for storing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the method for generating isometric diagrams of pipes as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Three-dimensional pipeline generation method and device based on drawing conversion and product

    CN115994395A

  • Pipeline manufacturing drawing manufacturing method, system and equipment and storage medium

    CN118821249A