A parameterized additive manufacturing deposition path fitting method under a multi-software cooperative simulation environment

CN122947463APending Publication Date: 2026-10-20CHINA THREE GORGES UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610989910.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-03
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

[0005]本发明的目的在于克服现有增材制造有限元建模中,沉积轨迹拟合高度依赖网格拓扑排布、复杂工况下轨迹拟合精度低、生成效率差、数据可编辑性弱的技术缺陷,提供一种多软件协同的参数化增材制造沉积轨迹拟合方法

Benefits of technology

1、精准匹配焊道表面,轨迹贴合度高:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention provides a parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment, belonging to the field of additive manufacturing numerical simulation modeling technology. It relies on the collaborative implementation of 3D modeling software, data processing software, and finite element simulation software. The method first divides the additively formed entity into independent single weld beads, and generates a 3D deposition trajectory that fits the weld bead morphology through surface projection of a reference plane sketch. Then, a secondary development program is used to parameterize and uniformly sample points along the trajectory, and a standardized trajectory data file adapted to the target simulation software is exported according to the deposition direction. After preprocessing such as accuracy verification, coordinate transformation, and deposition order adjustment by data processing software, the data is imported into the finite element simulation software to complete data parsing configuration and model binding. This invention eliminates the dependence of deposition trajectory fitting on the topology arrangement of the finite element mesh, solving the technical problems of low trajectory fitting accuracy and poor modeling efficiency under complex working conditions such as multi-layer, multi-pass stacking, and irregular paths.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of numerical simulation modeling technology for additive manufacturing, and in particular to a parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment. It can be widely applied to finite element thermo-mechanical coupling simulation modeling of various additive manufacturing processes such as arc additive manufacturing and laser cladding. Background Technology

[0002] Additive manufacturing technology, with its advantages of flexibility, short cycle time, and high material utilization, has been widely applied in industrial fields such as rapid prototyping of metal components and remanufacturing of large equipment. Utilizing finite element method (FEM) simulation technology to perform thermo-mechanical coupling analysis of the temperature and stress fields during the additive deposition process is a core technical means to optimize process parameters, avoid forming defects, and improve the mechanical properties of components. In the pre-processing workflow of additive manufacturing simulation, accurate fitting of the deposition trajectory is a crucial step that determines the accuracy of the simulation model and the reliability of the calculation results.

[0003] In current additive manufacturing finite element simulation modeling, traditional deposition trajectory generation methods generally suffer from the common problem of balancing trajectory accuracy and computational load: trajectory fitting accuracy is highly dependent on the topological arrangement and mesh density of the finite element mesh. To improve the smoothness of the curve trajectory and the surface fitting accuracy, the mesh in the weld area must be densified, which not only significantly increases the difficulty of mesh generation but also significantly increases the computational load and time cost of finite element solution.

[0004] This problem is particularly pronounced in specialized welding additive manufacturing simulation software such as SimufactWelding, which uses a mesh node picking mechanism to define the deposition path. The trajectory definition in such software heavily relies on manual capture of mesh nodes in the visual interface, which presents significant limitations. (1) When faced with irregular spatial paths or disordered grid arrangements, manual point selection is prone to trajectory deviation and fitting distortion, making it difficult to guarantee accuracy; (2) In the case of multi-layer and multi-pass additive manufacturing, the lower layer weld bead is often completely blocked by the upper layer structure, resulting in the mesh nodes being invisible. The manual method cannot effectively pick up the nodes in the blocked area, making it difficult to complete the full weld bead trajectory modeling. (3) Manual point selection is inefficient and the quality of point selection is greatly affected by the operator's experience, resulting in poor consistency. Summary of the Invention

[0005] The purpose of this invention is to overcome the technical shortcomings of existing additive manufacturing finite element modeling methods, such as high dependence on mesh topology for deposition trajectory fitting, low trajectory fitting accuracy under complex conditions, poor generation efficiency, and weak data editability. This invention provides a parametric additive manufacturing deposition trajectory fitting method based on multi-software collaboration. This method eliminates mesh node constraints and relies on multi-software collaboration to achieve automatic parametric generation and refined preprocessing of trajectories. It is adaptable to various complex additive manufacturing conditions and significantly improves modeling efficiency and trajectory fitting accuracy.

[0006] To achieve the above-mentioned technical features, the objective of this invention is as follows: a parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment, comprising the following steps: Step 1, Weld Geometric Model Construction: In 3D modeling software, the additive manufacturing solid model is divided according to the weld size parameters and deposition arrangement to obtain several independent single weld geometric models; Step 2, 3D deposition trajectory generation: In the 3D modeling software, select a reference plane to draw a planar trajectory sketch. Using the projection curve function, project the planar trajectory sketch onto the surface of the geometric model of a single weld bead to generate the corresponding 3D deposition trajectory. Step 3, Equidistant Point Selection and Trajectory Data Output: Obtain the three-dimensional deposition trajectory through the secondary development program of the three-dimensional modeling software, extract the coordinates of the two endpoints of the three-dimensional deposition trajectory, generate intermediate nodes evenly between the two endpoints according to the set total number of nodes n, extract the three-dimensional coordinates of all nodes in sequence according to the determined deposition direction, and export the adapted standardized trajectory data file according to the data interface specification of the target finite element simulation software. Step 4, Trajectory Data Verification and Preprocessing: The exported standardized trajectory data file is verified using data processing software, and / or subjected to secondary editing preprocessing such as coordinate calculations and order adjustments; Step 5, trajectory import and model binding: Import the preprocessed standardized trajectory data file into the target finite element simulation software, configure the data parsing parameters, and associate the trajectory data with the welding gun model, heat source model and mesh model to complete the additive manufacturing deposition trajectory fitting.

[0007] Preferably, step one specifically includes: In 3D modeling software, based on the actual weld bead forming width, penetration depth, and arrangement of segmented, partitioned, or staggered deposition in additive manufacturing, the additive manufacturing solid model is split into multiple single weld bead geometric models through solid segmentation operations.

[0008] Preferably, step two specifically includes: In 3D modeling software, select the system default reference plane, model geometric plane, or custom reference plane as the reference plane, draw a planar trajectory sketch that matches the weld bead trend, and project the planar trajectory sketch onto the target weld bead surface or segmented section through the projection curve function to generate a 3D deposition trajectory that fits the weld bead surface morphology.

[0009] Preferably, step three specifically includes: A secondary development program is run in the 3D modeling software to obtain the 3D deposition trajectory. The secondary development program follows the topological orientation of the 3D deposition trajectory, based on the total number of nodes set by the user. n Uniformly distributed points along the three-dimensional deposition trajectory: using the inherent two ends of the three-dimensional deposition trajectory as the beginning and end endpoints of the node sequence, points are uniformly generated between the two endpoints. n - Two intermediate nodes are used to ensure that the node sequence completely covers the beginning and end of the three-dimensional deposition trajectory. The secondary development program automatically extracts the three-dimensional coordinates of all nodes, determines the writing order of the nodes according to the deposition direction, and finally exports a standardized trajectory data file that conforms to the import specifications of the target finite element simulation software.

[0010] Preferably, step four specifically includes: The preprocessing software reads the generated standardized trajectory data file, verifies the accuracy of the trajectory data according to the preset tolerance conditions, and edits and adjusts it as needed. The preprocessing includes performing overall translation or scaling operations on the trajectory node coordinates, changing the deposition order, and deleting redundant nodes.

[0011] Preferably, step five specifically includes: Import the standardized trajectory data file that has been verified and preprocessed into the target finite element simulation software, configure the data parsing parameters and trajectory direction attributes, and associate the trajectory data with the heat source model and mesh model in the simulation environment to complete the deposition trajectory fitting.

