CN110348120B - Automatic weld leg height calculation method based on modeling software - Google Patents
Automatic weld leg height calculation method based on modeling software Download PDFInfo
- Publication number
- CN110348120B CN110348120B CN201910623099.3A CN201910623099A CN110348120B CN 110348120 B CN110348120 B CN 110348120B CN 201910623099 A CN201910623099 A CN 201910623099A CN 110348120 B CN110348120 B CN 110348120B
- Authority
- CN
- China
- Prior art keywords
- logic
- welding
- matrix
- parts
- modeling software
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method for automatically calculating the height of a welding leg based on modeling software, which comprises the following steps: replacing a logic tree which represents welding business logic in modeling software into a logic matrix according to a welding rule; the horizontal axis of the logic matrix represents key values of various logics, and the vertical axis represents various welding grades and corresponding parts types; respectively combining key values of various logics of a transverse axis in a logic matrix into a character string, and converting the logic matrix into a mapping matrix of each character string and each welding grade; and traversing the set of parts to be welded, and calculating the welding grade of each part to be welded, which corresponds to the height of the welding leg, through a mapping matrix according to each logic of each part to be welded, which influences the welding service. And the automatic calculation of the heights of various welding feet close to 100 percent can be realized.
Description
Technical Field
The invention relates to a method for calculating the height of a welding leg based on modeling software.
Background
Various types of software for ship modeling, such as: tribon, smart3D, AM and Catia can all partially realize automatic calculation of the height of the weld leg in principle. Because the input conditions for the welding calculation are all available, they include: the length of the contact surface, the compartment in which the contact surface is located, and the basic properties of the interconnecting members. Therefore, simple configuration files such as AM, catia, smart3D help designers to implement automatic calculation of the height of the solder tail. However, in practical application of the shipyard, manual calculation is mainly adopted, and the configuration files only cover automatic calculation of the height of the weld leg with simple logic judgment, so that great limitation exists. In fact, automatic calculation of the fillet height is very complex, and the challenges include the following:
1) Complexity of the logical hierarchy. For the logic to be judged necessarily, the nesting level is deep. For example, in the same way, for welding a bulkhead and a section, it is necessary to determine the properties of the bulkhead, such as the tightness, the thickness, the material, the specification, the material, the end cut, and the like. And the combination of their locations, as if they were in the upper building, the indoor and outdoor welds are different; also indoors, different welding modes in a dry-wet area are different.
2) Uncertainty of logical level. Not all logic is necessarily involved in the fillet height calculation. For example, on a luxury cruise ship, only the non-flanged side of the channel bulkhead on 1 to 7 decks needs to be judged as 4mm thick, and if so, it needs to be judged as intermittent welding. But the tank bulkheads of the other decks do not need to calculate this condition. There are many similar special logics.
3) The influence of the particular part. In hull structural design, portions of the high stress area fillets require reinforcement. Such as the butt weld of adjoining areas of a beam and column structure, require special reinforcement. The judgment of the reinforcement is independent of the welding parts, and the properties of the two parts which participate in the mutual welding cannot be directly searched to know whether the reinforcement is needed.
Disclosure of Invention
The invention aims to provide a method for automatically calculating the height of a welding leg based on modeling software, which can realize the automatic calculation of the heights of various welding legs close to 100 percent.
The technical scheme for realizing the purpose is as follows:
a method for automatically calculating the height of a welding leg based on modeling software comprises the following steps:
s1, replacing a logic tree which represents welding business logic in modeling software into a logic matrix according to a welding rule; the horizontal axis of the logic matrix represents key values of various logics, and the vertical axis represents various welding grades and corresponding parts types;
s2, respectively combining key values of various logics of a transverse shaft in a logic matrix into a character string, and converting the logic matrix into a mapping matrix of each character string and each welding grade;
and S3, traversing the set of parts to be welded, and calculating the welding grade of each part to be welded, which corresponds to the height of the welding leg, through a mapping matrix according to each logic of each part to be welded, which influences the welding service.
Preferably, the method further comprises the following steps: and S4, traversing the set of parts to be welded again, finding out specific parts which can influence the welding calculation of other parts, obtaining the logic of the specific parts on the influenced parts, and calculating the welding grade of the influenced parts again through the mapping matrix.
Preferably, in the step S1 and the step S2, the welding business logic is divided into a necessary logic and an optional logic;
firstly, constructing a logic matrix of necessary logic, and constructing a corresponding first mapping matrix;
determining optional logics participating in calculation, and combining the optional logics into the first mapping matrix to form a second mapping matrix;
and determining optional logic which does not participate in calculation, restoring the key value ANY into the key value TURE and the key value FALSE, and combining the key value TURE and the key value FALSE with the second mapping matrix to form a final mapping matrix.
Preferably, the modeling software is: tribon, smart3D, AM or Catia.
The invention has the beneficial effects that: the invention realizes the automatic calculation of the height of various welding feet which is close to 100 percent, replaces the manual calculation, and has the accuracy rate of the height of the welding feet which is automatically calculated to be more than 90 percent. Meanwhile, compared with the time for defining the welding leg in one segment in the prior art, including the verification, which is 2 hours, the total time of the calculation and the manual verification is basically about 20 minutes, and the efficiency is improved by 6 times. More importantly, the previous definition of the height of the leg based on the drawing cannot accurately extract the amount of the welding flux of the segment. The method can accurately calculate the segmented welding flux amount, and is greatly helpful for the lean management of the field.
Drawings
FIG. 1 is a flow chart of a method for automatic calculation of fillet height based on modeling software according to the present invention;
FIG. 2 is a schematic flow chart of step S4 in the present invention.
Detailed Description
The invention will be further explained with reference to the drawings.
Referring to fig. 1, the method for automatically calculating the height of the fillet based on the modeling software of the present invention includes the following steps:
and S1, replacing a logic tree which represents welding business logic in modeling software into a logic matrix according to a welding rule. The horizontal axis of the logic matrix represents the key values of each logic, and the vertical axis represents each welding grade and each corresponding part type.
And S2, respectively combining key values of various logics in a transverse axis in the logic matrix into a character string, and converting the logic matrix into a mapping matrix of each character string and each welding grade. The auxiliary program of the modeling software is designed to realize, so that the workload of the code is greatly simplified, and the maintainability of the code is improved. The complexity of logic level is effectively reduced, good program expansibility can be obtained, and a user can adjust welding rules by configuring a logic matrix instead of maintaining complex codes to realize automatic welding. In this embodiment, the modeling software is: tribon, smart3D, AM or Catia.
Solving the problem of uncertainty of logic level, in step S1 and step S2, dividing the welding business logic into a required logic (required) and an optional logic (optional), and then:
1) Firstly, a logic matrix of necessary logic is constructed, as shown in the following table 1:
type of part | L required 1 | L required 2 | … | L required n | Grade of welding |
Type of part 1 | TRUE | TRUE | … | TRUE | A |
Type of part 1 | FALSE | FALSE | … | FALSE | B |
Part type 2 | TRUE | TRUE | … | TRUE | C |
Part type 2 | TRUE | FALSE | … | TRUE | D |
Type of part 2 | FALSE | TRUE | … | FALSE | D is interrupted |
… | … | … | … | … | … |
TABLE 1
The logical matrix is converted into a first mapping matrix for the string, as shown in table 2 below:
TABLE 2
S ori ={L required 1+L required 2+…+L required N}。
2) Determining optional logic participating in the calculation, the optional logic comprising three key values: TRUE, FALSE, and ANY. When the optional logic participates in the calculation, the key value is TRUE or FALSE. Its direct abstraction is understood to be necessarily logical, incorporated into the first mapping matrix, as follows:
S ori ’={L1 optional +L1 optional +…+Ln optional }+S ori ;
form a second mapping matrix, as shown in table 3 below:
S ori ’ | grade of welding |
S1 ori ’ | A |
S2 ori ’ | B |
S3 ori ’ | C |
S4 ori ’ | D |
S5 ori ’ | D is interrupted |
TABLE 3
3) Determining the optional logic which does not participate in the calculation, restoring the key value ANY to the key values fire and FALSE, and combining the key values FALSE and FALSE with the second mapping matrix as follows:
S Logic =ANY·S ori ’=(TRUE+S ori ’)AND(FALE+S ori ’)
form the final mapping matrix, as table 4 below:
S Logic | Conclution |
S1 Logic(true) | A |
S2 Logic(true) | B |
S3 Logic(true) | C |
S4 Logic(true) | D |
S5 Logic(true) | d is interrupted |
S1 Logic(false) | A |
S2 Logic(false) | B |
S3 Logic(false) | C |
S4 Logic(false) | D |
S5 Logic(false) | D is interrupted |
TABLE 4
And S3, traversing the set of parts to be welded, and calculating the welding grade of each part to be welded, which corresponds to the height of the welding leg, through a mapping matrix according to each logic of each part to be welded, which influences the welding service. Namely: and (3) logically representing factors influencing welding calculation by the welding service, integrating various logics into character strings by utilizing an auxiliary program of designed modeling software, comparing the character strings in the mapping matrix, and mapping the welding grade of each part to be welded.
And S4, traversing the set of the parts to be welded again, finding out specific parts which can influence the welding calculation of other parts, obtaining the logics of the specific parts on the influenced parts, and calculating the welding grade of the influenced parts again through the mapping matrix. As shown in fig. 2. For a particular part, the conditions that affect the weld calculation are not only its own properties, but also include other parts. Therefore, all factors affecting the welding calculation cannot be obtained according to the welding analysis flow from the parts to the connection relation thereof. To this end, in addition to the just forward computational flow, the present invention also introduces a checking mechanism. After the program has calculated all the fillet welds, the program will go through the part set that needs to calculate the weld leg again, and find out the specific parts that will affect the welding calculation of other parts, such as the end stop enlarging part, the beam, the base part, and so on. Then, based on these part characteristics, the parts that may be affected by the fillet calculation are recalculated.
The above embodiments are provided only for illustrating the present invention and not for limiting the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and therefore all equivalent technical solutions should also fall within the scope of the present invention, and should be defined by the claims.
Claims (3)
1. A method for automatically calculating the height of a welding leg based on modeling software is characterized by comprising the following steps:
s1, replacing a logic tree which represents welding business logic in modeling software into a logic matrix according to a welding rule; the horizontal axis of the logic matrix represents key values of various logics, and the vertical axis represents various welding grades and corresponding parts types;
s2, respectively combining key values of various logics of a transverse axis in a logic matrix into a character string, and converting the logic matrix into a mapping matrix of each character string and each welding grade;
s3, traversing the set of parts to be welded, and calculating the welding grade of each part to be welded, which corresponds to the height of the welding leg, through a mapping matrix according to each logic of each part to be welded, which influences the welding service;
in the step S1 and the step S2, the welding business logic is divided into necessary logic and optional logic;
firstly, constructing a logic matrix of necessary logic, and constructing a corresponding first mapping matrix;
determining optional logics participating in calculation, and combining the optional logics into the first mapping matrix to form a second mapping matrix;
and determining optional logic which does not participate in calculation, restoring the key value ANY into the key value TURE and the key value FALSE, and combining the key value TURE and the key value FALSE with the second mapping matrix to form a final mapping matrix.
2. The method for automatically calculating the height of the weld leg based on modeling software according to claim 1, further comprising: and S4, traversing the set of parts to be welded again, finding out specific parts which can influence the welding calculation of other parts, obtaining the logic of the specific parts on the influenced parts, and calculating the welding grade of the influenced parts again through the mapping matrix.
3. The method for automatically calculating the height of the fillet based on the modeling software as claimed in claim 1, wherein the modeling software is: tribon, smart3D, AM or Catia.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910623099.3A CN110348120B (en) | 2019-07-11 | 2019-07-11 | Automatic weld leg height calculation method based on modeling software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910623099.3A CN110348120B (en) | 2019-07-11 | 2019-07-11 | Automatic weld leg height calculation method based on modeling software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110348120A CN110348120A (en) | 2019-10-18 |
CN110348120B true CN110348120B (en) | 2023-04-07 |
Family
ID=68174922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910623099.3A Active CN110348120B (en) | 2019-07-11 | 2019-07-11 | Automatic weld leg height calculation method based on modeling software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110348120B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111985030B (en) * | 2020-08-18 | 2023-11-17 | 上海外高桥造船有限公司 | Three-dimensional welding groove inspection method based on Smart3D |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346669A (en) * | 2013-07-31 | 2015-02-11 | 克拉玛依红有软件有限责任公司 | Business logic modeling system based on 6W |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4103921B2 (en) * | 2006-08-11 | 2008-06-18 | オムロン株式会社 | Method of setting inspection reference data for fillet inspection, and substrate visual inspection apparatus using this method |
-
2019
- 2019-07-11 CN CN201910623099.3A patent/CN110348120B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346669A (en) * | 2013-07-31 | 2015-02-11 | 克拉玛依红有软件有限责任公司 | Business logic modeling system based on 6W |
Non-Patent Citations (1)
Title |
---|
层次分析法以及模糊逻辑在PDM选型中的应用;胡熠等;《机械工程与自动化》;20061030(第05期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110348120A (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106021961B (en) | City standard state of cyclic operation construction method based on genetic algorithm optimization | |
CN109726470B (en) | Three-dimensional model index checking method, device and medium | |
CN110348120B (en) | Automatic weld leg height calculation method based on modeling software | |
CN108509644A (en) | A kind of data digging method having model pre-warning update mechanism | |
CN104484489A (en) | Automatic generation method for quadrilateral finite element mesh of pitting corrosion damage cylindrical shell | |
CN109325298B (en) | Tire pattern design system based on three-dimensional design platform | |
CN105608283A (en) | Method and device for combining structural strength units of airplane | |
CN108629474B (en) | Process safety assessment method based on attack graph model | |
CN108491403B (en) | ArcGIS-based site selection method for mountainous area construction land | |
JP6686262B2 (en) | Topographic change point extraction system and topographic change point extraction method | |
CN114254422A (en) | Process optimization method, device, equipment and storage medium of building information model | |
CN110222447A (en) | A kind of adaptive meshing algorithm method and system based on Octree | |
CN116091283B (en) | Building full life cycle carbon emission accounting method and system | |
CN115829523A (en) | Digital examination method for component identification codes in BIM (building information modeling) model of urban rail station | |
US7770141B2 (en) | Computer recording medium for storing program of checking design rule of layout | |
CN111507503A (en) | Water supply pipe network parameter determining method and device | |
CN114154339B (en) | Method for determining influence weight of river ecological flow interest relevant party | |
CN114565260B (en) | Water footprint determination method for overwater photovoltaic power generation material based on regional pressure index | |
CN115840978A (en) | Automatic design method of parameterized staircase based on Revit and Dynamo and storage medium | |
CN112329108B (en) | Subway station optimization anti-floating checking calculation method and system | |
CN112989650A (en) | Method for determining allowable discharge amount of sewage outlet based on area constraint of pollution zone | |
CN110455295B (en) | Automatic planning method for river channel shipping route | |
CN113919027A (en) | Component adjustment method and device in BIM (building information modeling) model, computer equipment and storage medium | |
CN113642070A (en) | Revit-based physical quantity calculation method and device and storage medium | |
CN117010075B (en) | Automatic checking method, medium and device for floor outline in BIM software |
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 |