WO2024050935A1 - Three-dimensional model cutting method for high-quality stamping and discharging - Google Patents

Three-dimensional model cutting method for high-quality stamping and discharging Download PDF

Info

Publication number
WO2024050935A1
WO2024050935A1 PCT/CN2022/127503 CN2022127503W WO2024050935A1 WO 2024050935 A1 WO2024050935 A1 WO 2024050935A1 CN 2022127503 W CN2022127503 W CN 2022127503W WO 2024050935 A1 WO2024050935 A1 WO 2024050935A1
Authority
WO
WIPO (PCT)
Prior art keywords
cutting
index
singular
triangle
singular points
Prior art date
Application number
PCT/CN2022/127503
Other languages
French (fr)
Chinese (zh)
Inventor
黄劲
鲍虎军
王诗怡
陈炯
高希峰
Original Assignee
浙江大学
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 浙江大学 filed Critical 浙江大学
Publication of WO2024050935A1 publication Critical patent/WO2024050935A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • G06T17/205Re-meshing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B21MECHANICAL METAL-WORKING WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21DWORKING OR PROCESSING OF SHEET METAL OR METAL TUBES, RODS OR PROFILES WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21D45/00Ejecting or stripping-off devices arranged in machines or tools dealt with in this subclass
    • B21D45/02Ejecting devices

Definitions

  • the invention belongs to the field of computer-aided design, and specifically relates to a three-dimensional model cutting method for high-quality stamping and discharging.
  • the existing technology usually breaks it down into a two-step solution: first, only considering the two indicators of cutting length (BL) and shape distortion (ED), the surface model parameters are into the plane area; then, the packing efficiency (PE) index is introduced in the plane area, and the plane packing efficiency (PE) is re-optimized while taking into account the cutting length (BL) and shape distortion (ED).
  • the texture atlas generated in the second step strongly depends on the parameterization in the first step.
  • the first step introduces a large number of redundant cuts or huge shape distortions, the final result will be The result falls into a local optimal solution, making it impossible to obtain high-quality stamping and discharge materials. Therefore, within the framework of two-step optimization, a parameterization technique that is conducive to plane texture re-optimization is crucial.
  • the purpose of this invention is to overcome the existing deficiencies and provide a three-dimensional model cutting method for high-quality stamping and discharging, thereby bridging the gap between the two-step optimization strategies in traditional cutting technology to meet the application requirements of high quality and high efficiency. . .
  • a three-dimensional model cutting method for high-quality stamping and layout including the following steps:
  • step S3 Connect the singular points simplified in step S1 to obtain a set of mutually perpendicular surface cutting edges;
  • step S1 includes:
  • ⁇ i and ⁇ j respectively represent the angle between any component of the four-symmetric direction field on triangle i and triangle j relative to the x-axis
  • ⁇ ij represents the angle difference between the x-axis parallel transmission of triangle i and triangle j
  • p ij represents Alignment jump between two triangle orientation fields
  • N( vi ) represents the set of triangles surrounding the vertex vi as the center
  • d( vi ) represents the angular deficit of the vertex vi
  • ⁇ b ( vi ) represents the integer basic index corresponding to the vertex vi .
  • the index ⁇ (vi ) corresponding to all vertices is formed into an index set I(vi ) , and the points corresponding to the non-zero elements in the set I(vi ) are extracted as singular points.
  • step S2 includes:
  • the index value corresponding to singular points, N represents the number of singular points of the four-symmetric direction field extracted in step S1;
  • ⁇ k represents the index vector of the k-th iteration
  • the initial value ⁇ 0 of the iteration is the ⁇ obtained in step S21
  • 0 represents the L0 norm
  • S k represents the simplified energy function value of the k-th iteration
  • E I ( ⁇ k ) represents the light of the four-symmetric direction field at the k-th iteration degree of compliance
  • w n is the weight value
  • ⁇ g is a vector composed of discrete Gaussian curvatures of all singular points, is the pseudo-inverse matrix of the Laplacian operator of the triangular mesh graph, and the superscript T represents the transpose.
  • step S3 includes:
  • the cutting lines intersect as perpendicularly as possible
  • the total length of the cutting line should be as short as possible.
  • step S31 is specifically:
  • p( ⁇ i , ⁇ j ) represents the shortest path along the grid line from point ⁇ i to point ⁇ j
  • d(.) represents the distance function
  • ⁇ k represents the k-th singular point
  • the calculation method of ( ⁇ i , ⁇ j )) is:
  • ⁇ m represents the m-th singular point
  • step S32 is specifically:
  • ⁇ k represents the k-th singular point
  • C t-1 represents the cutting edge set corresponding to the t-1th cutting
  • p( ⁇ k ,C t-1 ) represents the point ⁇ k to the cutting edge set C t- The shortest path along the grid lines of 1 ;
  • the shortest path p( ⁇ k ,C t-1 ) is merged into the cutting edge set to obtain the cutting edge set C t corresponding to the tth cut.
  • the present invention has the following beneficial effects:
  • the present invention provides a high-efficiency three-dimensional model cutting technical solution.
  • This technical solution can map the curved surface to a parameter domain shaped like a multi-connected square with low distortion, which is conducive to the subsequent optimization of plane packing efficiency, thereby achieving the purpose of high-quality and high-efficiency stamping and discharge.
  • the present invention found that the corner points of multi-connected squares have internal angles that are integer multiples of 90 degrees. When mapped to the cutting points of the curved surface, they correspond to angle deficits that are integer multiples of 90 degrees. Since the singular point of the four-symmetry direction field naturally satisfies this corner deficit property, this technical solution intends to draw on the technical ideas of the four-symmetry direction field and use it to design and guide the parameterization of high-quality and high-efficiency stamping and layout.
  • the present invention can efficiently and robustly obtain high-quality and high-efficiency stamping and discharging on several models, fully embodying the practical effect and value of the technology of the present invention. Compared with existing cutting technology, the present invention can obtain higher quality stamping and discharge materials, and improves the packaging efficiency (PE), cutting length (BL) and shape distortion (ED) indicators.
  • PE packaging efficiency
  • BL cutting length
  • ED shape distortion
  • Figure 1 is a flow chart of a three-dimensional model cutting method for high-quality stamping and discharging
  • Figure 2 is a schematic diagram of the three-dimensional model cutting method process using a specific input model as an example
  • Figure 3 is a statistical diagram of the relative improvement of PE, BL and ED indicators in the data set compared with the traditional method, where a-f is the comparative distribution diagram of the present invention and the VarCuts method, and g-l is the comparative distribution diagram of the present invention and the OptCuts method;
  • Figure 4 is a schematic diagram of the layout results of the three-dimensional model.
  • FIG. 1-2 it is a flow chart of a three-dimensional model cutting method for high-quality stamping and discharge provided in a preferred embodiment of the present invention.
  • the main steps include 4 steps, namely S1 ⁇ S4:
  • step S3 For the simplified singular points in step S2, optimize to obtain a set of mutually perpendicular surface cutting edges, and then cut the input model along the surface cutting edges into a model that is topologically homeomorphic to the disk;
  • the existing four-symmetry field generation technology often considers factors such as feature alignment and grid density. Such redundant constraints will not only lead to low solution speed, but also make the solution The device is stuck at the local optimal solution and cannot obtain the global optimal solution. Therefore, the goal of step S1 should be the optimization of the four-symmetry direction field under the intrinsic geometric characteristics of the model, that is, only considering the Gaussian curvature of the model without considering the alignment of the characteristic lines, etc. Other irrelevant factors.
  • the present invention introduces the evaluation energy of the smoothness of the four-symmetry direction field with respect to Gaussian curvature, thereby obtaining the four-symmetry direction field and singular points that meet the application goals.
  • the present invention adopts the form of piecewise constants, that is, on each patch of the triangular mesh, the direction field has a fixed direction. Since any two triangles in a triangular mesh in space are often non-coplanar, a local coordinate system needs to be introduced to consider the angle difference after parallel transmission of direction fields between different patches.
  • the smooth four-symmetry direction field is designed according to S11 to S15:
  • S11 Define a local coordinate system on each patch of the input model, where the x-axis is the unit vector on any side of the triangle, the y-axis is obtained by rotating the x-axis counterclockwise 90° in the triangle plane, and the z-axis is the x-axis Obtained by crossing the y-axis;
  • ⁇ i and ⁇ j respectively represent the angle between any component of the four-symmetric direction field on triangle i and triangle j relative to the x-axis
  • ⁇ ij represents the angle difference between the parallel transmission of the x-axis of triangle i and triangle j
  • the integer p ij represents the aligned jump between the two triangle orientation fields
  • the present invention provides an idea of merging and simplifying adjacent singular point pairs with indexes (-1, +1) under a topology that ensures the global four-symmetry direction field.
  • the method of simply merging the nearest (-1, +1) point pairs has two major disadvantages: on the one hand, it is difficult to determine a unified merging termination condition due to the geometric specificity of the model; on the other hand, it is difficult to determine only by the number of singular points. It is difficult to assess the degree of distortion after subsequent cuts. Therefore, the present invention provides a singular point simplification method that fully considers the inherent geometric shape of the model. Specifically, the singular point merging and simplification process in this embodiment is mainly implemented through step S2. The specific method is described in detail below:
  • the index value corresponding to singular points, N represents the number of singular points of the four-symmetric direction field extracted in step S1;
  • step S22 Enumerate all pairs of integer vectors ⁇ i and ⁇ j (i ⁇ j) to participate in the calculation of step S23, where the dimensions of ⁇ i and ⁇ j are the same as the dimensions of the index vector ⁇ , and ⁇ i has only the The i element is 1, the other elements are all 0, ⁇ j is similar, only the jth element is 1;
  • ⁇ k represents the index vector of the k-th iteration
  • the initial value ⁇ 0 of the iteration is the ⁇ obtained in step S21
  • 0 represents the L0 norm
  • S k represents the simplified energy function value of the k-th iteration
  • E I ( ⁇ k ) represents the four-symmetry direction field of the k-th iteration Smoothness
  • ⁇ g is a vector composed of discrete Gaussian curvatures of all singular points, is the pseudo-inverse matrix of the Laplacian operator of the triangular mesh graph, and the superscript T represents the transpose;
  • w n is the weight value
  • the calculation method is:
  • the simplified singular point set can finally be determined.
  • the present invention needs to connect the simplified singular points through cutting lines, thereby flattening the curved surface model to a planar area shaped like a multi-connected square with low distortion.
  • the following conditions need to be met in the process of connecting singular points: first, all singular points fall on the cutting line; second, the cutting lines should intersect as perpendicularly as possible; third, After the model is cut along the cutting line, it should be homeomorphic to the disc; fourth, the total length of the cutting line should be as short as possible.
  • the specific method of performing vertical cutting in step S3 is as follows:
  • step S31 Obtain the initial cut according to the topological characteristics of the input model: determine the genus of the input model. If the genus of the input model is greater than 0, execute step S311 and then proceed to step S32; otherwise, execute step S312 and then proceed to step S32;
  • each triangular grid is called cutting edges, and several cutting edges connected end to end are connected to form a cutting line.
  • p( ⁇ i , ⁇ j ) represents the shortest path along the grid line from point ⁇ i to point ⁇ j
  • d(.) represents the distance function
  • ⁇ k represents the k-th singular point
  • the calculation method of ( ⁇ i , ⁇ j )) is:
  • ⁇ m represents the m-th singular point
  • C t-1 represents the cutting edge set corresponding to the t-1th cut
  • p( ⁇ k ,C t-1 ) represents the shortest path along the grid line from point ⁇ k to the cutting edge set C t-1 ;
  • the vertical cutting of the complete three-dimensional model has been obtained, that is, the three-dimensional curved surface of any topological form can be cut along the cutting line into a surface that is homeomorphic to the disk.
  • step S4 The specific parameterization method of step S4 is briefly described below:
  • step S41 Cut the model along the cutting line obtained in step S3, and use the Tutte diagram embedding algorithm to deform the cut surface model into a flat space;
  • a i represents the area of the i-th triangle f i
  • J i represents the deformation Jacobian of the curved triangle under plane mapping
  • F-norm represents the square of the F-norm
  • the present invention has constructed a low-distortion mapping from a three-dimensional curved surface to a polygon-like shape, in order to achieve high-quality and high-efficiency stamping and discharging effects.
  • step S1 for each model in the effective data set, establish an optimization model based on the smooth energy mentioned above, and use the mixed integer optimization solver in the libigl code library to solve it to obtain the smooth four-symmetry direction field, and extract singular points according to the method mentioned above.
  • step S2 to iteratively simplify the singular points, and find the optimal (-1, +1) singular point pair for merging in each iteration. While reducing the number of singular points, the model after cutting is also considered. Degree of deformation.
  • the weight ratio between the shape distortion energy of the model and the number of singular points is 1:0.5, that is, ⁇ is set to 0.5. When the total optimization energy no longer decreases, the iteration stops.
  • step S3 Connect the simplified singular points according to the aforementioned step S3.
  • step S4 use the cutting line in step S3 to cut the model into a disc homeomorphic surface, and then perform low-distortion planar parametric mapping.
  • the cutting method of the present invention is named OrthoCuts. Compared with the original classic VarCuts method (Sharp N, Crane K. Variational surface cutting [J].
  • the present invention provides a discrete frequency distribution diagram of the relative improvement values (r PE , r BL , r ED ) of boxing efficiency, cutting length and shape distortion, as well as two relative improvement values Two-dimensional discrete distribution map under two combinations.
  • af is the comparison distribution diagram with VarCuts
  • gl is the comparison distribution diagram with OptCuts
  • a and g show the distribution of r PE
  • b and h show the distribution of r BL
  • c and i shows the distribution of r ED .
  • the present invention can achieve higher equipment performance at the same time. Box efficiency, shorter cutting length, and less distorted nesting effect.
  • the present invention also shows several sample results, as shown in Figure 4. It can be seen that the present invention can flatten the model with low distortion through mutually perpendicular cuts, such as The polysquare structure achieves high-efficiency and high-quality nesting results.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Image Generation (AREA)
  • Numerical Control (AREA)

Abstract

The present invention relates to the field of computer-aided design. Disclosed is a three-dimensional model cutting method for high-quality stamping and discharging. The method comprises the following steps: 1) fully considering geometric information of a curved surface of a model, generating a four-symmetry direction field on an input curved surface and extracting singular points; 2) performing correlation analysis by using the number of the singular points and the length of cutting lines, and simplifying redundant singular points; 3) designing a set of curved surface cutting edges perpendicular to each other, and cutting the input curved surface into a structure homeomorphic to a circular disc while connecting the singular points; 4) performing low-distortion parameterization on the cut curved surface and optimizing the parameterization result; and 5) obtaining high-quality stamping and discharging by using a plane parameterization optimization result. The method has the following advantages: high efficiency of a polysquare in stamping and discharging is utilized, and geometric characteristics of the polysquare are fully considered, so that the operation is simple, and the robustness is high; moreover, the present invention has a very important practical application value for high-quality sheet metal stamping and discharging.

Description

一种面向高质量冲压排料的三维模型切割方法A three-dimensional model cutting method for high-quality stamping and layout 技术领域Technical field
本发明属于计算机辅助设计领域,具体涉及一种面向高质量冲压排料的三维模型切割方法。The invention belongs to the field of computer-aided design, and specifically relates to a three-dimensional model cutting method for high-quality stamping and discharging.
背景技术Background technique
利用计算机图形学技术,高装箱效率的参数化方法在冲压排料中具有广泛的应用。为了高质量高效率的排料效果,工业上一般希望冲压排料具有较高的装箱效率(PE,packing efficiency)、较短的切割边界长度(BL,boundary length)以及较小的形状扭曲(ED,energy of shape distortion)。然而,得到满足以上三个指标的结果往往涉及复杂的多目标优化,这样的优化通常因其高度的非线性和非凸性而难以高效求解。Using computer graphics technology, the parametric method with high packing efficiency has wide application in stamping and discharging. In order to achieve high-quality and efficient discharge results, the industry generally hopes that stamping discharge materials have higher packing efficiency (PE, packing efficiency), shorter cutting boundary length (BL, boundary length) and smaller shape distortion ( ED, energy of shape distortion). However, obtaining results that satisfy the above three indicators often involves complex multi-objective optimization. Such optimization is usually difficult to solve efficiently due to its high degree of nonlinearity and non-convexity.
针对这一复杂而又难以求解的多目标优化问题,现有技术通常将其拆解成两步求解:首先,只考虑切割长度(BL)和形状扭曲(ED)两个指标,将曲面模型参数化到平面区域;然后,在平面区域内引入装箱效率(PE)指标,兼顾切割长度(BL)和形状扭曲(ED)的同时进行平面装箱效率(PE)的再优化。显然,在这样的两步优化策略中,第二步生成的纹理图集强烈依赖于第一步中的参数化,一旦第一步引入了大量的冗余切割或者巨大的形状扭曲,都会使得最终结果落入到一个局部的最优解,从而无法得到高质量的冲压排料。因此,在两步优化的框架下,一个有利于平面纹理再优化的参数化技术至关重要。For this complex and difficult-to-solve multi-objective optimization problem, the existing technology usually breaks it down into a two-step solution: first, only considering the two indicators of cutting length (BL) and shape distortion (ED), the surface model parameters are into the plane area; then, the packing efficiency (PE) index is introduced in the plane area, and the plane packing efficiency (PE) is re-optimized while taking into account the cutting length (BL) and shape distortion (ED). Obviously, in such a two-step optimization strategy, the texture atlas generated in the second step strongly depends on the parameterization in the first step. Once the first step introduces a large number of redundant cuts or huge shape distortions, the final result will be The result falls into a local optimal solution, making it impossible to obtain high-quality stamping and discharge materials. Therefore, within the framework of two-step optimization, a parameterization technique that is conducive to plane texture re-optimization is crucial.
众多现有技术都只关注了上述两步优化中的其中一步,虽然它们在单步领域做出了突出了贡献,但是它们都忽略了两个步骤之间的衔接。Many existing technologies only focus on one step of the above two-step optimization. Although they have made outstanding contributions in the single-step field, they all ignore the connection between the two steps.
发明内容Contents of the invention
本发明的目的是克服现有的不足,提供一种面向高质量冲压排料的三维模型切割方法,从而弥补传统切割技术中两步优化策略之间的鸿沟,以满足高质量高效率的应用需求。。The purpose of this invention is to overcome the existing deficiencies and provide a three-dimensional model cutting method for high-quality stamping and discharging, thereby bridging the gap between the two-step optimization strategies in traditional cutting technology to meet the application requirements of high quality and high efficiency. . .
为实现本发明目的,提供的技术方案如下:In order to achieve the purpose of the present invention, the technical solutions provided are as follows:
一种面向高质量冲压排料的三维模型切割方法,包括以下步骤:A three-dimensional model cutting method for high-quality stamping and layout, including the following steps:
S1:根据输入模型的离散高斯曲率,优化输入模型三维曲面上光滑的离散四 对称方向场,获取离散方向场的奇异点;S1: According to the discrete Gaussian curvature of the input model, optimize the smooth discrete four-symmetric direction field on the three-dimensional surface of the input model and obtain the singular points of the discrete direction field;
S2:对步骤S1获取的离散方向场的奇异点进行简化;S2: Simplify the singular points of the discrete direction field obtained in step S1;
S3:连接步骤S1中简化得到的奇异点,获得一组互相垂直的曲面切割边;S3: Connect the singular points simplified in step S1 to obtain a set of mutually perpendicular surface cutting edges;
S4:沿着曲面切割边将输入模型切割成拓扑上与圆盘同胚的模型,对切割后的曲面模型进行各向同性的低扭曲参数化;S4: Cut the input model along the surface cutting edge into a model that is topologically homeomorphic to the disk, and perform isotropic low-distortion parameterization on the cut surface model;
S5:利用平面纹理优化技术对参数化结果进行优化,获得冲压排料。S5: Use plane texture optimization technology to optimize the parameterization results and obtain stamping layout.
进一步地,所述的步骤S1包括:Further, the step S1 includes:
S11:在输入模型的每个面片上定义局部坐标系;S11: Define a local coordinate system on each patch of the input model;
S12:针对输入模型的网格上的任一条连接三角形i和三角形j的公共边e ij,计算四对称方向场的平滑能量: S12: For any common edge e ij connecting triangle i and triangle j on the grid of the input model, calculate the smooth energy of the four-symmetry direction field:
Figure PCTCN2022127503-appb-000001
Figure PCTCN2022127503-appb-000001
式中,θ i和θ j分别表示三角形i和三角形j上四对称方向场任一分量相对x轴的夹角,κ ij表示三角形i和三角形j的x轴平行传输的角度差,p ij表示两个三角形方向场之间的对齐跳转,
Figure PCTCN2022127503-appb-000002
表示四对称方向场从三角形i沿着公共边e ij平行传输到三角形j的平滑能量;
In the formula, θ i and θ j respectively represent the angle between any component of the four-symmetric direction field on triangle i and triangle j relative to the x-axis, κ ij represents the angle difference between the x-axis parallel transmission of triangle i and triangle j, and p ij represents Alignment jump between two triangle orientation fields,
Figure PCTCN2022127503-appb-000002
Represents the smooth energy of the four-symmetry direction field transmitted in parallel from triangle i to triangle j along the common edge e ij ;
S13:对四对称方向场的平滑能量进行积分,求得积分最小值处对应的θ i、θ j以及p ijS13: Integrate the smooth energy of the four-symmetry direction field and obtain the corresponding θ i , θ j and p ij at the minimum integral value;
S14:根据每个顶点的角亏,计算对应的整数基础索引:S14: Calculate the corresponding integer basic index according to the angular deficit of each vertex:
Figure PCTCN2022127503-appb-000003
Figure PCTCN2022127503-appb-000003
其中,N(v i)表示以顶点v i为中心的周围一圈三角形的集合,d(v i)表示顶点v i的角亏,α b(v i)表示顶点v i对应的整数基础索引;将所有的顶点对应的整数基础索引α b(v i)构成基础索引集合I bAmong them, N( vi ) represents the set of triangles surrounding the vertex vi as the center, d( vi ) represents the angular deficit of the vertex vi , and α b ( vi ) represents the integer basic index corresponding to the vertex vi . ;Use the integer basic indexes α b (v i ) corresponding to all vertices to form a basic index set I b ;
S15:根据基础索引集合I b,计算四对称方向场下每个顶点v i的索引: S15: According to the basic index set I b , calculate the index of each vertex v i under the four-symmetry direction field:
Figure PCTCN2022127503-appb-000004
Figure PCTCN2022127503-appb-000004
将所有的顶点对应的索引α(v i)构成索引集合I(v i),提取集合I(v i)中非零元素对应的点作为奇异点。 The index α(vi ) corresponding to all vertices is formed into an index set I(vi ) , and the points corresponding to the non-zero elements in the set I(vi ) are extracted as singular points.
进一步地,所述的每个顶点v i的角亏计算公式为: Further, the calculation formula of the angle deficiency of each vertex v i is:
Figure PCTCN2022127503-appb-000005
Figure PCTCN2022127503-appb-000005
其中,
Figure PCTCN2022127503-appb-000006
表示顶点v i的离散高斯曲率,Δ ijk表示由顶点v i、v j、v k构成的三角形,∠jik表示角度值。
in,
Figure PCTCN2022127503-appb-000006
Represents the discrete Gaussian curvature of vertex v i , Δ ijk represents the triangle composed of vertices vi , v j and v k , and ∠jik represents the angle value.
进一步地,所述的步骤S2包括:Further, the step S2 includes:
S21:根据每个奇异点的索引,将奇异点的索引值组成索引向量α=[α 12,...,α i,...,α N],其中,α i为第i个奇异点所对应的索引值,N表示步骤S1提取到的四对称方向场的奇异点数量; S21: According to the index of each singular point, the index value of the singular point is composed into an index vector α = [α 1 , α 2 ,..., α i ,..., α N ], where α i is the i-th The index value corresponding to singular points, N represents the number of singular points of the four-symmetric direction field extracted in step S1;
S22:枚举所有的整数向量对δ i和δ j,i≠j,δ i和δ j的维度与索引向量α的维度相同,且δ i仅有第i个元素为1,其他元素均为0,δ j仅有第j个元素为1,其他元素均为0; S22: Enumerate all pairs of integer vectors δ i and δ j , i≠j, the dimensions of δ i and δ j are the same as the dimensions of the index vector α, and only the i-th element of δ i is 1, and the other elements are all 0, only the jth element of δ j is 1, and the other elements are all 0;
S23:对索引向量α依进行迭代优化:S23: Iteratively optimize the index vector α:
Figure PCTCN2022127503-appb-000007
Figure PCTCN2022127503-appb-000007
Figure PCTCN2022127503-appb-000008
Figure PCTCN2022127503-appb-000008
其中,α k表示的是第k次迭代的索引向量,迭代的初值α 0即为步骤S21中得到的α,||.|| 0表示L0范数,
Figure PCTCN2022127503-appb-000009
表示第k次迭代的索引向量中第i个奇异点的索引值,S k表示第k次迭代的简化能量函数值;E Ik)表示第k次迭代时的四对称方向场的光顺程度;w n是权重值;
Among them, α k represents the index vector of the k-th iteration, the initial value α 0 of the iteration is the α obtained in step S21, ||.|| 0 represents the L0 norm,
Figure PCTCN2022127503-appb-000009
represents the index value of the i-th singular point in the index vector of the k-th iteration, S k represents the simplified energy function value of the k-th iteration; E Ik ) represents the light of the four-symmetric direction field at the k-th iteration degree of compliance; w n is the weight value;
S24:当S k≥S k-1时,停止优化,并在第k-1次迭代的索引向量α k-1中找到所有非零元素,并将所有非零元素对应的点作为最终奇异点。 S24: When S k ≥ S k-1 , stop optimization and find all non-zero elements in the index vector α k-1 of the k-1 iteration, and use the points corresponding to all non-zero elements as the final singular points. .
进一步地,所述的对称方向场的光顺程度计算公式为:Further, the calculation formula for the smoothness of the symmetrical direction field is:
Figure PCTCN2022127503-appb-000010
Figure PCTCN2022127503-appb-000010
其中,α g是所有奇异点的离散高斯曲率组成的向量,
Figure PCTCN2022127503-appb-000011
是三角形网格图拉普拉斯算子的伪逆矩阵,上角标T表示转置。
Among them, α g is a vector composed of discrete Gaussian curvatures of all singular points,
Figure PCTCN2022127503-appb-000011
is the pseudo-inverse matrix of the Laplacian operator of the triangular mesh graph, and the superscript T represents the transpose.
进一步地,所述的步骤S3包括:Further, the step S3 includes:
S31:根据输入模型的拓扑特征获取初始切割边集合C 0S31: Obtain the initial cutting edge set C 0 according to the topological characteristics of the input model;
S32:采用迭代的方式将奇异点集合中的所有奇异点连接到由切割边集合中的若干切割边首尾连接形成的切割线上,在连接奇异点的过程中需要满足以下条件:S32: Use an iterative method to connect all singular points in the singular point set to the cutting line formed by connecting several cutting edges in the cutting edge set end-to-end. During the process of connecting singular points, the following conditions need to be met:
所有的奇异点都落在切割线上;All singular points fall on the cutting line;
切割线与切割线之间尽可能垂直相交;The cutting lines intersect as perpendicularly as possible;
输入模型沿着切割线切割完之后应与圆盘同胚;After the input model is cut along the cutting line, it should be homeomorphic to the disk;
切割线总长尽可能短。The total length of the cutting line should be as short as possible.
进一步地,所述的步骤S31具体为:Further, the step S31 is specifically:
判断输入模型的亏格,如果输入模型的亏格大于0,则先寻找输入模型上所有的n个不可收缩环柄圈,然后递归地进行n-1次连接操作,每一次连接都采用最短的路径将当前不连通的两个环柄相连,最后将递归结束的切割边作为初始切割边集合C 0Determine the genus of the input model. If the genus of the input model is greater than 0, first find all n non-shrinkable rings on the input model, and then perform n-1 connection operations recursively. Each connection uses the shortest The path connects two currently disconnected ring handles, and finally the cutting edge at the end of the recursion is used as the initial cutting edge set C 0 ;
如果输入模型的亏格小于或等于0,则针对每一对奇异点(σ ij),根据以下公式对切割长度进行评估: If the genus of the input model is less than or equal to 0, then for each pair of singular points (σ i , σ j ), the cutting length is evaluated according to the following formula:
Figure PCTCN2022127503-appb-000012
Figure PCTCN2022127503-appb-000012
其中,p(σ ij)表示点σ i到点σ j的沿网格线的最短路径,d(.)表示距离函数,σ k表示第k个奇异点,d(σ k,p(σ ij))的计算方法为: Among them, p(σ ij ) represents the shortest path along the grid line from point σ i to point σ j , d(.) represents the distance function, σ k represents the k-th singular point, d(σ k ,p The calculation method of (σ ij )) is:
Figure PCTCN2022127503-appb-000013
Figure PCTCN2022127503-appb-000013
s.t.σ m∈p(σ ij). stσ m ∈p(σ ij ).
其中,σ m表示第m个奇异点; Among them, σ m represents the m-th singular point;
取长度评估值l(σ ij)最小对应的路径p(σ ij)作为初始切割边集合C 0Take the path p(σ ij ) corresponding to the minimum length evaluation value l(σ ij ) as the initial cutting edge set C 0 .
进一步地,所述的步骤S32具体为:Further, the step S32 is specifically:
对于包含M个点的奇异点集合,在构建第t次切割时,需要利用已有的t-1次切割,寻找使得下式获得最小值的奇异点:For a singular point set containing M points, when constructing the t-th cut, it is necessary to use the existing t-1 cuts to find the singular point that makes the following formula obtain the minimum value:
Figure PCTCN2022127503-appb-000014
Figure PCTCN2022127503-appb-000014
C t=p(σ k,C t-1)∪C t-1 C t =p(σ k ,C t-1 )∪C t-1
式中,σ k表示第k个奇异点,C t-1代表第t-1次切割对应的切割边集合, p(σ k,C t-1)表示点σ k到切割边集合C t-1的沿网格线的最短路径; In the formula, σ k represents the k-th singular point, C t-1 represents the cutting edge set corresponding to the t-1th cutting, p(σ k ,C t-1 ) represents the point σ k to the cutting edge set C t- The shortest path along the grid lines of 1 ;
获得最小值对应的奇异点σ k之后,将得到的最短路径p(σ k,C t-1)并入切割边集合中,得到第t次切割对应的切割边集合C tAfter obtaining the singular point σ k corresponding to the minimum value, the shortest path p(σ k ,C t-1 ) is merged into the cutting edge set to obtain the cutting edge set C t corresponding to the tth cut.
本发明与现有技术相比具有的有益效果:Compared with the prior art, the present invention has the following beneficial effects:
本发明基于“形如多连正方形(polysquare)结构的参数化有利于冲压排料”这一发现,给出了高效率的三维模型切割技术方案。该技术方案能够将曲面低扭曲地映射到形似多连正方形的参数域,从而有利于后续的平面装箱效率优化,进而达到高质量高效率冲压排料的目的。Based on the discovery that "parameterization of structures shaped like polysquares is beneficial to stamping and discharging", the present invention provides a high-efficiency three-dimensional model cutting technical solution. This technical solution can map the curved surface to a parameter domain shaped like a multi-connected square with low distortion, which is conducive to the subsequent optimization of plane packing efficiency, thereby achieving the purpose of high-quality and high-efficiency stamping and discharge.
通过观察,本发明发现多连正方形的角点具有90度整数倍的内角,映射到曲面的切割点上,就是对应90度整数倍的角亏。由于四对称方向场的奇异点天然满足了这一角亏性质,本技术方案拟借鉴四对称方向场技术思路,用于设计指导面向高质量高效率冲压排料的参数化。Through observation, the present invention found that the corner points of multi-connected squares have internal angles that are integer multiples of 90 degrees. When mapped to the cutting points of the curved surface, they correspond to angle deficits that are integer multiples of 90 degrees. Since the singular point of the four-symmetry direction field naturally satisfies this corner deficit property, this technical solution intends to draw on the technical ideas of the four-symmetry direction field and use it to design and guide the parameterization of high-quality and high-efficiency stamping and layout.
本发明能够高效鲁棒地在若干模型上得到满足高质量高效率的冲压排料,充分体现了本发明技术的实用效果及其价值。相比于已有的切割技术,本发明能获得更高质量的冲压排料,在装箱效率(PE)、切割长度(BL)以及形状扭曲(ED)指标上均有提升。The present invention can efficiently and robustly obtain high-quality and high-efficiency stamping and discharging on several models, fully embodying the practical effect and value of the technology of the present invention. Compared with existing cutting technology, the present invention can obtain higher quality stamping and discharge materials, and improves the packaging efficiency (PE), cutting length (BL) and shape distortion (ED) indicators.
附图说明Description of the drawings
图1为一种面向高质量冲压排料的三维模型切割方法流程图;Figure 1 is a flow chart of a three-dimensional model cutting method for high-quality stamping and discharging;
图2为以具体输入模型为例的三维模型切割方法过程示意图;Figure 2 is a schematic diagram of the three-dimensional model cutting method process using a specific input model as an example;
图3为在数据集上和传统方法对比下的PE、BL以及ED指标的相对提升统计图,其中a-f是本发明和VarCuts方法的对比分布图,g-l是本发明和OptCuts方法的对比分布图;Figure 3 is a statistical diagram of the relative improvement of PE, BL and ED indicators in the data set compared with the traditional method, where a-f is the comparative distribution diagram of the present invention and the VarCuts method, and g-l is the comparative distribution diagram of the present invention and the OptCuts method;
图4为三维模型的排料结果示意图。Figure 4 is a schematic diagram of the layout results of the three-dimensional model.
具体实施方式Detailed ways
下面结合附图和具体实施方式对本发明做进一步阐述和说明。The present invention will be further elaborated and described below in conjunction with the accompanying drawings and specific embodiments.
如图1-2所示,为本发明的一个较佳实施例中提供的一种面向高质量冲压排料的三维模型切割方法流程图。其主要步骤包括4步,分别为S1~S4:As shown in Figure 1-2, it is a flow chart of a three-dimensional model cutting method for high-quality stamping and discharge provided in a preferred embodiment of the present invention. The main steps include 4 steps, namely S1 ~ S4:
S1:针对输入模型的三维几何形状,计算离散高斯曲率,优化得到三维曲面上光滑的离散四对称方向场,进而提取四对称方向场的奇异点;S1: Based on the three-dimensional geometric shape of the input model, calculate the discrete Gaussian curvature, optimize to obtain a smooth discrete four-symmetry direction field on the three-dimensional surface, and then extract the singular points of the four-symmetry direction field;
S2:在充分考虑四对称方向场光滑性的同时,对步骤S1中提取到的四对称方向场的奇异点进行合并和简化;S2: While fully considering the smoothness of the four-symmetry direction field, merge and simplify the singular points of the four-symmetry direction field extracted in step S1;
S3:针对步骤S2中简化后的奇异点,优化获得一组互相垂直的曲面切割边,进而沿着曲面切割边将输入模型切割成拓扑上与圆盘同胚的模型;S3: For the simplified singular points in step S2, optimize to obtain a set of mutually perpendicular surface cutting edges, and then cut the input model along the surface cutting edges into a model that is topologically homeomorphic to the disk;
S4:对切割后的曲面模型进行各向同性的低扭曲参数化;S4: Perform isotropic low-distortion parameterization on the cut surface model;
S5:利用平面纹理优化技术对参数化结果进行优化,从而获得高质量冲压排料。S5: Use plane texture optimization technology to optimize the parametric results to obtain high-quality stamping layout.
下面对本实施例中S1~S4的具体实现方式以及其效果进行详细描述。The specific implementation of S1 to S4 in this embodiment and its effects will be described in detail below.
首先,四对称方向场生成技术虽然相对成熟,但已有的四对称方向场生成技术往往考虑了特征对齐、网格密度等因素,这样的冗余约束不仅会导致求解速度低下,还会使得求解器卡在局部最优解而无法获得全局最优解,因此步骤S1的目标应该是模型的内蕴几何特征下的四对称方向场优化,即仅考虑模型的高斯曲率而不考虑特征线对齐等其他无关因素。针对这一目的,本发明针对高斯曲率引入了四对称方向场光滑性的评估能量,进而获得符合应用目标的四对称方向场和奇异点。First of all, although the four-symmetry field generation technology is relatively mature, the existing four-symmetry field generation technology often considers factors such as feature alignment and grid density. Such redundant constraints will not only lead to low solution speed, but also make the solution The device is stuck at the local optimal solution and cannot obtain the global optimal solution. Therefore, the goal of step S1 should be the optimization of the four-symmetry direction field under the intrinsic geometric characteristics of the model, that is, only considering the Gaussian curvature of the model without considering the alignment of the characteristic lines, etc. Other irrelevant factors. For this purpose, the present invention introduces the evaluation energy of the smoothness of the four-symmetry direction field with respect to Gaussian curvature, thereby obtaining the four-symmetry direction field and singular points that meet the application goals.
针对四对称方向场的离散表达,本发明采用了分片常量的形式,即在三角形网格的每一个面片上,方向场是固定方向的。由于空间中的三角形网格任意两个三角形往往是不共面的,所以需要引入局部坐标系用于考虑不同面片之间方向场平行传输后的角度差。For the discrete expression of the four-symmetric direction field, the present invention adopts the form of piecewise constants, that is, on each patch of the triangular mesh, the direction field has a fixed direction. Since any two triangles in a triangular mesh in space are often non-coplanar, a local coordinate system needs to be introduced to consider the angle difference after parallel transmission of direction fields between different patches.
在本实施例中,针对模型每点处的高斯曲率信息,按照S11~S15进行光滑四对称方向场的设计:In this embodiment, according to the Gaussian curvature information at each point of the model, the smooth four-symmetry direction field is designed according to S11 to S15:
S11:在输入模型的每个面片上定义局部坐标系,其中x轴为三角形的任意一边的单位向量,y轴是在三角形平面内将x轴逆时针旋转90°得到的,z轴为x轴叉乘y轴得到的;S11: Define a local coordinate system on each patch of the input model, where the x-axis is the unit vector on any side of the triangle, the y-axis is obtained by rotating the x-axis counterclockwise 90° in the triangle plane, and the z-axis is the x-axis Obtained by crossing the y-axis;
S12:针对网格上的任一条连接三角形i和三角形j的公共边e ij,将四对称方向场的平滑能量表达成
Figure PCTCN2022127503-appb-000015
S12: For any common edge e ij on the grid connecting triangle i and triangle j, express the smooth energy of the four-symmetry direction field as
Figure PCTCN2022127503-appb-000015
Figure PCTCN2022127503-appb-000016
Figure PCTCN2022127503-appb-000016
式中,θ i和θ j分别代表三角形i和三角形j上四对称方向场任一分量相对x 轴的夹角,κ ij表示了三角形i和三角形j的x轴平行传输的角度差,整数p ij代表了两个三角形方向场之间的对齐跳转,
Figure PCTCN2022127503-appb-000017
表示四对称方向场从三角形i沿着公共边e ij平行传输到三角形j的平滑能量;
In the formula, θ i and θ j respectively represent the angle between any component of the four-symmetric direction field on triangle i and triangle j relative to the x-axis, κ ij represents the angle difference between the parallel transmission of the x-axis of triangle i and triangle j, and the integer p ij represents the aligned jump between the two triangle orientation fields,
Figure PCTCN2022127503-appb-000017
Represents the smooth energy of the four-symmetry direction field transmitted in parallel from triangle i to triangle j along the common edge e ij ;
S13:在整个输入模型上对四对称方向场的平滑能量进行积分
Figure PCTCN2022127503-appb-000018
其中A ij为三角形i和三角形j的平均面积,并使用混合整数求解器求得E s最小值处对应的所有的θ i、θ j以及p ij
S13: Integrate the smooth energy of the four-symmetry orientation field over the entire input model
Figure PCTCN2022127503-appb-000018
where A ij is the average area of triangle i and triangle j, and a mixed integer solver is used to obtain all θ i , θ j and p ij corresponding to the minimum value of E s ;
S14:对于三角形网格上的每个顶点v i,计算其角亏
Figure PCTCN2022127503-appb-000019
其中,
Figure PCTCN2022127503-appb-000020
表示顶点v i的离散高斯曲率,N(v i)表示的是以顶点v i为中心的周围一圈三角形的集合,Δ ijk表示由顶点v i、v j、v k构成的三角形,∠jik表示角度值;接着,根据每个顶点v i的角亏,进一步计算v i对应的整数基础索引
Figure PCTCN2022127503-appb-000021
将所有的顶点对应的整数基础索引α b(v i)构成基础索引集合I b
S14: For each vertex v i on the triangle mesh, calculate its angular loss
Figure PCTCN2022127503-appb-000019
in,
Figure PCTCN2022127503-appb-000020
Represents the discrete Gaussian curvature of vertex v i , N( vi ) represents a set of triangles surrounding the vertex v i as the center, Δ ijk represents the triangle composed of vertices vi , v j , v k , ∠jik represents the angle value; then, based on the angular deficit of each vertex v i , further calculate the integer basic index corresponding to v i
Figure PCTCN2022127503-appb-000021
The integer basic indexes α b (v i ) corresponding to all vertices form a basic index set I b ;
S15:根据基础索引集合I b,计算四对称方向场下每个顶点v i的索引
Figure PCTCN2022127503-appb-000022
将所有的顶点对应的索引α(v i)构成索引集合I(v i),提取集合I(v i)中不为0的点作为步骤S1中提取的奇异点。
S15: Calculate the index of each vertex v i under the four-symmetry direction field according to the basic index set I b
Figure PCTCN2022127503-appb-000022
The index α(vi ) corresponding to all vertices is formed into an index set I(vi ) , and the points that are not 0 in the set I(vi ) are extracted as singular points extracted in step S1.
当输入模型表面几何形状起伏较多的时候,步骤S1得到的奇异点数量往往十分庞大,从而给后续的切割工序带来巨大的计算挑战。此外,冗余的临近奇异点不仅会导致切割线带有大量的锯齿形状,还会使得导致最终的排料结果因切割线过长而装箱过于细碎。本发明受高斯-博内定理启发,给出了在保证四对称方向场全局的拓扑下,对临近的索引为(-1,+1)的奇异点对进行合并化简的思路。然而,简单地合并最近的(-1,+1)点对方法具有两大缺点:一方面由于模型的几何特异性,统一的合并终止条件很难确定;另一方面是仅通过奇异点的数量很难对后续切割后的扭曲程度做评估。因此,本发明给出了一种充分考虑模型内蕴几何形态的奇异点简化方法。具体来说,本实施例中的奇异点合并简化过程主要通过步骤S2来实现,下面对其具体方法进行详细描述:When the surface geometry of the input model has many fluctuations, the number of singular points obtained in step S1 is often very large, which brings huge computational challenges to the subsequent cutting process. In addition, redundant adjacent singular points will not only cause the cutting line to have a large number of zigzag shapes, but also cause the final nesting result to be too finely packed due to the cutting line being too long. Inspired by the Gauss-Bonnet theorem, the present invention provides an idea of merging and simplifying adjacent singular point pairs with indexes (-1, +1) under a topology that ensures the global four-symmetry direction field. However, the method of simply merging the nearest (-1, +1) point pairs has two major disadvantages: on the one hand, it is difficult to determine a unified merging termination condition due to the geometric specificity of the model; on the other hand, it is difficult to determine only by the number of singular points. It is difficult to assess the degree of distortion after subsequent cuts. Therefore, the present invention provides a singular point simplification method that fully considers the inherent geometric shape of the model. Specifically, the singular point merging and simplification process in this embodiment is mainly implemented through step S2. The specific method is described in detail below:
S21:根据每个奇异点的索引,将奇异点的索引值组成索引向量α=[α 12,...,α i,...,α N],其中,α i为第i个奇异点所对应的索引值,N表示步骤S1提取到的四对称方向场的奇异点数量; S21: According to the index of each singular point, the index value of the singular point is composed into an index vector α = [α 1 , α 2 ,..., α i ,..., α N ], where α i is the i-th The index value corresponding to singular points, N represents the number of singular points of the four-symmetric direction field extracted in step S1;
S22:枚举所有的整数向量对δ i和δ j(i≠j)用于参与步骤S23的计算,其中,δ i和δ j的维度与索引向量α的维度相同,且δ i仅有第i个元素为1,其他元素均为0,δ j也与此类似,仅有第j个元素为1; S22: Enumerate all pairs of integer vectors δ i and δ j (i≠j) to participate in the calculation of step S23, where the dimensions of δ i and δ j are the same as the dimensions of the index vector α, and δ i has only the The i element is 1, the other elements are all 0, δ j is similar, only the jth element is 1;
S23:对索引向量α依据以下模型进行迭代优化:S23: Iteratively optimize the index vector α according to the following model:
Figure PCTCN2022127503-appb-000023
Figure PCTCN2022127503-appb-000023
Figure PCTCN2022127503-appb-000024
Figure PCTCN2022127503-appb-000024
其中,α k表示的是第k次迭代的索引向量,迭代的初值α 0即为步骤S21中得到的α,||.|| 0表示L0范数,
Figure PCTCN2022127503-appb-000025
表示第k次迭代的索引向量中第i个奇异点的索引值,S k表示第k次迭代的简化能量函数值;这里E Ik)表示第k次迭代时的四对称方向场的光顺程度,具体计算方法如下:
Among them, α k represents the index vector of the k-th iteration, the initial value α 0 of the iteration is the α obtained in step S21, ||.|| 0 represents the L0 norm,
Figure PCTCN2022127503-appb-000025
represents the index value of the i-th singular point in the index vector of the k-th iteration, S k represents the simplified energy function value of the k-th iteration; here E Ik ) represents the four-symmetry direction field of the k-th iteration Smoothness, the specific calculation method is as follows:
Figure PCTCN2022127503-appb-000026
Figure PCTCN2022127503-appb-000026
其中,α g是所有奇异点的离散高斯曲率组成的向量,
Figure PCTCN2022127503-appb-000027
是三角形网格图拉普拉斯算子的伪逆矩阵,上角标T表示转置;
Among them, α g is a vector composed of discrete Gaussian curvatures of all singular points,
Figure PCTCN2022127503-appb-000027
is the pseudo-inverse matrix of the Laplacian operator of the triangular mesh graph, and the superscript T represents the transpose;
另外,w n是权重值,计算方法为: In addition, w n is the weight value, and the calculation method is:
Figure PCTCN2022127503-appb-000028
Figure PCTCN2022127503-appb-000028
这里,||α 0|| 0表示的是向量α 0中非0元素的个数,λ为控制奇异点个数的参数; Here, ||α 0 || 0 represents the number of non-zero elements in the vector α 0 , and λ is the parameter that controls the number of singular points;
S24:当S k≥S k-1时,停止优化,并在第k-1次迭代的索引向量α k-1中找到所有非零元素,并将所有非零元素对应的点作为最终奇异点。 S24: When S k ≥ S k-1 , stop optimization and find all non-zero elements in the index vector α k-1 of the k-1 iteration, and use the points corresponding to all non-zero elements as the final singular points. .
经过上述S2步骤,最终可以确定简化后的奇异点集合。针对高效率高质量的冲压排料需求,本发明需要将简化后的奇异点通过切割线相连,从而将曲面模型低扭曲地展平到一个形如多连正方形的平面区域。为了这一目的,在连接奇异点的过程中需要满足以下条件:第一、所有的奇异点都落在切割线上;第二、切 割线与切割线之间应尽可能垂直相交;第三、模型沿着切割线切割完之后应与圆盘同胚;第四、切割线总长应尽可能地短。本实施例中,为了同时满足以上四个条件,步骤S3进行垂直切割的具体方法如下:After the above S2 step, the simplified singular point set can finally be determined. In response to the demand for high-efficiency and high-quality stamping and discharging, the present invention needs to connect the simplified singular points through cutting lines, thereby flattening the curved surface model to a planar area shaped like a multi-connected square with low distortion. For this purpose, the following conditions need to be met in the process of connecting singular points: first, all singular points fall on the cutting line; second, the cutting lines should intersect as perpendicularly as possible; third, After the model is cut along the cutting line, it should be homeomorphic to the disc; fourth, the total length of the cutting line should be as short as possible. In this embodiment, in order to satisfy the above four conditions at the same time, the specific method of performing vertical cutting in step S3 is as follows:
S31:根据输入模型的拓扑特征获取初始切割:判断输入模型的亏格,如果输入模型的亏格大于0,则执行步骤S311之后进入步骤S32,否则执行步骤S312之后进入步骤S32;S31: Obtain the initial cut according to the topological characteristics of the input model: determine the genus of the input model. If the genus of the input model is greater than 0, execute step S311 and then proceed to step S32; otherwise, execute step S312 and then proceed to step S32;
S311:先寻找输入模型上所有的n个不可收缩环柄圈(handle),然后递归地进行n-1次连接操作,每一次连接都采用最短的路径将当前不连通的两个环柄相连,最后将递归结束的切割边作为初始切割边集合C 0S311: First find all n non-shrinkable handles on the input model, and then perform n-1 connection operations recursively. Each connection uses the shortest path to connect the two currently disconnected handles. Finally, the cutting edge at the end of the recursion is used as the initial cutting edge set C 0 ;
本实施例中,每一个三角形网格中的连线称为切割边,若干首尾相连的切合边连成一条切割线。In this embodiment, the connecting lines in each triangular grid are called cutting edges, and several cutting edges connected end to end are connected to form a cutting line.
S312:针对每一对奇异点(σ ij),根据以下公式对切割长度进行评估: S312: For each pair of singular points (σ i , σ j ), the cutting length is evaluated according to the following formula:
Figure PCTCN2022127503-appb-000029
Figure PCTCN2022127503-appb-000029
其中,p(σ ij)表示点σ i到点σ j的沿网格线的最短路径,d(.)表示距离函数,σ k表示第k个奇异点,d(σ k,p(σ ij))的计算方法为: Among them, p(σ ij ) represents the shortest path along the grid line from point σ i to point σ j , d(.) represents the distance function, σ k represents the k-th singular point, d(σ k ,p The calculation method of (σ ij )) is:
Figure PCTCN2022127503-appb-000030
Figure PCTCN2022127503-appb-000030
s.t.σ m∈p(σ ij). stσ m ∈p(σ ij ).
其中,σ m表示第m个奇异点; Among them, σ m represents the m-th singular point;
取长度评估值l(σ ij)最小对应的路径p(σ ij)作为初始切割边集合C 0Take the path p(σ ij ) corresponding to the minimum length evaluation value l(σ ij ) as the initial cutting edge set C 0 ;
S32:采用迭代的方式将奇异点集合中的所有奇异点连接到切割线上,详细来说,对于包含M个点的奇异点集合,在构建第t次切割时,需要利用已有的t-1次切割,寻找使得下式获得最小值的奇异点:S32: Use an iterative method to connect all singular points in the singular point set to the cutting line. Specifically, for a singular point set containing M points, when constructing the t-th cutting, you need to use the existing t- 1 cut, looking for the singular point that makes the following formula obtain the minimum value:
Figure PCTCN2022127503-appb-000031
Figure PCTCN2022127503-appb-000031
C t=p(σ k,C t-1)∪C t-1 C t =p(σ k ,C t-1 )∪C t-1
式中,C t-1代表第t-1次切割对应的切割边集合,p(σ k,C t-1)表示点σ k到切割边集合C t-1的沿网格线的最短路径;获得最小值对应的奇异点σ k之后,将得到 的最短路径p(σ k,C t-1)并入切割边集合中,得到第t次切割对应的切割边集合C tIn the formula, C t-1 represents the cutting edge set corresponding to the t-1th cut, and p(σ k ,C t-1 ) represents the shortest path along the grid line from point σ k to the cutting edge set C t-1 ; After obtaining the singular point σ k corresponding to the minimum value, merge the obtained shortest path p(σ k ,C t-1 ) into the cutting edge set to obtain the cutting edge set C t corresponding to the tth cut.
由此,经过前述的S1~S3,已经获得了完整的三维模型的垂直切割,即可以沿着切割线将任意拓扑形态的三维曲面切割成与圆盘同胚的曲面。Thus, through the aforementioned S1 to S3, the vertical cutting of the complete three-dimensional model has been obtained, that is, the three-dimensional curved surface of any topological form can be cut along the cutting line into a surface that is homeomorphic to the disk.
下面简述步骤S4的具体参数化方法:The specific parameterization method of step S4 is briefly described below:
S41:沿着步骤S3所得的切割线将模型切割开,并使用Tutte图嵌入算法将切割后的曲面模型形变到平面空间;S41: Cut the model along the cutting line obtained in step S3, and use the Tutte diagram embedding algorithm to deform the cut surface model into a flat space;
S42:在平面空间内优化对称迪利克雷能量:S42: Optimizing symmetric Dirichlet energy in planar space:
Figure PCTCN2022127503-appb-000032
Figure PCTCN2022127503-appb-000032
其中,a i代表第i个三角形f i的面积,J i表示的是曲面三角形在平面映射下的形变雅可比,
Figure PCTCN2022127503-appb-000033
表示F-范数的平方。
Among them, a i represents the area of the i-th triangle f i , J i represents the deformation Jacobian of the curved triangle under plane mapping,
Figure PCTCN2022127503-appb-000033
represents the square of the F-norm.
至此,本发明已经构造了一个从三维曲面到形似多连正方形的低扭曲映射,为了达到高质量高效率的冲压排料效果。So far, the present invention has constructed a low-distortion mapping from a three-dimensional curved surface to a polygon-like shape, in order to achieve high-quality and high-efficiency stamping and discharging effects.
接下来,利用平面参数化优化方法对参数化结果进一步优化:Next, the parametric results are further optimized using the plane parametric optimization method:
S5:利用平面参数化优化方法(Liu H Y,Fu X M,Ye C,et al.Atlas refinement with bounded packing efficiency[J].ACM Transactions on Graphics(TOG),2019,38(4):1-13.),并将装箱效率下界设置成0.8,得到最终的冲压排料。S5: Using plane parameterized optimization method (Liu H Y, Fu 13.), and set the lower bound of the boxing efficiency to 0.8 to obtain the final stamping discharge.
下面基于上述实施例方法,将其应用至具体的实例中对其效果进行展示。具体的过程如前所述,不再赘述,下面主要展示其具体参数设置和实现效果。Based on the above embodiment method, the following applies it to specific examples to demonstrate its effects. The specific process is as mentioned above and will not be repeated. The following mainly shows its specific parameter settings and implementation effects.
下面以公开数据集的模型为例,对本发明进行具体描述,其具体步骤如下:Taking the model of a public data set as an example, the present invention will be described in detail below. The specific steps are as follows:
1)采用国际顶级刊物的论文(Liu H Y,Fu X M,Ye C,et al.Atlas refinement with bounded packing efficiency[J].ACM Transactions on Graphics(TOG),2019,38(4):1-13.)公开的数据集,对于数据集中的每一个模型,利用Blender软件缝合其裂缝,并在缝合后的模型中剔除非流形以及含边退化的三角形网格。其中,公开的数据集中一共有5588个模型,缝合过程中一共有53个模型为非流形或边退化的网格,合计共有5588-53=5519个有效数据。1) Use papers from top international journals (Liu H Y, Fu 13.) Public data set. For each model in the data set, use Blender software to stitch its cracks, and eliminate non-manifold and edge-containing degenerate triangle meshes in the stitched model. Among them, there are a total of 5588 models in the public data set, and a total of 53 models are non-manifold or edge-degraded meshes during the stitching process. A total of 5588-53=5519 valid data.
2)按照前述的步骤S1,对有效数据集中的每个模型,建立基于前文所述的光滑能量的优化模型,并使用libigl代码库中的混合整数优化求解器进行求解,获得光滑的四对称方向场,并按照前文所提的方法提取奇异点。2) According to the aforementioned step S1, for each model in the effective data set, establish an optimization model based on the smooth energy mentioned above, and use the mixed integer optimization solver in the libigl code library to solve it to obtain the smooth four-symmetry direction field, and extract singular points according to the method mentioned above.
3)按照前述的步骤S2对奇异点进行迭代式简化,在每次迭代中寻找最优的 (-1,+1)奇异点对进行合并,在减少奇异点数量的同时,兼顾切割后模型的形变程度。本实施例中,模型的形状扭曲能量与奇异点数量的权重比为1:0.5,即λ设置为0.5,当总的优化能量不再下降时,迭代停止。3) Follow the aforementioned step S2 to iteratively simplify the singular points, and find the optimal (-1, +1) singular point pair for merging in each iteration. While reducing the number of singular points, the model after cutting is also considered. Degree of deformation. In this embodiment, the weight ratio between the shape distortion energy of the model and the number of singular points is 1:0.5, that is, λ is set to 0.5. When the total optimization energy no longer decreases, the iteration stops.
4)按照前述的步骤S3将简化后的奇异点相连,首先根据输入模型的拓扑特征进行分类,若非球面同胚则按前述S311进行初始切割处理,若与球面同胚则按S312处理,接着再依照步骤S32进行后续切割设计;4) Connect the simplified singular points according to the aforementioned step S3. First, classify according to the topological characteristics of the input model. If it is not spherical homeomorphism, perform the initial cutting process according to the aforementioned S311. If it is spherical homeomorphism, perform the initial cutting process according to S312, and then proceed. Perform subsequent cutting design according to step S32;
5)按照前述的步骤S4,利用步骤S3中的切割线将模型切割成圆盘同胚的曲面,进而进行低扭曲的平面参数化映射。5) According to the aforementioned step S4, use the cutting line in step S3 to cut the model into a disc homeomorphic surface, and then perform low-distortion planar parametric mapping.
将本发明的切割方法命名为OrthoCuts,其相比原有的经典VarCuts方法(Sharp N,Crane K.Variational surface cutting[J].ACM Transactions on Graphics(TOG),2018,37(4):1-13.)和OptCuts(Li M,Kaufman D M,Kim V G,et al.Optcuts:Joint optimization of surface cuts and parameterization[J].ACM Transactions on Graphics(TOG),2018,37(6):1-13.)方法,在装箱效率(PE)、切割长度(BL)和形状扭曲(ED)方面均有提升。在全数据集上,分别统计了装箱效率、切割长度和形状扭曲的相对提升值:The cutting method of the present invention is named OrthoCuts. Compared with the original classic VarCuts method (Sharp N, Crane K. Variational surface cutting [J]. ACM Transactions on Graphics (TOG), 2018, 37 (4): 1- 13.) and OptCuts (Li M, Kaufman D M, Kim V G, et al. Optcuts:Joint optimization of surface cuts and parameterization[J]. ACM Transactions on Graphics (TOG), 2018, 37(6):1- 13.) method, which is improved in terms of packing efficiency (PE), cutting length (BL) and shape distortion (ED). On the full data set, the relative improvement values of binning efficiency, cutting length and shape distortion were calculated:
Figure PCTCN2022127503-appb-000034
Figure PCTCN2022127503-appb-000034
Figure PCTCN2022127503-appb-000035
Figure PCTCN2022127503-appb-000035
Figure PCTCN2022127503-appb-000036
Figure PCTCN2022127503-appb-000036
其中,our上角标表示的本发明中的量化指标值,cmp上角标表示的是对比例中的指标值。在全数据集上的百分比统计如下表1所示:Among them, the superscript our represents the quantitative index value in the present invention, and the superscript cmp represents the index value in the comparative example. The percentage statistics on the full data set are shown in Table 1 below:
表1Table 1
Figure PCTCN2022127503-appb-000037
Figure PCTCN2022127503-appb-000037
为了进一步统计本发明提出的OrthoCuts方法和对比例中的经典方法相比下各类结果的数量,将数据集中所有的结果分成ABCD四类:A)本发明的三项指标均优于比较方法;B)本发明的两个指标优于比较方法一个指标差于比较方法; C)本发明的一个指标优于比较方法两个指标差于比较方法;D)本发明的三项指标均差于比较方法。具体的统计结果如表2所示。In order to further count the number of various results between the OrthoCuts method proposed by the present invention and the classic method in the comparative example, all the results in the data set are divided into four categories ABCD: A) The three indicators of the present invention are better than the comparative method; B) Two indicators of the present invention are better than the comparison method and one indicator is worse than the comparison method; C) One indicator of the present invention is better than the comparison method and two indicators are worse than the comparison method; D) Three indicators of the present invention are all worse than the comparison method method. The specific statistical results are shown in Table 2.
表2Table 2
Figure PCTCN2022127503-appb-000038
Figure PCTCN2022127503-appb-000038
为了更直观地展现各个指标下的方法比较性能,本发明提供了装箱效率、切割长度和形状扭曲相对提升值(r PE,r BL,r ED)的离散频数分布图,以及相对提升值两两组合下的二维离散分布图。如图3所示,其中,a-f是和VarCuts的对比分布图,g-l是和OptCuts的对比分布图,a和g展示的是r PE的分布,b和h展示的是r BL的分布,c和i展示的是r ED的分布。从图3可以看出,相比与经典技术VarCuts和OptCuts,数据中的大部分结果都满足r PE≥0,r BL≥0,r ED≥0,因此本发明能够达到同时具有更高的装箱效率、更短的切割长度,和更小的扭曲程度的排料效果。此外,为了展现在具体模型上的排料效果,本发明也展示了几个样例结果,如图4所示,可以看出本发明能够通过互相垂直的切割将模型低扭曲地展平成形如多连四边形(polysquare)的结构,从而获得高效率高质量的排料结果。 In order to more intuitively display the comparative performance of methods under various indicators, the present invention provides a discrete frequency distribution diagram of the relative improvement values (r PE , r BL , r ED ) of boxing efficiency, cutting length and shape distortion, as well as two relative improvement values Two-dimensional discrete distribution map under two combinations. As shown in Figure 3, where af is the comparison distribution diagram with VarCuts, gl is the comparison distribution diagram with OptCuts, a and g show the distribution of r PE , b and h show the distribution of r BL , c and i shows the distribution of r ED . As can be seen from Figure 3, compared with the classic technologies VarCuts and OptCuts, most of the results in the data satisfy r PE ≥ 0, r BL ≥ 0, r ED ≥ 0. Therefore, the present invention can achieve higher equipment performance at the same time. Box efficiency, shorter cutting length, and less distorted nesting effect. In addition, in order to show the discharging effect on a specific model, the present invention also shows several sample results, as shown in Figure 4. It can be seen that the present invention can flatten the model with low distortion through mutually perpendicular cuts, such as The polysquare structure achieves high-efficiency and high-quality nesting results.
以上所述的实施例只是本发明的一种较佳的方案,然其并非用以限制本发明。有关技术领域的普通技术人员,在不脱离本发明的精神和范围的情况下,还可以做出各种变化和变型。因此凡采取等同替换或等效变换的方式所获得的技术方案,均落在本发明的保护范围内。The above-described embodiment is only a preferred solution of the present invention, but it is not intended to limit the present invention. Those of ordinary skill in the relevant technical fields can also make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, any technical solution obtained by adopting equivalent substitution or equivalent transformation shall fall within the protection scope of the present invention.

