Three-dimensional design and CNC machining system supporting parameterized three-dimensional modeling whole product profile automatic calculation

By using parametric modeling and profile database mapping, combined with multi-material combinations and virtual workstation simulation, the problems of insufficient parametric capabilities and failure to distinguish material differences in existing technologies have been solved, achieving efficient, reliable consistency between 3D design and CNC machining.

CN121808879APending Publication Date: 2026-04-07HAOSTCRESS SOFTWARE (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-23
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In the existing design process, insufficient parametric capabilities result in the inability to automatically update processing data and bill of materials when adjusting the model. Material differences are not distinguished, leading to processing deviations. The lack of virtual simulation verification increases rework costs, and discrepancies between documents frequently occur when design modifications are made.

Method used

The system employs a parametric modeling module mapped to a profile database to generate process templates and perform multi-material combinations and process solutions. By combining structural verification and virtual workstation simulation, a consistency check system is introduced to ensure data consistency, generate differentiated process data, and output CNC machining code.

Benefits of technology

It enables the synchronous updating of design modifications and process data, avoids inconsistent document versions, ensures the accuracy and consistency of multi-material processing, reduces trial and error costs and rework risks, and improves manufacturing reliability and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121808879A_ABST
    Figure CN121808879A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of computer aided design and manufacturing, and discloses a three-dimensional design and CNC machining system supporting parameterized three-dimensional modeling whole product profile automatic calculation. The system comprises a parametric modeling module, a profile database, a process database, a multi-material combination and process solving mechanism, a structure verification and virtual station component, a consistency verification system, a list generation and output assembly and a CNC linkage execution module. The parametric modeling module generates a three-dimensional geometric model based on boundary conditions and construction rules, and is linked with a profile database to generate a process template; the multi-material combination and process solving mechanism corrects processing parameters according to different material attributes; the structure verification and virtual station part carries out simulation verification on workpiece postures and equipment machining; the consistency checking system compares the model, the process data and the list; the list generation and output component generates files required by different roles; and the CNC linkage execution module converts the process data into a numerical control machining program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer-aided design and manufacturing technology, specifically a 3D design and CNC machining system that supports parametric 3D modeling and automatic calculation of materials of all types. Background Technology

[0002] With the widespread application of building curtain walls, sunrooms and doors and windows, the importance of 3D modeling and CNC machining technology in engineering design and manufacturing is becoming increasingly prominent. The existing design process mostly relies on general CAD software or a single modeling tool, first generating a geometric model, and then manually exporting construction drawings and processing files. This method is inefficient in projects with a wide variety of components, complex structures or frequent later modifications.

[0003] In existing technologies, insufficient parametric capabilities are a prominent problem. When the model size or opening position is adjusted, the processing data and bill of materials often cannot be updated automatically and need to be regenerated manually. This can easily lead to inconsistencies between different versions of the files and increase the risk of errors.

[0004] In addition, existing systems mostly use uniform process parameters and fail to differentiate between materials such as aluminum alloy, solid wood, wood-aluminum composite and plastic steel in terms of thermal expansion coefficient, cutting performance and assembly tolerance. If the same cutting allowance and feed parameters are used for components of different materials, it often results in machining deviation and insufficient assembly accuracy, which affects the quality of the final product.

[0005] Meanwhile, the lack of a proper virtual simulation verification process before machining means that interference between tool path, workpiece posture and fixture arrangement can usually only be discovered during actual production, increasing rework and trial-and-error costs. Furthermore, the lack of a consistency verification mechanism between the model, process documents and bill of materials means that when the design is modified, discrepancies may easily arise between the drawings, blanking schemes and CNC machining code, affecting the reliability of production. Summary of the Invention

[0006] The purpose of this invention is to provide a 3D design and CNC machining system that supports parametric 3D modeling and automatic calculation of all types of materials, in order to solve the problems mentioned in the background art.

[0007] To achieve the above objectives, the present invention provides the following technical solution: a 3D design and CNC machining system that supports parametric 3D modeling and automatic calculation of all types of materials, the system comprising: The parametric modeling module is used to generate 3D models of curtain walls, sunrooms and doors and windows based on building boundary conditions and construction rules. It updates geometric data and connection relationships in real time when the user adjusts the size or inserts components. The updated data is then transferred to the profile database and process mapping section. The profile database and process database are used to match the model data with the profile cross-section and node rules in the database, and generate process templates containing processing features such as sawing, drilling, grooving and milling. The process templates are transmitted as input to the multi-material combination and process solving mechanism. The multi-material combination and process solving mechanism is used to add cutting allowances and assembly tolerances based on the processing parameters of aluminum alloy, solid wood, wood-aluminum composite and plastic steel materials on the basis of the process template, and output the corrected process data to the structural verification and virtual workstation component. The structural verification and virtual workstation component is used to calculate the workpiece's posture under the fixture, suction cup, and positioning pin based on the process data, and to simulate the tool trajectory and workpiece movement in a three-dimensional virtual environment. If interference or unreachability is detected, the correction information is fed back to the multi-material combination and process solving mechanism, and the verified data is provided to the consistency verification system. The consistency verification system is used to compare the bill of materials, cutting plan, processing path, 3D processing drawing and rendering drawing for consistency when the model or process parameters change. If there are differences, the data flow is stopped and a difference report is generated. If they are consistent, the verification result is transmitted to the bill of materials generation and output component and the CNC linkage execution module. The bill of quantities generation and output component is used to generate material purchase orders, optimized cutting lists and glass lists containing dimensions and prices after receiving the consistency verification results. It also outputs corresponding drawings and documents according to the different roles of manufacturers, contractors and customers. The bill of quantities results are synchronously transmitted to the CNC linkage execution module for comparison. The CNC linkage execution module is used to convert the process template and machining path into a CNC machining program after the virtual station and consistency check have passed. During the generation process, the tool path and fixture scheme are modified according to the virtual station results, and finally the machining code that can directly drive the CNC equipment is output.

[0008] Preferably, the parametric modeling module includes a boundary condition input component, a construction rule processing component, and a geometry update component; The boundary condition input component receives parameters of the building's wall boundaries, roof slope, and opening locations. These boundary condition parameters are input in the form of a numerical form, and the fields include at least coordinate points, tilt angles, and opening dimensions. The construction rule processing component generates a geometric frame based on preset profile splicing rules. The splicing rules are stored in a database, and each record includes splicing angle, cross-sectional dimensions and node number. When the geometry update component detects that the user has adjusted the model size or inserted door and window components, it triggers a recalculation. This recalculation is based on the geometric constraint equations to obtain the length, angle, and connection method of each component. The component length L can be calculated using the following formula: In the formula, : The length of the component; : The three-dimensional coordinates of a node at one end of the component; : The three-dimensional coordinates of the node at the other end of the component; ; In the formula, The included angle between two adjacent components; : The direction vector of the first component; : The direction vector of the second component; The dot product of two vectors; , : These are the magnitudes of the two vectors, respectively; Using the above formula, after adjusting the model size or inserting new components, the updated component length and splicing angle can be automatically calculated to ensure that the generated geometric data conforms to the splicing rules and node constraints. The updated geometric data is automatically transferred to the profile database and process database for subsequent process template generation and processing path planning. Unlike traditional methods that rely on exporting static geometric files, this module achieves synchronous updates of design modifications and process data through the linkage of parameter input, rule processing, and constraint calculation, thereby improving the applicability and stability of the system.

[0009] Preferably, the profile database and process database include profile cross-section matching components, node rule matching components, and process template generation components; After receiving geometric data, the profile section matching component compares it with standard profile section parameters stored in the database. These parameters include section width, height, wall thickness, and hole distribution. To avoid insufficient disclosure of the matching process, a dimensional error calculation formula is used for determination. ; In the formula: : The cross-sectional width of the profile to be matched : The cross-sectional height of the profile to be matched; The wall thickness of the profile to be matched; The cross-sectional width of a standard profile in the database. The cross-sectional height of a standard profile in the database; The wall thickness of a standard profile in the database; : The dimensional error value between the profile to be matched and the standard profile; when Less than the preset threshold If the standard profile is not found, the system will determine that the standard profile is a match result; if none of the candidate profiles are found, the system will return to the parametric modeling module for adjustment. The node rule matching component checks the splicing method and angle of adjacent profiles based on the preset connection rules in the database. The splicing angle is calculated using the following formula: ; In the formula: The actual included angle between adjacent profiles in the model generated by the parametric modeling module; The nominal angle or center angle corresponding to the connection method in the database; : The deviation between the model angle and the rule angle.

[0010] when When the splicing method satisfies the node rules, it is determined that the splicing method meets the node rules. This specifies the allowable angular tolerance for this connection method; if it is not met, an out-of-tolerance message is output, prompting a return to the upstream module for correction. When the profile cross-section matching and node rule verification are both passed, the process template generation component generates a process template containing machining features such as cutting, drilling, grooving and milling based on the matched profile cross-section and node connection information. The process template is stored in the form of a parameterized file, and the fields include at least machining feature type, tool diameter, tool length, available tool size, depth of cut and feed rate, machining priority, machining macro commands, etc. The template is then passed to the multi-material combination and process solving mechanism for further process correction and path planning. Through the above design, this device can not only ensure that the geometric data is consistent with the standard profiles in the database, but also achieve precise verification within the range of splicing angles and node strengths, thereby generating a process-level template that matches the actual profile characteristics. Compared with the traditional method of directly exporting processing data from geometry, this device realizes the intelligent generation of process information based on data matching and rule verification, improving the accuracy and reliability of subsequent processing.

[0011] Preferably, the multi-material combination and process solving mechanism includes a material property calling component, a process compensation calculation component, and a process data generation component; After receiving the process template, the material property calling component calls the corresponding processing parameter tables for aluminum alloy, solid wood, wood-aluminum composite and plastic steel respectively. The parameter tables include at least the cutting coefficient, surface treatment parameters, finger joint parameters, tool cutting parameters, processing priority, processing macro commands, etc. Cutting allowances can be obtained by adding specific machining deviations to the original dimensions, while assembly tolerance ranges are determined based on the tolerance bandwidth set according to material assembly and design requirements. The process data generation component overlays the aforementioned correction parameters onto the process template. The overlay method involves offset correction based on the original machining command value. For example, a compensation amount is added to the hole diameter value of the drilling command, or a correction amount is subtracted from the length value of the cutting path, thereby generating process data containing differentiated machining information and transmitting it to the structure verification and virtual workstation component. Through the above methods, our organization can generate differentiated process data for different materials under the same three-dimensional model, avoiding the errors caused by the use of uniform processing parameters in traditional systems, and ensuring the accuracy and adaptability of multi-material components under actual processing and assembly conditions.

[0012] Preferably, the structure verification and virtual workstation component includes an attitude calculation component, a trajectory simulation component, an interference processing component, and a data output component; The attitude calculation component calculates the workpiece's orientation using a three-dimensional coordinate matrix transformation method, based on the fixture position, suction cup distribution, and locating pin constraints. Specifically, let the workpiece's point in the global coordinate system be... The corresponding point in the local coordinate system of the fixture is The relationship between the two is as follows: ; In the formula: The coordinates of the workpiece point in the global coordinate system; The coordinates of the workpiece point in the local coordinate system of the fixture; : A homogeneous transformation matrix consisting of a rotation matrix and a translation vector, used to describe the posture of the workpiece under the constraint of the fixture; The trajectory simulation component performs tool trajectory calculations based on the above posture in a virtual environment, and outputs the three-dimensional coordinate sequence of the tool center point and the path curve. Interference processing components are used to detect the spatial relationship between the tool, workpiece, and fixture, when the tool center point... With a certain point on the workpiece surface Shortest distance: ; Less than the preset threshold When this occurs, it is determined that interference has occurred; In the formula, The coordinates of the tool path points, Let these be the coordinates of a point on the workpiece surface. The shortest distance between the two. To ensure the minimum allowable safety clearance, when interference or unreachable path is detected, the system generates correction parameters and feeds them back to the multi-material combination and process solving mechanism. When no interference is detected in the trajectory simulation, the data output component outputs the verified data to the consistency verification system. In this way, the component can detect attitude and interference problems in the virtual workstation stage and form a closed-loop correction. Compared with the conventional method of discovering problems only in the actual processing stage, this greatly reduces the trial and error cost and improves manufacturing reliability.

[0013] Preferably, the consistency verification system includes a data acquisition component, a comparison and calculation component, a difference processing component, and a result output component; After the model dimensions or process parameters are updated, the data acquisition component obtains the latest versions of the bill of materials, cutting plan, processing path, 3D processing drawing and rendering. The comparison and calculation unit compares the above data item by item, using a combination of numerical threshold comparison and hash verification. The difference in geometric dimensions can be calculated using the following formula: ; in: Size difference value Updated size data; Size data from the previous version.

[0014] when At that time, it is determined that the geometric dimensions remain consistent; File consistency is verified using a hash function, that is: ; In the formula: The hash value of the file. Hash functions (such as standard algorithms like MD5 and SHA-256); The content of the document being compared; If the hash values ​​of the two versions of the file are the same, then the file content is considered to be identical; When the discrepancy processing component detects data inconsistency, it stops data transmission and generates a discrepancy report. The report includes the changed object, the discrepancy value, and a list of affected files. When the result output component determines that the data is consistent, it transmits the verification result to the list generation and output component and the CNC linkage execution module to ensure that subsequent processing steps are based on unified data. Through the above methods, this system not only performs accuracy comparison at the geometric dimension level, but also performs hash consistency verification at the file level, forming a closed loop of full-link verification, avoiding the shortcomings of traditional systems that only output lists in one direction and ignore version differences.

[0015] Preferably, the list generation and output component includes a list generation component, a role configuration component, and an output processing component; After receiving the consistency verification confirmation data, the bill of quantities generation component generates material purchase orders, optimized cutting lists, glass lists, assembly lists, etc., which include dimension annotations and prices, based on the component's geometric dimensions. The role configuration component organizes the same bill of quantities content into manufacturer version, contractor version, and customer version according to the preset user role configuration. The manufacturer version includes processing dimensions and tool information, as well as various material requisition forms and optimization forms, etc. The contractor version includes installation dimensions and connection methods, and the customer version includes a quotation for appearance dimensions and glass specifications, as well as 3D renderings, etc. The output processing unit exports the generated list and drawing files in PDF and DXF formats, and after output, it synchronously transmits the list results to the CNC linkage execution module for comparison.

[0016] Preferably, the CNC linkage execution module includes a program generation component, a path correction component, and a code output component; After the program-generated component outputs a pass signal from both the virtual workstation component and the consistency verification system, it receives the confirmed process template and machining path, and generates a machining instruction set that conforms to the ISO6983 (G code) standard or specific interface instructions from different CNC equipment manufacturers, such as XML format, ASCII format, USTD format, P2K2 format, or NCX format. The instruction set includes material placement, machining surface, tool number, feed rate, spindle speed, and path coordinate points, etc. The path correction component calls the virtual station verification results during the generation process to correct the tool path and fixture arrangement, avoiding potential interference; The code output component converts the modified instruction set into CNC code that can be directly executed by the CNC machine tool or the machine tool-specified data interface. Before outputting, it performs a consistency comparison with the list data transmitted by the list generation and output components to confirm that the toolpath matches the blanking list before outputting.

[0017] The beneficial effects of this invention are as follows: 1. This invention establishes a direct connection between the parametric modeling module and the profile database mapping device. The input boundary conditions and geometric rules automatically generate a three-dimensional framework during the modeling process, and trigger geometric updates when dimensions or components are adjusted. The updated data does not require manual reprocessing but is directly transmitted to the database for comparison of profile cross-sections and node rules, thereby obtaining a process template consistent with structural constraints. This process keeps the modeling results and process data synchronized in the same process, reduces inconsistencies caused by file version differences, and provides reliable input for subsequent process correction and virtual simulation.

[0018] 2. This invention introduces a multi-material combination and process solving mechanism after the process template is generated. By calling the processing parameters of aluminum alloy, solid wood, wood-aluminum composite and plastic steel, the cutting allowance and assembly tolerance are calculated, and the correction value is superimposed on the original process template. The corrected data not only reflects the differences in material characteristics, but also provides data input that conforms to the actual material behavior for virtual station verification. In this way, the process path and assembly accuracy can be reasonably controlled under different material conditions, avoiding the deviation caused by uniform parameter processing, and ensuring the consistency between process data and downstream simulation links.

[0019] 3. This invention simulates workpiece posture and tool trajectory through structural verification and virtual workstation components. When interference or unreachable conditions are detected, correction parameters are generated and returned to the upstream process solver for recalculation. Through this cyclical mechanism, multiple rounds of verification can be completed before actual processing. Subsequently, the consistency verification system compares the model, process documents, bill of materials, and CNC program. If the data is consistent, it is passed to the bill of materials generation and CNC execution module. While outputting the purchase order, cutting order, and glass order, the bill of materials generation unit maintains the correspondence between the document version and the CNC program, ensuring that the design, process, and manufacturing form a closed loop, reducing the risk of rework caused by data discrepancies. Attached Figure Description

[0020] Figure 1 This is a flowchart of a 3D design and CNC machining system that supports parametric 3D modeling and automatic calculation of all types of materials according to the present invention. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] like Figure 1As shown, this embodiment of the invention provides a 3D design and CNC machining system that supports parametric 3D modeling and automatic calculation of all types of materials. The system includes: The parametric modeling module is used to generate 3D models of curtain walls, sunrooms and doors and windows based on building boundary conditions and construction rules. It updates geometric data and connection relationships in real time when the user adjusts the size or inserts components. The updated data is then transferred to the profile database and process mapping section. The profile database and process database are used to match the model data with the profile cross-section and node rules in the database, and generate process templates containing processing features such as cutting, drilling, grooving and milling. The process templates are sent as input to the multi-material combination and process solving mechanism. The multi-material combination and process solving mechanism is used to add cutting allowances and assembly tolerances based on the processing parameters of aluminum alloy, solid wood, wood-aluminum composite and plastic steel on the basis of the process template, and output the corrected process data to the structural verification and virtual workstation components. The structural verification and virtual workstation component is used to calculate the workpiece's posture under the fixture, suction cup, and locating pin based on process data, and to simulate the tool path and workpiece movement in a three-dimensional virtual environment. If interference or unreachability is detected, the correction information is fed back to the multi-material combination and process solving mechanism, while the verified data is provided to the consistency verification system. The consistency verification system is used to compare the bill of materials, cutting plan, processing path, 3D processing drawing and rendering drawing for consistency when the model or process parameters change. If there are differences, the data flow is stopped and a difference report is generated. If they are consistent, the verification result is transmitted to the bill of materials generation and output component and the CNC linkage execution module. The bill of quantities generation and output component is used to generate material purchase orders, optimized cutting lists and glass lists containing dimensions and prices after receiving the consistency verification results. It also outputs corresponding drawings and documents according to the different roles of manufacturers, contractors and customers. The bill of quantities results are synchronously transmitted to the CNC linkage execution module for comparison. The CNC linkage execution module is used to convert the process template and machining path into a CNC machining program after the virtual station and consistency check have passed. During the generation process, the tool path and fixture scheme are modified according to the virtual station results, and finally the machining code that can directly drive the CNC equipment is output.

