CN112507490A - Modeling method for axis of externally-packaged special-shaped pipe - Google Patents
Modeling method for axis of externally-packaged special-shaped pipe Download PDFInfo
- Publication number
- CN112507490A CN112507490A CN202011405285.9A CN202011405285A CN112507490A CN 112507490 A CN112507490 A CN 112507490A CN 202011405285 A CN202011405285 A CN 202011405285A CN 112507490 A CN112507490 A CN 112507490A
- Authority
- CN
- China
- Prior art keywords
- centroid
- closed polygon
- special
- latitudinal
- axis
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 239000000463 material Substances 0.000 claims description 3
- 238000012856 packing Methods 0.000 abstract description 7
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 208000003464 asthenopia Diseases 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 241000254032 Acrididae Species 0.000 description 1
- 241000238413 Octopus Species 0.000 description 1
- 229910000831 Steel Inorganic materials 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/17—Mechanical parametric or variational design
-
- 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
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/20—Packaging, e.g. boxes or containers
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Packaging Of Annular Or Rod-Shaped Articles, Wearing Apparel, Cassettes, Or The Like (AREA)
Abstract
The invention relates to a modeling method of an external packing special-shaped pipe axis, which comprises the following steps: step 1: converting a special-shaped pipe structure to be modeled into a grid structure, and extracting grid lines; step 2: treating the end of the special pipe to make the end in an open state and flush with the edge; and step 3: extracting side lines in the grid lines, and selecting the side line of one end part to form a latitudinal direction closed polygon; and 4, step 4: calculating a centroid according to the vertex of the latitudinal closed polygon, and storing the centroid into a centroid container; and 5: selecting the next adjacent latitudinal closed polygon along the adjacent edge direction of the latitudinal closed polygon, and repeating the step 4 until the centroid of the other end part of the special-shaped pipe is stored in the centroid container; step 6: all centroids in the centroid container are connected in storage order, the line being defined as the axis of the profile tube. The invention can be completed by a computer, and the modeling precision and efficiency of the axis are improved.
Description
Technical Field
The invention relates to the field of travel projects in the construction industry, in particular to a modeling method for an outer package special-shaped pipe axis.
Background
Along with the rise of the Chinese travel project, the outer package is more and more colorful. There are a large number of shaped pipes, such as trunks, octopus feet, plant vines, etc., as shown in fig. 1 and 2, when designing reference for these shaped pipes, it is often necessary to extract axes for use as a reference for structural design positioning members, a reference for steel member processing and construction, or for finite element analysis. The traditional method for extracting the axis of the special-shaped pipe is to visually inspect by eyes, namely, a base point close to the middle part on a certain section of the special-shaped pipe is found, then the position of the base point is finely adjusted until the base point is close to the center position of the pipe when viewed from all directions, the base point is defined as the center point on the section, and the axis is obtained by connecting the center points on the sections. The method is completed by human eyes, has large workload, large error and low efficiency, and can not meet the requirements of precision and efficiency and the professional requirements of various related downstream professionals.
Therefore, how to provide a modeling method for an axis of an external packing special-shaped pipe with high efficiency and high precision is a technical problem to be solved urgently by the technical personnel in the field.
Disclosure of Invention
The invention provides a modeling method for an axis of an outer package special-shaped pipe, which aims to solve the technical problem.
In order to solve the technical problem, the invention provides a modeling method for an axis of an external packing special-shaped pipe, which comprises the following steps:
step 1: converting a special-shaped pipe structure to be modeled into a grid structure, and extracting grid lines;
step 2: treating the end of the special pipe to make the end in an open state and flush with the edge;
and step 3: extracting side lines in the grid lines, and selecting the side line of one end part to form a latitudinal direction closed polygon;
and 4, step 4: calculating a centroid according to the vertex of the latitudinal closed polygon, and storing the centroid into a centroid container;
and 5: selecting the next adjacent latitudinal closed polygon along the adjacent edge direction of the latitudinal closed polygon, and repeating the step 4 until the centroid of the other end part of the special-shaped pipe is stored in the centroid container;
step 6: all centroids in the centroid container are connected in storage order, the line being defined as the axis of the profile tube.
Preferably, the grid structure is a grid structure composed of four sides.
Preferably, in step 2, the method for processing the end portion includes: the end part of the special-shaped pipe is smaller than the thickness of the material of the special-shaped pipe structure, and a seal head of a supporting structure is not required to be established.
Preferably, the vertex of the latitudinal closed polygon is an intersection point of every two sidelines in all sidelines forming the latitudinal closed polygon.
Preferably, the centroid is stored in the centroid container in three-dimensional coordinates.
Preferably, the method for selecting the next adjacent latitudinal closed polygon according to the adjacent edge direction of the latitudinal closed polygon comprises the following steps: and selecting the latitudinal closed polygon according to the longitudinal adjacent edges.
Compared with the prior art, the modeling method for the axis of the external packing special-shaped pipe provided by the invention has the following advantages:
1. the invention can be realized by programming or secondary development of a computer, thereby greatly improving the working efficiency;
2. the modeling of the axis is not dependent on human eyes, so that errors caused by working fatigue and visual fatigue are greatly reduced, and the effect of the method is more obvious for large projects;
3. the method carries out accurate modeling according to the geometric information of the outer packaging special-shaped pipe, has high modeling accuracy, and can meet the professional requirements of various related downstream professionals.
Drawings
Fig. 1 and 2 are schematic diagrams of the molding of a special pipe respectively;
FIG. 3 is a flow chart of a method for modeling an axis of an externally wrapped contoured tube in accordance with one embodiment of the present invention;
fig. 4 to 8 are schematic structural comparison diagrams of each step in the modeling method of the axis of the externally-packaged special-shaped tube in the embodiment of the invention.
In the figure: 10-four sides, 20-ends, 30-latitudinal closed polygon, 40-centroid, 50-longitudinal adjacent sides, and 60-axis.
Detailed Description
In order to more thoroughly express the technical scheme of the invention, the following specific examples are listed to demonstrate the technical effect; it is emphasized that these examples are intended to illustrate the invention and are not to be construed as limiting the scope of the invention.
The modeling method of the axis of the external packing special-shaped pipe, disclosed by the invention, comprises the following steps as shown in figures 3 to 8:
step 1: referring to fig. 4, a special pipe structure to be modeled is converted into a grid structure, and grid lines are extracted, wherein the grid structure is a grid structure composed of four sides 10 (i.e., quadrangular surface slices);
step 2: with continued reference to fig. 4, the end portion 20 of the profiled tube is processed to make the end portion 20 open and flush, and specifically, the processing method of the end portion 20 includes: the end part 20 of the special-shaped pipe is slightly smaller than the thickness of the material of the special-shaped pipe structure, and a seal head of a supporting structure is not required to be established, and the structures of the two processed end parts 20 are shown in FIG. 5;
and step 3: referring to fig. 6, the edge lines of the grid lines are extracted, and one of the edge lines of the end portion 20 is selected to form a latitudinal closed polygon 30, where the latitudinal closed polygon 30 of the end portion 20 is the thickened latitudinal closed polygon 30 in fig. 6;
and 4, step 4: referring to fig. 7, a centroid 40 is calculated according to the vertices of the latitudinal closed polygon 30, specifically, the centroid 40 refers to the geometric center of the cross-sectional pattern (latitudinal closed polygon 30), and the centroid 40 is stored in a centroid container, in this embodiment, the centroid 40 is stored in the centroid container in a form of three-dimensional coordinates, which is convenient for subsequent extraction;
and 5: please refer to fig. 6 and 7, the next adjacent latitudinal closed polygon 30 is selected along the adjacent edge direction of the latitudinal closed polygon 30, step 4 is repeated until the centroid 40 of the other end of the shaped tube is stored in the centroid container, specifically, the latitudinal closed polygon 30 is selected according to the longitudinal adjacent edge 50, that is, since the grid structure in the present embodiment is composed of quadrilateral patches (four-sided surfaces 10), after one latitudinal closed polygon 30 is determined, one edge of a quadrilateral patch sharing the same longitudinal adjacent edge 50 with the latitudinal closed polygon 30 can be used as one edge line of the next latitudinal closed polygon 30, in other words, two adjacent latitudinal closed polygons 30 have different end points of the same quadrilateral, it should be noted that the warp and the weft of the patch are relative concepts, in this embodiment, the latitudinal direction is a direction substantially perpendicular to the axial direction on the outer circumference of the shaped tube (for example, an included angle of less than 5 °), and the longitudinal direction is a direction substantially parallel to the axial direction on the outer circumference of the shaped tube (for example, an included angle of less than 5 °);
step 6: referring with emphasis to fig. 8, all centroids 40 in the centroid container are connected in storage order, the line defining the axis 60 of the isopipe.
The invention carries out quadrilateral gridding on the outer packing special-shaped pipe, specifically, the gridding can be obtained by adopting an Rhino model for processing, then, the centroid 40 of each latitudinal closed polygon 30 is obtained from one end 20 along the warp direction, and then, each centroid 40 is connected in sequence to finally form an axis 60. The steps can be realized by programming or computer secondary development (such as Grasshopper parameterization in CAD programming), and the working efficiency of modeling is greatly improved.
In summary, the modeling method for the axis of the external packing special-shaped pipe provided by the invention comprises the following steps: step 1: converting a special-shaped pipe structure to be modeled into a grid structure, and extracting grid lines; step 2: treating the end portion 20 of the profiled tubing so that the end portion 20 is open and flush-edged; and step 3: extracting the sidelines in the grid lines, and selecting the sideline of one end part 20 to form a latitudinal direction closed polygon 30; and 4, step 4: calculating a centroid 40 according to the vertexes of the latitudinal closed polygon 30, and storing the centroid 40 into a centroid container; and 5: selecting the next adjacent latitudinal closed polygon 30 along the adjacent edge direction of the latitudinal closed polygon 30, and repeating the step 4 until the centroid 40 of the other end 20 of the shaped tube is stored in the centroid container; step 6: all centroids 40 in the centroid container are connected in storage order, this line being defined as the axis 60 of the profile tube. The invention can be completed by a computer, and the modeling precision and efficiency of the axis are improved. The modeling of the axis is carried out according to the geometric information of the outer packaging special-shaped pipe, the precision is high, the modeling is not dependent on human eyes, and errors caused by working fatigue and visual fatigue are greatly reduced.
It will be apparent to those skilled in the art that various changes and modifications may be made in the invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (6)
1. A modeling method for an axis of an externally-packaged special-shaped pipe is characterized by comprising the following steps:
step 1: converting a special-shaped pipe structure to be modeled into a grid structure, and extracting grid lines;
step 2: treating the end of the special pipe to make the end in an open state and flush with the edge;
and step 3: extracting side lines in the grid lines, and selecting the side line of one end part to form a latitudinal direction closed polygon;
and 4, step 4: calculating a centroid according to the vertex of the latitudinal closed polygon, and storing the centroid into a centroid container;
and 5: selecting the next adjacent latitudinal closed polygon along the adjacent edge direction of the latitudinal closed polygon, and repeating the step 4 until the centroid of the other end part of the special-shaped pipe is stored in the centroid container;
step 6: all centroids in the centroid container are connected in storage order, the line being defined as the axis of the profile tube.
2. The method of modeling an overwrap form tube axis of claim 1, wherein said lattice structure is a lattice structure comprised of four sides.
3. The modeling method of an overwrapped profiled pipe axis as set forth in claim 1, wherein in step 2, the method of treating said end portion comprises: the end part of the special-shaped pipe is smaller than the thickness of the material of the special-shaped pipe structure, and a seal head of a supporting structure is not required to be established.
4. The method of modeling an overwrapped profiled pipe axis of claim 1, wherein the vertices of said fill-wise closed polygon are the intersections of every two of all edges making up the fill-wise closed polygon.
5. The method of modeling an overwrap form tube axis of claim 1, wherein said centroid is stored in said centroid container as three-dimensional coordinates.
6. The method of modeling an overwrapped contoured tube axis of claim 1, wherein said selecting an adjacent next fill-wise closed polygon based on a direction of a face of said fill-wise closed polygon comprises: and selecting the latitudinal closed polygon according to the longitudinal adjacent edges.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011405285.9A CN112507490A (en) | 2020-12-03 | 2020-12-03 | Modeling method for axis of externally-packaged special-shaped pipe |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011405285.9A CN112507490A (en) | 2020-12-03 | 2020-12-03 | Modeling method for axis of externally-packaged special-shaped pipe |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112507490A true CN112507490A (en) | 2021-03-16 |
Family
ID=74968428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011405285.9A Pending CN112507490A (en) | 2020-12-03 | 2020-12-03 | Modeling method for axis of externally-packaged special-shaped pipe |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112507490A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115935462A (en) * | 2022-10-18 | 2023-04-07 | 美的集团股份有限公司 | External package modeling method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050285855A1 (en) * | 2004-06-23 | 2005-12-29 | Coretech System Co., Ltd. | Method of rapidly building multiple three-dimensional pipes |
EP2921977A1 (en) * | 2014-03-17 | 2015-09-23 | Katrin Jonas | Method for generating a kit of elements for composing or constructing diverse gap-less 3D structures and such kit of elements |
-
2020
- 2020-12-03 CN CN202011405285.9A patent/CN112507490A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050285855A1 (en) * | 2004-06-23 | 2005-12-29 | Coretech System Co., Ltd. | Method of rapidly building multiple three-dimensional pipes |
EP2921977A1 (en) * | 2014-03-17 | 2015-09-23 | Katrin Jonas | Method for generating a kit of elements for composing or constructing diverse gap-less 3D structures and such kit of elements |
Non-Patent Citations (5)
Title |
---|
席晓杨;陶春达;: "基于Pro/E的偏心异径管建模方法", 石油化工设备, no. 03, 25 May 2016 (2016-05-25) * |
汤月宝 等: "液压成形管件中心轴线抽取算法", 中国制造业信息化, vol. 35, no. 19, pages 1 - 2 * |
王炳杰;郝小忠;许可;江森;: "基于形心轴的多轴增材制造工艺规划方法", 航空制造技术, 1 June 2020 (2020-06-01) * |
陈孙艺, 柳曾典: "异径管三维实体模型的计算机建模方法", 工程图学学报, no. 02, 30 June 2005 (2005-06-30) * |
黄明;张岩岩;盛国君;李军;: "三维管网自动建模研究", 地理信息世界, no. 02, 25 April 2016 (2016-04-25) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115935462A (en) * | 2022-10-18 | 2023-04-07 | 美的集团股份有限公司 | External package modeling method and device |
CN115935462B (en) * | 2022-10-18 | 2023-12-26 | 美的集团股份有限公司 | Method and device for modeling outer package |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10832475B2 (en) | Method for constructing three-dimensional solid model with geometric error and computer-readable storage medium | |
CN102194253B (en) | Method for generating tetrahedron gridding for three-dimensional geological structure | |
ES2357466T3 (en) | PROCEDURE FOR PREPARING MECHANIZED PARTS SUCH AS TURBOMACHINE BLADES OR DISCS BLADES OF MONOBLOCK. | |
CN103488838B (en) | A kind of waste heat boiler pipeline area of computer aided goes out drawing method | |
CN102214254A (en) | Design of a part modeled by parallel geodesic curves | |
Lo | Finite element mesh generation and adaptive meshing | |
CN105844067B (en) | A kind of hull curve plate welding becomes the acquisition methods of the automatic process data of groove | |
CN102853803A (en) | Testing method of damaged area of cultural relic | |
CN112507490A (en) | Modeling method for axis of externally-packaged special-shaped pipe | |
Kwon | Design point generation method from a lightweight model for dimensional quality management in shipbuilding | |
Ramanathan et al. | Interior medial axis transform computation of 3D objects bound by free-form surfaces | |
KR20230025855A (en) | Numerical calculation method for spherical pressure-resistant hulls with random fitting defects | |
CN110826128B (en) | Design method for rapid forming of bottom dredging and grooving in arbitrary shape | |
CN105302951A (en) | Finite element mesh surface triangulation method | |
CN103902786A (en) | Root extending segment appearance parameterization design method of turbine air-cooling moving blade | |
CN110796735B (en) | Grid division method for NURBS curved surface finite element plate shell and computer realization system | |
CN115859524A (en) | Cylinder Boolean difference calculation method based on STL model | |
CN105760572A (en) | Finite element grid encoding and indexing method for three-dimensional surface grid model | |
CN115564925A (en) | Grid generation method based on B-rep model and Cartesian grid slices | |
CN109472046A (en) | Complicated dam foundation arch dam three-dimensional finite element tetrahedral grid automatic division method | |
JP4945190B2 (en) | Linear structure shape data generation device and restoration device | |
Cao et al. | A Parallel Feature-preserving Mesh Variable Offsetting Method with Dynamic Programming | |
Wang et al. | Algebraic grid generation on trimmed parametric surface using non‐self‐overlapping planar Coons patch | |
CN110633517A (en) | Efficient slicing method for three-dimensional scene | |
CN113449363B (en) | Numerical simulation-oriented large-scale city model computable processing method |
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 |