A multi-core cable full-element rapid three-dimensional modeling method and system
By using a full-element structured entity mapping data model and spline curve fitting algorithm, a high-precision 3D model of multi-core cables is generated, which solves the problems of incomplete data, low efficiency and model distortion in the existing technology of multi-core cable modeling, and realizes data connectivity and collaboration throughout the entire life cycle.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NORTHWESTERN POLYTECHNICAL UNIV
- Filing Date
- 2026-01-27
- Publication Date
- 2026-04-21
AI Technical Summary
Existing technologies for 3D modeling of multi-core cables suffer from problems such as incomplete data model elements, lengthy and inefficient modeling processes, distortion of 3D geometric models, and broken mapping chains between virtual and physical entities, resulting in low design efficiency, insufficient accuracy, and incomplete data transfer.
A full-element structured entity mapping data model is adopted. A smooth cable path is generated through a spline curve fitting algorithm. Combined with a polygonal prism construction method, a three-dimensional geometric mesh of wires and cables is generated one by one, so as to achieve strict differentiation between wires and cables and full-element attribute management.
It enables high-precision 3D modeling of multi-core cables, improves design efficiency, ensures accurate matching between the model and the physical entity, supports data connectivity and collaboration throughout the entire lifecycle, and enhances the reliability of interference checks and splicing simulations.
Smart Images