[0023] The parametric modeling module includes a boundary condition input component, a construction rule processing component, and a geometry update component. The boundary condition input component receives parameters for the building's wall boundaries, roof slope, and opening locations. The boundary condition parameters are entered in the form of a numerical form, and the fields must include at least the coordinates, tilt angle, and opening size. The construction rule processing component generates a geometric frame based on preset profile splicing rules. The splicing rules are stored in a database, and each record includes splicing angle, cross-sectional dimensions and node number. When the geometry update component detects that the user has adjusted the model size or inserted door and window components, it triggers a recalculation. This recalculation is based on the geometric constraint equations to obtain the length, angle, and connection method of each component. The component length L can be calculated using the following formula: In the formula, : The length of the component; : The three-dimensional coordinates of a node at one end of the component; : The three-dimensional coordinates of the node at the other end of the component; ; In the formula, The included angle between two adjacent components; : The direction vector of the first component; : The direction vector of the second component; The dot product of two vectors; , : These are the magnitudes of the two vectors, respectively; Using the above formula, after adjusting the model size or inserting new components, the updated component length and splicing angle can be automatically calculated to ensure that the generated geometric data conforms to the splicing rules and node constraints. The updated geometric data is automatically transferred to the profile database and process database for subsequent process template generation and processing path planning. Unlike traditional methods that rely on exporting static geometric files, this module achieves synchronous updates of design modifications and process data through the linkage of parameter input, rule processing, and constraint calculation, thereby improving the applicability and stability of the system.

[0024] The profile database and process database include profile cross-section matching components, node rule matching components, and process template generation components; After receiving geometric data, the profile section matching component compares it with the standard profile section parameters stored in the database. These parameters include section width, height, wall thickness, and hole distribution. To avoid insufficient disclosure of the matching process, a dimensional error calculation formula is used for determination. ; In the formula: : The cross-sectional width of the profile to be matched : The cross-sectional height of the profile to be matched; The wall thickness of the profile to be matched; The cross-sectional width of a standard profile in the database. The cross-sectional height of a standard profile in the database; The wall thickness of a standard profile in the database; : The dimensional error value between the profile to be matched and the standard profile; when Less than the preset threshold If the standard profile is not found, the system will determine that the standard profile is a match result; if none of the candidate profiles are found, the system will return to the parametric modeling module for adjustment. The node rule matching component checks the splicing method and angle of adjacent profiles based on the preset connection rules in the database. The splicing angle is calculated using the following formula: ; In the formula: The actual included angle between adjacent profiles in the model generated by the parametric modeling module; The nominal angle or center angle corresponding to the connection method in the database; : The deviation between the model angle and the rule angle.

[0025] when When the splicing method satisfies the node rules, it is determined that the splicing method meets the node rules. This specifies the allowable angular tolerance for this connection method; if it is not met, an out-of-tolerance message is output, prompting a return to the upstream module for correction. Once the profile section matching and node rule verification are both passed, the process template generation component generates a process template containing machining features such as sawing, drilling, grooving, and milling based on the matched profile section and node connection information. The process template is stored in the form of a parametric file, and the fields include at least the machining feature type, tool diameter, tool length, available tool size, depth of cut and feed rate, machining priority, and machining macro commands. The template is then passed to the multi-material combination and process solving mechanism for further process modification and path planning. Through the above design, this device can not only ensure that the geometric data is consistent with the standard profiles in the database, but also achieve precise verification within the range of splicing angles and node strengths, thereby generating a process-level template that matches the actual profile characteristics. Compared with the traditional method of directly exporting processing data from geometry, this device realizes the intelligent generation of process information based on data matching and rule verification, improving the accuracy and reliability of subsequent processing.

[0026] The multi-material combination and process solving mechanism includes a material property calling component, a process compensation calculation component, and a process data generation component; After receiving the process template, the material property retrieval component calls up the corresponding processing parameter tables for aluminum alloy, solid wood, wood-aluminum composite, and PVC. These parameter tables at least include cutting coefficients, surface treatment parameters, finger joint parameters, tool parameters, processing priority, and processing macro commands. The cutting allowance can be obtained by adding a safety machining deviation to the original size, and the assembly tolerance range is determined based on the material's elastic modulus and the tolerance bandwidth set by the design requirements. The process data generation component overlays the aforementioned correction parameters onto the process template. The overlay method involves offset correction based on the original machining instruction values. For example, a compensation amount is added to the hole diameter value of the drilling instruction, or a thermal expansion correction amount is subtracted from the length value of the cutting path. This generates process data containing differentiated machining information and transmits it to the structure verification and virtual workstation component. Through the above methods, our organization can generate differentiated process data for different materials under the same three-dimensional model, avoiding the errors caused by the use of uniform processing parameters in traditional systems, and ensuring the accuracy and adaptability of multi-material components under actual processing and assembly conditions.

[0027] The structural verification and virtual workstation component includes an attitude calculation component, a trajectory simulation component, an interference processing component, and a data output component. The attitude calculation component calculates the workpiece's orientation using a three-dimensional coordinate matrix transformation method, based on the fixture position, suction cup distribution, and locating pin constraints. Specifically, let the workpiece's point in the global coordinate system be... The corresponding point in the local coordinate system of the fixture is The relationship between the two is as follows: ; In the formula: The coordinates of the workpiece point in the global coordinate system; The coordinates of the workpiece point in the local coordinate system of the fixture; : A homogeneous transformation matrix consisting of a rotation matrix and a translation vector, used to describe the posture of the workpiece under the constraint of the fixture; The trajectory simulation component performs tool trajectory calculations based on the above posture in a virtual environment, and outputs the three-dimensional coordinate sequence of the tool center point and the path curve. Interference processing components are used to detect the spatial relationship between the tool, workpiece, and fixture, when the tool center point... With a certain point on the workpiece surface Shortest distance: ; Less than the preset threshold When this occurs, it is determined that interference has occurred; In the formula, The coordinates of the tool path points, Let these be the coordinates of a point on the workpiece surface. The shortest distance between the two. To ensure the minimum allowable safety clearance, when interference or unreachable path is detected, the system generates correction parameters and feeds them back to the multi-material combination and process solving mechanism. When no interference is detected in the trajectory simulation, the data output component outputs the verified data to the consistency verification system. In this way, the component can detect attitude and interference problems in the virtual workstation stage and form a closed-loop correction. Compared with the conventional method of discovering problems only in the actual processing stage, this greatly reduces the trial and error cost and improves manufacturing reliability.

[0028] The consistency verification system includes a data acquisition component, a comparison and calculation component, a difference processing component, and a result output component. After the model dimensions or process parameters are updated, the data acquisition component obtains the latest versions of the bill of materials, cutting plan, processing path, 3D processing drawing and rendering. The comparison and calculation unit compares the above data item by item, using a combination of numerical threshold comparison and hash verification. The difference in geometric dimensions can be calculated using the following formula: ; in: Size difference value Updated size data; Size data from the previous version.

[0029] when At that time, it is determined that the geometric dimensions remain consistent; File consistency is verified using a hash function, that is: ; In the formula: The hash value of the file. Hash functions (such as standard algorithms like MD5 and SHA-256); The content of the document being compared; If the hash values ​​of the two versions of the file are the same, then the file content is considered to be identical; When the discrepancy processing component detects data inconsistency, it stops data transmission and generates a discrepancy report. The report includes the changed object, the discrepancy value, and a list of affected files. When the result output component determines that the data is consistent, it transmits the verification result to the list generation and output component and the CNC linkage execution module to ensure that subsequent processing steps are based on unified data. Through the above methods, this system not only performs accuracy comparison at the geometric dimension level, but also performs hash consistency verification at the file level, forming a closed loop of full-link verification, avoiding the shortcomings of traditional systems that only output lists in one direction and ignore version differences.

[0030] The list generation and output component includes a list generation component, a role configuration component, and an output processing component. After receiving the consistency verification confirmation data, the bill of quantities generation component generates material purchase orders, optimized cutting lists, and glass lists containing dimension annotations and prices based on the component's geometric dimensions. The role configuration component organizes the same bill of quantities content into manufacturer version, contractor version, and customer version according to the preset user role configuration. The manufacturer version contains processing dimensions and tool information, the contractor version contains installation dimensions and connection methods, and the customer version contains appearance dimensions and glass specifications. The output processing unit exports the generated list and drawing files in PDF and DXF formats. After output, the list results are synchronously transmitted to the CNC linkage execution module for comparison. Unlike the traditional single list output method, this component can generate differentiated data according to different users, improving the applicability of the system in the entire engineering process.

[0031] The CNC linkage execution module includes a program generation component, a path correction component, and a code output component. After the program-generated component outputs a pass signal from both the virtual workstation component and the consistency verification system, it receives the confirmed process template and machining path, and generates a machining instruction set that conforms to the ISO6983 (G code) standard. The instruction set includes material placement, machining surface, tool number, feed rate, spindle speed, and path coordinate points, etc. The path correction component calls the virtual station verification results during the generation process to correct the tool path and fixture arrangement, avoiding potential interference; The code output component converts the modified instruction set into CNC code that can be directly executed by the CNC machine tool. Before outputting, it performs a consistency comparison with the list data transmitted by the list generation and output components to confirm that the toolpath matches the blanking list before outputting. Unlike the traditional method of directly generating CNC code from geometric files, this module introduces a dual mechanism of virtual verification and list comparison to ensure that the final CNC program is completely consistent with the design, process, and list data.