[0012] Preferably, the secondary development program is based on the total number of nodes set by the user. n Parametric solution for the three-dimensional deposition trajectory: Let the initial parameters of the extracted three-dimensional deposition trajectory be... t s The termination parameter is t e The step size Δ of the discrete parameter domain of the nodes t satisfy: ; Based on the currently determined direction of sedimentary travel, the first i Parameters corresponding to each intermediate node t i The calculation is as follows: During positive deposition: ; During negative deposition: ; Where 1≤ i ≤ n ; The secondary development program transmits the calculated parameters through the underlying interface. t i Map to the global coordinate system and output the 3D coordinates of each node.

[0013] Preferably, the accuracy verification of the trajectory data is specifically achieved by verifying the equidistant distribution dispersion of the node sequence: Any adjacent first in the sequence i The node and the first i The three-dimensional spatial distance of +1 node is d i The calculation formula is as follows: ; In the formula, , , For the first The three-dimensional coordinates of each node, , , For the first The three-dimensional coordinates of each node; In the data processing software, a set of distances between all adjacent nodes is calculated, and the maximum distance in this set is extracted. d max minimum distance d min Set tolerance as ε If the following conditions are met: ; Then it is determined that the adaptive equidistant sampling data of the three-dimensional deposition trajectory is accurate.

[0014] Preferably, the overall translation or scaling operation of the trajectory node coordinates is specifically implemented through a homogeneous coordinate transformation matrix: Initial three-dimensional coordinates of any trajectory node Its transformed coordinates Satisfy the following matrix operation formulas: ; In the formula, S x , S y , S z These are the scaling factors along the X, Y, and Z axes, respectively. Tx , T y , T z These represent the translation distances along the X, Y, and Z axes, respectively.

[0015] Preferably, the data parsing parameters in step five include coordinate system units, data separators, and trajectory direction vectors; the trajectory data is associated and bound one by one with the welding gun model, heat source model, and weld finite element mesh model in the simulation environment to achieve mapping and matching between the deposition path and the simulation model.

[0016] The present invention has the following beneficial effects: 1. Precisely matches the weld surface, resulting in high trajectory fit: This invention divides the overall additively formed entity into several independent weld beads. By using the reference plane sketch surface projection method, a three-dimensional deposition trajectory that fits the weld bead morphology is generated, which effectively ensures that the simulation fitting trajectory and the actual deposition path are highly consistent.

[0017] 2. Parametric automatic point selection significantly improves modeling efficiency: Based on a secondary development program of 3D modeling software, this invention can automatically and uniformly distribute points along the 3D deposition trajectory and completely preserve the beginning and end endpoints of the trajectory. At the same time, the program can automatically read the 3D coordinates of each node, support users to independently determine the deposition direction based on the endpoint coordinates, and automatically output standardized trajectory data files that are compatible with the target finite element simulation software specifications, significantly reducing the workload of simulation preprocessing and improving trajectory modeling efficiency.

[0018] 3. Strong data editability and reusability: Users can quickly open and verify exported trajectory data files using a table editor. Without any programming knowledge, they can perform secondary editing operations such as trajectory translation and scaling, sedimentation order reversal, trajectory segmentation, redundant node removal, and key area point encryption. Furthermore, the standardized trajectory data files possess excellent compatibility, supporting data exchange and reuse across multiple processes and software, effectively enhancing the flexibility and versatility of simulation modeling.

[0019] 4. Trajectory and mesh decoupling, adaptable to various simulation conditions: Compared to simulation software like SimufactWelding, which defines deposition trajectories by manually selecting mesh nodes, this invention eliminates the strong dependence of traditional trajectory fitting methods on finite element mesh nodes. It directly generates trajectory node sequences based on 3D geometric curves, solving the distortion problem caused by disordered mesh distribution. Furthermore, the trajectory fitting accuracy is independently controlled by the user-defined total number of nodes, unconstrained by mesh density. This ensures accurate trajectory fitting without excessive mesh refinement, providing excellent adaptability to complex additive manufacturing conditions such as irregular weld beads, disordered meshes, and multi-layer stacking. Attached Figure Description