Figure CN121582502B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of three-dimensional modeling of multi-core cables, specifically involving a rapid three-dimensional modeling method and system for all elements of multi-core cables. Background Technology
[0002] Electrical Wiring Interconnection System (EWIS) cables are key components in complex electromechanical equipment such as aircraft and drones, responsible for precise signal transmission and reliable power delivery. With the rapid development of products towards intelligence and full electrification, the number and topological complexity of EWIS cables are increasing exponentially. Against this backdrop, rapid 3D modeling of all elements of multi-core cables, accurately mapping physical reality and spanning the entire product lifecycle, has become a core component of modern digital development systems. Its level directly determines the reliability, manufacturability, and maintainability of the product. EWIS cables inherently possess a rigorous hierarchical physical structure, which can be divided into wire and cable layers: the wire single-layer consists of a conductor and an insulation / shielding layer, representing the most basic functional unit; the cable composite layer consists of one or more wires, supplemented by filler, shielding, and sheathing materials to achieve anti-interference and protection functions, and its model must accurately represent the core wire arrangement. The differences in this hierarchical physical structure place extremely high demands on its digital representation: it requires both the construction of a logically rigorous and information-complete full-element data model and the realization of a high-fidelity three-dimensional model that can accurately match physical details, forming a multi-core cable virtual entity that combines full-element attributes and three-dimensional structure.
[0003] Currently, both mainstream 3D cable design software (such as CATIA and CREO) and existing technical solutions suffer from a series of interconnected fundamental defects in the field of 3D modeling of multi-core cables. These defects not only restrict design efficiency and accuracy but also lead to a disconnect between digital twins and physical entities. Specifically, these defects can be summarized into the following four core issues:
[0004] 1. The data model lacks essential elements, resulting in incomplete information representation.
[0005] Existing data structures fail to accurately correspond to the hierarchical physical entity system of cables ("wire-cable"), lacking a comprehensive data model capable of simultaneously carrying both geometric and physical attributes. Its core flaw lies in the failure to logically and formally distinguish between "wire" and "cable" entities. This problem is particularly prominent in some mainstream software, whose core data architecture inherently lacks this comprehensive capability, resulting in vague underlying information expression and unclear object identities. Key geometric and physical information such as core arrangement schemes and material properties are lost or loosely managed during the modeling stage, failing to form structured relationships. This makes the model information created during the design phase incomplete and semantically unclear, hindering its role as a reliable and complete data source for downstream process design, manufacturing, and maintenance. It impedes the seamless transfer and collaboration of data throughout the product lifecycle and prevents some software from becoming a reliable data carrier throughout the entire lifecycle.
[0006] 2. The modeling process is lengthy and inefficient, and the workload of manual operation is heavy.
[0007] Current technologies generally lack the ability to model the internal structure of cables holistically and automatically. The modeling process is lengthy and involves redundant manual operations, a problem particularly pronounced in multi-core cable modeling scenarios. Some mainstream software suffers from fundamental flaws in its interactive design. Specifically, to represent a multi-core cable morphologically, designers must perform independent modeling operations for each wire core, including path definition, geometry generation, and attribute assignment. Then, all wire cores must be manually assembled with the cable sheath to achieve an approximate representation. Some existing solutions have not overcome this bottleneck, resulting in a multiplicative increase in modeling workload as the number of cable cores increases, severely hindering design efficiency. In practical engineering, due to time and resource constraints, designers are often forced to simplify the modeling process, representing multi-core cables as a single tubular geometry, thus sacrificing the model's internal structure and true topology. This highly redundant, repetitive, and insufficiently refined modeling approach not only slows down design iteration but also increases the risk of errors, making it difficult to meet the combined requirements of precision and efficiency in cable design for modern high-end equipment.
[0008] 3. The three-dimensional geometric model is distorted, and the internal structure is not properly represented.
[0009] Current technologies for creating 3D cable models typically stop at the outer layer of the cable, failing to delve into the independent 3D entities of the internal wires, resulting in severe model distortion. Even software offering "branching" or "forking" tools often fails to provide independent, complete 3D models of each wire within the cable, usually representing the sheath as a single tubular structure, completely lacking internal structure. Even when branching is used to indicate wires at the ends (essentially still branches without a clear wire concept), the branching paths are often mechanically derived from the sheath's centerline rather than based on the actual wire arrangement. This results in models that cannot fully represent the continuous path of the wires inside the cable, nor can they reproduce the precise geometric arrangement of the wires in the cross-section, creating a severely distorted "black box" model. This significant deviation from the physical entity fundamentally weakens its reliability and reference value in scenarios such as interference inspection, spatial analysis, and splice simulation.
[0010] 4. The mapping chain between virtual entities and physical entities is broken.
[0011] The combined effects of these three types of defects have resulted in a severe disconnect between existing cable 3D models and physical entities, leading to a break in the mapping chain of "parameter data - 3D model - physical entity." Specifically, while existing cable 3D models are parametrically related to the underlying data structure, this relationship is weak, failing to fully realize the 3D visualization of the underlying data. Furthermore, the insufficiently refined and distorted models lack details and arrangement information of the internal wires, making it impossible to form an accurate 3D digital mapping of the cable object in the physical world. This prevents the effective transmission of the digital design intent for multi-core cables, significantly reducing the usability and reliability of the modeling results in production (e.g., generating accurate pinboard diagrams) and maintenance (e.g., fault location), and hindering end-to-end digital collaboration.
[0012] The aforementioned technological bottlenecks, coupled with the current reliance of the high-end equipment manufacturing industry on certain commercial software, have brought significant risks to the application of technology. On the one hand, some software kernels are opaque and their data models are closed, making it difficult to deeply customize and optimize them for specific design specifications and process requirements. On the other hand, there are also potential threats to data security and unstable technical service guarantees. Therefore, given the increasing complexity of EWIS and the urgent need for data accuracy throughout its entire lifecycle, developing a rapid multi-core cable modeling method and system with independent intellectual property rights, controllable technology, based on a full-element data model, and capable of directly driving high-precision visualization has become an inevitable choice for breaking through technological bottlenecks and promoting the upgrading of EWIS digital modeling technology. Summary of the Invention
[0013] The purpose of this invention is to overcome the problems of poor accuracy and low efficiency in 3D modeling of multi-core cables, and to propose a rapid 3D modeling method for all elements of multi-core cables.
[0014] To achieve the above objectives, the present invention adopts the following technical solution:
[0015] In a first aspect, the present invention provides a rapid 3D modeling method for all elements of a multi-core cable, comprising the following steps:
[0016] Construct a full-feature structured entity mapping data model, which includes entity objects, including wire entities and cable entities; wire entities encapsulate the geometric and physical features of a single wire, and cable entities reference at least one wire entity through aggregation relationships, and encapsulate the overall geometric and physical features of a multi-core cable;
[0017] The cable path control points of a multi-core cable are obtained, and each cable path control point carries three-dimensional coordinates and rotational attitude information. Based on the full-element structured entity mapping data model, a spline curve fitting algorithm is used to fit the cable path control points to obtain a smooth cable main path. The smooth cable main path is then discretized to generate a set of cable path discrete points, each of which carries three-dimensional coordinates and rotational attitude information.
[0018] The predefined wire core arrangement scheme in the full-feature structured entity mapping data model is analyzed. Based on the wire core arrangement scheme, the relative pose of each wire entity with respect to the corresponding discrete point in the set of discrete points of the cable path is calculated. The relative pose includes the relative position offset and the relative rotation attitude. The relative pose is applied point by point to the set of discrete points of the cable path. Combined with the stripping length attribute of the cable entity encapsulation in the full-feature structured entity mapping data model, the discrete points of the wire path at the end of the wire are extended to derive the set of discrete points of the wire path for each wire entity.
[0019] Using the geometric and physical elements encapsulated in the full-element structured entity mapping data model as input, and based on the discrete point sets of cable paths and wire paths, a polygonal prism construction method is used to generate three-dimensional geometric meshes for the cable outer sheath and each wire, respectively. The physical elements of the cable entity are used to map the visual material to the three-dimensional geometric mesh of the cable outer sheath, and the physical elements of the wire entity are used to map the visual material to the three-dimensional geometric mesh of each wire. The three-dimensional geometric meshes of the cable outer sheath and all the wires are then merged to form a full-element three-dimensional model of a multi-core cable.
[0020] Furthermore, the geometric elements of the wire physical encapsulation include the wire radius, the list of discrete points of the wire path, and the discrete length of the discrete points of the wire path.
[0021] The physical elements of the electrical wire enclosure include the wire type and the material of the wire sheath;
[0022] The geometric elements of the cable physical enclosure include the cable radius, the list of discrete points of the cable path, the discrete length of the discrete points of the cable path, the core arrangement scheme, and the stripping length;
[0023] The physical elements of a cable's physical enclosure include the cable type and the material of its outer sheath.
[0024] Furthermore, the spline curve fitting algorithm is the Catmull-Rom spline curve algorithm; when using the Catmull-Rom spline curve algorithm to fit the cable path control points, a smooth three-dimensional space curve that must pass through all cable path control points is generated, and the smooth three-dimensional space curve is parameterized.
[0025] Furthermore, based on the full-element structured entity mapping data model, a spline curve fitting algorithm is used to fit the cable path control points to obtain a smooth cable main path. The smooth cable main path is then discretized to generate a set of discrete cable path points, each carrying three-dimensional coordinates and rotational attitude information. The specific steps include:
[0026] The starting point of the smooth three-dimensional space curve is set as the first discrete point of the cable path. The discrete length of the cable path discrete point is used as the target distance between adjacent discrete points. The current discrete point of the cable path is used as the reference point. The next discrete point of the cable path is searched along the increasing direction of the curve parameters of the smooth three-dimensional space curve.
[0027] During the search process, candidate parameters are selected from the curve parameter space of the smooth three-dimensional curve. The Euclidean distance between the curve points of the candidate parameters and the current discrete points of the cable path is calculated to determine whether there are curve points that satisfy the distance constraint. If there are multiple curve points that satisfy the distance constraint, the curve point with the smallest parameter value is selected as the next discrete point of the cable path. The distance constraint is that the Euclidean distance is equal to the target distance between adjacent discrete points.
[0028] Repeat the above search steps until no curve point that satisfies the distance constraint can be found along the increasing direction of the curve parameter, then terminate the discretization process and finally generate a set of discrete points for the cable path.
[0029] Furthermore, the core arrangement scheme is either a star-shaped twisted arrangement or a parallel arrangement, and the core arrangement scheme is stored in the full-element structured entity mapping data model in the form of a set of rotation and translation matrices.
[0030] Furthermore, the relative pose is represented by a rotation and translation matrix, which includes a rotation matrix corresponding to the relative rotational pose and a translation matrix corresponding to the relative position offset.
[0031] The relative pose is applied point by point to the set of discrete points along the cable path, and the stripping length attribute of the cable entity encapsulation in the full-feature structured entity mapping data model is combined with the extension processing of the discrete points along the cable path at the cable end. The specific process of deriving the set of discrete points along the cable path for each cable entity is as follows:
[0032] By analyzing the vector directions of the first and second discrete points at the beginning and the last and second-to-last discrete points at the end of the wire path discrete point set obtained through normalization derivation, and combining them with the wire stripping length, the beginning and end extension discrete points are calculated respectively. The beginning and end extension discrete points are then merged with the derived wire path discrete points to form a complete set of wire path discrete points.
[0033] Furthermore, taking the geometric and physical elements encapsulated in the full-element structured entity mapping data model as input, and based on the discrete point sets of cable paths and wire paths, the specific process of generating the three-dimensional geometric meshes of the cable outer sheath and each wire using the polygonal prism construction method is as follows:
[0034] When generating the three-dimensional geometric mesh of the cable outer sheath, the coordinates of the prism mesh vertex at each discrete point in the discrete point set of the cable path are solved based on the cable radius and the number of lateral edges of the polygonal prism; when generating the three-dimensional geometric mesh of the wire, the coordinates of the prism mesh vertex at each discrete point in the discrete point set of the wire path are solved based on the wire radius and the number of lateral edges of the polygonal prism.
[0035] Connect the end face vertices and outer surface vertices in a preset order, which includes the connection order of the cable start end face vertices, the connection order of the outer surface vertices, and the connection order of the cable end end face vertices.
[0036] A complete three-dimensional geometric mesh of cable sheath or wire is formed by splicing triangular facets; the number of lateral edges of the polygonal prism is preset by the full-element structured entity mapping data model or adjusted by user interaction.
[0037] Secondly, the present invention provides a rapid 3D modeling system for all elements of a multi-core cable, comprising:
[0038] The mapping model module is used to build a full-feature structured entity mapping data model. The full-feature structured entity mapping data model includes entity objects, which include wire entities and cable entities. The wire entity encapsulates the geometric and physical features of a single wire, and the cable entity references at least one wire entity through aggregation relationships and encapsulates the overall geometric and physical features of a multi-core cable.
[0039] A module for generating a set of discrete cable path points is used to obtain the cable path control points of multi-core cables. The cable path control points carry three-dimensional coordinates and rotational attitude information. Based on the full-element structured entity mapping data model, a spline curve fitting algorithm is used to fit the cable path control points to obtain a smooth cable main path. The smooth cable main path is then discretized to generate a set of discrete cable path points, each of which carries three-dimensional coordinates and rotational attitude information.
[0040] The module for deriving the discrete point set of the cable path is used to parse the predefined core arrangement scheme in the full-feature structured entity mapping data model. Based on the core arrangement scheme, it calculates the relative pose of each wire entity relative to the corresponding discrete point in the discrete point set of the cable path. The relative pose includes the relative position offset and the relative rotation attitude. The relative pose is applied point by point to the discrete point set of the cable path, and combined with the stripping length attribute of the cable entity encapsulation in the full-feature structured entity mapping data model, the discrete points of the wire path at the end of the wire are extended to derive the discrete point set of the wire path for each wire entity.
[0041] A 3D model module is formed, which takes the geometric and physical elements encapsulated in the full-element structured entity mapping data model as input, and generates 3D geometric meshes for the cable outer sheath and each wire respectively based on the discrete point set of cable path and the discrete point set of wire path using a polygonal prism construction method. Based on the physical elements of the cable entity, the 3D geometric mesh of the cable outer sheath is mapped to visual materials, and based on the physical elements of the wire entity, the 3D geometric mesh of each wire is mapped to visual materials. The 3D geometric mesh of the cable outer sheath and the 3D geometric mesh of all wires are merged to form a full-element 3D model of a multi-core cable.
[0042] Thirdly, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a rapid three-dimensional modeling method for all elements of a multi-core cable.
[0043] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements a method for rapid three-dimensional modeling of all elements of a multi-core cable.
[0044] Compared with the prior art, the present invention has the following beneficial technical effects:
[0045] This invention proposes a rapid 3D modeling method for multi-core cables, systematically addressing technical deficiencies in data models, modeling efficiency, geometric fidelity, and data connectivity. It fundamentally overcomes technical bottlenecks, filling the gap in high-end industrial software for rapid 3D modeling of multi-core cables, and providing core technical support for the autonomous and digital design and full lifecycle management of interconnected electrical circuit systems for high-end equipment. A comprehensive data model connecting the entire design and manufacturing process is established. The structured entity mapping data model constructed in this invention fundamentally solves the problems of incomplete data model elements and incomplete information expression in existing technologies. This model, as the sole reliable data source, achieves strict differentiation of wire and cable entities and integrated management of all element (geometric and physical) attributes. This connects the mapping chain between "physical entities" and "virtual entities," enabling the lossless transfer of models created in the design phase to the manufacturing and operation and maintenance stages. It provides a complete and consistent data foundation for generating accurate production data such as nail board diagrams, achieving data connectivity and collaboration throughout the entire lifecycle. This invention represents a fundamental leap from "external representation" to "full structural geometric reconstruction" of multi-core cable 3D models. It completely overcomes the limitations of existing technologies that rely solely on a single outer shell or manually created wire branches at both ends to characterize multi-core cables. By automatically generating complete and independent 3D models of each internal wire and precisely assembling them with the sheath model, a high-fidelity 3D reconstruction of the entire structure of the multi-core cable, from each internal core to the outer sheath, is achieved in 3D space. The generated model accurately reflects the precise arrangement and spatial orientation of the cores, resulting in a qualitative leap in the reliability and accuracy of model-based interference checks, splice simulations, and wiring space assessments, ensuring the precision of electrical design from the outset. Furthermore, it achieves rapid 3D modeling based on synchronous path generation and construction. Through a geometric rapid generation method based on relative pose transformation, this invention can efficiently and synchronously generate the path information of all internal wires according to the main cable path, quickly obtaining complete geometric elements. Combined with a data model-driven visualization method, the system can complete the geometric mesh construction of all internal wires and the outer sheath in one go. This process significantly simplifies the traditional, tedious modeling steps that require manually creating each wire core one by one, greatly accelerating the process of generating a full-structure 3D model of a multi-core cable from path design, and effectively improving overall design efficiency. Attached Figure Description
[0046] The accompanying drawings described herein are for illustrative purposes only and are not intended to limit the scope of the invention in any way. Furthermore, the shapes and proportions of the components in the drawings are merely illustrative to aid in understanding the invention and do not specifically limit the shapes and proportions of the components of the invention.
[0047] In the attached diagram:
[0048] Figure 1This is a flowchart of a rapid 3D modeling method for all elements of a multi-core cable according to the present invention.
[0049] Figure 2 This is a simplified structural diagram of a rapid 3D modeling system for all elements of a multi-core cable according to the present invention.
[0050] Figure 3 This is a schematic diagram of an electronic device using the rapid 3D modeling method for multi-core cables according to the present invention.
[0051] Figure 4 This is the overall system architecture diagram.
[0052] Figure 5 This is a schematic diagram of a full-factor data model.
[0053] Figure 6 Quickly generate flowcharts for cable geometry.
[0054] Figure 7 A diagram illustrating the construction method for polygonal prisms.
[0055] Figure 8 This is a diagram of the triangular facet of a multi-core cable.
[0056] Figure 9 The following diagrams illustrate different types of multi-core cables, where (a) is a single core, (b) is a dual core, (c) is a three-core, and (d) is a four-core.
[0057] Figure 10 The images show a comparison of the full-element 3D model, where (a) is the full-element 3D model of the present invention, (b) shows the semi-transparent treatment of the sheath of the present invention, (c) shows the existing technology of similar software, and (d) shows the physical entity of the multi-core cable.
[0058] Figure 11 This is a specific example of the system. Detailed Implementation
[0059] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0060] Example 1
[0061] See Figure 1 A rapid 3D modeling method for all elements of a multi-core cable includes the following steps:
[0062] A full-element structured entity mapping data model is constructed, comprising entity objects, including wire entities and cable entities. Wire entities encapsulate the geometric and physical elements of a single conductor, while cable entities reference at least one wire entity through aggregation relationships and encapsulate the overall geometric and physical elements of the multi-core cable. Cable path control points for the multi-core cable are obtained, carrying 3D coordinates and rotational attitude information. Based on the full-element structured entity mapping data model, a spline curve fitting algorithm is used to fit the cable path control points to obtain a smooth main cable path. This smooth main path is then discretized to generate a set of discrete cable path points, each carrying 3D coordinates and rotational attitude information. Finally, a predefined conductor arrangement scheme in the full-element structured entity mapping data model is analyzed, and the position of each wire entity relative to the corresponding position in the set of discrete cable path points is calculated based on the conductor arrangement scheme. The relative poses of discrete points are defined, including relative position offset and relative rotation attitude. These relative poses are applied point-by-point to the set of discrete points along the cable path. Combined with the stripping length attribute of the cable entity encapsulation in the full-element structured entity mapping data model, the discrete points along the cable path at the wire ends are extended to derive the set of discrete points along the cable path for each wire entity. Using the geometric and physical elements encapsulated in the full-element structured entity mapping data model as input, a polygonal prism construction method is used to generate 3D geometric meshes for the cable outer sheath and each wire, based on the set of discrete points along the cable path and the set of discrete points along the wire path. Visual materials are mapped to the 3D geometric meshes of the cable outer sheath based on the physical elements of the cable entity, and visual materials are mapped to the 3D geometric meshes of each wire based on the physical elements of the wire entity. The 3D geometric meshes of the cable outer sheath and all wires are then merged to form a full-element 3D model of the multi-core cable.
[0063] This embodiment's full-element structured entity mapping data model ensures data integrity and consistency, avoiding omissions or deviations in modeling information and laying the foundation for accurate modeling. Algorithm-driven path fitting, pose calculation, and automated mesh generation replace traditional manual modeling, significantly improving modeling efficiency and shortening project cycles. Precise relative pose calculation and end-point extension processing ensure the matching degree of wire and cable paths, enhancing the realism of model details and meeting high-precision engineering requirements. The linkage between geometric and physical elements and accurate material mapping enable full-element visualization, intuitively showcasing the internal structure and properties of cables, facilitating design verification and communication. The full-element model can directly support subsequent simulation analysis, construction guidance, operation and maintenance management, expanding application value and reducing total lifecycle costs.
[0064] Example 2
[0065] See Figure 2 A rapid 3D modeling system for all elements of multi-core cables, comprising:
[0066] The mapping model module is used to build a full-feature structured entity mapping data model. The full-feature structured entity mapping data model includes entity objects, which include wire entities and cable entities. The wire entity encapsulates the geometric and physical features of a single wire, and the cable entity references at least one wire entity through aggregation relationships and encapsulates the overall geometric and physical features of a multi-core cable.
[0067] A module for generating a set of discrete cable path points is used to obtain the cable path control points of multi-core cables. The cable path control points carry three-dimensional coordinates and rotational attitude information. Based on the full-element structured entity mapping data model, a spline curve fitting algorithm is used to fit the cable path control points to obtain a smooth cable main path. The smooth cable main path is then discretized to generate a set of discrete cable path points, each of which carries three-dimensional coordinates and rotational attitude information.
[0068] The module for deriving the discrete point set of the cable path is used to parse the predefined core arrangement scheme in the full-feature structured entity mapping data model. Based on the core arrangement scheme, it calculates the relative pose of each wire entity relative to the corresponding discrete point in the discrete point set of the cable path. The relative pose includes the relative position offset and the relative rotation attitude. The relative pose is applied point by point to the discrete point set of the cable path, and combined with the stripping length attribute of the cable entity encapsulation in the full-feature structured entity mapping data model, the discrete points of the wire path at the end of the wire are extended to derive the discrete point set of the wire path for each wire entity.
[0069] A 3D model module is formed, which takes the geometric and physical elements encapsulated in the full-element structured entity mapping data model as input, and generates 3D geometric meshes for the cable outer sheath and each wire respectively based on the discrete point set of cable path and the discrete point set of wire path using a polygonal prism construction method. Based on the physical elements of the cable entity, the 3D geometric mesh of the cable outer sheath is mapped to visual materials, and based on the physical elements of the wire entity, the 3D geometric mesh of each wire is mapped to visual materials. The 3D geometric mesh of the cable outer sheath and the 3D geometric mesh of all wires are merged to form a full-element 3D model of a multi-core cable.
[0070] Example 3
[0071] See Figure 3An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a method for rapid 3D modeling of all elements of a multi-core cable: constructing a full-element structured entity mapping data model, which includes entity objects, including wire entities and cable entities; the wire entity encapsulates the geometric and physical elements of a single conductor, and the cable entity references at least one wire entity through aggregation relationships, and encapsulates the overall geometric and physical elements of the multi-core cable; obtaining cable path control points of the multi-core cable, each carrying 3D coordinates and rotational attitude information; based on the full-element structured entity mapping data model, using a spline curve fitting algorithm to fit the cable path control points to obtain a smooth main cable path; discretizing the smooth main cable path to generate a set of discrete cable path points, each carrying 3D coordinates and rotational attitude information; and parsing the predefined wire cores in the full-element structured entity mapping data model. The arrangement scheme involves calculating the relative pose of each wire entity relative to the corresponding discrete point in the cable path discrete point set based on the wire core arrangement scheme. The relative pose includes the relative position offset and the relative rotation attitude. The relative pose is applied point by point to the cable path discrete point set, and combined with the stripping length attribute of the cable entity encapsulation in the full-element structured entity mapping data model, the discrete points of the wire path at the wire end are extended to derive the discrete point set of the wire path for each wire entity. Using the geometric and physical elements encapsulated in the full-element structured entity mapping data model as input, a polygonal prism construction method is used to generate three-dimensional geometric meshes for the cable outer sheath and each wire, respectively, based on the cable path discrete point set and the wire path discrete point set. The physical elements of the cable entity are used to map the visual material of the three-dimensional geometric mesh of the cable outer sheath, and the physical elements of the wire entity are used to map the visual material of the three-dimensional geometric mesh of each wire. The three-dimensional geometric mesh of the cable outer sheath and the three-dimensional geometric mesh of all wires are merged to form a full-element three-dimensional model of the multi-core cable.
[0072] Example 4
[0073] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements a method for rapid 3D modeling of multi-core cables with all elements: constructing a full-element structured entity mapping data model, which includes entity objects, including wire entities and cable entities; wire entities encapsulate the geometric and physical elements of a single conductor, and cable entities reference at least one wire entity through aggregation relationships, and encapsulate the overall geometric and physical elements of the multi-core cable; obtaining cable path control points of the multi-core cable, each carrying 3D coordinates and rotational attitude information; based on the full-element structured entity mapping data model, using a spline curve fitting algorithm to fit the cable path control points to obtain a smooth main cable path, discretizing the smooth main cable path to generate a set of discrete cable path points, each carrying 3D coordinates and rotational attitude information; and parsing a predefined core arrangement scheme in the full-element structured entity mapping data model. The relative pose of each wire entity relative to the corresponding discrete point in the set of discrete points along the cable path is calculated based on the wire core arrangement scheme. The relative pose includes the relative position offset and the relative rotation attitude. The relative pose is applied point by point to the set of discrete points along the cable path. Combined with the stripping length attribute of the cable entity encapsulation in the full-element structured entity mapping data model, the discrete points along the wire path at the wire end are extended to derive the set of discrete points along the wire path for each wire entity. Using the geometric and physical elements encapsulated in the full-element structured entity mapping data model as input, a polygonal prism construction method is used to generate three-dimensional geometric meshes for the cable outer sheath and each wire, respectively, based on the set of discrete points along the cable path and the set of discrete points along the wire path. The three-dimensional geometric meshes of the cable outer sheath and each wire are mapped to visual materials based on the physical elements of the cable entity. The three-dimensional geometric meshes of the cable outer sheath and all wires are then merged to form a full-element three-dimensional model of the multi-core cable.
[0074] Example 5
[0075] This embodiment provides a rapid 3D modeling method for multi-core cables, constructing a data model integrating geometric and physical elements for Electrical Wiring Interconnection Systems (EWIS). This model drives high-precision, full-element 3D modeling of the cable and its internal wire cores, generating a virtual multi-core cable entity with both full-element attributes and 3D structure, thus achieving accurate representation of the physical multi-core cable entity. This invention aims to solve design problems in the current field of 3D modeling for multi-core cables, caused by complex and slow interactive operations, ambiguous data model hierarchy definitions, incomplete geometric elements, and coarse 3D model representation. Specifically, these problems result in a series of engineering difficulties, including slow digital design processes for cable products, distorted 3D models, insufficient guidance information in the manufacturing process, and a lack of analytical data during product maintenance.
[0076] This embodiment provides a rapid 3D modeling technology system for multi-core cables, consisting of "full-element data model construction, rapid geometry generation, and 3D model visualization." This system uses a full-element entity mapping data model as the sole data source, automatically generates accurate geometry through a rapid generation method based on relative pose transformation, and finally outputs a high-fidelity, full-structure 3D model via a data model-driven visualization method, achieving accurate digital mapping of the physical entity.
[0077] The overall system architecture is as follows:
[0078] This invention provides a complete and highly autonomous solution for rapid 3D modeling of all elements of multi-core cables. (Refer to...) Figure 4 This system adopts a layered and modular design approach, constructing an end-to-end, fully autonomous and controllable workflow from core data definition to final scenario application. Its overall system architecture comprises five core layers, with each layer interacting and driving data through clearly defined interfaces. This ensures high cohesion and low coupling of system functions and supports seamless workflow from data modeling to 3D visualization. The specific architecture is as follows.
[0079] Data Storage Layer: As the foundational support layer of the system, this layer is responsible for storing and managing all structured data related to cable design. Based on a multi-level entity mapping data model, this layer systematically stores key data such as wire / cable specifications, predefined layout schemes, material properties, discrete lengths, path discrete point lists, and stripping lengths. This layer employs an object-oriented data structure to ensure that the hierarchical relationships, attribute information, and associations of wires and cables are accurately and consistently managed and maintained within the system.
[0080] Kernel Engine Layer: As the core driver layer of the system, it integrates multiple high-performance engines, providing unified underlying capabilities to support upper-layer functions. These include: modeling engine, rendering engine, computing engine, and human-computer interaction engine.
[0081] Core Algorithm Layer: Encapsulates the key algorithm modules upon which the system relies for achieving refined 3D modeling, including: path curve fitting algorithm, relative pose transformation algorithm, and polygon prism construction algorithm.
[0082] Functional component layer: Based on the kernel engine and core algorithms, functional modules for user operation are built, including: path control point design component, cable selection component, path adjustment component, etc.
[0083] Application Layer: As the interface layer where the system directly interacts with the user, it provides functional applications tailored to specific engineering scenarios, including: cable path design module, cable connection and assembly module, etc.
[0084] The specific data model for cable systems with full-element structured entity mapping is as follows:
[0085] The core of the data layer in this invention lies in constructing a full-element structured entity mapping data model. This model is designed using object-oriented principles and serves as the sole data source upon which all operations in the system depend.
[0086] Reference Figure 5 As shown, in order to fully realize the mapping of two different types of objects, wires and cables, to physical entities, and to achieve full-element modeling in data definition, this invention clearly defines two core entity object levels:
[0087] Wire entity: As the most basic conductor unit, it represents a single wire. This entity encapsulates its independent geometric elements (such as wire radius, list of discrete points along the path, and discrete length) and physical elements (such as wire type and wire sheath material).
[0088] Cable Entity: As a composite unit, it represents a cable composed of multiple wire cores. This entity references one or more wire entities through aggregation relationships to manage its internal composition. Simultaneously, the cable entity encapsulates its overall hierarchical geometric elements (such as cable radius, list of discrete points on the path, discrete length, core arrangement scheme, and stripping length) and physical elements (such as cable type and cable sheath material).
[0089] Through the above design, the data model fully carries all the attributes of the cable and accurately realizes the one-to-one entity mapping between "physical entity of wire - virtual entity of wire" and "physical entity of cable - virtual entity of cable", laying a solid data foundation for three-dimensional fine visualization modeling.
[0090] This embodiment presents a fully structured entity mapping data model for cable systems, constructing a structured data model that integrates geometric and physical elements and clearly distinguishes between wires and cables. Geometric elements include radius, list of discrete path points, discrete length, conductor arrangement scheme, and stripping length; physical elements include model number and material. The model defines two core entities: the wire entity represents a single conductor, encapsulating its independent geometric and physical attributes; the cable entity, as a composite, references one or more wire entities through aggregation and encapsulates the overall geometric and physical attributes of the cable layer. This model achieves a fully element-based, one-to-one mapping from physical entities to virtual entities, providing a solid foundation for data-driven modeling throughout the entire process.
[0091] Driven by the aforementioned data model, this invention provides a method for rapid generation of cable geometric elements based on relative pose transformation, such as... Figure 6 The process shown enables the rapid and automated generation of geometric elements for multi-core cables. The specific implementation steps are as follows:
[0092] Step 1: Generate cable path control points.
[0093] The set of cable path control points is generated by the system's three-dimensional interactive operations. The set of cable path control points for a single multi-core cable object. ,in Let i be the i-th cable path control point, where i is the number of cable path control points in the set of cable path control points. The index value in n This represents the number of path control points for this multi-core cable object.
[0094] Step 2: Fitting the three-dimensional spatial path curve of the cable.
[0095] The set of cable path control points for a single multi-core cable object As input, using Catmull-Rom The (Katsmüller-Röhm) spline algorithm performs curve fitting on the cable path control points to generate a smooth three-dimensional space curve that must pass through all cable path control points, and then parametrically represents the curve.
[0096] Step 3: Generate a list of discrete points along the cable path.
[0097] Set the starting point of the three-dimensional space curve as the first discrete point of the cable path. The discrete length attribute of the cable object is used as the target length. Discrete points along the j-th cable path Using this as a reference point, search for the next discrete point of the cable path along the direction of increasing curve parameters. Specifically, this includes: selecting candidate parameter values in the curve parameter space. ; Calculation parameters Corresponding curve points Discrete points of the current cable path Euclidean distance between them; determine if a parameter value exists. , so that:
[0098] (1)
[0099] When multiple curve points satisfy the above distance constraints exist, select the parameter value. The point with the smallest value is used as the discrete point for the next cable path. This ensures the continuity, consistency, and uniqueness of the set of discrete points along the cable path in the direction of the curve.
[0100] Repeat the above steps until no more discrete points satisfying the current cable path can be found along the increasing direction of the curve parameters. The Euclidean distance between them is equal to the target length. The discrete process terminates when the curve point is reached.
[0101] Finally, a set of discrete points along the cable path is generated. , Let j be the j-th discrete point of the cable path, and j be the set of discrete points along the cable path. The index value in m This represents the number of discrete points along the cable path.
[0102] Step 4: Generate a list of discrete points for the power line path.
[0103] Define the set of wires in a single multi-core cable object as , This refers to the k-th wire object, where k is the index value of the wire in a single multi-core cable object. N This refers to the number of wire cores in a single multi-core cable object.
[0104] The specific calculation process for the set of discrete points along the power line path is as follows:
[0105] The predefined arrangement of wire cores in a cable is represented as a set of rotation and translation matrices. , For a single multi-core cable object, the first One wire core N The number of wire cores in a single multi-core cable object. The rotation and translation matrix representing a discrete point on a single wire path relative to its corresponding discrete point on the cable path is specifically expressed as:
[0106] = (2)
[0107] In the formula, Let be a rotation matrix. It is a translation matrix.
[0108] Secondly, a list of discrete points along the paths of all wire cores. , N The number of wire cores in a single multi-core cable object. m This represents the number of discrete points along the cable path. For the [number]th [core] of a multi-core cable... k A wire The Middle j Discrete points along the path:
[0109] (3)
[0110] according to You can directly get the first k A wire Set of discrete points of partial wire paths , For wires The j-th discrete point of the wire path. Considering the cable stripping pattern, it is necessary to extend and supplement the discrete points of the wire path at both ends. The extended discrete points at the beginning and end are obtained respectively:
[0111] (4)
[0112] in, and These are the discrete points extending from the beginning and end, respectively. For normalization function, and These represent the stripping lengths at both ends. For the first discrete point of the wire path, For the second discrete point of the wire path, Let m be the discrete point of the wire path. Let m be the discrete point of the (m-1)th wire path.
[0113] Ultimately, this forms a complete set of discrete points along the wire path. .
[0114] Finally, for each wire in the multi-core cable The above method is used to calculate the set of discrete points along the path, thereby obtaining the pose information of the discrete points along the path of all wire objects, which supports subsequent 3D visualization.
[0115] This embodiment uses a rapid method for generating cable geometry based on relative pose transformation. Based on the main cable path information, it leverages relative pose transformation combined with a predefined layout scheme to quickly generate a set of discrete points representing the path of the cable and all its internal wires. First, the cable path control points are input into a spline curve fitting and discretization algorithm to generate a set of discrete points representing the path of the main cable. Second, the predefined wire core layout scheme in the cable data model is analyzed to obtain the rotation and translation matrix of the wires in the cable cross-section. Finally, based on the rotation and translation matrix and the stripping length attribute, the precise set of discrete points representing the path of each wire within the cable is automatically generated, one by one. This process achieves automated geometry generation from the overall cable to the wire cores, highlighting its speed and precision, and can efficiently support the 3D modeling of complex multi-core cables.
[0116] This embodiment utilizes a data model-driven 3D visualization method for multi-core cables to automatically convert structured data into a high-fidelity 3D model. The core idea is to automatically generate a full-structure 3D model of the multi-core cable with spatial continuity and deformation adaptability, using the geometric and physical elements defined in the data model as the sole input parameters. Considering the cylindrical shape of the cable, this embodiment constructs a polygonal prism based on triangular facets to render the cable's cylindrical shape, specifically including the following steps:
[0117] Solving for the coordinates of prism vertices: For each polygonal prism, the lateral faces need to be constructed, which means that the coordinates of the discrete points need to be determined. and the coordinate system of the next adjacent discrete point Solve for the vertex coordinates of the prism mesh. , express Indices in discrete points, such as Figure 7 The number of lateral edges of the prism is shown. The diagram shows the number of lateral edges of the prism. The larger the cable, the smoother its shape. The vertex coordinates at that location are represented as ,in It is represented by formula (5).
[0118] (5)
[0119] in, for The first section of the coordinate system The coordinates of the vertices of a polygon for The position, for The vertex index of the polygon at the coordinate system section. Let be the cable diameter, cos() be the cosine function, and sin() be the sine function.
[0120] Last discrete point coordinate system The vertex coordinates at that location are represented as ,in It is represented by formula (6).
[0121] (6)
[0122] in, for The first section of the coordinate system The coordinates of the vertices of a polygon for The position.
[0123] Connect vertices in sequence: Connect all vertices on the end face and the vertices on the outer surface of the cable. The connection order of the starting end face vertices is as follows: The connection sequence of the vertices on the outer surface of the cable is as follows: The connection sequence of the cable end faces is as follows: As shown in formula (7).
[0124] (7)
[0125] in, Let triangle be a set of triangles divided by the outer face diagonals of a polygonal prism rectangle. Consider another set of triangles formed by the outer facet diagonals of a polygonal prism rectangle. For set index value, For set and index value, For set and The index value.
[0126] The final polygonal prism shape constructed from triangular facets is as follows: Figure 8 As shown.
[0127] Visual material mapping: Based on the material properties of the outer sheath of the wire or cable, the generated geometric mesh model is mapped with corresponding visual materials (such as color, texture, gloss) to achieve a visual appearance that is close to reality.
[0128] For multi-core cables, this method uses the path discrete point information of all wires inside the cable and the path information of the cable body to form a complete 3D visualization model of the wires and a visualization model of the cable's outer sheath, respectively. This results in a complete 3D visualization model of the multi-core cable from the inside out, with the final effect as shown below. Figure 9 As shown, this model can realistically reflect the internal wiring arrangement and overall external shape of the cable from the inside out, achieving maximum visualization of the physical entity. Figure 10The three-dimensional model of a multi-core cable constructed by this invention and the three-dimensional model of a multi-core cable constructed by existing technologies of similar software are shown respectively. It can be seen intuitively that the multi-core cable model constructed by this invention has a higher degree of restoration of the physical entity of the multi-core cable.
[0129] like Figure 11 As shown, the operation process of a refined modeling system for a certain type of three-core cable is illustrated as an example. Figure 11 The top left is the cable model selection dialog box. Selecting a multi-core cable model in the system provides information such as the cable's color, radius, core arrangement, and number of cores. Then, through free clicking and interaction in 3D space, cable path control points are generated, and a preview of the cable path is displayed. Figure 11 The spheres within the circles represent cable path control points, and the tubular geometry containing these control points serves as a preview of the cable path. After completing the above interactions and confirming the path design results, the system automatically completes the aforementioned path calculation and 3D visualization process, generating a final refined 3D model of the three-core cable. Following the above implementation process, the rapid modeling of other multi-core cables in the high-end electromechanical equipment in this case can be completed sequentially.
[0130] This embodiment presents a data model-driven 3D visualization method for multi-core cables. Driven entirely by the aforementioned full-element data model, it achieves complete 3D modeling of the multi-core cable and its internal wires. Based on the geometric elements defined in the data model (such as path discrete points and radii), a tubular mesh composed of polygonal prisms is continuously constructed to form the 3D geometric structure of the multi-core cable. According to physical elements, corresponding visual materials are mapped to the mesh model to achieve visualization. Ultimately, a complete 3D visualization of the sheathed cable and each internal wire is achieved. The method is entirely driven by the data model, enabling automated generation and updates while ensuring the internal wire arrangement, stripping length, and 3D integrity, achieving 3D visualization of all elements. This visualization method achieves high-fidelity, full-structure multi-core visualization modeling, ensuring that the 3D model accurately reflects the information in the data model.
[0131] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, etc.) containing computer-usable program code.
[0132] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0133] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0134] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the protection scope of the present invention.
Claims
1. A multi-core cable all-element quick three-dimensional modeling method, characterized in that, The method comprises the following steps: constructing a full-element structured entity mapping data model, the full-element structured entity mapping data model comprising entity objects, the entity objects comprising a wire entity and a cable entity; the wire entity encapsulating geometric elements and physical elements of a single conductor wire, and the cable entity referencing at least one wire entity through an aggregation relationship and encapsulating geometric elements and physical elements of a whole multi-core cable; obtaining cable path control points of the multi-core cable, the cable path control points carrying three-dimensional coordinate and rotation attitude information; based on the full-element structured entity mapping data model, a spline curve fitting algorithm is used to fit the cable path control points to obtain a smooth cable main path, and the smooth cable main path is discretized to generate a cable path discrete point set, each discrete point of which carries three-dimensional coordinate and rotation attitude information; analyzing a predefined wire core arrangement scheme in the full-element structured entity mapping data model, calculating a relative pose of each wire entity with respect to a corresponding position discrete point in the cable path discrete point set based on the wire core arrangement scheme, the relative pose comprising a relative position offset and a relative rotation attitude amount; the relative pose is applied to the cable path discrete point set point by point, and a wire path discrete point at a wire end is extended in combination with a stripping length attribute encapsulated by the cable entity in the full-element structured entity mapping data model, so as to derive a cable path discrete point set of each wire entity; using the geometric elements and physical elements encapsulated in the full-element structured entity mapping data model as input, based on the cable path discrete point set and the wire path discrete point set, a multi-sided prism construction method is used to generate a cable outer sheath and three-dimensional geometric meshes of each wire; a visual material is mapped to the three-dimensional geometric mesh of the cable outer sheath according to the physical elements of the cable entity, and a visual material is mapped to the three-dimensional geometric meshes of the wires according to the physical elements of the wire entities, and the three-dimensional geometric mesh of the cable outer sheath and the three-dimensional geometric meshes of all the wires are fused to form a full-element three-dimensional model of the multi-core cable.
2. The full-factorial quick 3D modeling method of a multi-core cable according to claim 1, wherein, The geometric elements encapsulated by the wire entity include a wire radius, a wire path discrete point list, and a wire path discrete point discrete length; The physical elements encapsulated by the wire entity include a wire type and a wire sheath material; The geometric elements encapsulated by the cable entity include a cable radius, a cable path discrete point list, a cable path discrete point discrete length, a wire core arrangement scheme, and a stripping length; The physical elements encapsulated by the cable entity include a cable type and a cable outer sheath material.
3. The full-factorial quick 3D modeling method of a multi-core cable according to claim 2, characterized in that, The spline curve fitting algorithm is a Catmull-Rom spline curve algorithm; when the Catmull-Rom spline curve algorithm is used to fit the cable path control points, a smooth three-dimensional space curve passing through all the cable path control points is generated, and the smooth three-dimensional space curve is parameterized.
4. The full-factorial quick 3D modeling method of a multi-core cable according to claim 3, characterized in that, The cable path control points are fitted by using a spline curve fitting algorithm based on the full-element structured entity mapping data model to obtain a smooth cable main path, and the smooth cable main path is discretized to generate a cable path discrete point set each of which carries three-dimensional coordinate and rotation attitude information, including: The starting point of the smooth three-dimensional space curve is set as the first cable path discrete point, the discrete length of the cable path discrete point is set as the target distance between adjacent discrete points, and the next cable path discrete point is searched in the increasing direction of the curve parameter of the smooth three-dimensional space curve with the current cable path discrete point as the reference point; During the searching process, a candidate parameter is selected in the curve parameter space of the smooth three-dimensional space curve, the Euclidean distance between the curve point of the candidate parameter and the current cable path discrete point is calculated, and it is determined whether there is a curve point meeting the distance constraint; if there are multiple curve points meeting the distance constraint, the curve point with the minimum parameter value is selected as the next cable path discrete point; the distance constraint is that the Euclidean distance is equal to the target distance between adjacent discrete points; The above searching process is repeated until the discretization process is terminated when no curve point meeting the distance constraint can be found in the increasing direction of the curve parameter, and finally the cable path discrete point set is generated.
5. The full-factorial quick 3D modeling method of a multi-core cable according to claim 1, wherein, The wire core arrangement scheme is star-shaped twisted arrangement or parallel arrangement, and the wire core arrangement scheme is stored in the full-element structured entity mapping data model in the form of a rotation translation matrix set.
6. The full-factorial quick 3D modeling method of a multi-core cable according to claim 1, wherein, The relative pose is represented by a rotation translation matrix, and the rotation translation matrix includes a rotation matrix corresponding to a relative rotation attitude quantity and a translation matrix corresponding to a relative position offset quantity; The specific process of applying the relative pose to the cable path discrete point set point by point and extending the wire path discrete point at the wire end by combining the stripping length attribute of the cable entity encapsulated in the full-element structured entity mapping data model is: The vector directions of the first and second discrete points at the head end and the last and second-to-last discrete points at the tail end in the wire path discrete point set derived by normalization are combined with the stripping length to calculate the head-end extension discrete point and the tail-end extension discrete point, respectively, and the head-end extension discrete point, the tail-end extension discrete point and the wire path discrete point derived are combined to form a complete wire path discrete point set.
7. The full-factorial quick 3D modeling method of a multi-core cable according to claim 1, wherein, The specific process of generating three-dimensional geometric grids of a cable outer sheath and each wire by using a polyhedral prism construction method based on the cable path discrete point set and the wire path discrete point set with the geometric elements and physical elements encapsulated in the full-element structured entity mapping data model as input is: When generating the three-dimensional geometric grid of the cable outer sheath, the prism grid vertex coordinates at each discrete point in the cable path discrete point set are solved based on the cable radius and the number of side edges of the polyhedral prism; when generating the three-dimensional geometric grid of the wire, the prism grid vertex coordinates at each discrete point in the wire path discrete point set are solved based on the wire radius and the number of side edges of the polyhedral prism; connecting the end surface vertexes and the outer surface vertexes in a preset order, the preset order comprising a cable start end surface vertex connection order, an outer surface vertex connection order, and a cable end end surface vertex connection order; a complete cable outer sheath or wire three-dimensional geometric grid is formed by splicing triangular facets; wherein the number of side edges of the polygonal prism is preset by a full-element structured entity mapping data model or adjusted by user interaction.
8. A multi-core cable all-element fast 3D modeling system, characterized by, The method comprises the following steps: a mapping model module is configured to construct a full-element structured entity mapping data model, the full-element structured entity mapping data model comprising entity objects, the entity objects comprising wire entities and cable entities; the wire entities encapsulating geometric elements and physical elements of single conductors, and the cable entities encapsulating geometric elements and physical elements of a whole multi-core cable by means of an aggregation relationship; a cable path discrete point set generation module is configured to obtain cable path control points of a multi-core cable, the cable path control points carrying three-dimensional coordinates and rotation attitude information; based on the full-element structured entity mapping data model, a spline curve fitting algorithm is used to fit the cable path control points to obtain a smooth cable main path, and the smooth cable main path is discretized to generate a cable path discrete point set, each discrete point of which carries three-dimensional coordinates and rotation attitude information; a wire path discrete point set derivation module is configured to analyze a predefined wire core arrangement scheme in the full-element structured entity mapping data model, and based on the wire core arrangement scheme, to calculate a relative pose of each wire entity with respect to a corresponding position discrete point in the cable path discrete point set, the relative pose comprising a relative position offset and a relative rotation attitude; the relative pose is applied to the cable path discrete point set point by point, and in combination with a stripping length attribute encapsulated by the cable entity in the full-element structured entity mapping data model, a wire path discrete point at a wire end is extended to derive a wire path discrete point set of each wire entity; a three-dimensional model formation module is configured to take geometric elements and physical elements encapsulated in the full-element structured entity mapping data model as input, and based on the cable path discrete point set and the wire path discrete point set, to generate three-dimensional geometric grids of a cable outer sheath and each wire by means of a polygonal prism construction method; a visual material is mapped to the three-dimensional geometric grid of the cable outer sheath according to a physical element of the cable entity, and a visual material is mapped to the three-dimensional geometric grid of each wire according to a physical element of the wire entity, and a three-dimensional model of a multi-core cable is formed by fusing the three-dimensional geometric grid of the cable outer sheath and the three-dimensional geometric grids of all the wires.
9. An electronic device, comprising: The computer program is stored in the memory and executable on the processor, and the processor executes the computer program to implement the method of any one of claims 1-7. The computer program is stored in the memory and executable on the processor, and the processor executes the computer program to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to realize the multi-core cable full-element fast three-dimensional modeling method in any one of claims 1-7.
Citation Information
Patent Citations
Three-dimensional reconstruction method and system for surrounding environment of electric power facility
CN120823313A
Computer-readable medium storing design support program, design support method, and design support apparatus
US20110202320A1