[0032] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

[0033] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A 3D design and CNC machining system that supports parametric 3D modeling and automatic calculation of all types of profiles, characterized in that: The system includes: The parametric modeling module is used to generate 3D models of curtain walls, sunrooms and doors and windows based on building boundary conditions and construction rules. It updates geometric data and process relationships in real time when users adjust the size, configuration or insert components. The updated data is transferred to the profile database and process database. The profile database and process database are used to match the model data with the profile cross-section and node rules in the database, and generate process templates containing processing features such as cutting, drilling, grooving and milling. The process templates are transmitted as input to the multi-material combination and process solving mechanism. The multi-material combination and process solving mechanism is used to add cutting allowances and assembly tolerances based on the material processing characteristics of aluminum alloy, solid wood, wood-aluminum composite and plastic steel on the basis of the process template, and output the corrected process data to the structural verification and virtual workstation component. The structural verification and virtual workstation component is used to calculate the workpiece's posture under the fixture, suction cup, and positioning pin based on the process data, and to simulate the tool trajectory and workpiece movement in a three-dimensional virtual environment. If interference or unreachability is detected, the correction information is fed back to the multi-material combination and process solving mechanism, and the verified data is provided to the consistency verification system. The consistency verification system is used to compare the bill of materials, cutting plan, processing path, 3D processing drawing and rendering drawing for consistency when the model or process parameters change. If there are differences, the data flow is stopped and a difference report is generated. If they are consistent, the verification result is transmitted to the bill of materials generation and output component and the CNC linkage execution module. The bill of quantities generation and output component is used to generate material purchase orders, optimized cutting lists and glass lists containing dimensions and prices after receiving the consistency verification results. It also outputs corresponding drawings and documents according to the different roles of manufacturers, contractors and customers. The bill of quantities results are synchronously transmitted to the CNC linkage execution module for comparison. The CNC linkage execution module is used to convert the process template and machining path into a CNC machining program after the virtual station and consistency check have passed. During the generation process, the tool path and fixture scheme are modified according to the virtual station results, and finally the machining code that can directly drive the CNC equipment is output.