[0020] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0021] Figure 1 This is a flowchart illustrating the overall process of sediment trajectory fitting in this invention.

[0022] Figure 2 This is an example of dividing the weld bead into independent weld beads for this invention.

[0023] Figure 3 This is an example of generating a three-dimensional deposition trajectory by projecting a planar trajectory sketch according to the present invention.

[0024] Figure 4 This is a case study of a secondary development program for the equidistant point acquisition and data output of the trajectory in this invention.

[0025] Figure 5 This is a schematic diagram of the human-computer interaction interface for running the secondary development program of this invention.

[0026] Figure 6 This is the configuration for importing the deposition trajectory into the target finite element simulation software for this invention.

[0027] Figure 7 This is a diagram showing the deposition trajectory fitting effect of the present invention in the target finite element simulation software.

[0028] Table 1 shows the trajectory data output by the secondary development program and preprocessing examples. Detailed Implementation

[0029] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0030] Example 1: like Figure 1As shown, this embodiment provides a parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment. This embodiment is a trajectory fitting implementation method for a single-pass additive deposition scenario on a planar substrate, specifically implemented using SolidWorks 3D modeling software, Excel data processing software, and SimufactWelding finite element simulation software in a collaborative manner. The specific steps are as follows: Step 1, Weld geometry model construction: such as Figure 2 As shown, in the SolidWorks 3D modeling environment, based on the actual weld bead forming width and penetration depth dimensions of additive manufacturing, multiple planes or curved surfaces are drawn as segmentation references. The overall additive manufacturing entity is divided through solid segmentation operations to obtain independent geometric models of individual weld beads.

[0031] Step 2, Generation of 3D Deposition Trajectory: (e.g.) Figure 3 As shown, in SolidWorks, select the system default reference plane, model geometry plane or custom reference plane that matches the deposition direction, draw a planar trajectory sketch that is consistent with the weld bead trend, and then use the projection curve function to project the planar trajectory sketch along the surface normal to the target weld bead surface or segmentation surface obtained in step one to generate a three-dimensional deposition trajectory that fits the real three-dimensional shape of the weld bead.

[0032] Step 3, Equidistant Point Selection and Trajectory Data Output: Run the self-developed VBA secondary development program in the SolidWorks environment. The program logic is as follows: Figure 4 As shown. The program takes uniformly spaced points along the 3D deposition trajectory and automatically exports a standardized CSV trajectory data file adapted to the SimufactWelding import specification. The specific execution logic of the VBA secondary development program is as follows: (1) Object recognition and parameter initialization: The program first obtains the currently active document, identifies the underlying curve object corresponding to the target 3D deposition trajectory selected by the user, and then obtains the total number of trajectory nodes set by the user through the human-computer interaction input box. n .

[0033] (2) Endpoint coordinate extraction and step size division: The program calls the underlying interface (API) to obtain the start and end parameters of the curve, calculates the initial three-dimensional coordinates of the two endpoints A and B, and then divides them into steps according to the given parameters. Figure 5 The total number of nodes set in pop-up window 1 shown n Divide the total parameter domain of the curve into equal parts n -1 parameter domain step size Δ t This ensures that the generated nodes are evenly distributed along the curve and forces points A and B to remain as the first and last nodes of the sequence.

[0034] (3) Coordinate feedback and deposition direction determination: The program converts the extracted coordinates of the two endpoints into millimeters and applies precision constraints, and then... Figure 5 Pop-up window 2 shows the user the three-dimensional coordinates of the two endpoints. Based on actual process requirements, the user can interactively specify point A or point B as the starting point of the deposition trajectory through the pop-up window. The program then determines the Boolean value of the travel vector direction as either forward or reverse.

