Search

CN-122018439-A - Automatic programming method and device for glass bottle mold processing, electronic equipment and medium

CN122018439ACN 122018439 ACN122018439 ACN 122018439ACN-122018439-A

Abstract

The application provides an automatic programming method, device, electronic equipment and medium for processing a glass bottle mold, which relate to the technical field of machining numerical control programming and comprise the steps of integrating multiple views in a two-dimensional engineering drawing into a three-dimensional contour, and identifying processing features in the three-dimensional contour based on preset feature identification rules; and matching the processing characteristics to corresponding templates in a preset characteristic process template library, calculating a five-axis processing path based on the corresponding templates, and generating processing program codes containing compensation parameters. The method and the device automatically complete drawing integration, feature identification, detection point arrangement and processing path generation, finally output the processing program codes containing compensation parameters, improve the programming efficiency of die processing, reduce the dependence on personnel experience and greatly ensure the consistency and the precision of processing quality.

Inventors

  • WEI CHENGFENG
  • SHI QINGHUI
  • Liang Haichong
  • ZHU JIONGWEI

Assignees

  • 北京精雕科技集团有限公司

Dates

Publication Date
20260512
Application Date
20260129

Claims (10)

  1. 1. An automatic programming method for processing glass bottle molds, which is characterized by comprising the following steps: integrating multiple views in a two-dimensional engineering drawing of a glass bottle mold into a three-dimensional contour, and identifying processing features in the three-dimensional contour based on a preset feature identification rule; arranging detection points of the glass bottle mold in a machine tool coordinate system based on a preset workpiece position detection path template, and generating detection point coordinates, a measurement sequence and compensation parameters; And matching the processing characteristics to corresponding templates in a preset characteristic process template library, calculating a five-axis processing path based on the corresponding templates, and generating processing program codes of the glass bottle mold containing the compensation parameters.
  2. 2. The automated programming method of vial mold processing of claim 1, wherein integrating multiple views in a two-dimensional engineering drawing of a vial mold into a three-dimensional profile comprises: Identifying a top view and a right view based on view cross lines in the two-dimensional engineering drawing; Translating the top view to the right by rotating a preset angle to the origin of a coordinate system; identifying a geometric center point of the right view, translating the geometric center point to the origin of the coordinate system by taking the geometric center point as a base point, rotating the right view clockwise around a first coordinate axis by a preset angle, and rotating the right view anticlockwise around a second coordinate axis by a preset angle; And aligning and splicing the right view and the top view in a three-dimensional space to obtain the three-dimensional contour.
  3. 3. The automatic programming method for glass bottle mold processing according to claim 1, wherein the identifying the processing features in the three-dimensional profile based on a preset feature identification rule comprises: Identifying geometrical relationships and/or color attributes of graphic elements in the three-dimensional contour based on a preset feature identification rule, and determining processing features in the three-dimensional contour; And assigning exclusive colors and exclusive layers to the identified processing features according to the feature types.
  4. 4. The automatic programming method for glass bottle mold processing of claim 1, wherein the compensation parameters are generated based on the steps of: Calling a built-in custom macro program of the machine tool based on the coordinates of the detection points and the measurement sequence; And the customized macro program executes actual detection based on the detection point coordinates and calculates the compensation parameters based on detection results.
  5. 5. The automatic programming method for processing glass bottle molds according to claim 1, wherein the preset feature process template library is used for storing processing process parameters of processing features of each feature type; the machining process parameters include tool type, cutting parameters, machining strategy, extension and machining depth.
  6. 6. The automatic programming method for processing glass bottle molds according to claim 1, wherein said matching said processing features to corresponding templates in a library of preset feature process templates, calculating a five-axis processing path based on said corresponding templates, generating processing program code for said glass bottle molds including said compensation parameters, comprises: mapping the feature image of the processing feature to a corresponding template in the preset feature process template library based on the exclusive color and the exclusive layer of the processing feature; Calculating a five-axis machining path of the machining feature based on a path algorithm embedded in the corresponding template, integrating the compensation parameters, and generating a machining path of the glass bottle die in a machine tool; And generating processing program codes of the glass bottle mold based on the processing path.
  7. 7. The method of claim 6, wherein generating the processing program code for the carafe mold based on the processing path comprises: performing path verification on the processing path; and generating processing program codes of the glass bottle mold when the path verification passes.
  8. 8. An automatic programming device for processing glass bottle molds, comprising: the drawing processing and feature generating module is used for integrating multiple views in a two-dimensional engineering drawing of the glass bottle die into a three-dimensional contour, and identifying processing features in the three-dimensional contour based on a preset feature identification rule; The rapid detection point distribution module is used for arranging detection points of the glass bottle die in a machine tool coordinate system based on a preset workpiece position detection path template to generate detection point coordinates, a measurement sequence and compensation parameters; And the processing technology path module is used for matching the processing characteristics to corresponding templates in a preset characteristic technology template library, calculating a five-axis processing path based on the corresponding templates, and generating processing program codes of the glass bottle mold containing the compensation parameters.
  9. 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the automatic programming method for glass bottle mold tooling of any of claims 1 to 7.
  10. 10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the automatic programming method of glass bottle mold tooling of any of claims 1 to 7.