Claims (8)

  1. 一种面向高质量冲压排料的三维模型切割方法,其特征在于,包括以下步骤:A three-dimensional model cutting method for high-quality stamping and layout, which is characterized by including the following steps:
    S1:根据输入模型的离散高斯曲率,优化输入模型三维曲面上光滑的离散四对称方向场,获取离散方向场的奇异点;S1: According to the discrete Gaussian curvature of the input model, optimize the smooth discrete four-symmetric direction field on the three-dimensional surface of the input model and obtain the singular points of the discrete direction field;
    S2:对步骤S1获取的离散方向场的奇异点进行简化;S2: Simplify the singular points of the discrete direction field obtained in step S1;
    S3:连接步骤S1中简化得到的奇异点,获得一组互相垂直的曲面切割边;S3: Connect the singular points simplified in step S1 to obtain a set of mutually perpendicular surface cutting edges;
    S4:沿着曲面切割边将输入模型切割成拓扑上与圆盘同胚的模型,对切割后的曲面模型进行各向同性的低扭曲参数化;S4: Cut the input model along the surface cutting edge into a model that is topologically homeomorphic to the disk, and perform isotropic low-distortion parameterization on the cut surface model;
    S5:利用平面纹理优化技术对参数化结果进行优化,获得冲压排料。S5: Use plane texture optimization technology to optimize the parameterization results and obtain stamping layout.
  2. 根据权利要求1所述的面向高质量冲压排料的三维模型切割方法,其特征在于,所述的步骤S1包括:The three-dimensional model cutting method for high-quality stamping and discharging according to claim 1, characterized in that the step S1 includes:
    S11:在输入模型的每个面片上定义局部坐标系;S11: Define a local coordinate system on each patch of the input model;
    S12:针对输入模型的网格上的任一条连接三角形i和三角形j的公共边e ij,计算四对称方向场的平滑能量: S12: For any common edge e ij connecting triangle i and triangle j on the grid of the input model, calculate the smooth energy of the four-symmetry direction field:
    Figure PCTCN2022127503-appb-100001
    Figure PCTCN2022127503-appb-100001
    式中,θ i和θ j分别表示三角形i和三角形j上四对称方向场任一分量相对x轴的夹角,κ ij表示三角形i和三角形j的x轴平行传输的角度差,p ij表示两个三角形方向场之间的对齐跳转,
    Figure PCTCN2022127503-appb-100002
    表示四对称方向场从三角形i沿着公共边e ij平行传输到三角形j的平滑能量;
    In the formula, θ i and θ j respectively represent the angle between any component of the four-symmetric direction field on triangle i and triangle j relative to the x-axis, κ ij represents the angle difference between the x-axis parallel transmission of triangle i and triangle j, and p ij represents Alignment jump between two triangle orientation fields,
    Figure PCTCN2022127503-appb-100002
    Represents the smooth energy of the four-symmetry direction field transmitted in parallel from triangle i to triangle j along the common edge e ij ;
    S13:对四对称方向场的平滑能量进行积分,求得积分最小值处对应的θ i、θ j以及p ijS13: Integrate the smooth energy of the four-symmetry direction field and obtain the corresponding θ i , θ j and p ij at the minimum integral value;
    S14:根据每个顶点的角亏,计算对应的整数基础索引:S14: Calculate the corresponding integer basic index according to the angular deficit of each vertex:
    Figure PCTCN2022127503-appb-100003
    Figure PCTCN2022127503-appb-100003
    其中,N(v i)表示以顶点v i为中心的周围一圈三角形的集合,d(v i)表示顶点v i的角亏,α b(v i)表示顶点v i对应的整数基础索引;将所有的顶点对应的整数基础索引α b(v i)构成基础索引集合I bAmong them, N( vi ) represents the set of triangles surrounding the vertex vi as the center, d( vi ) represents the angular deficit of the vertex vi , and α b ( vi ) represents the integer basic index corresponding to the vertex vi . ;Use the integer basic indexes α b (v i ) corresponding to all vertices to form a basic index set I b ;
    S15:根据基础索引集合I b,计算四对称方向场下每个顶点v i的索引: S15: According to the basic index set I b , calculate the index of each vertex v i under the four-symmetry direction field:
    Figure PCTCN2022127503-appb-100004
    Figure PCTCN2022127503-appb-100004
    将所有的顶点对应的索引α(v i)构成索引集合I(v i),提取集合I(v i)中非零元素对应的点作为奇异点。 The index α(vi ) corresponding to all vertices is formed into an index set I(vi ) , and the points corresponding to the non-zero elements in the set I(vi ) are extracted as singular points.
  3. 根据权利要求2所述的面向高质量冲压排料的三维模型切割方法,其特征在于,所述的每个顶点v i的角亏计算公式为: The three-dimensional model cutting method for high-quality stamping and discharging according to claim 2, characterized in that the angle loss calculation formula of each vertex vi is:
    Figure PCTCN2022127503-appb-100005
    Figure PCTCN2022127503-appb-100005
    其中,
    Figure PCTCN2022127503-appb-100006
    表示顶点v i的离散高斯曲率,Δ ijk表示由顶点v i、v j、v k构成的三角形,∠jik表示角度值。
    in,
    Figure PCTCN2022127503-appb-100006
    Represents the discrete Gaussian curvature of vertex v i , Δ ijk represents the triangle composed of vertices vi , v j and v k , and ∠jik represents the angle value.
  4. 根据权利要求1所述的面向高质量冲压排料的三维模型切割方法,其特征在于,所述的步骤S2包括:The three-dimensional model cutting method for high-quality stamping and discharging according to claim 1, characterized in that the step S2 includes:
    S21:根据每个奇异点的索引,将奇异点的索引值组成索引向量α=[α 12,...,α i,...,α N],其中,α i为第i个奇异点所对应的索引值,N表示步骤S1提取到的四对称方向场的奇异点数量; S21: According to the index of each singular point, the index value of the singular point is composed into an index vector α = [α 1 , α 2 ,..., α i ,..., α N ], where α i is the i-th The index value corresponding to singular points, N represents the number of singular points of the four-symmetric direction field extracted in step S1;
    S22:枚举所有的整数向量对δ i和δ j,i≠j,δ i和δ j的维度与索引向量α的维度相同,且δ i仅有第i个元素为1,其他元素均为0,δ j仅有第j个元素为1,其他元素均为0; S22: Enumerate all pairs of integer vectors δ i and δ j , i≠j, the dimensions of δ i and δ j are the same as the dimensions of the index vector α, and only the i-th element of δ i is 1, and the other elements are all 0, only the jth element of δ j is 1, and the other elements are all 0;
    S23:对索引向量α依进行迭代优化:S23: Iteratively optimize the index vector α:
    Figure PCTCN2022127503-appb-100007
    Figure PCTCN2022127503-appb-100007
    Figure PCTCN2022127503-appb-100008
    Figure PCTCN2022127503-appb-100008
    其中,α k表示的是第k次迭代的索引向量,迭代的初值α 0即为步骤S21中得到的α,||.|| 0表示L0范数,
    Figure PCTCN2022127503-appb-100009
    表示第k次迭代的索引向量中第i个奇异点的索引值,S k表示第k次迭代的简化能量函数值;E Ik)表示第k次迭代时的四对称方向场的光顺程度;w n是权重值;
    Among them, α k represents the index vector of the k-th iteration, the initial value α 0 of the iteration is the α obtained in step S21, ||.|| 0 represents the L0 norm,
    Figure PCTCN2022127503-appb-100009
    represents the index value of the i-th singular point in the index vector of the k-th iteration, S k represents the simplified energy function value of the k-th iteration; E Ik ) represents the light of the four-symmetric direction field at the k-th iteration degree of compliance; w n is the weight value;
    S24:当S k≥S k-1时,停止优化,并在第k-1次迭代的索引向量α k-1中找到所有非零元素,并将所有非零元素对应的点作为最终奇异点。 S24: When S k ≥ S k-1 , stop optimization and find all non-zero elements in the index vector α k-1 of the k-1 iteration, and use the points corresponding to all non-zero elements as the final singular points. .
  5. 根据权利要求4所述的面向高质量冲压排料的三维模型切割方法,其特征在 于,所述的对称方向场的光顺程度计算公式为:The three-dimensional model cutting method for high-quality stamping and discharging according to claim 4, characterized in that the smoothness calculation formula of the symmetrical direction field is:
    Figure PCTCN2022127503-appb-100010
    Figure PCTCN2022127503-appb-100010
    其中,α g是所有奇异点的离散高斯曲率组成的向量,
    Figure PCTCN2022127503-appb-100011
    是三角形网格图拉普拉斯算子的伪逆矩阵,上角标T表示转置。
    Among them, α g is a vector composed of discrete Gaussian curvatures of all singular points,
    Figure PCTCN2022127503-appb-100011
    is the pseudo-inverse matrix of the Laplacian operator of the triangular mesh graph, and the superscript T represents the transpose.
  6. 根据权利要求1所述的面向高质量冲压排料的三维模型切割方法,其特征在于,所述的步骤S3包括:The three-dimensional model cutting method for high-quality stamping and discharging according to claim 1, characterized in that the step S3 includes:
    S31:根据输入模型的拓扑特征获取初始切割边集合C 0S31: Obtain the initial cutting edge set C 0 according to the topological characteristics of the input model;
    S32:采用迭代的方式将奇异点集合中的所有奇异点连接到由切割边集合中的若干切割边首尾连接形成的切割线上,在连接奇异点的过程中需要满足以下条件:S32: Use an iterative method to connect all singular points in the singular point set to the cutting line formed by connecting several cutting edges in the cutting edge set end-to-end. During the process of connecting singular points, the following conditions need to be met:
    所有的奇异点都落在切割线上;All singular points fall on the cutting line;
    切割线与切割线之间尽可能垂直相交;The cutting lines intersect as perpendicularly as possible;
    输入模型沿着切割线切割完之后应与圆盘同胚;After the input model is cut along the cutting line, it should be homeomorphic to the disk;
    切割线总长尽可能短。The total length of the cutting line should be as short as possible.
  7. 根据权利要求6所述的面向高质量冲压排料的三维模型切割方法,其特征在于,所述的步骤S31具体为:The three-dimensional model cutting method for high-quality stamping and discharging according to claim 6, characterized in that the step S31 is specifically:
    判断输入模型的亏格,如果输入模型的亏格大于0,则先寻找输入模型上所有的n个不可收缩环柄圈,然后递归地进行n-1次连接操作,每一次连接都采用最短的路径将当前不连通的两个环柄相连,最后将递归结束的切割边作为初始切割边集合C 0Determine the genus of the input model. If the genus of the input model is greater than 0, first find all n non-shrinkable rings on the input model, and then perform n-1 connection operations recursively. Each connection uses the shortest The path connects two currently disconnected ring handles, and finally the cutting edge at the end of the recursion is used as the initial cutting edge set C 0 ;
    如果输入模型的亏格小于或等于0,则针对每一对奇异点(σ ij),根据以下公式对切割长度进行评估: If the genus of the input model is less than or equal to 0, then for each pair of singular points (σ i , σ j ), the cutting length is evaluated according to the following formula:
    Figure PCTCN2022127503-appb-100012
    Figure PCTCN2022127503-appb-100012
    其中,p(σ ij)表示点σ i到点σ j的沿网格线的最短路径,d(.)表示距离函数,σ k表示第k个奇异点,d(σ k,p(σ ij))的计算方法为: Among them, p(σ ij ) represents the shortest path along the grid line from point σ i to point σ j , d(.) represents the distance function, σ k represents the k-th singular point, d(σ k ,p The calculation method of (σ ij )) is:
    Figure PCTCN2022127503-appb-100013
    Figure PCTCN2022127503-appb-100013
    s.t.σ m∈p(σ ij). stσ m ∈p(σ ij ).
    其中,σ m表示第m个奇异点; Among them, σ m represents the m-th singular point;
    取长度评估值l(σ ij)最小对应的路径p(σ ij)作为初始切割边集合C 0Take the path p(σ ij ) corresponding to the minimum length evaluation value l(σ ij ) as the initial cutting edge set C 0 .
  8. 根据权利要求6所述的面向高质量冲压排料的三维模型切割方法,其特征在于,所述的步骤S32具体为:The three-dimensional model cutting method for high-quality stamping and discharging according to claim 6, characterized in that the step S32 is specifically:
    对于包含M个点的奇异点集合,在构建第t次切割时,需要利用已有的t-1次切割,寻找使得下式获得最小值的奇异点:For a singular point set containing M points, when constructing the t-th cut, it is necessary to use the existing t-1 cuts to find the singular point that makes the following formula obtain the minimum value:
    Figure PCTCN2022127503-appb-100014
    Figure PCTCN2022127503-appb-100014
    C t=p(σ k,C t-1)∪C t-1 C t =p(σ k ,C t-1 )∪C t-1
    式中,σ k表示第k个奇异点,C t-1代表第t-1次切割对应的切割边集合,p(σ k,C t-1)表示点σ k到切割边集合C t-1的沿网格线的最短路径; In the formula, σ k represents the k-th singular point, C t-1 represents the cutting edge set corresponding to the t-1th cutting, p(σ k ,C t-1 ) represents the point σ k to the cutting edge set C t- The shortest path along the grid lines of 1 ;
    获得最小值对应的奇异点σ k之后,将得到的最短路径p(σ k,C t-1)并入切割边集合中,得到第t次切割对应的切割边集合C tAfter obtaining the singular point σ k corresponding to the minimum value, the shortest path p(σ k ,C t-1 ) is merged into the cutting edge set to obtain the cutting edge set C t corresponding to the tth cut.