[0035] (4) Automatic export of standardized data: Based on the determined direction of travel, the data is exported sequentially according to the step size Δ. t Solve for the parameters of each intermediate node t i The data is then mapped to the global coordinate system via the underlying interface to extract the corresponding 3D coordinates. Finally, the trajectory data file name is specified, and the node coordinate data is written line by line and saved as a CSV file according to the Simufact Welding data import format (as shown in Table 1, in the order of node number, activation status, X coordinate, Y coordinate, Z coordinate).

[0036] Table 1 Trajectory data output by the secondary development program

[0037] Step 4, Trajectory Data Verification and Preprocessing: As shown in Table 1, the CSV trajectory data file exported in Step 3 is directly read in the Excel environment. The data verification and secondary coordinate editing are completed using the table's formula calculation and batch processing functions. (1) Equidistant distribution dispersion verification: Calculate the set of three-dimensional distances between all adjacent nodes in batches using the spatial distance formula, and extract the maximum distance in the set. d max minimum distance d min If the difference between the two is less than the set tolerance... ε This allows us to verify the accuracy of adaptive equidistant point selection and prevent local trajectory fitting distortion.

[0038] (2) Coordinate Transformation and Editing: If the actual simulation requires table translation or scaling, preprocessing can be performed based on the homogeneous coordinate transformation matrix. The preset scaling factor and translation distance can be substituted into the table, and the initial three-dimensional coordinates of the node sequence can be batch-calculated using cell formulas. In addition, the deposition order can be changed or redundant nodes can be deleted directly in the table as needed.

[0039] Step 5, Trajectory Data Import and Configuration: Import the preprocessed CSV trajectory data file into the trajectory object of the SimufactWelding simulation environment. For example... Figure 6As shown, the coordinate system units, separator type, and other data parsing parameters and direction vectors are configured. Then, in the software, this trajectory data is mapped and bound to the set virtual welding gun, heat source model, and weld bead finite element mesh to complete the additive manufacturing deposition trajectory fitting. The final result is as follows. Figure 7 As shown.

[0040] Example 2: See Figure 1 This embodiment provides a specific application case of a parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment. This embodiment uses finite element modeling of arc additive manufacturing based on an arc substrate as an example for illustration. The specific data, operation process, and program code implementation are as follows: Step 1, Weld geometry model construction: such as Figure 2 As shown, in the SolidWorks 3D modeling environment, an arc-shaped substrate with dimensions of 300×200×10mm is first constructed, and an additive manufacturing entity with an irregular spatial curve, an overall cross-sectional width of 16mm, and a thickness of 8mm is drawn on its convex surface. According to the actual requirements of multi-layer, multi-pass arc additive manufacturing process, two spatial curved surfaces (section 1 and section 2) are drawn as trimming tools. The additive manufacturing entity is divided using SolidWorks' "splitting" feature, splitting it into four independent single weld bead geometric models stacked on two layers. The width and thickness of each weld bead are 8mm and 4mm, respectively. Subsequent steps will focus on weld bead 1 in the lower left corner as an example.

[0041] Step 2, 3D deposition trajectory mapping: (e.g.) Figure 3 As shown, in SolidWorks, the system default front reference plane matching the deposition trajectory is selected. With uniform weld bead width, the "equidistant" operation is directly applied, equidistantly spacing the weld bead edges by 4mm to obtain a planar trajectory sketch that is consistent with the dynamic direction of weld bead 1 and centered. Alternatively, a spline curve can be manually drawn and adjusted. Then, using SolidWorks' "projection curve" feature, this planar trajectory sketch is projected along the surface normal to... Figure 2 On the surface of weld bead 1 or the segmented section 2 shown, a spatial three-dimensional deposition trajectory that conforms to the true three-dimensional shape of weld bead 1 and is independent of the finite element mesh is generated.