Description

Automatic programming method and device for glass bottle mold processing, electronic equipment and medium Technical Field The application relates to the technical field of machining numerical control programming, in particular to an automatic programming method, device, electronic equipment and medium for glass bottle mold machining. Background In the manufacture of glass bottle molds, computer-aided manufacturing software is a key tool for generating numerical control machining programs. Glass bottle molds are often designed with a variety of complex and elaborate mold features on their surfaces, such as dimples, tentacles, air grooves, haven pins, etc., in order to achieve specific blowing functions and structural requirements. In the related art, a programmer needs to manually identify and pick up patterns of the above ten mold features one by one in computer-aided manufacturing software based on a two-dimensional design drawing. The method has the defects of low programming efficiency, a large amount of repeated labor, dependence on personal experience on programming quality, poor consistency, easiness in error, high technical threshold, unfavorable knowledge inheritance and the like. Therefore, how to improve the programming efficiency of mold processing, reduce the dependency on personnel experience, and ensure the stability and consistency of processing quality is a technical problem to be solved in the industry. Disclosure of Invention The application provides an automatic programming method, device, electronic equipment and storage medium for processing glass bottle molds, which are used for solving the technical problems of how to improve the programming efficiency of mold processing, reduce the dependence on personnel experience and ensure the stability and consistency of processing quality. The application provides an automatic programming method for processing a glass bottle die, which comprises the following steps: integrating multiple views in a two-dimensional engineering drawing of a glass bottle mold into a three-dimensional contour, and identifying processing features in the three-dimensional contour based on a preset feature identification rule; arranging detection points of the glass bottle mold in a machine tool coordinate system based on a preset workpiece position detection path template, and generating detection point coordinates, a measurement sequence and compensation parameters; And matching the processing characteristics to corresponding templates in a preset characteristic process template library, calculating a five-axis processing path based on the corresponding templates, and generating processing program codes of the glass bottle mold containing the compensation parameters. In some embodiments, the integrating multiple views in a two-dimensional engineering drawing of a carafe mold into a three-dimensional profile comprises: Identifying a top view and a right view based on view cross lines in the two-dimensional engineering drawing; Translating the top view to the right by rotating a preset angle to the origin of a coordinate system; identifying a geometric center point of the right view, translating the geometric center point to the origin of the coordinate system by taking the geometric center point as a base point, rotating the right view clockwise around a first coordinate axis by a preset angle, and rotating the right view anticlockwise around a second coordinate axis by a preset angle; And aligning and splicing the right view and the top view in a three-dimensional space to obtain the three-dimensional contour. In some embodiments, the identifying the machined feature in the three-dimensional profile based on a preset feature identification rule includes: Identifying geometrical relationships and/or color attributes of graphic elements in the three-dimensional contour based on a preset feature identification rule, and determining processing features in the three-dimensional contour; And assigning exclusive colors and exclusive layers to the identified processing features according to the feature types. In some embodiments, the compensation parameter is generated based on the steps of: Calling a built-in custom macro program of the machine tool based on the coordinates of the detection points and the measurement sequence; And the customized macro program executes actual detection based on the detection point coordinates and calculates the compensation parameters based on detection results. In some embodiments, the preset feature process template library is used for storing processing parameters of processing features of each feature type; the machining process parameters include tool type, cutting parameters, machining strategy, extension and machining depth. In some embodiments, the matching the processing features to corresponding templates in a library of preset feature process templates, calculating a five-axis processing path based on the corresponding templates,