PCT/CN2022/127503 2022-09-05 2022-10-25 Three-dimensional model cutting method for high-quality stamping and discharging WO2024050935A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211079403.0A CN115423979A (en) 2022-09-05 2022-09-05 Three-dimensional model cutting method for high-quality stamping and discharging
CN202211079403.0 2022-09-05

Publications (1)

Publication Number Publication Date
WO2024050935A1 true WO2024050935A1 (en) 2024-03-14

Family

ID=84202611

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/127503 WO2024050935A1 (en) 2022-09-05 2022-10-25 Three-dimensional model cutting method for high-quality stamping and discharging

Country Status (2)

Country Link
CN (1) CN115423979A (en)
WO (1) WO2024050935A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815527A (en) * 2018-12-07 2019-05-28 上海赛科利汽车模具技术应用有限公司 A kind of die face optimization method of hot stamping die
CN110516388A (en) * 2019-08-31 2019-11-29 大连理工大学 Surface tessellation point cloud model ring cutting knife rail generating method based on reconciliation mapping
US20200346420A1 (en) * 2017-10-27 2020-11-05 Technische Universität Berlin Auxetic Structure and a Method for Manufacturing an Auxetic Structure
CN113077553A (en) * 2021-04-06 2021-07-06 华南理工大学 Three-dimensional model segmentation method based on surface attributes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200346420A1 (en) * 2017-10-27 2020-11-05 Technische Universität Berlin Auxetic Structure and a Method for Manufacturing an Auxetic Structure
CN109815527A (en) * 2018-12-07 2019-05-28 上海赛科利汽车模具技术应用有限公司 A kind of die face optimization method of hot stamping die
CN110516388A (en) * 2019-08-31 2019-11-29 大连理工大学 Surface tessellation point cloud model ring cutting knife rail generating method based on reconciliation mapping
CN113077553A (en) * 2021-04-06 2021-07-06 华南理工大学 Three-dimensional model segmentation method based on surface attributes