[0042] Step 3, Equidistant Point Selection and Trajectory Data Output: In the SolidWorks environment, select the 3D deposition trajectory generated in Step 2 and run... Figure 4 The self-developed VBA secondary development program shown is, in such Figure 5 In the pop-up window shown (1), input the total number of trajectory nodes as 50. The program automatically performs adaptive and uniform point distribution along the curve, and forcibly preserves the inherent beginning and end points of the curve. Subsequently, through methods such as... Figure 5The pop-up window shown in Figure 2 displays the spatial coordinates of the two endpoints. After confirming point A as the starting point, the program automatically determines the travel vector, and then... Figure 5 In the pop-up window 3 shown, enter the file name "trajectory1", and the system will automatically export a standardized CSV trajectory data file conforming to the Simufact Welding specification to the specified local directory D:\Trajectory, as shown in Table 1. Columns A through E contain the node number, activation status, X coordinate, Y coordinate, and Z coordinate, respectively. The self-developed VBA secondary development program used in this step, which implements object recognition, adaptive equidistant point selection, deposition direction determination, and standardized data export, has the following core code: Option Explicit Sub Extract3DCurvePoints() [1] Object recognition and parameter initialization Dim swApp As SldWorks.SldWorks, swModel As SldWorks.ModelDoc2 Dim swSelMgr As SldWorks.SelectionMgr, swCurve As SldWorks.Curve Dim selObj As Object Dim numPoints As Long, i As Long Dim t As Double, startParam As Double, endParam As Double Dim isClosed As Boolean, isPeriodic As Boolean Dim point As Variant, ptA As Variant, ptB As Variant Dim strA As String, strB As String Dim reverseDir As Boolean, response As VbMsgBoxResult Dim fso As Object, csvFile As Object Dim savePath As String, fileName As String, fixedDir As String fixedDir = "D:\Trajectory" Set swApp = Application.SldWorks Set swModel = swApp.ActiveDoc Set swSelMgr = swModel.SelectionManager If swSelMgr.GetSelectedObjectCount2(-1) = 0 Then Exit Sub Set selObj = swSelMgr.GetSelectedObject6(1, -1) If TypeOf selObj Is SldWorks.Edge Then Set swCurve = selObj.GetCurve() ElseIf TypeOf selObj Is SldWorks.SketchSegment Then Set swCurve = selObj.GetCurve() Else MsgBox "Invalid selection", vbExclamation Exit Sub End If numPoints = Val(InputBox("Total number of trajectory nodes n:")) If numPoints<2 Then Exit Sub '[2] Extraction and evaluation of endpoint geometric parameters swCurve.GetEndParams startParam, endParam, isClosed, isPeriodic ptA = swCurve.Evaluate(startParam) ptB = swCurve.Evaluate(endParam) strA = "A("&Round(ptA(0) * 1000, 2)&","&_ Round(ptA(1) * 1000, 2)&","&_ Round(ptA(2) * 1000, 2)&")" strB = "B("&Round(ptB(0) * 1000, 2)&","&_ Round(ptB(1) * 1000, 2)&","&_ Round(ptB(2) * 1000, 2)&")" '[3] Interactive interface and motion vector direction determination response = MsgBox("Coordinates of the two endpoints of the curve (mm): "&vbCrLf&vbCrLf&_ "Endpoint"&strA&vbCrLf&_ "Endpoint"&strB&vbCrLf&vbCrLf&_ "

Yes (Y)

No (N)

[0043] Step 4, Trajectory Data Inspection and Preprocessing: As shown in Table 1, the CSV trajectory data file exported for weld 1 is directly read and opened in Excel. The data processing software's formula calculation function is used to complete data verification and secondary coordinate editing. (1) Validation of the dispersion of the equidistant distribution: In order to verify the accuracy of the VBA program in taking data at equidistant intervals, a new column of node spacing was added to Excel. d For the adjacent first... i The and the first i To calculate the spatial distance, enter the formula "=SQRT((C2-C1)^2+(D2-D1)^2+(E2-E1)^2)" in a cell (e.g., I2) and drag the fill bar down to the entire sequence. Then, calculate the maximum spacing by entering the formula "=MAX(I2:I50)-MIN(I2:I50)" in a cell (e.g., I1). d max and minimum spacing d min If the difference is less than the set tolerance... ε (e.g., 0.1mm), thus proving that no local distortion occurred during adaptive equidistant point selection. As calculated in this example... d max - d min =0.0635< ε =0.1, confirming the accuracy of the trajectory fitting.

[0044] (2) Coordinate Transformation and Editing: If the actual additive manufacturing process involves worktable translation or local scaling, preprocessing is performed based on the homogeneous coordinate transformation matrix. Add target coordinate columns X´, Y´, Z´ (e.g., columns F, G, and H) to Excel, and substitute the preset scaling factors (e.g., ...). S X =0.5、 S Y =0.5、 S Z =0.5) and translation distance (such as offset along the X-axis) T X=5), perform batch matrix operations using cell formulas. Specifically, in the target coordinate cells in the first row (such as F1, G1, H1), enter the algebraic calculation formulas: =0.5*C1+5.0, =0.5*D1+0, =0.5*E1+0 respectively, and drag down to fill. This will complete the translation and scaling calculations of the coordinates of all nodes in the sequence. In addition, redundant nodes at both ends or the deposition order can be directly deleted or rearranged in the table according to actual working conditions.

