An adaptive mold structure air path component automatic generation method and device
By constructing a parametric model and using the difference function relationship, the length parameter of the air circuit component is automatically driven, which solves the problems of low efficiency and error caused by changes in mold structure in traditional design, and realizes efficient and accurate automatic generation of air circuit components.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHUHAI GREE PRECISION MOLD CO LTD
- Filing Date
- 2026-01-08
- Publication Date
- 2026-04-17
AI Technical Summary
Traditional pneumatic circuit component designs cannot automatically adapt to changes in mold structure, resulting in low design efficiency and susceptibility to human error.
A parameterized model containing a variable-length drive segment is constructed. The coordinate difference function relationship between the mold reference datum and the positioning points of the air circuit component is used to automatically drive the length parameter of the drive segment. The automatic generation of the air circuit component is achieved by combining conditional suppression expressions and script programs.
The adaptive design of the gas path components was achieved, reducing manual operation, improving design efficiency and accuracy, and ensuring the manufacturability and assembly precision of the model.
Smart Images

Figure CN121480117B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer-aided design technology, and in particular to a method and apparatus for automatically generating air circuit components for adaptive mold structures. Background Technology
[0002] In modern mold design, the layout and modeling of the pneumatic system is a crucial step in the design process. Traditional pneumatic component design typically relies on designers manually drawing and adjusting parts in 3D software. Currently, most pneumatic component models are static models with fixed dimensions, whose geometric features lack correlation with the mold's assembly environment.
[0003] This existing design approach has the following main problems: When the mold structure changes, such as a change in the thickness of the mold template (which will alter the height reference of the mold surface), or when the installation position of the pneumatic components needs to be adjusted, the original pneumatic component model cannot automatically adapt to these changes. Designers must manually measure the new distances and modify the length dimensions of the pneumatic model one by one, or remodel the model. This manual modification process is not only tedious and time-consuming, leading to low design efficiency, but also, in the repeated modifications of complex molds, it is highly susceptible to inaccurate pneumatic connection lengths due to human calculation or operational errors, thus causing design quality problems.
[0004] Therefore, it is necessary to improve the existing gas path component design technology to overcome the shortcomings of the existing technology. Summary of the Invention
[0005] To overcome the problems existing in related technologies, the purpose of this invention is to provide an automatic generation method for air circuit components of adaptive mold structures. This method automatically generates air circuit components for adaptive mold structures by constructing a parameterized model containing a variable-length drive segment and using the difference function relationship between the coordinates of the mold reference datum and the coordinates of the air circuit component positioning point to automatically drive the length parameter of the drive segment, thereby overcoming the problem in the prior art that the air circuit components need to be manually modified to adapt to mold changes.
[0006] A method for automatically generating air passage components for adaptive mold structures, comprising:
[0007] Construct a parameterized model of the gas path component, which includes a drive segment with variable length;
[0008] Establish a functional relationship between the length parameter of the drive segment and the coordinates of the mold reference datum and the positioning point of the air circuit component. The functional relationship limits the length parameter of the drive segment to the difference between the coordinates of the mold reference datum and the positioning point of the air circuit component.
[0009] Obtain the coordinates of the mold reference datum and the coordinates of the air circuit assembly positioning point;
[0010] Update the length parameter of the driver segment according to the functional relationship.
[0011] Furthermore, the construction of the gas path component parameterized model includes a variable-length drive segment, comprising:
[0012] Multiple gas path units are pre-defined in the parameterized model of the gas path component;
[0013] Define the specification parameters used to characterize the target number of gas path units;
[0014] The number of activated pneumatic circuit units is controlled according to the values of the specified parameters.
[0015] In existing multi-cavity or multi-hot-nozzle mold air path designs, designers typically need to manually copy and paste air path component models or manually delete redundant components to match the actual number of air collection blocks. This repetitive operation is not only tedious but also prone to quantity omissions or positional deviations. This invention further defines multiple air path units in the model and specifies their parameters, directly controlling the number of air path units activated using these parameters. This design gives the air path components "specification self-adaptation" capabilities. When the specifications of the air collection blocks need to be changed (e.g., from 2 groups to 5 groups), designers only need to modify one numerical parameter, and the system can automatically call the preset resources to complete the quantity adjustment. This not only greatly reduces the time spent on repetitive modeling and improves the design efficiency for multi-specification molds but also ensures the consistency and accuracy of the air path unit arrangement, avoiding positioning errors caused by manual array operations.
[0016] Furthermore, controlling the number of activated pneumatic circuit units based on the values of the specification parameters includes:
[0017] Set a conditional suppression expression for each of the gas path units;
[0018] In the conditional suppression expression, a logical comparison relationship is established between the specification parameters and the sequence identifier of the current gas path unit;
[0019] The activation or suppression state of the current gas path unit is determined based on the calculation result of the logical comparison relationship, so as to control the number of activated gas path units.
[0020] In traditional 3D CAD parametric design, although model states can be switched via configuration tables, this often requires manually creating a large number of configuration sets beforehand, or manually clicking on the feature tree to hide / show specific components. This operation relies on manual judgment and is prone to errors. This invention further defines a conditional suppression expression for each gas path unit and establishes a logical comparison relationship between specification parameters and sequence identifiers. Through this mathematical logic (such as if statements), the system can automatically calculate at the underlying level whether each unit should be in an "active" or "suppressed" state, without manual intervention in the model tree. This "logic-driven" approach enables instantaneous switching of model forms, ensures the absolute logical correctness of quantity control, prevents incomplete or redundant display of gas path components due to human error, and greatly improves the model's intelligence level.
[0021] Furthermore, obtaining the coordinates of the mold reference datum and the coordinates of the air path assembly positioning point includes:
[0022] Call the secondary development interface of computer-aided design software or run a preset script program;
[0023] Automatically read the geometric attribute information of the target template surface in the mold assembly environment, and extract the values of a specific direction from the geometric attribute information as the coordinates of the mold reference datum;
[0024] The insertion point attribute information of the parametric model of the air circuit component in the mold assembly environment is read, and the value of the specific direction is extracted from the insertion point attribute information as the coordinates of the positioning point of the air circuit component.
[0025] In conventional parametric modeling processes, obtaining mold environmental parameters typically relies on designers manually measuring the mold surface height using measuring tools, recording the values, and then manually inputting them into the parameter table of the pneumatic circuit component. This process carries the dual risks of measurement errors and data entry mistakes, and it also interrupts the design process. This invention further limits the process to calling software secondary development interfaces or scripts to automatically read the geometric properties of the mold surface and the component insertion point properties and extract the values. By directly capturing the coordinate values of environmental data through the program interface, it completely replaces the manual measurement and data entry steps. This not only achieves millisecond-level accurate data transmission, eliminating the possibility of human reading and typing errors, but also enables the pneumatic circuit component to complete data interaction the instant it is inserted into the mold, achieving true rapid updates and a high degree of automation.
[0026] Furthermore, the constructed parametric model of the gas path component also includes a fixed segment with constant geometric dimensions;
[0027] One end of the drive segment is connected to the fixed segment, and the other end of the drive segment extends or retracts relative to the fixed segment according to the updated length parameter.
[0028] In typical elastic or extensible model designs, directly scaling the entire model in one direction can deform the dimensions of connected standard interfaces (such as threaded holes and sealing grooves), failing to meet assembly accuracy requirements. This invention further defines the model as including a fixed segment with constant geometric dimensions, while the driving segment extends or retracts relative to the fixed segment. This segmented design physically decouples the "adaptive function" from the "precision-maintaining function," ensuring that the interface (fixed segment) connecting the pneumatic components to the mold always maintains standard dimensions, while only the length of the connecting pipe changes. This achieves both adaptive adaptation to changes in mold plate thickness and ensures that the manufacturing and assembly characteristics of the pneumatic components remain undistorted, guaranteeing the manufacturability of the design model and the sealing of the assembly.
[0029] Furthermore, the construction of the gas path component parameterized model includes a variable-length drive segment, comprising:
[0030] Establish a relative coordinate system and draw a sketch of the gas path on the relative coordinate system;
[0031] Generate a pipeline solid model based on the gas path sketch;
[0032] A sealing ring model or a screw plug model is configured at the port position of the pipeline entity model to form a parametric model of the gas path component.
[0033] In early gas path schematic designs, designers often only drew simple lines or cylinders to represent the gas path, and then had to add standard parts such as sealing rings and plugs separately, resulting in fragmented work and easy omissions. This invention further defines the process by establishing a relative coordinate system to draw sketches and generate pipes, and then configuring sealing ring or plug models at the ports. This integrated modeling method generates not just geometric flow channels, but a component package containing complete engineering information. This allows for the automatic generation of the gas path model in one step, eliminating the need for subsequent addition of standard parts, directly meeting the requirements for drawing and bill of materials statistics, further shortening the detailed design phase cycle and improving the completeness of mold design.
[0034] The second objective of this invention is to provide an automatic generation device for air circuit components of an adaptive mold structure, comprising:
[0035] The model building module is used to build a parameterized model of the gas path component, which includes a drive segment with variable length.
[0036] The association definition module is used to establish a functional relationship between the length parameter of the drive segment and the coordinates of the mold reference datum and the positioning point of the air circuit component. The functional relationship limits the length parameter of the drive segment to the difference between the coordinates of the mold reference datum and the positioning point of the air circuit component.
[0037] The data acquisition module is used to acquire the coordinates of the mold reference datum and the coordinates of the air circuit component positioning point;
[0038] An adaptive update module is used to update the length parameter of the driving segment according to the functional relationship.
[0039] In existing technologies, design methods are often scattered across designers' personal experience or fragmented operational steps, lacking systematic tool support. This invention proposes an automated generation device that includes functional modules such as model building, correlation definition, data acquisition, and adaptive updating. By encapsulating the methodological steps into independent functional modules, this technical solution can be developed and deployed as a software plugin or standalone tool. This not only facilitates the standardization, promotion, and reuse of the technology, enabling even junior engineers without advanced parametric modeling knowledge to achieve high-quality gas path designs, but also significantly reduces training costs and software maintenance difficulties for enterprises.
[0040] A third objective of this invention is to provide 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 the automatic generation method of the air circuit component of the adaptive mold structure as described above.
[0041] The fourth objective of this invention is to provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for automatically generating air circuit components of an adaptive mold structure as described above.
[0042] The fifth objective of this invention is to provide a computer program product, including a computer program that, when executed by a processor, implements the automatic generation method for the air circuit components of the adaptive mold structure as described above.
[0043] The beneficial effects of this invention are as follows:
[0044] This invention provides an automatic generation method for air circuit components in adaptive mold structures. This method constructs a parametric model of the air circuit component, which includes a variable-length drive segment. A functional relationship is established between the length parameter of the drive segment and the coordinates of the mold reference datum and the coordinates of the air circuit component positioning point. This functional relationship limits the length parameter to the difference between the coordinates of the mold reference datum and the coordinates of the air circuit component positioning point. When the air circuit component is applied to a specific design, the method obtains the coordinates of the mold reference datum and the coordinates of the air circuit component positioning point, and can directly update the length parameter of the drive segment according to the functional relationship. Through this technical solution, a dynamic correlation is established between the geometric dimensions of the air circuit component and the mold assembly environment using mathematical logic. When the mold template thickness changes, causing a change in the coordinates of the mold reference datum, or when the component installation position changes, causing a change in the coordinates of the air circuit component positioning point, the difference between the two automatically changes, thereby directly driving the update of the length parameter of the drive segment through the functional relationship. This allows the pneumatic circuit component model to automatically expand and contract to adapt to different mold specifications and installation environments, eliminating the need for designers to perform manual calculations and redrawing, thus significantly reducing repetitive work and improving the efficiency of mold design and the accuracy of the model. Attached Figure Description
[0045] Figure 1 This is a schematic diagram of the automatic generation method for the air circuit components of the adaptive mold structure provided in this application;
[0046] Figure 2 This is a schematic diagram of the key variable dimensions of a set of gas path components provided in an embodiment of the present invention;
[0047] Figure 3 This is a schematic diagram of the partition analysis of the gas path component model provided in the embodiment of the present invention;
[0048] Figure 4 This is a three-dimensional structural diagram of the assembly of the gas path components and gas collection blocks in the maximum specification state provided in the embodiment of the present invention (seven groups);
[0049] Figure 5 This is a three-dimensional structural diagram of five gas path components that are automatically updated after being driven by specification parameters, as provided in this embodiment of the invention. Detailed Implementation
[0050] Preferred embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While preferred embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
[0051] Example 1
[0052] like Figures 1 to 5 As shown, this embodiment provides a method for automatically generating air circuit components for an adaptive mold structure. This method includes:
[0053] Construct a parameterized model of the gas path component, which includes a drive segment with variable length;
[0054] Establish a functional relationship between the length parameter of the drive segment and the coordinates of the mold reference datum and the positioning point of the air circuit component. The functional relationship limits the length parameter of the drive segment to the difference between the coordinates of the mold reference datum and the positioning point of the air circuit component.
[0055] Obtain the coordinates of the mold reference datum and the coordinates of the air circuit assembly positioning point;
[0056] Update the length parameter of the driver segment according to the functional relationship.
[0057] More specifically, the method in this embodiment is implemented based on a computer-aided design (CAD) software environment, and is achieved through the following logical steps:
[0058] Step 1: Construct a flexible parametric model
[0059] Designers need to build a basic model of the pneumatic circuit component in CAD software. Unlike traditional rigid static models, the model built in this embodiment is designed to be variable in logical structure. Specifically, when building the three-dimensional geometric model of the pneumatic circuit component, its overall length is not fixed by a specific number (such as 100mm), but one or more segments are defined as drive segments.
[0060] In a physical sense, this drive segment typically corresponds to the part of the air duct that passes through the mold template and needs to expand and contract with changes in template thickness. For example, in an air collection block assembly connecting the fixed mold base plate and the flow channel plate, the connecting pipe section passing through the fixed mold plate in the middle is designated as the drive segment. In modeling operations, this segment geometry can be generated using commands such as extrusion, sweep, or pipe, and its length characteristic can be associated with a specific parameter variable, giving the segment geometry the ability to change its length at any time.
[0061] Step 2: Establish a mathematical connection between environmental perception and self-localization.
[0062] In order for the aforementioned driving segment to intelligently know how long it should be, this embodiment adopts a difference-driven mathematical logic.
[0063] Designers define or pre-set two key coordinate parameter concepts within the model: one is the mold reference datum, and the other is the positioning of the air circuit components.
[0064] A mold reference datum refers to the location of the geometric feature in the mold assembly environment that determines the endpoint of the airflow component's extension. For example, in a hot runner mold, this is typically the bottom or top surface of a mold plate (such as a fixed mold plate). The height (coordinate value) of this surface directly reflects the thickness variation of the mold plate.
[0065] The positioning point of the air circuit component refers to the reference position of the air circuit component itself when it is inserted into the mold, which is usually the height coordinate of the component mounting surface.
[0066] A functional relationship is established, strictly limiting the length parameter of the drive segment to the difference between the two coordinate values mentioned above. The underlying logic is: the length of the pipe equals the height of the target surface minus the height of the starting point. Through this functional binding, a logical chain is formed within the model: whenever the environment changes (the height of the target surface changes), or the installation position changes (the height of the starting point changes), the difference will change, and the length of the drive segment will change accordingly.
[0067] Step 3: Automatic Data Acquisition and Adaptive Update
[0068] When the constructed air circuit component model is called by the designer and placed into the specific mold assembly environment, the system (through built-in software logic or scripts) performs the action of acquiring data.
[0069] The system will automatically read the actual coordinate values of the mold reference datum in the current mold environment (for example, identify that the bottom Z-axis height of the current fixed mold plate is 200mm), and at the same time read the actual coordinate values of the placement point of the air circuit component (for example, the component is installed on a plane with a height of 50mm).
[0070] Subsequently, based on the pre-established functional relationship (200mm - 50mm), the system automatically calculated the difference to be 150mm and assigned this value to the length parameter of the drive section in real time. The CAD software regenerated the geometric model based on the new parameter value. The effect that the designer saw on the screen was that the air circuit assembly automatically extended or shortened, precisely connecting to the target position, achieving self-adaptation to the mold structure.
[0071] This method can be implemented in environments such as Siemens NX (UG), Dassault CATIA, SolidWorks, Creo (Pro / E), or ZW3D. As long as the software has parametric modeling capabilities and API / script interfaces for obtaining object properties, this method can be used.
[0072] Regarding the geometry of the drive section, a straight pipe configuration can be used, where the drive section is a standard cylindrical straight pipe, suitable for gas paths that vertically traverse the template. Alternatively, the drive section can be a bend or bellows generated along a specific path (spline curve). In this case, the functional relationship can drive the endpoint coordinates or control point positions of the path curve, thereby changing the overall span of the pipe. When the gas path assembly is very complex, containing multiple sections requiring expansion and contraction, this method can be applied multiple times, defining multiple drive sections in the same model, each corresponding to a different reference datum, to achieve multi-level expansion and contraction.
[0073] Regarding coordinates and direction, the Z-axis (height) can be used, which is the most typical application scenario for adapting to template thickness. Alternatively, the X / Y axes (planar position) can be used, suitable for adaptive planar dimensions. For example, if an air path assembly needs to extend laterally to reach the mold edge, the "mold reference datum" can be the side of the mold, and the "functional relationship" calculates the coordinate difference between the X and Y axes, thereby driving the assembly to lengthen or shorten laterally. For air paths on inclined guide pillars or sliders, the reference datum and positioning points can be values based on a local coordinate system, with the driving segment extending and contracting along the inclined vector.
[0074] The reference datum can be a surface datum, such as the bottom, top, or parting surface of the template. It can also be a line / point datum, such as a construction line or a specific reference point (e.g., the center of a positioning ring). The reference datum does not necessarily have to be a solid surface; it can also be a virtual plane preset in the design environment, used to control the uniform cutoff height of the pneumatic components.
[0075] Example 2
[0076] like Figures 1 to 5 As shown, this embodiment provides an automatic generation method for air path components of adaptive mold structures. This embodiment further elaborates on the previous embodiment. The core problem mainly solved by this embodiment is: when facing mold design requirements with different numbers of cavities (such as two cavities in one mold or four cavities in one mold) or different numbers of hot nozzles, how to enable the air path component model to automatically increase or decrease the number of air path units by modifying a simple parameter, thereby achieving "one-click switching" of specifications and avoiding the inefficiency and error risk caused by manual arraying or deletion operations.
[0077] Furthermore, in this embodiment, the construction of the gas path component parameterized model includes a variable-length drive segment, comprising:
[0078] Multiple gas path units are pre-defined in the parameterized model of the gas path component;
[0079] Define the specification parameters used to characterize the target number of gas path units;
[0080] The number of activated pneumatic circuit units is controlled according to the values of the specified parameters.
[0081] The method of controlling the activation quantity of the plurality of gas path units according to the numerical values of the specification parameters includes:
[0082] Set a conditional suppression expression for each of the gas path units;
[0083] In the conditional suppression expression, a logical comparison relationship is established between the specification parameters and the sequence identifier of the current gas path unit;
[0084] The activation or suppression state of the current gas path unit is determined based on the calculation result of the logical comparison relationship, so as to control the number of activated gas path units.
[0085] More specifically, the method includes the following steps:
[0086] Step 1: Construct a fully prefabricated parametric array model
[0087] Unlike the linear thinking of traditional design that requires drawing several sets at a time, this embodiment adopts a reverse thinking strategy of "maximizing preset".
[0088] Designers first determine the maximum number of possible specifications for this type of gas manifold gas path assembly (e.g., this standard part series supports a maximum of 7 gas paths). In the CAD software's modeling environment, designers first construct the first set of standard gas path units (including piping, interfaces, and necessary sealing features). Then, using the software's array or move-and-copy functions, the remaining 6 gas path units are generated based on the first set, along the arrangement direction (usually the X-axis or Y-axis).
[0089] At this point, the model contains 7 independent and structurally identical airflow units (labeled Unit_1 to Unit_7 respectively). Regardless of how many units the final mold requires, the initial state of the model includes all possible scenarios.
[0090] Step 2: Define the specification parameters representing the quantity of the target.
[0091] To control the retention or removal of the above 7 sets of gas path units, a specific specification parameter needs to be defined in the model's global parameter table.
[0092] This parameter is typically set as an integer variable, such as named TYPE or Circuit_Qty. The value of this parameter not only represents a number, but also logically represents the target number of air passage units expected to be used in the current mold design. For example, when TYPE = 4, it means that the designer wants a component containing 4 sets of air passages.
[0093] Step 3: Implanting Logic Gating for Conditional Inhibition
[0094] In order for the model to automatically determine which elements to display and which to hide based on the value of TYPE, designers need to use the suppression function of CAD software in combination with conditional expressions.
[0095] Specifically, an independent conditional suppression expression is set for each gas path unit in groups 2 through 7. This expression establishes a logical comparison relationship: the sequence identifier of the current unit (i.e., which group it is in) is compared with the specification parameter (TYPE).
[0096] The logic settings are as follows (taking 1 representing suppress / hide and 0 representing activate / show in CAD software as an example):
[0097] For Unit 3 (the third group of air circuit units):
[0098] Set the suppression expression as a logical conditional expression. The logical meaning is: if the value of TYPE is less than 3, the result is 1 (hide); otherwise, the result is 0 (show).
[0099] Alternatively, we can use inclusion logic: if (TYPE == 3 || TYPE == 4 || ... || TYPE == 7) then 0 (Show) else 1 (Hide).
[0100] For Unit 4 (the fourth air path unit):
[0101] The logic is set as follows: if the value of TYPE is less than 4, the result is 1 (hidden); otherwise, the result is 0 (shown).
[0102] And so on, until the 7th group of air circuit units.
[0103] In this way, each gas path unit has its own logic gating, and it will only appear on the screen when the signal emitted by the global TYPE meets its existence conditions.
[0104] Step 4: Dynamic Response and Verification of Specifications
[0105] When designers are designing specific molds, they only need to enter the required specification values in the parameter panel.
[0106] For example, the designer changes the value of TYPE from the default 7 to 4. The system immediately executes background logic operations:
[0107] If the logical judgment result of Unit_1 to Unit_4 is "activated", Unit_1 to Unit_4 will remain displayed.
[0108] The logical judgment result for Unit_5 to Unit_7 is "suppressed", and Unit_5 to Unit_7 disappear from the model view instantly (they are suspended by the system and do not participate in subsequent assembly and engineering drawing projection).
[0109] Ultimately, a standard four-group gas path component model was obtained, which still retains the ability to revert to a seven-group model, achieving a high degree of specification adaptability.
[0110] In addition to the implementation methods mentioned above, this embodiment can also be implemented in the following ways:
[0111] The above logic is a forward retention, meaning that the input number is displayed. Similarly, a reverse rejection logic can be implemented, or non-contiguous gas path combinations can be controlled based on a specific binary mask (e.g., only groups 1, 3, and 5 are displayed).
[0112] Regarding the array configuration, a linear array can be used, suitable for long, narrow gas collection blocks, with the gas passages arranged in a row. A circular array can also be used, suitable for circular or rotary molds, with the gas passage units distributed in a circle around the center. In this case, TYPE controls the number of units distributed around the circumference, and the logic principle is exactly the same as described above.
[0113] Regarding the suppression function, in some lightweight 3D software that does not support feature suppression, visual hiding can be achieved by controlling visibility attributes or by forcibly driving the geometric dimensions of redundant units (such as pipe diameter) to 0 or a minimum value. This method of controlling the existence state through parameters is also part of the logical control concept of this embodiment.
[0114] Example 3
[0115] like Figures 1 to 5 As shown, this embodiment provides an automatic generation method for air circuit components of adaptive mold structures. This embodiment further elaborates on the previous embodiment. The core problem mainly solved by this embodiment is: in industrial mold design, how to ensure that the generated model is not just a simple schematic line, but a solid model containing complete manufacturing details (such as sealing structure), and how to completely eliminate the links of manual measurement and data entry to achieve true unattended parameter-driven operation.
[0116] Furthermore, in this embodiment, obtaining the coordinates of the mold reference datum and the coordinates of the air path assembly positioning point includes:
[0117] Call the secondary development interface of computer-aided design software or run a preset script program;
[0118] Automatically read the geometric attribute information of the target template surface in the mold assembly environment, and extract the values of a specific direction from the geometric attribute information as the coordinates of the mold reference datum;
[0119] The insertion point attribute information of the parametric model of the air circuit component in the mold assembly environment is read, and the value of the specific direction is extracted from the insertion point attribute information as the coordinates of the positioning point of the air circuit component.
[0120] The constructed parametric model of the gas path component also includes a fixed segment with constant geometry;
[0121] One end of the drive segment is connected to the fixed segment, and the other end of the drive segment extends or retracts relative to the fixed segment according to the updated length parameter.
[0122] The construction of the gas path component parameterized model includes a variable-length drive segment, comprising:
[0123] Establish a relative coordinate system and draw a sketch of the gas path on the relative coordinate system;
[0124] Generate a pipeline solid model based on the gas path sketch;
[0125] A sealing ring model or a screw plug model is configured at the port position of the pipeline entity model to form a parametric model of the gas path component.
[0126] More specifically, the method in this embodiment combines the advanced modeling capabilities of CAD software with API (Application Programming Interface) technology, and is implemented through the following logical steps:
[0127] Step 1: Construct a high-fidelity parametric model for engineering applications.
[0128] To meet the requirements for drawing and manufacturing, the model cannot remain at the level of geometric representation; it must include complete engineering details.
[0129] A relative coordinate system is established at the insertion point of the air path component. All sketches and feature constructions are based on this relative coordinate system, not an absolute coordinate system. This ensures that the internal structural relationships of the component remain unchanged regardless of where it is moved in the mold.
[0130] Draw a 2D sketch of the gas path on a specific plane of the relative coordinate system, and apply parametric constraints to the line segment lengths. Then, using the pipe or sweep command of the CAD software, generate a cylindrical solid model with the actual pipe diameter and wall thickness along the sketch path.
[0131] At the generated pipe entity port location, standard O-ring seal models (for end face sealing) and tapered plug models (for process port plugging) are automatically configured by adding components or Boolean operations. The positions of these accessories are geometrically related to the pipe port and automatically follow the changes in pipe length, eliminating the need for manual assembly.
[0132] Step 2: Establish the segmented structural logic of separating static and dynamic elements.
[0133] To balance adaptability to changes and interface accuracy, this embodiment adopts a segmented design strategy in terms of physical structure.
[0134] Define a fixed section (G section), which is typically an air passage structure embedded within the runner plate or gas collector body. Its geometry (length, diameter, interface position) is set to constant values, independent of the thickness of the external mold plate. This is to ensure that the connection interface between the air passage assembly and core functional components (such as the hot runner system) remains precise, reliable, and unaffected by deformation.
[0135] Define the drive section (S section), which is a transition pipe connecting the fixed section and the external interface of the mold. Its starting end is rigidly connected to the fixed section (or is part of an integrated structure), while its other end (the extension end) is free, and its length is entirely controlled by the difference function in the aforementioned embodiment.
[0136] By fixing the segment's anchor position and allowing the drive segment to adapt to changing topologies, it is ensured that the critical sealing parts of the model will not be distorted or misaligned when the model undergoes significant expansion and contraction.
[0137] Step 3: Script-based environment awareness and data injection
[0138] Designers no longer need to manually check the mold plate thickness; instead, they can complete the data interaction by running a pre-defined script (such as a DLL plugin written in Python, C#, or C++).
[0139] When the pneumatic circuit assembly is dragged into the mold assembly environment, the following automated process is triggered:
[0140] The script automatically traverses the geometric objects in the current mold assembly and locks the target surface as the mold reference datum according to preset naming rules (such as finding the face named "CAVITY_PLATE_BOTTOM") or geometric features (such as finding the largest horizontal bottom surface).
[0141] The script directly calls the underlying API of the CAD software (such as AskFaceProps or GetEntityCoordinates) to read the Z-axis value of the target surface in the absolute coordinate system (i.e., the mold reference datum coordinates).
[0142] At the same time, the script reads the Z-axis value of the current insertion point of the pneumatic component in the assembly coordinate system (i.e., the coordinates of the pneumatic component positioning point).
[0143] The script directly writes the two extracted coordinate values into the pre-reserved parameter variables within the gas path component. At this moment, the function expression inside the model immediately takes effect, and the drive segment instantly jumps to the correct length. The entire process is completed within milliseconds, and the designer only needs to perform an "insert" action.
[0144] In addition to the implementation methods mentioned above, this embodiment can also be implemented in the following ways:
[0145] In addition to identifying the target surface by name, a more intelligent ray-based detection method can be used. This involves emitting a virtual ray upwards from the insertion point of the gas path assembly, calculating the position of the first surface where the ray intersects the mold entity, and using this position as a reference. This method eliminates the need for standardized mold template naming and offers greater versatility.
[0146] Depending on different industry standards (such as DME, HASCO, MISUMI), the accessories can be various sizes of connectors, flanges, or quick-connect fittings. The model can establish a standard parts library, automatically matching the correct size of seals and plugs based on the flow channel diameter parameters, rather than being limited to specific models.
[0147] The stationary section does not necessarily have to be a straight pipe; it can also be a complex gas collection block entity from which the driving section extends. In this case, the stationary section is a cavity entity, while the driving section consists of multiple pipes, and the dynamic-static separation principle of this embodiment applies to both.
[0148] Example 4
[0149] This embodiment provides an automatic generation method for air circuit components of adaptive mold structures. This embodiment further elaborates on the previous embodiment. This embodiment combines general-purpose 3D design software (UG NX) and its secondary development tools to realize the whole process from underlying logic construction to final model generation.
[0150] like Figure 1 The diagram shown is a schematic of the overall process of the automatic generation method of the air circuit component of the adaptive mold structure described in this embodiment. It mainly includes four core steps: building a model, establishing functional relationships, obtaining coordinates, and updating parameters.
[0151] The method for digitally driving the integrated gas path component model of the gas collector block described in this embodiment is implemented in the following specific steps:
[0152] Step S1: Establish the underlying logic function expression
[0153] In this embodiment, the secondary development tools of UG NX are first used to establish logical variables for sensing the mold environment in the background of the gas collection block standard parts library.
[0154] Step S1.1: Obtain the height of the mold base surface:
[0155] Create a function expression with the variable name TCP_off in the background.
[0156] Write specific crawling code<UM_MOLDBASE> ::TCP_off. This code points to and reads the height data of a specific template base surface (specifically, the bottom surface of the fixed mold plate in this embodiment) in the mold assembly environment.
[0157] Next, in the UG front-end assembly interface, create a corresponding variable expression with the same name, TCP_off, and preset its initial value to 50 (unit: mm). This variable will serve as the interface for receiving mold plate thickness information.
[0158] Step S1.2: Obtain the component insertion position:
[0159] Using the UG secondary development tool, a script named LAY_POINT_POSITION was written and run in the background. The function of this script is to determine the "point positioning" information of the model during assembly.
[0160] Establish a calculation expression named top_pos_z, defined as "the Z-coordinate of the insertion point". This variable is used to dynamically obtain the specific position of the gas path assembly in the direction perpendicular to the horizontal plane of the template.
[0161] Similarly, in the UG front-end assembly interface, create the corresponding variable expression top_pos_z and set its initial value to 0.
[0162] Step S2: Draw and generate the solid model that needs to be driven.
[0163] After laying the groundwork for the underlying variables, we begin to construct the geometric entities of the gas path components.
[0164] Step S2.1: Establish relative coordinates and sketch:
[0165] Establish a relative coordinate system on the reference coordinate system.
[0166] Create a sketch on this relative coordinate system and draw two-dimensional line segments representing the direction of the gas path.
[0167] Partition definition: Logically divide the gas path model into two parts, such as... Figure 3 As shown, the model is divided into different functional areas: G in the figure is marked as the fixed part, T is the transition section, and S is the extension section.
[0168] Part G (Fixed Part): The air passage is located within the fixed mold plate, and the dimensions of this part remain fixed.
[0169] S-section (driving section): The part located within another template that moves with the thickness of the template.
[0170] Dimensional constraints: Apply dimensional constraints to the sketch line segments, defining the variable L as the vertical distance from the absolute coordinate origin of the component to the bottom surface of the fixed mold plate. The length of the S section will be directly driven by the change in the value of L.
[0171] Step S2.2: Generate entity and attachment configuration:
[0172] Using UG's pipe command, select the above two-dimensional line segment to generate a multi-segment cylindrical three-dimensional model (i.e., the gas pipe body).
[0173] Retrieve the sealing ring and tapered plug models from the standard parts library, and assemble or generate them at the port positions of the pipe body to complete this gas path. For example... Figure 2 and Figure 3 As shown, a set of key variable dimensions for the air path are defined. Here, L is the distance from the absolute coordinates of the component to the bottom surface of the fixed mold plate, and H is the length parameter of the drive section S (e.g., ...). Figure 2 (As shown). Since the dimensions of the connecting parts in the pneumatic assembly, except for the drive section, are constant, the length parameter H is defined as the difference between the distance L and a fixed constant. This fixed constant is an inherent value preset based on the geometric dimensions of the fixed structures in the pneumatic assembly (such as the height of the fixed section, the offset of the connector, or the assembly clearance). Thus, the S section (i.e., the drive section) becomes a dynamic part that expands and contracts with changes in the value of L. At this time, the G section is the stationary part, and the T section (including the S section) is the overall drive part.
[0174] Step S3: Digitally drive the key dimensions of the model.
[0175] To achieve automatic variation of the air passage length with the mold plate thickness, it is necessary to establish a relationship between the variables in the first step and the model dimensions in the second step.
[0176] Step S3.1, Individual Display and Variable Reference:
[0177] Display the pneumatic circuit component model separately, add an expression named TCP_off referencing the TCP_off value established in the first step; add an expression named top_pos_z referencing the top_pos_z value established in the first step. Through this referencing, the internal parameters of the pneumatic circuit component are linked to the overall assembly environment parameters.
[0178] S3.2 Establish the difference-driven formula:
[0179] Analysis of the geometric relationships shows that the only control dimension that needs to be changed in this set of gas path models is L.
[0180] In arithmetic terms, the value of L is equal to the height of the mold base surface (TCP_off) minus the height of the component insertion point (top_pos_z).
[0181] Replace the value of the dimension variable L in the model with the expression: TCP_off - top_pos_z.
[0182] At this point, the L value is no longer a static number, but a dynamic value that is associated with TCP_off and top_pos_z in real time.
[0183] Step S4: Perform normalization-driven processing on the key features of the model.
[0184] To accommodate different gas collection block specifications (such as 2 to 7 groups), the number of gas path components is parametrically controlled.
[0185] Step S4.1, Array Replication:
[0186] Using the Move Component command, move and copy the first set of gas path models in the positive X direction to generate a total of 7 identical gas path components (the standard gas collection block in this example supports a maximum of 7 sets). Then, apply positional constraints to each component with respect to the absolute coordinate system, such as... Figure 4 The diagram shown is a schematic of the model at its maximum size, illustrating the assembly state of the seven sets of air path components and the corresponding air inlet and outlet of each air collection block.
[0187] Step S4.2, Define specification variables:
[0188] Define the variable TYPE as the specification parameter of the gas collection block. The value of TYPE directly represents the number of gas collection blocks (for example, TYPE=7 represents seven gas collection blocks).
[0189] Step S4.3: Set conditional suppression logic:
[0190] Since there are at least two groups of gas collecting blocks, groups 1 and 2 are normally open by default. Suppression conditions must be set for groups 3 through 7. Select each group of gas paths, apply the suppression command, and enter the following expression to control its state:
[0191] Group 3 air path: The expression is if(TYPE==3||TYPE==4||TYPE==5||TYPE==6||TYPE==7) 1else 0.
[0192] Group 4 air path: The expression is if(TYPE==4||TYPE==5||TYPE==6||TYPE==7) 1 else 0.
[0193] Group 5 air path: The expression is if(TYPE==5||TYPE==6||TYPE==7) 1 else 0.
[0194] Group 6 air path: The expression is if(TYPE==6||TYPE==7) 1 else 0.
[0195] Group 7 air path: The expression is if(TYPE==7) 1 else 0.
[0196] (Note: The logical meaning of this expression is that if TYPE contains the current group number, it returns 1 to confirm its existence or activation status; otherwise, it returns 0 to suppress / hide it. The specific states represented by 1 and 0 depend on the Boolean logic definition of the specific software version. The core is to achieve the effect of displaying when needed and hiding when not needed.)
[0197] Step S5: Verify whether the model is controlled and driven.
[0198] Step S5.1, Quantity Verification:
[0199] In the final assembly interface, change the value of the variable TYPE to 5. At this point, the model will automatically update, the 6th and 7th air paths will be automatically hidden, and only the 5 air collection block air path components will remain in the view, corresponding one-to-one with the air inlet and outlet of the air collection block, as shown below. Figure 5 As shown, when the specifications change, the model is automatically updated to a five-group gas collection block model with five corresponding gas path components, and the redundant components have been automatically suppressed.
[0200] Step S5.2, Dimension Verification:
[0201] Change the value of TCP_off (simulating changes in the thickness of the mold's fixed platen). At this point, it is observed that the S section in the air circuit assembly dynamically moves and expands / contracts, maintaining the L value as desired. This relationship enables one-step intelligent positioning.
[0202] Example 5
[0203] This embodiment provides an automatic generation device for air circuit components of adaptive mold structures. The device is based on a computer software architecture and can be installed as a plug-in in 3D design software or run as a standalone application on electronic computing devices (such as CAD workstations).
[0204] The device mainly includes:
[0205] The model building module generates parametric geometric models of gas path components in a virtual 3D space. Its internal logic divides the model into fixed segments with constant geometry and driving segments with variable geometry, and supports the management of array models containing multiple gas path units.
[0206] The associated definition module is equipped with a logic operation unit, which is used to establish a function mapping relationship between the length parameter of the drive segment and the external environment parameters (mold reference coordinates, air circuit component positioning point coordinates) in the system background, specifically locking the length parameter to the coordinate difference between the two.
[0207] The data acquisition module integrates a software secondary development interface (API) or script parser to automatically scan the current mold assembly environment, identify and extract the coordinate values of the target template surface (reference plane) and the coordinate values of the current component insertion point.
[0208] The adaptive update module is connected to both the data acquisition module and the association definition module. It receives coordinate data acquired in real time, performs calculations based on preset functional relationships, and feeds the calculation results back to the model building module to drive the 3D model to update its geometry in real time to adapt to the current mold structure.
[0209] Example 6
[0210] This embodiment provides an electronic device, including 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 the automatic generation method of the air circuit component of the adaptive mold structure as described in the above embodiment.
[0211] Example 7
[0212] This embodiment provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the automatic generation method for air circuit components of the adaptive mold structure as described in the above embodiment.
[0213] Example 8
[0214] This embodiment provides a computer program product, including a computer program that, when executed by a processor, implements the automatic generation method for air circuit components of an adaptive mold structure as described in the above embodiment.
[0215] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of this application. Any specific values in all examples shown and discussed herein should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters in the following figures denote similar items; therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0216] Furthermore, it should be noted that the use of terms such as "first" and "second" is merely for ease of distinction, and unless otherwise stated, these terms have no special meaning and therefore should not be construed as limiting the scope of protection of this application.
[0217] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for automatically generating a gas path assembly of an adaptive mold structure, characterized by, include: Construct a parameterized model of the gas path component, which includes a drive segment with variable length; Establish a functional relationship between the length parameter of the drive segment and the coordinates of the mold reference datum and the positioning point of the air circuit component. The functional relationship limits the length parameter of the drive segment to the difference between the coordinates of the mold reference datum and the positioning point of the air circuit component. Obtain the coordinates of the mold reference datum and the coordinates of the air circuit assembly positioning point; Update the length parameter of the driving segment according to the functional relationship; The construction of the gas path component parameterized model includes a variable-length drive segment, comprising: Multiple gas path units are pre-defined in the parameterized model of the gas path component; Define the specification parameters used to characterize the target number of gas path units; The number of activated pneumatic circuit units is controlled according to the values of the specified parameters. The method of controlling the activation quantity of the plurality of gas path units according to the numerical values of the specification parameters includes: Set a conditional suppression expression for each of the gas path units; In the conditional suppression expression, a logical comparison relationship is established between the specification parameters and the sequence identifier of the current gas path unit; The activation or suppression state of the current gas path unit is determined based on the calculation result of the logical comparison relationship, so as to control the number of activated gas path units.
2. The method for automatically generating air circuit components for adaptive mold structures according to claim 1, characterized in that: The process of obtaining the coordinates of the mold reference datum and the coordinates of the air circuit assembly positioning point includes: Call the secondary development interface of computer-aided design software or run a preset script program; Automatically read the geometric attribute information of the target template surface in the mold assembly environment, and extract the values of a specific direction from the geometric attribute information as the coordinates of the mold reference datum; The insertion point attribute information of the parametric model of the air circuit component in the mold assembly environment is read, and the value of the specific direction is extracted from the insertion point attribute information as the coordinates of the positioning point of the air circuit component.
3. The method for automatically generating air circuit components for adaptive mold structures according to claim 1, characterized in that: The constructed parametric model of the gas path component also includes a fixed segment with constant geometry; One end of the drive segment is connected to the fixed segment, and the other end of the drive segment extends or retracts relative to the fixed segment according to the updated length parameter.
4. The method for automatically generating air circuit components for adaptive mold structures according to claim 1, characterized in that: The construction of the gas path component parameterized model includes a variable-length drive segment, comprising: Establish a relative coordinate system and draw a sketch of the gas path on the relative coordinate system; Generate a pipeline solid model based on the gas path sketch; A sealing ring model or a screw plug model is configured at the port position of the pipeline entity model to form a parametric model of the gas path component.
5. An automatic generation device for air circuit components of an adaptive mold structure, characterized in that, include: The model building module is used to build a parameterized model of the gas path component, which includes a drive segment with variable length. The association definition module is used to establish a functional relationship between the length parameter of the drive segment and the coordinates of the mold reference datum and the positioning point of the air circuit component. The functional relationship limits the length parameter of the drive segment to the difference between the coordinates of the mold reference datum and the positioning point of the air circuit component. The data acquisition module is used to acquire the coordinates of the mold reference datum and the coordinates of the air circuit component positioning point; An adaptive update module is used to update the length parameter of the drive segment according to the functional relationship; The construction of the gas path component parameterized model includes a variable-length drive segment, comprising: Multiple gas path units are pre-defined in the parameterized model of the gas path component; Define the specification parameters used to characterize the target number of gas path units; The number of activated pneumatic circuit units is controlled according to the values of the specified parameters. The step of controlling the number of activated pneumatic circuit units based on the numerical values of the specification parameters includes: Set a conditional suppression expression for each of the gas path units; In the conditional suppression expression, a logical comparison relationship is established between the specification parameters and the sequence identifier of the current gas path unit; The activation or suppression state of the current gas path unit is determined based on the calculation result of the logical comparison relationship, so as to control the number of activated gas path units.
6. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the automatic generation method for the air circuit assembly of the adaptive mold structure as described in any one of claims 1 to 4.
7. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by the processor, it implements the automatic generation method for the air circuit components of the adaptive mold structure as described in any one of claims 1 to 4.
8. A computer program product comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the automatic generation method for the air circuit components of the adaptive mold structure as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Design method of air path pipeline of stamping die
CN110640027A
Anchor point parameter driving-based component generation method, modeling method and related product
CN121031091A