Also Published As

Publication number Publication date
CN115423979A (en) 2022-12-02

Similar Documents

Publication Publication Date Title
Stein et al. Developability of triangle meshes
Marinov et al. Direct anisotropic quad-dominant remeshing
CN101877147B (en) Simplified algorithm of three-dimensional triangular mesh model
US10366535B2 (en) Method for generating hexahedral mesh based on closed-form polycube
Xiao et al. Computing IGA-suitable planar parameterizations by PolySquare-enhanced domain partition
CN103544697B (en) A kind of image partition method based on hypergraph analysis of spectrum
Zhu et al. AdaFit: Rethinking learning-based normal estimation on point clouds
Hiemstra et al. Towards untrimmed NURBS: CAD embedded reparameterization of trimmed B-rep geometry using frame-field guided global parameterization
US20180075169A1 (en) Spatial constraint based triangular mesh operations in three dimensions
CN110910492B (en) Method for point matching between non-rigid three-dimensional models
CN102013106B (en) Image sparse representation method based on Curvelet redundant dictionary
WO2021203711A1 (en) Isogeometric analysis method employing geometric reconstruction model
Gao et al. Structured volume decomposition via generalized sweeping
Wang et al. Arap++: an extension of the local/global approach to mesh parameterization
CN101833790A (en) Method for generating anisotropic quadrilateral grid based on wave equations
CN105243137A (en) Draft-based three-dimensional model retrieval viewpoint selection method
Liu et al. Distributed poly-square mapping for large-scale semi-structured quad mesh generation
Liu et al. Error-bounded edge-based remeshing of high-order tetrahedral meshes
WO2024050935A1 (en) Three-dimensional model cutting method for high-quality stamping and discharging
Asgharian et al. How many sample points are sufficient for 3D model surface representation and accurate mesh simplification?
CN111915720B (en) Automatic conversion method from building Mesh model to CityGML model
CN105869210A (en) Interpolation data processing method in three-dimensional geological surface model
CN106023314A (en) B spline master curve fitting method based on rotary axis direction mapping
Leng et al. A novel geometric flow approach for quality improvement of multi-component tetrahedral meshes
Gong et al. Approximate Delaunay mesh reconstruction and quality estimation from point samples

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22957900

Country of ref document: EP

Kind code of ref document: A1