Parametric modeling method for semi-rigid cables of same type and different sizes
Through the parametric modeling method, the problem of low batch modeling and drawing efficiency of semi-rigid cables in large electrical equipment is solved, an efficient and accurate design process is achieved, and two-dimensional and three-dimensional drawings are generated.
Patent Information
- Application Number
- CN202510015012.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-05-23
AI Technical Summary
The batch modeling and drawing of semi-rigid cables in large electrical equipment is inefficient in batch modeling and drawing, and errors are prone to, so that three-dimensional models cannot be effectively established.
The parameterized modeling method of semi-rigid cables of the same type and different sizes is adopted. By establishing an initialization model, defining the initial length and offset of segmented cables, constructing a segmented length parameter table and family table, realizing parameterized modeling of cable length and size, and generating two-dimensional and three-dimensional drawings.
It improves the efficiency and accuracy of semi-rigid cable design, reduces human errors, realizes rapid batch modeling and drawing production, and reduces design workload.
Smart Images

Figure CN120030742A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electrical equipment, and in particular to a parametric modeling method for semi-rigid cables of the same type but different sizes. Background Art
[0002] In order to achieve the design and construction of large-scale electrical equipment, drawing and outputting design drawings is one of the key tasks. For some large-scale electrical equipment, the internal semi-rigid cables are often complex and of different lengths. For example, there are nearly a thousand types of semi-rigid cables inside a certain electrical equipment. Manually, it would take seven or eight people nearly a month to perform three-dimensional modeling and drawing of so many semi-rigid cable components, and it is prone to errors. In order to avoid wasting a long time and spending huge manpower and energy, batch modeling and batch drawing of semi-rigid cables has become a trend.
[0003] At present, for batch modeling and batch drawing of semi-rigid cables, a two-dimensional drawing of a semi-rigid cable is first produced through three-dimensional software. Then the two-dimensional drawing is copied, and the length and size are changed again based on the copied two-dimensional drawing to complete the new cable drawing.
[0004] However, although this method is faster than drawing one by one, it still requires readjustment of the length and size. Although the efficiency has been improved, it is still low, and it is not possible to build a three-dimensional model and is not intuitive. Summary of the invention
[0005] The embodiment of the present application provides a parametric modeling method for semi-rigid cables of the same type but different sizes, which can solve the technical problem of poor batch drawing capability of existing semi-rigid cable modeling.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0007] In a first aspect, an embodiment of the present application provides a parametric modeling method for semi-rigid cables of the same type and different sizes, and the parametric modeling method for semi-rigid cables of the same type and different sizes includes: establishing a first cable model according to the routing position of the semi-rigid cable; the first cable model includes multiple cable segments; based on preset parameter definitions, marking the initial length of each cable segment in the multiple cable segments of the first cable model; the preset parameter definitions corresponding to each cable are different; confirming the connection between every two adjacent cables in the first cable model; based on the spatial position of each connection, confirming the first offset of each cable in the first direction and the second offset of each cable in the second direction; the first direction and the second direction are perpendicular; based on the first offset and the second offset, constructing a segment length offset parameter table; combining the segment length offset parameter table with the initial length to determine the cable length of each cable; constructing a segment length parameter table according to the cable length; establishing a family table on the first cable model; the family table includes the size parameterization results of each cable; based on the segment length parameter table and the family table, obtaining a parametric modeling result; based on the parametric modeling result, two-dimensionally annotating the multiple cable segments of the first cable model to obtain a two-dimensional diagram of the semi-rigid cable.
[0008] Based on the above description of the parametric modeling method of semi-rigid cables of the same type and different sizes provided in the embodiment of the present application, it can be known that the parametric modeling method of semi-rigid cables of the same type and different sizes includes establishing a semi-rigid cable initialization model (first cable model) according to the routing position of the semi-rigid cable, defining the length of each section of the semi-rigid cable with different parameters, determining the offset length of each section of the semi-rigid cable at different positions according to the relative position relationship of the two ends of the semi-rigid cable at different positions, listing a segment length offset parameter table, combining with the initialization model, determining the length of the segmented cables of the semi-rigid cables at different positions, listing a segment length parameter table, establishing a family table on the semi-rigid cable initialization model, parameterizing each section size, and importing the segment length parameter table to obtain the model of the cable of this type with different sizes, and completing the parametric modeling. Establish an engineering drawing, perform two-dimensional annotation on the initialization model, and then use the model replacement function to output all semi-rigid cables in two dimensions in turn, and quickly complete the modeling and output work. In this way, it is of great help to the design of large quantities of semi-rigid cables, avoiding the problem of designing semi-rigid cables one by one, greatly improving the design efficiency, and reducing the design workload of semi-rigid cables. In addition, the efficiency of semi-rigid cable design has been greatly improved. As long as the parameters are measured correctly, the errors caused by human factors can be basically eliminated, which improves the accuracy of semi-rigid cable design. Changes are also quick and convenient, and both the two-dimensional and three-dimensional drawings of semi-rigid cables are available. Digital drawings have a low probability of error. Even if errors occur, the drawings can be modified by modifying the parameters, which is simple and easy.
[0009] In a feasible implementation of the first aspect, the multi-segment cable includes a first cable, a second cable and a third cable; the connection between the first cable and the second cable is a first connection; the connection between the second cable and the third cable is a second connection; the parametric modeling method of semi-rigid cables of the same type but different sizes also includes: based on the relative position of the first connection and the second connection, confirming the first offset in the first direction and the second offset in the second direction.
[0010] In a feasible implementation of the first aspect, the parametric modeling method for semi-rigid cables of the same type but different sizes also includes: creating reference points according to the routing positions of the semi-rigid cables, and establishing a curve passing through the reference points; and scanning the curve to establish a first cable model.
[0011] In a feasible implementation of the first aspect, the parametric modeling method of semi-rigid cables of the same type but different sizes also includes: establishing multiple reference planes according to the routing positions of the semi-rigid cables; within the reference planes, drawing straight lines connecting the endpoints to establish a first cable model.
[0012] In a feasible implementation of the first aspect, the parametric modeling method for semi-rigid cables of the same type but different sizes further includes: establishing a second cable model based on the first cable model; the second cable model is a model of the connectors at both ends of the semi-rigid cable.
[0013] In a feasible implementation of the first aspect, the first cable includes a first end and a second end; when executing the step of confirming the first offset in the first direction and the second offset in the second direction of each cable based on the spatial position of each connection point, the parametric modeling method of semi-rigid cables of the same type but different sizes also includes: obtaining the first original offset in the first direction and the second original offset in the second direction based on the spatial position of the first end and the spatial position of the second end; and obtaining the first offset and the second offset in the second direction based on the first original offset and the second original offset.
[0014] In a feasible implementation of the first aspect, the parametric modeling method for semi-rigid cables of the same type but different sizes further includes: modifying parameters in the family table to modify the target cable size.
[0015] In a feasible implementation of the first aspect, the parametric modeling method for semi-rigid cables of the same type but different sizes further includes: corresponding the two-dimensional diagram of the semi-rigid cable to other three-dimensional models of semi-rigid cables in the family table.
[0016] In a second aspect, an embodiment of the present application provides a parametric modeling system for semi-rigid cables of the same type but different sizes, and the parametric modeling system for semi-rigid cables of the same type but different sizes includes: at least one processor; a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method provided in the first aspect.
[0017] The parametric modeling system for semi-rigid cables of the same type and different sizes is of great help to the design of large quantities of semi-rigid cables by executing the method provided in the first aspect, avoiding the problem of designing semi-rigid cables one by one, greatly improving the design efficiency, and reducing the design workload of semi-rigid cables. In addition, the efficiency of semi-rigid cable design is greatly improved. As long as the parameters are measured correctly, errors caused by human factors can be basically eliminated, the accuracy of semi-rigid cable design is improved, and changes are also quick and convenient, and at the same time, two-dimensional and three-dimensional drawings of semi-rigid cables are provided. Digital drawing has a low probability of error. Even if an error occurs, the drawing can be modified by modifying the parameters, which is simple and easy.
[0018] In a third aspect, an embodiment of the present application provides a computer-readable medium having computer program instructions stored thereon, and the computer program instructions can be executed by a processor to implement the method provided in the first aspect.
[0019] The computer program instructions in the computer-readable medium are of great help to the design of large quantities of semi-rigid cables by implementing the method provided by the first aspect, avoiding the problem of designing semi-rigid cables one by one, greatly improving the design efficiency, and reducing the design workload of semi-rigid cables. In addition, the efficiency of semi-rigid cable design is greatly improved. As long as the parameters are measured correctly, errors caused by human factors can be basically eliminated, the accuracy of semi-rigid cable design is improved, and changes are also quick and convenient, and at the same time, two-dimensional and three-dimensional drawings of semi-rigid cables are provided. Digital drawing has a low probability of error. Even if an error occurs, the drawing can be modified by modifying the parameters, which is simple and easy. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A structural schematic diagram of a parametric modeling system for semi-rigid cables of the same type and different sizes provided in an embodiment of the present application;
[0021] Figure 2 A schematic flow chart of a parametric modeling method for semi-rigid cables of the same type and different sizes provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of a method for modeling and drawing a semi-rigid cable in the related art;
[0023] Figure 4A schematic flow chart of a parametric modeling method for semi-rigid cables of the same type and different sizes provided in an embodiment of the present application;
[0024] Figure 5 A schematic diagram of establishing an initialization model of a semi-rigid cable in a parametric modeling method for semi-rigid cables of the same type but different sizes provided in an embodiment of the present application;
[0025] Figure 6 A schematic diagram of a method for establishing a segment length parameter table of semi-rigid cables in a parametric modeling method for semi-rigid cables of the same type but different sizes provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of a method for batch producing two-dimensional drawings of semi-rigid cables in a parametric modeling method for semi-rigid cables of the same type but different sizes provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention. In the description of the embodiments of the present invention, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0028] In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the difference. At the same time, in the embodiments of the present invention, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0029] The principles and features of the present application are described below. The examples given are only used to explain the present application and are not used to limit the scope of the present application.
[0030] Semi-rigid cable is a coaxial cable with rigidity and flexibility, usually used to transmit power or signals. It consists of the following main parts: outer conductor, center conductor and insulation layer. The outer conductor is usually a seamless tube made of copper or aluminum alloy, which serves as the outer conductor of the cable. The center conductor is composed of copper wire or steel-clad copper wire, set along the center line of the outer conductor, and supported by dielectric materials to keep it on the same center axis of the outer conductor. The insulation layer is made of dielectric materials such as polytetrafluoroethylene (PTFE) to isolate the inner conductor and outer conductor to prevent signal leakage and interference.
[0031] The characteristics of semi-rigid cables include: rigidity, flexibility and application range. The cable has a certain bending rigidity and can maintain its shape. Despite its rigidity, semi-rigid cables can also be bent by hand and have a certain flexibility. Semi-rigid cables are widely used in high-frequency signal transmission systems such as industrial automation, robotics, electronic equipment, mobile communications, military radar, electronic countermeasures, etc.
[0032] When designing and using semi-rigid cables, you need to pay attention to the following: when bending semi-rigid cables, you should use special tools to avoid damaging the outer tube wall. Semi-rigid cables of different diameters and specifications can be selected according to application requirements. Although the types of semi-rigid cables are complex, their routing forms are consistent, only the segment sizes are different.
[0033] like Figure 3 As shown, the related technology starts designing from the first semi-rigid cable, fully annotates the first semi-rigid cable in Computer Aided Design (CAD), and then copies the entire two-dimensional drawing. According to the size change of the second semi-rigid cable, the segment length of the copied two-dimensional drawing is adjusted, the annotation is updated, and so on, until the two-dimensional design of the last semi-rigid cable is completed. For hundreds of cables, such operation efficiency is too low and it is easy to make mistakes. After an error occurs, the wrong cable needs to be found again and the error position needs to be readjusted, which is easy to be confused. Using traditional design methods requires designers to spend a lot of time adjusting and changing the segment length and re-annotating, resulting in a long design cycle. At the same time, there is no three-dimensional drawing, which does not look intuitive.
[0034] To solve the above problems, the present application provides a parametric modeling method for semi-rigid cables of the same type and different sizes, which is applicable to the design of various large electrical equipment. Figure 4As shown in the figure, firstly, the semi-rigid cable initialization model is established according to the routing position of the semi-rigid cable, and the length of each section of the semi-rigid cable is defined by different parameters. Secondly, according to the relative position relationship of the two ends of the semi-rigid cable at different positions, the offset length of each section of the semi-rigid cable at different positions is determined, and a segment length offset parameter table is listed. Combined with the initialization model, the segment length of the semi-rigid cable at different positions is determined, and a segment length parameter table is listed. Then, a family table is established on the semi-rigid cable initialization model, each section size is parameterized, and the segment length parameter table is imported to obtain the model of cables of different sizes of this type, and the parametric modeling is completed. Finally, an engineering drawing is established, and the initialization model is two-dimensionally annotated. The model replacement function is used to output all semi-rigid cables in two dimensions in turn, and the modeling and output work is quickly completed without re-annotating the size. It is of great help for the design of large quantities of semi-rigid cables, avoiding the problem of designing semi-rigid cables one by one, greatly improving the design efficiency, and reducing the design workload of semi-rigid cables. In addition, the efficiency of semi-rigid cable design has been greatly improved. As long as the parameters are measured correctly, the errors caused by human factors can be basically eliminated, which improves the accuracy of semi-rigid cable design. Changes are also quick and convenient, and both the two-dimensional and three-dimensional drawings of semi-rigid cables are available. Digital drawings have a low probability of error. Even if errors occur, the drawings can be modified by modifying the parameters, which is simple and easy.
[0035] An embodiment of the present application provides a parametric modeling system for semi-rigid cables of the same type and different sizes, which can execute the parametric modeling method for semi-rigid cables of the same type and different sizes provided in the embodiment of the present application. Figure 1 A structural schematic diagram of a parametric modeling system for semi-rigid cables of the same type and different sizes provided in an embodiment of the present application.
[0036] like Figure 1 As shown, the parametric modeling system 001 for semi-rigid cables of the same type and different sizes includes at least one processor 011 and a memory 012 communicatively connected to the at least one processor; wherein the memory 012 stores instructions executable by the at least one processor 011, and the instructions are executed by the at least one processor 011 so that the at least one processor 011 can execute the parametric modeling method for semi-rigid cables of the same type and different sizes provided in an embodiment of the present application.
[0037] Figure 2 A flow chart of a parametric modeling method for semi-rigid cables of the same type and different sizes provided in an embodiment of the present application. Figure 2 As shown, in some embodiments, the parametric modeling method of the same type of semi-rigid cables with different sizes includes the following steps:
[0038] S1, establishing a first cable model according to the routing position of the semi-rigid cable.
[0039] like Figure 5 As shown, the routing position, also known as the routing path, can be determined by the relative position relationship of the connection points at both ends of the semi-rigid cable.
[0040] The first cable model, also called the semi-rigid cable initialization model, includes multiple cable segments. Exemplarily, the routing forms of the multiple cable segments are consistent, but the segment sizes are different.
[0041] The first cable model can be built by Creo.
[0042] In one implementation, when executing step S1, the parametric modeling method for semi-rigid cables of the same type but different sizes further includes:
[0043] S111, create reference points according to the routing positions of the semi-rigid cables, and establish a curve passing through the reference points.
[0044] S112, scanning the curve to establish a first cable model.
[0045] In one implementation, when executing step S1, the parametric modeling method for semi-rigid cables of the same type but different sizes further includes:
[0046] S121, establishing multiple reference planes according to the routing positions of the semi-rigid cables.
[0047] In this way, a reference plane is established based on the plane through which the routing path passes.
[0048] S122, drawing a straight line connecting the end points in the reference plane to establish a first cable model.
[0049] For example, Figure 5 As shown, multiple reference planes are established. According to the length of the routing path in each plane, line segments of the same length are drawn in the reference plane (make sure the ends of the line segments coincide at the connection point), that is, straight lines connected with endpoints are drawn in the reference plane. Use the pipeline function (which can be achieved by clicking the pipeline function), select these straight lines, enter the inner diameter, outer diameter and bend radius, and click Finish to establish the first cable model.
[0050] The first cable model established in this way can mark the length of the semi-rigid cable segment in the model, which is conducive to segment parameterization.
[0051] In one implementation, when executing step S122, the parametric modeling method for semi-rigid cables of the same type but different sizes further includes:
[0052] S1221: Establish a second cable model based on the first cable model.
[0053] The second cable model is a model of the connectors at both ends of the semi-rigid cable. UDF can be used to build the second cable model.
[0054] In this way, the second method is used to establish the initialization model of the semi-rigid cable, and the connector is established as a UDF model, and the connector model at both ends of the semi-rigid cable is established through the user-defined model.
[0055] S2, based on the preset parameter definition, marking the initial length of each cable segment in the multiple cable segments of the first cable model.
[0056] The preset parameter definitions for each cable are different.
[0057] S3, confirming the connection between every two adjacent cables in the first cable model.
[0058] S4, based on the spatial positions of the respective connection points, determining a first offset amount of each cable in the first direction and a second offset amount in the second direction.
[0059] The first direction is perpendicular to the second direction. Exemplarily, the first direction is the X direction, and the second direction is the Y direction.
[0060] In one implementation, the multi-segment cable includes a first cable, a second cable, and a third cable. The connection between the first cable and the second cable is a first connection. The connection between the second cable and the third cable is a second connection. The parametric modeling method for semi-rigid cables of the same type and different sizes also includes:
[0061] S411, based on the relative positions of the first connection point and the second connection point, determine a first offset in the first direction and a second offset in the second direction.
[0062] In one implementation, the first cable includes a first end and a second end. When executing step S411 based on the spatial positions of each connection, the parametric modeling method for semi-rigid cables of the same type and different sizes further includes:
[0063] S4111, based on the spatial position of the first end and the spatial position of the second end, obtain a first original offset in the first direction and a second original offset in the second direction.
[0064] S4112, taking the first original offset and the second original offset as a reference, obtaining a first offset and a second offset in the second direction.
[0065] In one implementation, see Figure 6, explaining the method for establishing the segment length parameter table of the semi-rigid cable. Since the relative positions of the two ends of the semi-rigid cable are easily offset, thereby generating an offset, the offset generated at the two ends of the connection also needs to be reflected on the semi-rigid cable. Therefore, the offsets of the two ends of the connection in the X and Y directions are recorded. The larger the spacing, the more "+", and the smaller it is, the more "-", recorded as ΔX1, ΔX2..., ΔY1, ΔY2..., and the offset is mapped to a certain segment of the semi-rigid cable to form a segment length offset parameter table. Adding it to the segment length X1, X2..., Y1, Y2... of the initialization model, the total length of each segment after the offset of each semi-rigid cable is obtained, X1+ΔX1, X2+ΔX2..., Y1+ΔY1, Y2+ΔY2, which is combined together to form the segment length parameter table.
[0066] S5. Construct a segment length offset parameter table based on the first offset and the second offset.
[0067] S6, combining the segment length offset parameter table with the initial length to determine the cable length of each cable.
[0068] S7, constructing a segment length parameter table according to the cable length.
[0069] S8, creating a family table on the first cable model.
[0070] The family table includes the parameterized dimensions of the individual cables.
[0071] S9, based on the segment length parameter table and family table, obtain the parametric modeling results.
[0072] S10, based on the parametric modeling result, two-dimensionally annotate the multiple cable segments of the first cable model to obtain a two-dimensional diagram of the semi-rigid cable.
[0073] See also Figure 7 , explaining the method of batch outputting 2D drawings of semi-rigid cables. After creating the 3D models of all cables, first output the 2D engineering drawing of the initial model of the semi-rigid cable in Creo, and then use the model replacement function to correspond the 2D engineering drawing to other 3D models of semi-rigid cables in the family table, save it as a DXF file, and then operate in sequence to complete the drawing of all cable 2D engineering drawings. For example, the format of the semi-rigid cable 2D drawing can be DXF format.
[0074] Exemplarily, a family table is created in the semi-rigid cable initialization model, each segment size is represented parameterized, and all cable segment length parameter tables are imported into the family table. Click Finish to parameterize and create all semi-rigid cable three-dimensional models.
[0075] Family table is a tool in Creo for managing parts with the same or similar structures. For example, the family table is established by establishing a common part as a "parent part" and then controlling various parameters to generate "derived parts" based on it. In addition, a large number of simple and detailed objects can be quickly generated by adding or modifying parameters without reconstructing each part.
[0076] For example, "semi-steel cable 1" is established as the parent part, and the "semi-steel cable 1-1", "semi-steel cable 1-2", "semi-steel cable 1-3", ..., "semi-steel cable 1-n" with similar shapes and different sizes are derived by modifying the size parameters of "semi-steel cable 1", which together constitute the semi-steel cable family table. Among them, the specific size parameters of each semi-steel cable are the corresponding family table parameters.
[0077] In this way, when calling the 3D model of "Semi-steel Cable 1-m" in the family table, you can first call the parent part "Semi-steel Cable 1", and then select the specific "Semi-steel Cable 1-m" in the family table to complete the call. Among them, m can be any positive integer between 1 and n.
[0078] In some embodiments, when executing step S10, the parametric modeling method for semi-rigid cables of the same type but different sizes further includes:
[0079] S1011, correspond the two-dimensional drawing of the semi-rigid cable with the three-dimensional models of other semi-rigid cables in the family table.
[0080] In this way, for occasions where two-dimensional drawings are required, the initialization model can be marked in detailed two-dimensional form. On this basis, model replacement can be used to correspond the engineering drawings of the initialization model to other semi-rigid cable models in turn without re-marking, and all semi-rigid cable two-dimensional drawings can be quickly completed.
[0081] In some embodiments, after executing step S10, the parametric modeling method for semi-rigid cables of the same type but different sizes further includes:
[0082] S11, modify the parameters in the family table to modify the target cable size.
[0083] In this way, even if it is found that the size of a cable is incorrect, it is only necessary to modify the parameters in the family table of the initialization model and regenerate it, and the two-dimensional drawing will be modified accordingly, which is convenient, accurate and fast.
[0084] Based on the same application concept, a parametric modeling system for semi-rigid cables of the same type and different sizes is also provided in an embodiment of the present application. The method corresponding to the parametric modeling system for semi-rigid cables of the same type and different sizes may be the parametric modeling method for semi-rigid cables of the same type and different sizes in the aforementioned embodiment, and its principle of solving the problem is similar to that of the method. The parametric modeling system for semi-rigid cables of the same type and different sizes provided in an embodiment of the present application includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the methods and / or technical solutions of the aforementioned multiple embodiments of the present application.
[0085] Another embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of the present application described above.
[0086] Specifically, the present embodiment may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device, or device.
[0087] Computer readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than a computer readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0088] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0089] The computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0090] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0091] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0092] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or page components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0093] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0094] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0095] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
[0097] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in a device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A parametric modeling method for semi-rigid cables of the same type and different sizes, characterized in that: include: According to the routing position of the semi-rigid cable, a first cable model is established; The first cable model includes multiple cable segments; Based on the preset parameter definition, annotating the initial length of each cable segment in the plurality of cable segments of the first cable model; The preset parameter definitions corresponding to each of the cables are different; confirming the connection between every two adjacent cables in the first cable model; Based on the spatial position of each of the connection points, determining a first offset in the first direction and a second offset in the second direction of each of the cables; The first direction is perpendicular to the second direction; Constructing a segment length offset parameter table based on the first offset and the second offset; Combining the segment length offset parameter table with the initial length to determine the cable length of each of the cables; According to the cable length, construct a segment length parameter table; Establishing a family table on the first cable model; the family table includes the size parameterization results of each of the cables; Based on the segment length parameter table and the family table, a parametric modeling result is obtained; According to the parametric modeling result, the multiple cable segments of the first cable model are two-dimensionally labeled to obtain a two-dimensional diagram of the semi-rigid cable.
2. The parametric modeling method for semi-rigid cables of the same type and different sizes according to claim 1 is characterized in that: The multi-segment cable includes a first cable, a second cable and a third cable; the connection point between the first cable and the second cable is a first connection point; The connection point between the second cable and the third cable is a second connection point; The parametric modeling method for semi-rigid cables of the same type and different sizes also includes: Based on the relative positions of the first connection point and the second connection point, the first offset in the first direction and the second offset in the second direction are determined.
3. The parametric modeling method for semi-rigid cables of the same type and different sizes according to claim 1 or 2, characterized in that: The parametric modeling method for semi-rigid cables of the same type and different sizes also includes: According to the routing position of the semi-rigid cable, a reference point is created, and a curve passing through the reference point is established; The curve is scanned to establish the first cable model.
4. The parametric modeling method for semi-rigid cables of the same type and different sizes according to claim 1 or 2, characterized in that: The parametric modeling method for semi-rigid cables of the same type and different sizes also includes: Establish multiple reference planes according to the routing position of the semi-rigid cable; In the reference plane, a straight line is drawn with connected endpoints to establish the first cable model.
5. The parametric modeling method for semi-rigid cables of the same type and different sizes according to claim 4 is characterized in that: The parametric modeling method for semi-rigid cables of the same type and different sizes also includes: Based on the first cable model, a second cable model is established; the second cable model is a model of connectors at both ends of the semi-rigid cable.
6. The parametric modeling method for semi-rigid cables of the same type and different sizes according to claim 2 is characterized in that: The first cable includes a first end and a second end; when performing the step of confirming a first offset in the first direction and a second offset in the second direction of each cable based on the spatial position of each of the connection points, the parametric modeling method for semi-rigid cables of the same type and different sizes further includes: Based on the spatial position of the first end and the spatial position of the second end, obtaining a first original offset in the first direction and a second original offset in the second direction; The first offset and the second offset in the second direction are obtained based on the first original offset and the second original offset.
7. The parametric modeling method for semi-rigid cables of the same type and different sizes according to claim 1 or 2, characterized in that: The parametric modeling method for semi-rigid cables of the same type and different sizes also includes: Modify the parameters within the family table to modify the target cable size.
8. The parametric modeling method for semi-rigid cables of the same type and different sizes according to claim 1 or 2, characterized in that: The parametric modeling method for semi-rigid cables of the same type and different sizes also includes: The two-dimensional diagram of the semi-rigid cable is matched with other three-dimensional models of semi-rigid cables in the family table.
9. A parametric modeling system for semi-rigid cables of the same type and different sizes, characterized in that: include: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 8.
10. A computer readable medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the method according to any one of claims 1 to 8.