[0045] Step 5, Trajectory Data Import and Configuration: Import the verified and preprocessed CSV trajectory data file into the "Trajectory" object of the target finite element simulation software, Simufact Welding. Configure it in the software interface as follows: Figure 6 The data parsing parameters are shown, with the coordinate data unit set to millimeters (mm), the separator type set to commas, and the direction vector components on the X, Y, and Z axes set to -1.0, 0.0, and 0.0 respectively (this parameter is used to define the heat source attitude of the virtual welding torch). Subsequently, in the software's graphical user interface (GUI), this trajectory data is mapped and bound to the virtual welding torch, heat source model, and finite element mesh model of weld 1 in the simulation environment within the "process tree," thus completing the fitting of the deposition trajectory for weld 1. Figure 2 The fitting method for the remaining weld passes 2-4, as shown, is completely consistent with that for weld pass 1. The final result after fitting all weld passes is shown in [the image / description]. Figure 7 .

[0046] Based on the foregoing description, those skilled in the art can make various changes and modifications without departing from the inventive concept, all of which are within the scope of protection of this invention. Matters not covered in this invention are common knowledge to those skilled in the art.

Claims

1. A parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment, characterized in that, Includes the following steps: Step 1, Weld Geometric Model Construction: In 3D modeling software, the additive manufacturing solid model is divided according to the weld size parameters and deposition arrangement to obtain several independent single weld geometric models; Step 2, 3D deposition trajectory generation: In the 3D modeling software, select a reference plane to draw a planar trajectory sketch. Using the projection curve function, project the planar trajectory sketch onto the surface of the geometric model of a single weld bead to generate the corresponding 3D deposition trajectory. Step 3, Equidistant Point Selection and Trajectory Data Output: Obtain the three-dimensional deposition trajectory through the secondary development program of the three-dimensional modeling software, extract the coordinates of the two endpoints of the three-dimensional deposition trajectory, generate intermediate nodes evenly between the two endpoints according to the set total number of nodes n, extract the three-dimensional coordinates of all nodes in sequence according to the determined deposition direction, and export the adapted standardized trajectory data file according to the data interface specification of the target finite element simulation software. Step 4, Trajectory Data Verification and Preprocessing: The exported standardized trajectory data file is verified using data processing software, and / or subjected to secondary editing preprocessing such as coordinate calculations and order adjustments; Step 5, trajectory import and model binding: Import the preprocessed standardized trajectory data file into the target finite element simulation software, configure the data parsing parameters, and associate the trajectory data with the welding gun model, heat source model and mesh model to complete the additive manufacturing deposition trajectory fitting.

2. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 1, characterized in that: Step one specifically includes: In 3D modeling software, based on the actual weld bead forming width, penetration depth, and arrangement of segmented, partitioned, or staggered deposition in additive manufacturing, the additive manufacturing solid model is split into multiple single weld bead geometric models through solid segmentation operations.

3. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 1, characterized in that: Step two specifically includes: In 3D modeling software, select the system default reference plane, model geometric plane, or custom reference plane as the reference plane, draw a planar trajectory sketch that matches the weld bead trend, and project the planar trajectory sketch onto the target weld bead surface or segmented section through the projection curve function to generate a 3D deposition trajectory that fits the weld bead surface morphology.

4. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 1, characterized in that: Step three specifically includes: A secondary development program is run in the 3D modeling software to obtain the 3D deposition trajectory. The secondary development program follows the topological orientation of the 3D deposition trajectory, based on the total number of nodes set by the user. n Uniformly distributed points along the three-dimensional depositional trajectory: using the inherent two ends of the three-dimensional depositional trajectory as the beginning and end endpoints of the node sequence, points are uniformly generated between the two endpoints. n - Two intermediate nodes are used to ensure that the node sequence completely covers the beginning and end of the three-dimensional deposition trajectory. The secondary development program automatically extracts the three-dimensional coordinates of all nodes, determines the writing order of the nodes according to the deposition direction, and finally exports a standardized trajectory data file that conforms to the import specifications of the target finite element simulation software.

5. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 1, characterized in that, Step four specifically includes: The preprocessing software reads the generated standardized trajectory data file, verifies the accuracy of the trajectory data according to the preset tolerance conditions, and edits and adjusts it as needed. The preprocessing includes performing overall translation or scaling operations on the trajectory node coordinates, changing the deposition order, and deleting redundant nodes.

6. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 1, characterized in that, Step five specifically includes: Import the standardized trajectory data file that has been verified and preprocessed into the target finite element simulation software, configure the data parsing parameters and trajectory direction attributes, and associate the trajectory data with the heat source model and mesh model in the simulation environment to complete the deposition trajectory fitting.

7. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 4, characterized in that, The secondary development program is based on the total number of nodes set by the user. n Parametric solution for the three-dimensional deposition trajectory: Let the initial parameters of the extracted three-dimensional deposition trajectory be... t s The termination parameter is t e The step size Δ of the discrete parameter domain of the nodes t satisfy: ; Based on the currently determined direction of sedimentary travel, the first i Parameters corresponding to each intermediate node t i The calculation is as follows: During positive deposition: ; During negative deposition: ; Where 1≤ i ≤ n ; The secondary development program transmits the calculated parameters through the underlying interface. t i Map to the global coordinate system and output the 3D coordinates of each node.

8. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 5, characterized in that, The accuracy of the trajectory data is specifically verified by checking the equidistant distribution dispersion of the node sequence: Any adjacent first in the sequence i The node and the first i The three-dimensional spatial distance of +1 node is d i The calculation formula is as follows: ; In the formula, , , For the first The three-dimensional coordinates of each node, , , For the first The three-dimensional coordinates of each node; In the data processing software, a set of distances between all adjacent nodes is calculated, and the maximum distance in this set is extracted. d max minimum distance d min Set tolerance as ε If the following conditions are met: ; This indicates that the adaptive equidistant sampling data of the three-dimensional deposition trajectory is accurate.

9. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 5, characterized in that, The overall translation or scaling operation of the trajectory node coordinates is specifically implemented through a homogeneous coordinate transformation matrix: Initial three-dimensional coordinates of any trajectory node Its transformed coordinates Satisfy the following matrix operation formulas: ; In the formula, S x , S y , S z These are the scaling factors along the X, Y, and Z axes, respectively. T x , T y , T z These represent the translation distances along the X, Y, and Z axes, respectively.

10. The parametric additive manufacturing deposition trajectory fitting method in a multi-software collaborative simulation environment according to claim 1, characterized in that, In step five, the data parsing parameters include coordinate system units, data separators, and trajectory direction vectors. The trajectory data is then associated and bound one by one with the welding torch model, heat source model, and weld bead finite element mesh model in the simulation environment to achieve mapping and matching between the deposition path and the simulation model.