2. The 3D design and CNC machining system supporting parametric 3D modeling and automatic calculation of all types of materials according to claim 1, characterized in that: The parametric modeling module includes: The boundary condition input component is used to receive parameters such as the building's wall boundaries, roof slope, and opening locations; The construction rule processing component is used to generate the three-dimensional geometric framework of curtain walls, sunrooms and doors and windows according to the preset profile splicing rules and connection node constraints. The geometry update component is used to recalculate the length, angle, and connection method of components when the user adjusts the model size or inserts doors and windows, and to transfer the updated geometric data to the profile database and process database.

3. The 3D design and CNC machining system supporting parametric 3D modeling and automatic calculation of all types of materials according to claim 2, characterized in that: The profile database and process database include: The profile section matching component is used to compare the component geometric data output by the parametric modeling module with the standard profile section parameters stored in the database and determine the corresponding profile model after receiving the data. The node rule matching component is used to check the splicing method and connection angle between adjacent profiles based on the preset node connection rules in the database, and generate connection information that meets structural constraints. The process template generation component is used to generate a process template containing specific processing instructions for sawing, drilling, grooving and milling based on the matched profile cross-section and node connection information, and transmits the process template as input to the multi-material combination and process solving mechanism.

4. The 3D design and CNC machining system supporting parametric 3D modeling and automatic calculation of all types of materials according to claim 1, characterized in that: The multi-material combination and process solving mechanism includes: The material property calling component is used to call the processing parameter tables corresponding to aluminum alloy, solid wood, wood-aluminum composite and plastic steel in the database respectively after receiving the process template; The process compensation calculation component is used to calculate the allowance for each component during cutting, the wood cutting compensation amount, and the tolerance range during assembly based on the processing parameters, and to form correction parameters. The process data generation component is used to overlay correction parameters onto the process template to generate process data containing differentiated processing information, and then transmit the process data to the structure verification and virtual workstation component.

5. A 3D design and CNC machining system supporting parametric 3D modeling and automatic calculation of all types of materials according to claim 4, characterized in that: The structural verification and virtual workstation component includes: The attitude calculation component is used to calculate the placement attitude of the workpiece based on the fixture position, suction cup distribution, and locating pin constraints after receiving the corrected process data. The trajectory simulation component is used to simulate the tool trajectory of the calculated workpiece posture in a three-dimensional virtual environment and to detect the spatial relationship between the tool, the workpiece, and the fixture. The interference processing component is used to generate correction parameters and feed them back to the multi-material combination and process solving mechanism for recalculation when the tool is found to collide with the workpiece or fixture or the motion is unreachable during the trajectory simulation. The data output component is used to transmit the verified data to the consistency verification system when the trajectory simulation results meet the processing feasibility conditions.

6. A 3D design and CNC machining system supporting parametric 3D modeling and automatic calculation of all types of profiles according to claim 5, characterized in that: The consistency verification system includes: The data acquisition component is used to acquire the latest versions of the bill of materials, cutting plan, processing path, 3D processing drawing and rendering drawing after the model size is adjusted or the process parameters are modified. The comparison and calculation unit is used to compare the data of each version item by item to determine whether the geometric dimensions, processing technology and drawing annotations are consistent. The difference processing component is used to immediately stop data transmission and generate a difference report when data inconsistency is detected during the comparison process, while also marking the changed objects and the affected data types; The result output component is used to transmit the verification results to the list generation and output component and the CNC linkage execution module when the comparison results are consistent.

7. A 3D design and CNC machining system supporting parametric 3D modeling and automatic calculation of all types of materials according to claim 6, characterized in that: The inventory generation and output component includes: The bill of quantities generation component is used to generate material purchase orders, optimized cutting lists, and glass lists that include dimension annotations and prices based on the component geometry after receiving confirmation data output from the consistency verification system. The role configuration component is used to organize the same list content into manufacturer version, contractor version and customer version according to the preset user role configuration, and to limit the different display range and information granularity in the output file; The output processing unit is used to export the generated list and drawing files into a standard format, and after the output is completed, the list results are synchronously transmitted to the CNC linkage execution module for comparison.

8. A 3D design and CNC machining system supporting parametric 3D modeling and automatic calculation of all types of materials according to claim 7, characterized in that: The CNC linkage execution module includes: The program generation component is used to receive the confirmed process template and machining path after both the virtual workstation component and the consistency verification system output pass signals, and convert them into a machining instruction set that meets the control requirements of the CNC equipment. The path correction component is used to call the verification results of the virtual workstation component during the generation of machining instruction sets to correct the tool movement trajectory and fixture arrangement scheme. The code output component is used to convert the modified machining instruction set into CNC code that can be directly executed by CNC machine tools, and performs a consistency comparison with the list data transmitted by the list generation and output components before output.