CN112131734B - Die matching method and system applied to curtain wall aluminum profile - Google Patents

Die matching method and system applied to curtain wall aluminum profile Download PDF

Info

Publication number
CN112131734B
CN112131734B CN202010985420.5A CN202010985420A CN112131734B CN 112131734 B CN112131734 B CN 112131734B CN 202010985420 A CN202010985420 A CN 202010985420A CN 112131734 B CN112131734 B CN 112131734B
Authority
CN
China
Prior art keywords
die
historical
matched
area
characteristic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010985420.5A
Other languages
Chinese (zh)
Other versions
CN112131734A (en
Inventor
孙显峰
陈飞舟
陈中利
周俊
张宁
许云翔
吴美标
熊静
宣燕飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Zhufeng Technology Co ltd
Original Assignee
Hangzhou Zhufeng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Zhufeng Technology Co ltd filed Critical Hangzhou Zhufeng Technology Co ltd
Priority to CN202010985420.5A priority Critical patent/CN112131734B/en
Publication of CN112131734A publication Critical patent/CN112131734A/en
Application granted granted Critical
Publication of CN112131734B publication Critical patent/CN112131734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Moulds For Moulding Plastics Or The Like (AREA)

Abstract

The invention discloses a die matching method and a die matching system applied to curtain wall aluminum profiles, wherein the related die matching method applied to the curtain wall aluminum profiles comprises the following steps: s11, converting the data format of the historical mold through a graphic algorithm, and storing the converted historical mold into a cloud platform database; s12, converting the data format of the mold to be matched through a graphic algorithm to obtain a converted mold to be matched; s13, respectively generating characteristic polygons corresponding to the die to be matched and the historical die according to the converted die to be matched and the historical die in the database, comparing the characteristic polygons of the die to be matched with the characteristic polygons of the historical die by using a graph comparison algorithm, and outputting a recommendation result of the same or similar die. The invention realizes the rapid and accurate search of the same or similar aluminum profile by analyzing the aluminum profile module diagram and using the graph comparison technology, improves the reuse rate of industrial historical molds, reduces the cost and improves the efficiency.

Description

Die matching method and system applied to curtain wall aluminum profile
Technical Field
The invention relates to the technical field of building curtain walls, in particular to a mould matching method and a mould matching system applied to curtain wall aluminum profiles.
Background
Aluminum alloy section bars (hereinafter referred to as aluminum section bars or section bars) are used as one of main materials in the building curtain wall door and window industry, material production needs to be extruded through a die, section shapes of the aluminum section bars are used as bases for manufacturing the die, and through years of development of the industry, tens of thousands to hundreds of thousands of aluminum section bar dies with different shapes are designed and developed for most of medium and large-sized enterprises in the industry, and the number of new production of thousands to twenty thousand sets of aluminum section bars per family is continuously increased. According to investigation, a large number of molds exist in each mold library, and the cross section shapes of the molds are very similar or even almost the same; and even a plurality of produced molds with very similar section shapes exist among different manufacturers; causing damage to environmental resources and huge waste of social resources and production benefits.
Through survey and summary, the main symptoms that cause the above problems in the current curtain wall door and window aluminum profile industry are as follows:
1. data do not form the intercommunication between curtain door and window design unit and the aluminium alloy manufacturing enterprise, and the designer can't conveniently learn a large amount of mould information of aluminium alloy factory stock when designing curtain door and window product, can only carry out the product design according to project characteristics and individual idea usually.
2. Aluminum profile enterprises are restricted by traditional data management modes and tools, historical data cannot be accurately and efficiently inquired and screened only by manpower, and historical die reuse reference cannot be better provided for design units.
3. At present, the link of manually searching historical molds in the industry is mainly concentrated on the later stage of design, the design results are finalized, then the section graphs of the aluminum profiles are gathered and delivered to a profile manufacturer to assist in searching the reusable molds, and finally the reusable molds can be completely matched.
4. At present, the searching of the historical mold is mainly embodied in the searching of a single mold, the searching of the matched mold of the whole node cannot be realized, and a designer still needs to think about designing other section sections matched with the single mold after the single mold is searched, so that the use will of the designer is not high.
On one hand, an aluminum profile factory spends a large amount of cost to maintain and keep historical molds, and on the other hand, a large amount of new molds have to be opened; this current situation has become a major pain point in the curtain wall door and window aluminum profile industry.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a die matching method and a die matching system applied to curtain wall aluminum profiles.
In order to achieve the purpose, the invention adopts the following technical scheme:
a die matching method applied to curtain wall aluminum profiles comprises the following steps:
s1, converting a data format of a historical mold through a graphic algorithm, and storing the converted historical mold into a cloud platform database;
s2, converting the data format of the mold to be matched through a graphic algorithm to obtain a converted mold to be matched;
and S3, respectively generating characteristic polygons corresponding to the mold to be matched and the historical mold according to the converted mold to be matched and the historical mold in the database, comparing the characteristic polygons of the mold to be matched with the characteristic polygons of the historical mold by using a graph comparison algorithm, and outputting a recommendation result of the same or similar mold.
Further, the data format conversion performed in the step S1 and the step S2 is to convert the die into the data format of zfs through a graphic algorithm.
Further, the step S3 includes:
s31, respectively obtaining geometric information of the section bar in the die to be matched in the zfs data format and the historical die in the zfs data format, and calculating an Oriented Bounding Box (OBB) of the obtained geometric information of the section bar;
s32, calculating the main direction of the section according to the calculated directional bounding box OBB; wherein the candidate directions of the main direction are 4 directions of the OBB coordinate axis;
s33, calculating the directed included angle between each straight line in the section and the main direction, and sequencing the calculated directed included angle of each straight line according to the angle; dividing the straight lines into a plurality of groups according to a preset angle threshold;
s34, mapping each group of straight lines to a two-dimensional space, and forming a plurality of characteristic points in the two-dimensional space; the X coordinate of the characteristic point in the two-dimensional space is the average value of the angles of the straight lines in the group, and the Y coordinate is the average length of the straight lines in the group;
s35, connecting the characteristic points end to end according to the sequence of sequencing in the step S33 to generate a characteristic polygon of the sectional material;
s36, the areas of the characteristic polygons corresponding to the die to be matched and the historical die are respectively calculated, the area of the characteristic polygon of the die to be matched is overlapped with the area of the characteristic polygon of the historical die, the area of an overlapped area is calculated, the similarity of the section is calculated according to the area of the overlapped area, and the recommendation result of the same or similar die is output according to the similarity.
Further, the step S32 includes:
s321, acquiring a middle point of each straight line in the section bar, and connecting the middle point with the center of the directional bounding box OBB;
s322, calculating included angles between the connecting line direction and the 4 candidate directions, counting the number of the included angles between the connecting line direction and each of the 4 candidate directions, wherein the included angles are smaller than 90 degrees, and taking the direction with the largest number as the main direction of the section.
Further, in step S36, the similarity of the profiles is calculated according to the region of the overlapping area, and is expressed as:
similarity of section bar as AreaC/max (AreaA, AreaB)
Wherein area represents a region of the overlapping area; the area A and the area B respectively represent the areas of the characteristic polygons corresponding to the die to be matched and the historical die.
Correspondingly, still provide a mould matching system for curtain aluminium alloy, include:
the first conversion module is used for converting the data format of the historical mold through a graphic algorithm and storing the converted historical mold into a cloud platform database;
the second conversion module is used for converting the data format of the mould to be matched through a graphic algorithm to obtain a converted mould to be matched;
and the output module is used for respectively generating the characteristic polygons corresponding to the die to be matched and the historical die according to the converted die to be matched and the historical die in the database, comparing the characteristic polygons of the die to be matched with the characteristic polygons of the historical die by using a graph comparison algorithm, and outputting the recommendation result of the same or similar die.
Further, the data format conversion in the first conversion module and the second conversion module is to convert the die into a data format of zfs through a graphic algorithm.
Further, the output module includes:
the first calculation module is used for respectively acquiring the geometric information of the section bar in the die to be matched in the zfs data format and the historical die in the zfs data format and calculating the oriented bounding box OBB of the acquired geometric information of the section bar;
the second calculation module is used for calculating the main direction of the section bar according to the calculated directional bounding box OBB; wherein the candidate directions of the main direction are 4 directions of the OBB coordinate axis;
the third calculation module is used for calculating the directed included angle between each straight line in the section and the main direction and sequencing the calculated directed included angle of each straight line according to the angle; dividing the straight lines into a plurality of groups according to a preset angle threshold;
the mapping module is used for mapping each group of straight lines to a two-dimensional space and forming a plurality of characteristic points in the two-dimensional space; the X coordinate of the characteristic point in the two-dimensional space is the average value of the angles of the straight lines in the group, and the Y coordinate is the average length of the straight lines in the group;
the generating module is used for connecting the characteristic points end to end according to the sequence of sequencing in the third calculating module to generate a characteristic polygon of the section bar;
and the fourth calculation module is used for calculating the areas of the characteristic polygons corresponding to the die to be matched and the historical die respectively, overlapping the area of the characteristic polygon of the die to be matched with the area of the characteristic polygon of the historical die, calculating the area of an overlapping area, calculating the similarity of the section according to the area of the overlapping area, and outputting the recommendation result of the same or similar die according to the similarity.
Further, the second calculation module includes:
the acquisition module is used for acquiring the middle point of each straight line in the section bar and connecting the middle point with the center of the directional bounding box OBB;
and the fifth calculation module is used for calculating included angles between the connecting line direction and the 4 candidate directions, counting the number of the included angles which are smaller than 90 degrees with the connecting line direction in each of the 4 candidate directions, and taking the direction with the largest number as the main direction of the section.
Further, the fourth calculating module calculates the similarity of the profiles according to the area of the overlapping area, and the similarity is expressed as:
section bar similarity as area C/max (area A, area B)
Wherein, area represents a region of overlapping area; the area A and the area B respectively represent the areas of the characteristic polygons corresponding to the die to be matched and the historical die.
Compared with the prior art, the invention has the following beneficial effects:
1. the capital cost and the time cost of enterprises caused by newly opening a die in the production process of the aluminum profile are greatly reduced, and social resources are saved;
2. the reuse of a historical mold is realized by a curtain wall door and window designer in the design process of a project construction drawing, the design difficulty is reduced, and the quality of a design result is improved;
3. by integrating industrial data in a platform mode and communicating all parties of the business, the design result is more referential and reliable;
4. through the reuse of the historical mold and the data analysis and optimization, the aluminum profile standardization in the curtain wall industry of China is effectively promoted.
Drawings
Fig. 1 is a flowchart of a mold matching method applied to a curtain wall aluminum profile according to an embodiment;
fig. 2 is a structural diagram of a die matching system applied to a curtain wall aluminum profile provided by the second embodiment.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be noted that the features in the following embodiments and examples may be combined with each other without conflict.
The invention aims to provide a die matching method and a die matching system applied to curtain wall aluminum profiles, aiming at the defects of the prior art.
Example one
The embodiment provides a die matching method applied to curtain wall aluminum profiles, as shown in fig. 1, comprising the steps of:
s11, converting the data format of the historical mold through a graphic algorithm, and storing the converted historical mold into a cloud platform database;
s12, converting the data format of the mould to be matched through a graphic algorithm to obtain a converted mould to be matched;
s13, respectively generating characteristic polygons corresponding to the mold to be matched and the historical mold according to the converted mold to be matched and the historical mold in the database, comparing the characteristic polygons of the mold to be matched with the characteristic polygons of the historical mold by using a graph comparison algorithm, and outputting a recommendation result of the same or similar mold.
The method and the device perform authority management on the mold in the cloud platform database, and further determine the confidentiality and the openness of the section mold. The authority management includes but is not limited to setting different platform authorities for each user, so that the user can only perform operations within the authorities in the platform.
When a user needs to match the mold, the user needs to log in the platform, and after the login is successful, the corresponding data authority and function authority are obtained according to the user role, so that the mold matching is realized.
In step S11, the data format of the historical model is converted by a graphic algorithm, and the converted historical model is stored in the cloud platform database.
The method comprises the steps of carrying out feature analysis on the graph of the existing historical die of an aluminum profile manufacturer, converting the graph into a zfs data format through a graph algorithm, and storing the zfs data format into a cloud platform database.
The graphic algorithm is an algorithm for converting a graphic format. Such as: converting the DWG file format of AUTOCAD into a zfs file format, reading and analyzing the mould characteristic information in the DWG file from the historical model, and storing the mould characteristic information into the zfs file format of the platform.
In a database of the cloud platform, the stored historical mold is a historical mold subjected to format conversion, and after the format of the historical mold is converted into a zfs data format, the historical mold is stored in the database so as to facilitate subsequent model matching.
It should be noted that the format of the history model in the database only needs to be converted once, and the subsequent matching model does not need to be converted and can be directly obtained.
In step S12, the data format of the mold to be matched is converted by a graphic algorithm, so as to obtain a converted mold to be matched.
A user acquires a new aluminum profile section graph as a comparison source within a queriable data authority range, and the new aluminum profile section graph is converted into a zfs data format file through feature analysis.
And converting the format of the die to be matched into a zfs format, so that the format of the die is the same as that of the historical die in the database.
In step S13, feature polygons corresponding to the mold to be matched and the historical mold are respectively generated according to the converted mold to be matched and the historical mold in the database, and the feature polygons of the mold to be matched and the feature polygons of the historical mold are compared by using a graph comparison algorithm, and a recommendation result of the same or similar mold is output.
And generating a corresponding unique characteristic polygon on the basis of the zfs file corresponding to the die to be matched and the historical die section diagram in the database, comparing the characteristic polygons by the software by using a graph comparison algorithm, and outputting the same or similar die recommendation result.
Step S13 specifically includes:
s131, respectively obtaining geometric information of the section bar in the die to be matched in the zfs data format and the historical die in the zfs data format, and calculating an Oriented Bounding Box (OBB) of the obtained geometric information of the section bar;
respectively calculating the section geometrical information of the die to be matched and the directional Bounding box OBB (ordered Bounding Box) of the section geometrical information of the historical die based on the section geometrical information in the zfs file of the die to be matched and the section geometrical information in the zfs file of the historical die, wherein the OBB has the property of geometric invariance;
s132, calculating the main direction of the section according to the calculated directional bounding box OBB; wherein the candidate directions of the main direction are 4 directions of the OBB coordinate axis;
and respectively calculating the main direction of the section bar in the grinding tool to be matched and the main direction of the section bar in the historical mould according to the directional bounding box OBB of the mould to be matched and the directional bounding box OBB of the historical mould obtained by calculation.
Wherein, 4 directions of OBB coordinate axis are the candidate direction of major direction, consequently calculate the major direction of waiting to match the section bar of mould, historical mould and be:
s1321, acquiring a middle point of each straight line in the section bar, and connecting the middle point with the center of the directional bounding box OBB;
and acquiring the middle point of each straight line in the section bar, and connecting the middle point with the center of the OBB.
S1322, calculating included angles between the connecting line direction and the 4 candidate directions, counting the number of the included angles between the connecting line direction and each candidate direction of the 4 candidate directions, wherein the included angle is smaller than 90 degrees, and taking the direction with the largest number as the main direction of the sectional material.
And calculating included angles between the connecting line direction of each straight line and 4 candidate directions respectively, wherein each candidate direction obtains a plurality of included angles, counting the number of included angles between each candidate direction of the 4 candidate directions and the connecting line direction, which are smaller than 90 degrees, and the largest number of included angles is the main direction of the section.
If one mould has 10 straight lines in total, connecting the middle points of the 10 straight lines with the center of the OBB respectively to obtain 10 connecting lines; then, an included angle between each of the 10 connecting line directions and each of the 4 candidate directions is calculated, where each candidate direction has 10 included angles, and the 4 candidate directions have 40 included angles (which may include the same included angle), and then it is determined that the 10 included angles in each candidate direction are less than 90 °. If 5 included angles of 10 included angles in the first candidate direction are smaller than 90 degrees, 7 included angles of 10 included angles in the second candidate direction are smaller than 90 degrees, 3 included angles of 10 included angles in the third candidate direction are smaller than 90 degrees, 9 included angles of 10 included angles in the fourth candidate direction are smaller than 90 degrees, the number of included angles of the fourth candidate direction which are smaller than 90 degrees is the largest, and the fourth candidate direction is taken as the main direction.
S133, calculating the directed included angle between each straight line in the section and the main direction, and sequencing the calculated directed included angle of each straight line according to the size of the angle; dividing the straight lines into a plurality of groups according to a preset angle threshold;
calculating the directed included angle between each straight line and the main direction in the section bar, and sequencing according to the size of the angle; and dividing the straight lines into a plurality of groups according to an angle grouping threshold given by the system.
If there are 10 straight lines in the section bar, there are 10 included angles with the main direction, and the 10 included angles are sorted according to the size of the angle, and the sorting is carried out according to the angle from small to large.
If the system gives a grouping threshold of: 0-30 degrees, 30-60 degrees, and the like, comparing the 10 angles with a preset angle threshold, wherein the 10 angles may fall into different ranges respectively, and then generating a plurality of groups of angles, that is, generating straight lines corresponding to the plurality of groups of angles.
S134, mapping each group of straight lines to a two-dimensional space, and forming a plurality of characteristic points in the two-dimensional space; the X coordinate of the characteristic point in the two-dimensional space is the average value of the angles of the straight lines in the group, and the Y coordinate is the average length of the straight lines in the group;
each group of straight lines is mapped to a two-dimensional space, the X coordinate of the mapping is the average value of the angles of the straight lines in the group, and the Y coordinate is the average length of the straight lines in the group, so that a plurality of characteristic points are formed in the two-dimensional space.
S135, connecting the characteristic points end to end according to the sequence of sequencing in the step S133 to generate a characteristic polygon of the section;
the characteristic points are connected end to end in the order from small to large to form a characteristic polygon of the section bar, and the non-selfing order of the polygon is ensured.
And S136, respectively calculating the areas of the characteristic polygons corresponding to the die to be matched and the historical die, overlapping the area of the characteristic polygon of the die to be matched and the area of the characteristic polygon of the historical die, calculating the area of an overlapping area, calculating the similarity of the section according to the area of the overlapping area, and outputting the recommendation result of the same or similar die according to the similarity.
And for the two compared section bars, respectively calculating the areas AreaA and AreaB of the corresponding characteristic polygons, overlapping the characteristic polygons, calculating the area AreaC of the overlapped area, and calculating the similarity of the section bars according to the area of the overlapped area.
The similarity of the profiles is calculated from the area of the overlap area, expressed as:
similarity of section bar as AreaC/max (AreaA, AreaB)
Wherein, area represents a region of overlapping area; the area A and the area B respectively represent the areas of the characteristic polygons corresponding to the die to be matched and the historical die; max represents taking the larger of the two.
In this embodiment, step S13 is followed by:
s14, the user selects a required result object according to the recommendation result, and searches a complete set of section mould objects which are matched with the result object in use.
And the user selects the section graph entity in the CAD drawing as a search target.
The software identifies the search targets as zfs format data according to the algorithm of S11-S13.
The software uploads the zfs data of the search target to the cloud server for graph comparison, the zfs data of the search target and other graphs zfs data (million-level graphs) which are stored in the cloud server historically are compared one by one according to the algorithms from S11 to S13, the comparison results are normalized to be similarity, and the similarity is sorted from high to low.
And the cloud server returns the specified amount of zfs data of the search results to the client from high to low according to the similarity.
And analyzing the zfs data by the client software, and generating a graphic entity in the cad drawing.
Meanwhile, the cloud server also returns other relevant data corresponding to the searched zfs data, such as a series of relevant data of the model number, the manufacturer, the material type and the like of the corresponding section.
The user may use the generated CAD graphical entity directly, or simply modified for use. There is no need to draw entities in a CAD from scratch or to manually find several graphs from millions of historical data that may be needed.
Compared with the prior art, the embodiment has the following beneficial effects:
1. the capital cost and the time cost of enterprises caused by newly opening a die in the production process of the aluminum profile are greatly reduced, and social resources are saved;
2. the reuse of a historical mold is realized by a curtain wall door and window designer in the design process of a project construction drawing, the design difficulty is reduced, and the quality of a design result is improved;
3. by integrating industrial data in a platform mode and communicating all parties of the business, the design result is more referential and reliable;
4. through the reuse of the historical mold and the optimization of data analysis, the standardization of the aluminum profile in the Chinese curtain wall industry is effectively promoted.
Example two
The embodiment provides a mould matching system for curtain wall aluminum profile, as shown in fig. 2, including:
the first conversion module 11 is used for converting the data format of the historical mold through a graphic algorithm and storing the converted historical mold into a cloud platform database;
the second conversion module 12 is configured to perform data format conversion on the mold to be matched through a graphic algorithm to obtain a converted mold to be matched;
and the output module 13 is configured to generate feature polygons corresponding to the mold to be matched and the historical mold in the database according to the converted mold to be matched and the historical mold in the database, compare the feature polygons of the mold to be matched with the feature polygons of the historical mold by using a graph comparison algorithm, and output a recommendation result of the same or similar mold.
Further, the data format conversion in the first conversion module 11 and the second conversion module 12 is to convert the die into the data format of zfs through a graphic algorithm.
Further, the output module 13 includes:
the first calculation module is used for respectively acquiring the geometric information of the section bar in the die to be matched in the zfs data format and the historical die in the zfs data format and calculating the oriented bounding box OBB of the acquired geometric information of the section bar;
the second calculation module is used for calculating the main direction of the section bar according to the calculated directional bounding box OBB; wherein the candidate directions of the main direction are 4 directions of the OBB coordinate axis;
the third calculation module is used for calculating the directed included angle between each straight line in the section and the main direction and sequencing the calculated directed included angles of each straight line according to the angle; dividing the straight lines into a plurality of groups according to a preset angle threshold;
the mapping module is used for mapping each group of straight lines to a two-dimensional space and forming a plurality of characteristic points in the two-dimensional space; the X coordinate of the characteristic point in the two-dimensional space is the average value of the angles of the straight lines in the group, and the Y coordinate is the average length of the straight lines in the group;
the generating module is used for connecting the characteristic points end to end according to the sequence of sequencing in the third calculating module to generate a characteristic polygon of the sectional material;
and the fourth calculation module is used for calculating the areas of the characteristic polygons corresponding to the die to be matched and the historical die respectively, overlapping the area of the characteristic polygon of the die to be matched with the area of the characteristic polygon of the historical die, calculating the area of an overlapping area, calculating the similarity of the section according to the area of the overlapping area, and outputting the recommendation result of the same or similar die according to the similarity.
Further, the second calculation module includes:
the acquisition module is used for acquiring the midpoint of each straight line in the section bar and connecting the midpoint with the center of the oriented bounding box OBB;
and the fifth calculation module is used for calculating included angles between the connecting line direction and the 4 candidate directions, counting the number of the included angles which are smaller than 90 degrees with the connecting line direction in each of the 4 candidate directions, and taking the direction with the largest number as the main direction of the section.
Further, the fourth calculating module calculates the similarity of the profiles according to the area of the overlapping area, and the similarity is expressed as:
similarity of section bar as AreaC/max (AreaA, AreaB)
Wherein, area represents a region of overlapping area; the area A and the area B respectively represent the areas of the characteristic polygons corresponding to the die to be matched and the historical die.
It should be noted that, the present and practical application provides a mold matching system applied to a curtain wall aluminum profile similar to the embodiment, and details are not repeated herein.
Compared with the prior art, the embodiment has the following beneficial effects:
1. the capital cost and the time cost of enterprises caused by newly opening a die in the production process of the aluminum profile are greatly reduced, and social resources are saved;
2. the reuse of a historical mold is realized by a curtain wall door and window designer in the design process of a project construction drawing, the design difficulty is reduced, and the quality of a design result is improved;
3. by integrating industrial data in a platform mode and communicating all parties of the business, the design result is more referential and reliable;
4. through the reuse of the historical mold and the data analysis and optimization, the aluminum profile standardization in the curtain wall industry of China is effectively promoted.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. The mold matching method applied to the curtain wall aluminum profile is characterized by comprising the following steps of:
s1, converting a data format of a historical mold through a graphic algorithm, and storing the converted historical mold into a cloud platform database;
s2, converting the data format of the mold to be matched through a graphic algorithm to obtain a converted mold to be matched;
s3, respectively generating characteristic polygons corresponding to the die to be matched and the historical die according to the converted die to be matched and the historical die in the database, comparing the characteristic polygons of the die to be matched with the characteristic polygons of the historical die by using a graph comparison algorithm, and outputting a recommendation result of the same or similar die;
the step S3 includes:
s31, respectively obtaining geometric information of the section bar in the die to be matched in the zfs data format and the historical die in the zfs data format, and calculating an Oriented Bounding Box (OBB) of the obtained geometric information of the section bar;
s32, calculating the main direction of the section according to the calculated directional bounding box OBB; wherein the candidate directions of the main direction are 4 directions of the OBB coordinate axis;
s33, calculating the directed included angle between each straight line in the section and the main direction, and sequencing the calculated directed included angle of each straight line according to the angle; dividing the straight lines into a plurality of groups according to a preset angle threshold;
s34, mapping each group of straight lines to a two-dimensional space, and forming a plurality of characteristic points in the two-dimensional space; the X coordinate of the characteristic point in the two-dimensional space is the average value of the angles of the straight lines in the group, and the Y coordinate is the average length of the straight lines in the group;
s35, connecting the characteristic points end to end according to the sequence of sequencing in the step S33 to generate a characteristic polygon of the sectional material;
s36, the areas of the characteristic polygons corresponding to the die to be matched and the historical die are respectively calculated, the area of the characteristic polygon of the die to be matched is overlapped with the area of the characteristic polygon of the historical die, the area of an overlapped area is calculated, the similarity of the section is calculated according to the area of the overlapped area, and the recommendation result of the same or similar die is output according to the similarity.
2. The method as claimed in claim 1, wherein the step S1 and the step S2 are performed by converting the die into a data format of zfs through a graphic algorithm.
3. The die matching method for curtain wall aluminum profiles as claimed in claim 1, wherein the step S32 includes:
s321, acquiring the middle point of each straight line in the section bar, and connecting the middle point with the center of the oriented bounding box OBB;
s322, calculating included angles between the connecting line direction and the 4 candidate directions, counting the number of the included angles between the connecting line direction and each of the 4 candidate directions, wherein the included angles are smaller than 90 degrees, and taking the direction with the largest number as the main direction of the section.
4. The die matching method applied to the curtain wall aluminum profile as claimed in claim 1, wherein the similarity of the profiles is calculated according to the area of the overlapping area in the step S36, and is expressed as:
similarity of section bar as AreaC/max (AreaA, AreaB)
Wherein, area represents a region of overlapping area; the area A and the area B respectively represent the areas of the characteristic polygons corresponding to the die to be matched and the historical die.
5. The utility model provides a be applied to mould matching system of curtain aluminium alloy which characterized in that includes:
the first conversion module is used for converting the data format of the historical mold through a graphic algorithm and storing the converted historical mold into a cloud platform database;
the second conversion module is used for converting the data format of the mould to be matched through a graphic algorithm to obtain a converted mould to be matched;
the output module is used for respectively generating characteristic polygons corresponding to the die to be matched and the historical die according to the converted die to be matched and the historical die in the database, comparing the characteristic polygons of the die to be matched with the characteristic polygons of the historical die by using a graph comparison algorithm, and outputting a recommendation result of the same or similar die;
the output module includes:
the first calculation module is used for respectively acquiring the geometric information of the section bar in the die to be matched in the zfs data format and the historical die in the zfs data format and calculating the oriented bounding box OBB of the acquired geometric information of the section bar;
the second calculation module is used for calculating the main direction of the section bar according to the calculated directional bounding box OBB; the candidate directions of the main direction are 4 directions of an OBB coordinate axis;
the third calculation module is used for calculating the directed included angle between each straight line in the section and the main direction and sequencing the calculated directed included angle of each straight line according to the angle; dividing the straight lines into a plurality of groups according to a preset angle threshold;
the mapping module is used for mapping each group of straight lines to a two-dimensional space and forming a plurality of characteristic points in the two-dimensional space; the X coordinate of the characteristic point in the two-dimensional space is the average value of the angles of the straight lines in the group, and the Y coordinate is the average length of the straight lines in the group;
the generating module is used for connecting the characteristic points end to end according to the sequence of sequencing in the third calculating module to generate a characteristic polygon of the section bar;
and the fourth calculation module is used for calculating the areas of the characteristic polygons corresponding to the die to be matched and the historical die respectively, overlapping the area of the characteristic polygon of the die to be matched with the area of the characteristic polygon of the historical die, calculating the area of an overlapping area, calculating the similarity of the section according to the area of the overlapping area, and outputting the recommendation result of the same or similar die according to the similarity.
6. The system for matching molds for aluminum profile of curtain wall as claimed in claim 5, wherein the data format conversion in the first conversion module and the second conversion module is to convert the mold into the data format of zfs by graphic algorithm.
7. The die matching system applied to the curtain wall aluminum profile as claimed in claim 6, wherein the second calculation module comprises:
the acquisition module is used for acquiring the middle point of each straight line in the section bar and connecting the middle point with the center of the directional bounding box OBB;
and the fifth calculation module is used for calculating included angles between the connecting line direction and the 4 candidate directions, counting the number of the included angles which are smaller than 90 degrees with the connecting line direction in each of the 4 candidate directions, and taking the direction with the largest number as the main direction of the section.
8. The die matching system applied to the curtain wall aluminum profile as claimed in claim 7, wherein the similarity of the profiles is calculated according to the area of the overlapping area in the fourth calculation module, and is expressed as:
similarity of section bar as AreaC/max (AreaA, AreaB)
Wherein, area represents a region of overlapping area; the area A and the area B respectively represent the areas of the characteristic polygons corresponding to the die to be matched and the historical die.
CN202010985420.5A 2020-09-18 2020-09-18 Die matching method and system applied to curtain wall aluminum profile Active CN112131734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010985420.5A CN112131734B (en) 2020-09-18 2020-09-18 Die matching method and system applied to curtain wall aluminum profile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010985420.5A CN112131734B (en) 2020-09-18 2020-09-18 Die matching method and system applied to curtain wall aluminum profile

Publications (2)

Publication Number Publication Date
CN112131734A CN112131734A (en) 2020-12-25
CN112131734B true CN112131734B (en) 2022-07-05

Family

ID=73841295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010985420.5A Active CN112131734B (en) 2020-09-18 2020-09-18 Die matching method and system applied to curtain wall aluminum profile

Country Status (1)

Country Link
CN (1) CN112131734B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120001908A1 (en) * 2009-03-09 2012-01-05 National University Corporation Shizuoka University Method and device for forming surface processed data
CN108595763A (en) * 2018-03-26 2018-09-28 武汉理工大学 Die assembly design method based on model index technology

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408161A (en) * 2014-12-08 2015-03-11 周理 Mould CAD drawing query based on similarity query and management method
CN111177906B (en) * 2019-12-19 2021-10-15 山东大学 Method for accurately compensating discrete die profile

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120001908A1 (en) * 2009-03-09 2012-01-05 National University Corporation Shizuoka University Method and device for forming surface processed data
CN108595763A (en) * 2018-03-26 2018-09-28 武汉理工大学 Die assembly design method based on model index technology

Also Published As

Publication number Publication date
CN112131734A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN111369016B (en) Image recognition-based on-site operation and maintenance method and system
WO2016101628A1 (en) Data processing method and device in data modeling
CN111027140B (en) Airplane standard part model rapid reconstruction method based on multi-view point cloud data
CN113656647B (en) Intelligent operation and maintenance oriented engineering archive data management platform, method and system
CN104268247A (en) Master data imputation method based on fuzzy analytic hierarchy process
CN109871379B (en) Online Hash nearest neighbor query method based on data block learning
CN114693855B (en) Point cloud data processing method and device
CN108764541B (en) Wind energy prediction method combining space characteristic and error processing
CN115797962A (en) Wall column identification method and device based on assembly type building AI design
CN111368867A (en) Archive classification method and system and computer readable storage medium
CN115546116A (en) Method and system for extracting and calculating spacing of discontinuous surface of fully-covered rock mass
CN117455905B (en) Intelligent detection method and system for modularized integrated building component
CN112131734B (en) Die matching method and system applied to curtain wall aluminum profile
CN117851490A (en) Data analysis processing system based on big data
US20170322186A1 (en) Processing Apparatus
CN116401212A (en) Personnel file quick searching system based on data analysis
CN104778308B (en) The recognition methods of aircaft configuration section bar and device
CN111339332A (en) Three-dimensional volume data retrieval method based on tree structure topological graph
CN114997360A (en) Evolution parameter optimization method, system and storage medium of neural architecture search algorithm
CN109948421B (en) Hyperspectral image classification method based on PCA and attribute configuration file
CN113362296A (en) Tunnel crack extraction method and system
Yu et al. 3D vision based quality inspection with computational intelligence
Fu et al. A Near-Duplicate Video Cleaning Method Based on AFENet Adaptive Clustering
Bolotov et al. Surface recognition of machine parts based on the results of optical scanning
CN117197410B (en) Virtual splicing method, device and equipment for steel structure and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant