WO2017190534A1 - Sketch plate splicing method and device based on inscribed polygon - Google Patents

Sketch plate splicing method and device based on inscribed polygon Download PDF

Info

Publication number
WO2017190534A1
WO2017190534A1 PCT/CN2017/071641 CN2017071641W WO2017190534A1 WO 2017190534 A1 WO2017190534 A1 WO 2017190534A1 CN 2017071641 W CN2017071641 W CN 2017071641W WO 2017190534 A1 WO2017190534 A1 WO 2017190534A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
board
nfp
polygon
boards
Prior art date
Application number
PCT/CN2017/071641
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 WO2017190534A1 publication Critical patent/WO2017190534A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K3/00Apparatus or processes for manufacturing printed circuits
    • H05K3/36Assembling printed circuits with other printed circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K2201/00Indexing scheme relating to printed circuits covered by H05K1/00
    • H05K2201/04Assemblies of printed circuits

Abstract

A sketch plate splicing method and device based on an inscribed polygon are provided. The method comprises the following steps: selecting a sketch plate having a polygonal shape inside from N+1 sketch plates as a mother board, the remaining N sketch plates being daughter boards (S10), wherein N is an integer greater than or equal to 1; after integrating all daughter boards into the plate gaps of the mother board, generating no-fit polygons (NFPs) corresponding to the daughter boards according to the collision principle (S20); N daughter boards correspondingly generate N no-fit polygons (NFPs) in the mother board and combines every two of the N no-fit polygons (NFPs) to generate splicing combination patterns of the N daughter boards (S30); extracting and outputting an optimal splicing combination pattern from the splicing combination patterns of the N daughter boards (S40). The utilization of PCB board and PCB board splicing efficiency can be improved.

Description

基于内接多边形的异形拼板方法及装置Shaped panel method and device based on inscribed polygon 技术领域Technical field
本发明涉及拼板技术领域,尤其涉及一种基于内接多边形的异形拼板方法及装置,具体可应用于PCB板的拼板以及异形方块自动填充。The invention relates to the technical field of paneling, in particular to a method and a device for forming a special-shaped panel based on an inscribed polygon, which can be specifically applied to a panel of a PCB board and an automatic filling of the shaped square.
背景技术Background technique
目前PCB(Printed Circuit Board,印制电路板)行业在生产PCB样板时,为了节省时间和成本,会将多款同工艺的PCB产品手动合拼一起生产,然后再罗出所有料号交付客人。拼板人员使用CAM工具手工导入多个PCB料号的CAM文件,手工把多款Set(一类PCB产品的最小出货单位)合成1个Panel(生产的最小单位,由Set合成),如果Set为异形外框,手工时间会更长,Panel的板材利用率往往较低,人工拼板20个料号需要30分钟左右,导致板材利用率低,以及拼板效率不高的问题。At present, in the PCB (Printed Circuit Board) industry, in order to save time and cost, a number of PCB products of the same process are manually produced together, and then all the item numbers are delivered to the customer. The jigsaw personnel use the CAM tool to manually import CAM files of multiple PCB material numbers, and manually combine multiple Sets (the smallest shipping units of a class of PCB products) into one Panel (the smallest unit of production, synthesized by Set), if Set For the shaped frame, the manual time will be longer, the plate utilization rate of the Panel is often lower, and the 20 pieces of the artificial board need 30 minutes or so, resulting in low utilization rate of the board and low efficiency of the board.
发明内容Summary of the invention
本发明所要解决的技术问题是:提供一种基于内接多边形的异形拼板方法,旨在提高PCB板材的利用率,以及提升PCB拼板的效率。The technical problem to be solved by the present invention is to provide a special-shaped panel method based on an inscribed polygon, which aims to improve the utilization rate of the PCB sheet and improve the efficiency of the PCB panel.
为了解决上述技术问题,本发明采用的技术方案为:提供一种基于内接多边形的异形拼板方法,包括如下步骤:In order to solve the above technical problem, the technical solution adopted by the present invention is to provide a special-shaped panel method based on an inscribed polygon, comprising the following steps:
从N+1块异形板中选取一内部带有多边形的异形板作为母板,剩余的N块异形板为子板,其中,N为大于或等于1的整数;A special shaped plate with a polygon inside is selected as a mother board from the N+1 shaped plates, and the remaining N shaped plates are sub-boards, wherein N is an integer greater than or equal to 1;
将每一子板容入母板内的板间距后,根据碰撞原理生成与子板对应的不规则的多边形内框线NFP;After each sub-board is accommodated in the board spacing in the motherboard, an irregular polygonal inner frame line NFP corresponding to the sub-board is generated according to the collision principle;
N块子板在母板内对应生成N个不规则的多边形内框线NFP,并将N个不规则的多边形内框线NFP两两合并生成N块子板的拼接组合图;N blocks are correspondingly generated in the mother board to generate N irregular polygon inner frame lines NFP, and N irregular polygon inner frame lines NFP are combined to form a splicing combination diagram of N pieces of sub-boards;
从N块子板的拼接组合图中提取并输出最优的拼板组合图。 The optimal combination of the panels is extracted and output from the splicing combination diagram of the N sub-boards.
为了解决上述技术问题,本发明采用的另一技术方案为:提供一种基于内接多边形的异形拼板装置,包括:In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a special-shaped panel device based on an inscribed polygon, including:
选取模块,用于从N+1块异形板中选取一内部带有多边形的异形板作为母板,剩余的N块异形板为子板,其中,N为大于或等于1的整数;The module is selected to select a special shaped plate with a polygon inside as a mother board from the N+1 shaped plate, and the remaining N shaped plates are sub-boards, wherein N is an integer greater than or equal to 1;
NFP生成模块,用于将每一子板容入母板内的板间距后,根据碰撞原理生成与子板对应的不规则的多边形内框线NFP;The NFP generating module is configured to generate an irregular polygonal inner frame line NFP corresponding to the sub-board according to the collision principle after the sub-board is received into the board spacing in the motherboard;
组合模块,用于根据N块子板在母板内对应生成N个不规则的多边形内框线NFP,并将N个不规则的多边形内框线NFP两两合并生成N块子板的拼接组合图;The combination module is configured to generate N irregular polygon inner frame lines NFP according to the N sub-boards, and combine the N irregular polygon inner frame lines NFP to form a splicing combination of the N sub-boards. Figure
筛选模块,用于从N块子板的拼接组合图中提取并输出最优的拼板组合图。The screening module is configured to extract and output an optimal combination of the panels from the splicing combination diagram of the N sub-boards.
本发明的有益效果在于:区别于现有技术中的采用人工拼板导致板材利用率低,以及拼板效率不高的问题,本发明提供了一种基于内接多边形的异形拼板方法,具体包括以下流程:从N+1块异形板中选取一内部带有多边形的异形板作为母板,剩余的N块异形板为子板;将每一子板容入母板内的板间距后,根据碰撞原理生成与子板对应的不规则的多边形内框线NFP;N块子板在母板内对应生成N个不规则的多边形内框线NFP,并将N个不规则的多边形内框线NFP两两合并生成N块子板的拼接组合图;从N块子板的拼接组合图中提取并输出最优的拼板组合图,通过预先生成拼接组合图,能够将子板拼接至母板的内部,有利于提高拼接的效率,并且能够降低板材的浪费,从而提高板材的利用率。The invention has the advantages that the method of using the artificial panel in the prior art leads to low utilization rate of the board and the efficiency of the panel is not high, and the invention provides a special-shaped panel method based on the inscribed polygon, The following process is included: a special shaped plate with a polygon inside is selected as a mother board from the N+1 shaped plates, and the remaining N shaped plates are sub-boards; after each sub-board is accommodated in the board spacing in the motherboard, According to the collision principle, an irregular polygonal inner frame line NFP corresponding to the sub-board is generated; the N sub-boards generate N irregular polygonal inner frame lines NFP in the mother board, and N irregular polygonal inner frame lines The NFP combines two to form a splicing combination diagram of the N sub-boards; extracts and outputs the optimal splicing combination diagram from the splicing combination diagram of the N sub-boards, and can splicing the sub-boards to the motherboard by pre-generating the splicing combination diagram The interior is beneficial to improve the efficiency of splicing and reduce the waste of the board, thereby improving the utilization of the board.
附图说明DRAWINGS
下面结合附图详述本发明的具体结构The specific structure of the present invention is described in detail below with reference to the accompanying
图1为本发明一实施例中基于内接多边形的异形拼板方法的流程图;1 is a flow chart of a method for forming a special-shaped panel based on an inscribed polygon according to an embodiment of the present invention;
图2为图1中步骤S20的一实施例的流程图; 2 is a flow chart of an embodiment of step S20 of FIG. 1;
图3为图2中步骤S22的一实施例的流程图;Figure 3 is a flow chart of an embodiment of step S22 of Figure 2;
图4为图1中步骤S30的一实施例的流程图;4 is a flow chart of an embodiment of step S30 of FIG. 1;
图5a、5b及5c为子板与母板拼接的具体示例图;5a, 5b and 5c are specific example views of the splicing of the daughter board and the mother board;
图6为本发明一实施例中基于内接多边形的异形拼板装置的方框图;6 is a block diagram of a special-shaped panel device based on an inscribed polygon according to an embodiment of the present invention;
图7为图6中NFP生成模块的一实施例的方框图;Figure 7 is a block diagram of an embodiment of the NFP generation module of Figure 6;
图8为图7中生成单元的一实施例的方框图;Figure 8 is a block diagram of an embodiment of the generating unit of Figure 7;
图9为图6中组合模块的一实施例的方框图。9 is a block diagram of an embodiment of the combination module of FIG. 6.
标号说明:Label description:
10、选取模块;10. Select a module;
20、NFP生成模块:20. NFP generation module:
21、选择单元;22、生成单元;221、设定子单元;222、获取子单元;21. Selecting a unit; 22, generating a unit; 221, setting a subunit; 222, acquiring a subunit;
223、选取子单元;224、第一判断子单元;225、第二判断子单元;223, selecting a subunit; 224, a first judging subunit; 225, a second judging subunit;
30、组合模块:30, combination module:
31、获取单元;32、处理单元;33、筛选单元;34、第一判断单元;31. An acquisition unit; 32, a processing unit; 33, a screening unit; 34, a first determining unit;
35、第二判断单元;36、旋转单元;35, a second determining unit; 36, a rotating unit;
40、筛选模块。40. Screening module.
具体实施方式detailed description
为详细说明本发明的技术内容、构造特征、所实现目的及效果,以下结合实施方式并配合附图详予说明。The detailed description of the technical contents, structural features, and the objects and effects of the present invention will be described in detail below with reference to the accompanying drawings.
本发明最关键的构思在于:本发明采用先选定内部具有多边形的母板,而余下的为子板,然后通过各子板在母板的内部移动形成多个多边形内框线NFP,并两两组合后生成N块子板的拼接组合图,并从N块子板的拼接组合图输出最优的拼板组合图,方便直接将子板拼接至母板的内部,有利于提高拼接的效率以及板材的利用率。The most critical idea of the present invention is that the present invention first selects a mother board having a polygon inside, and the remaining one is a daughter board, and then moves each of the daughter boards to form a plurality of polygonal inner frame lines NFP, and two After the combination, the splicing combination diagram of the N sub-boards is generated, and the optimal splicing combination diagram is outputted from the splicing combination diagram of the N sub-boards, so that the splicing of the sub-boards directly into the interior of the motherboard is facilitated, and the splicing efficiency is improved. And the utilization of the board.
请参阅图1,本发明提供了一种基于内接多边形的异形拼板方法,包括如 下步骤:Referring to FIG. 1 , the present invention provides a method for forming a shaped panel based on an inscribed polygon, including Next steps:
S10、从N+1块异形板中选取一内部带有多边形的异形板作为母板,剩余的N块异形板为子板,其中,N为大于或等于1的整数。应该指出的是,母板的内部多边形可以完全容纳子板,若子板的面积过大或者长度过长而不能容入母板内时,此时拼接失败,可以采用切割的方法对子板进行处理,以使任一子板均可容纳于母板内。S10. Select a profiled plate with a polygon inside from the N+1 shaped plate as the motherboard, and the remaining N shaped plates are the daughterboard, where N is an integer greater than or equal to 1. It should be pointed out that the inner polygon of the motherboard can completely accommodate the daughterboard. If the area of the daughterboard is too large or the length is too long to be accommodated in the motherboard, the splicing fails, and the daughterboard can be processed by cutting. So that any daughter board can be accommodated in the motherboard.
S20、将每一子板容入母板内的板间距后,根据碰撞原理生成与子板对应的不规则的多边形内框线NFP(又可称临界多边形)。子板容入板间距后,子板的顶点与母板的内边接触,或者母板的顶点与子板的外边接触,当子板在母板内运动一周时,可得到子板的运动轨迹。S20: After each sub-board is accommodated in the board spacing in the motherboard, an irregular polygon inner frame line NFP (also referred to as a critical polygon) corresponding to the sub-board is generated according to the collision principle. After the sub-board is accommodated in the board spacing, the apex of the sub-board contacts the inner edge of the motherboard, or the apex of the motherboard contacts the outer edge of the sub-board, and when the sub-board moves in the motherboard for one week, the motion trajectory of the sub-board can be obtained. .
S30、N块子板在母板内对应生成N个不规则的多边形内框线NFP,并将N个不规则的多边形内框线NFP两两合并生成N块子板的拼接组合图。N块子板在母板内可生成N个不规则的多边形内框线NFP,经过两两合并处理后能够形成N块子板的拼接组合图。S30 and N sub-boards respectively generate N irregular polygon inner frame lines NFP, and N irregular polygon inner frame lines NFP are combined to form a splicing combination diagram of N pieces of sub-boards. The N-block sub-board can generate N irregular polygonal inner-frame lines NFP in the mother board, and after the two-two combination processing, a splicing combination diagram of the N-piece sub-boards can be formed.
S40、从N块子板的拼接组合图中提取并输出最优的拼板组合图。上述的拼接组合图包含多种,从其中按照优劣算法可以选取并输出最优的拼板组合图。S40. Extract and output an optimal combination of the puzzle pieces from the splicing combination diagram of the N sub-boards. The above-mentioned splicing combination diagram includes a plurality of splicing combination diagrams from which the optimal splicing combination diagram can be selected and output.
板间距:是指当子板沿母板内部的多边形边运动时,子板上选定的参考点运动一周得到的轨迹形成多边形内框线NFP,多边形内框线NFP与母板的内边形成的间距。Board spacing: refers to the trajectory obtained by moving the selected reference point on the sub-board to form a polygonal inner frame line NFP when the sub-board moves along the polygon side inside the mother board, and the inner frame line NFP and the inner side of the mother board are formed. Pitch.
本发明区别于现有技术中的采用人工拼板导致板材利用率低,以及拼板效率不高的问题,本发明提供了一种基于内接多边形的异形拼板方法,具体包括以下流程:从N+1块异形板中选取一内部带有多边形的异形板作为母板,剩余的N块异形板为子板;将每一子板容入母板内的板间距后,根据碰撞原理生成与子板对应的不规则的多边形内框线NFP;N块子板在母板内对应生成N个不规则的多边形内框线NFP,并将N个不规则的多边形内框线NFP两两合并生成N块子板的拼接组合图;从N块子板的拼接组合图中提取并输出最优的拼板组合图,通过预先生成拼接组合图,能够自动将子板拼接至母板的内部,有利 于提高拼接的效率,并且能够降低板材的浪费,从而提高板材的利用率。The invention is different from the prior art in that the use of the artificial panel causes the utilization of the panel to be low, and the efficiency of the panel is not high. The invention provides a special-shaped panel method based on the inscribed polygon, and specifically includes the following process: In the N+1 shaped plate, a special shaped plate with a polygon inside is selected as a mother board, and the remaining N shaped plates are sub-boards; after each sub-board is accommodated in the board spacing in the mother board, according to the collision principle, The irregular polygon inner frame line NFP corresponding to the sub-board; the N-piece sub-board correspondingly generates N irregular polygonal inner frame lines NFP in the mother board, and merges N irregular polygonal inner frame lines NFP The splicing combination diagram of the N-block sub-boards; extracting and outputting the optimal splicing combination diagram from the splicing combination diagram of the N-sub-boards, and automatically splicing the sub-boards into the interior of the motherboard by generating the splicing combination diagram in advance, which is advantageous In order to improve the efficiency of splicing, and to reduce the waste of the board, thereby increasing the utilization rate of the board.
请参照图2,在一具体的实施例中,所述根据碰撞原理生成与N块子板对应的N个不规则的多边形内框线NFP的步骤,具体包括:Referring to FIG. 2, in a specific embodiment, the step of generating N irregular polygon inner frame lines NFP corresponding to the N sub-boards according to the collision principle includes:
S21、在母板的内边上选择与任一子板的外边重合的点作为起始位置,以及在任一子板外边选定距离母板最远的顶点作为参考点。在子板沿母板内部的多边形运动时,子板的外边至少有一点与母板的内边的一点重合,可以以此点子板运动的起始位置。另外,子板运动时,为方便记录子板容入母板的位置,最好以子板的外边距母板的内边最远的位置记为参考点,如此,以方便容入子板。当然,还可以选用子板的外边离母板的内边较远的点作为参考点。S21: Select a point on the inner side of the motherboard that coincides with the outer edge of any of the sub-boards as a starting position, and select a vertex that is farthest from the mother board as a reference point outside any one of the sub-boards. When the sub-board moves along the polygon inside the motherboard, at least one point of the outer edge of the sub-board overlaps with a point on the inner side of the motherboard, so that the starting position of the sub-plate motion can be used. In addition, in order to facilitate the recording of the position where the sub-board is accommodated in the mother board, it is preferable to record the position of the outer edge of the sub-board farthest from the inner side of the mother board as a reference point, so as to facilitate the insertion of the sub-board. Of course, it is also possible to use a point farther from the inner side of the mother board as a reference point.
S22、记录N块子板沿母板的内边运动返回至起始位置时,各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP。该运动轨迹可以暂存,以方便后续对运动轨迹的组合。S22. When the N-th sub-board is recorded to return to the starting position along the inner side of the motherboard, the motion track of each reference point forms an irregular polygonal inner frame line NFP corresponding to the sub-board. The motion trajectory can be temporarily stored to facilitate subsequent combinations of motion trajectories.
请参照图3,在一具体的实施例中,所述记录N块子板沿母板的内边运动返回至起始位置时,各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP的步骤,具体包括:Referring to FIG. 3, in a specific embodiment, when the recording N pieces are returned to the starting position along the inner side of the motherboard, the motion track of each reference point forms an irregular polygon corresponding to the sub-board. The step of the inner frame line NFP includes:
S221、设定母板与N块子板接触的任一顶点为运动点,与该运动点接触的边为运动边。本步骤中,可以设定子板的顶点为运动点,且与子板的顶点接触的母板的内边为运动边,子板的运动方向为运动边所指的方向,还可以设定母板的顶点为运动点,且与母板的顶点接触的子板的外边为运动边,子板的运动方形为运动边所指方向的反方向。如实施例中,子板在母板内进行逆时针方向运动,那么母板相对子板进行顺时针方向运动。S221. Set any of the vertices that the mother board contacts with the N sub-boards as a moving point, and the side that contacts the moving point is a moving edge. In this step, the vertices of the daughter board can be set as the motion point, and the inner edge of the motherboard that is in contact with the apex of the daughter board is a motion edge, and the motion direction of the daughter board is the direction indicated by the motion edge, and the mother can also be set. The apex of the board is a moving point, and the outer side of the sub-board that is in contact with the apex of the mother board is a moving side, and the moving square of the sub-board is the opposite direction of the direction indicated by the moving side. As in the embodiment, the daughter board moves counterclockwise within the motherboard, and then the mother board moves clockwise relative to the daughter board.
S222、获取顶点在运动边上的投影向量线段。若子板的顶点为运动点,则对子板沿运动方向在母板的运动边上作投影,并保存子板的所有顶点在母板的运动边的投影点的向量线段到集合L中。若母板的顶点为运动点,则对母板沿运动方向在子板运动边作投影,并保存母板的所有顶点在母板的运动边的投影点的向量线段到集合L中。 S222. Acquire a projection vector line segment of the vertex on the motion edge. If the vertices of the daughterboard are moving points, the daughterboard is projected on the moving edge of the motherboard along the moving direction, and the vector line segments of the projection points of all the vertices of the daughterboard at the moving edge of the motherboard are saved into the set L. If the apex of the motherboard is a moving point, the mother board is projected on the motion side of the daughter board along the moving direction, and the vector line segment of the projection point of all the vertices of the motherboard at the moving edge of the motherboard is saved into the set L.
S223、选取最短的投影向量线段。对集合向量线段的集合L进行处理,选取最短的投影向量线段。S223. Select the shortest projection vector line segment. The set L of the set vector line segments is processed to select the shortest projection vector line segment.
S224、判断最短的投影向量线段是否大于运动边的长度,若是则N块子板根据对应的运动边的方向移动,且转换运动边为与运动边相连的下一条边;若否则N块子板根据对应的最短的投影向量线段移动,且转换运动边为当前的投影边。若最短的投影向量线段为子板的顶点投影到母板的运动边上,则判断运动点为子板的顶点,运动边为子板的顶点在母板上的投影边;否则则判断运动点为母板的顶点,运动边为母板的顶点在子板上的投影边。S224. Determine whether the shortest projection vector line segment is greater than the length of the motion edge. If yes, the N sub-board moves according to the direction of the corresponding motion edge, and the converted motion edge is the next edge connected to the motion edge; if otherwise, the N sub-board Move according to the corresponding shortest projection vector line segment, and convert the motion edge to the current projection edge. If the shortest projection vector line segment is the vertices of the daughter board projected onto the motion edge of the motherboard, it is determined that the motion point is the vertices of the daughter board, and the motion edge is the projection edge of the vertices of the daughter board on the motherboard; otherwise, the motion point is determined. For the vertices of the motherboard, the motion edge is the projected edge of the vertices of the motherboard on the daughter board.
S225、判断N块子板的运动位置是否返回各自的起始位置,若是则记录N块子板的各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP;若否则返回步骤S222,直至N块子板的运动位置返回各自的起始位置。S225. Determine whether the motion position of the N sub-boards returns to the respective starting positions. If yes, record the motion track of each reference point of the N sub-boards to form an irregular polygonal inner frame line NFP corresponding to the sub-board; if not, return Step S222, until the moving positions of the N sub-boards return to their respective starting positions.
通过上述步骤,可以自动实现子板在母板的内部运动,以实现利用子板与母板的内边的碰撞原理生成多边形内框线NFP。Through the above steps, the internal movement of the daughter board in the mother board can be automatically realized, so as to realize the polygonal inner frame line NFP by using the collision principle of the inner side of the daughter board and the mother board.
请参照图4,在基于上述实施例的基础上,进一步地,所述N块子板在母板内对应生成N个不规则的多边形内框线NFP的步骤,具体包括:Referring to FIG. 4, based on the foregoing embodiment, the step of generating N irregular polygon inner frame lines NFP in the mother board is further included in the method of:
S301、获取并将任一块子板移动至该子板在母板内的重心最低位置。所述重心最低位置指子板以任一角度与母板进行拼接时,子板的重心最接近母板的内边的位置。S301. Acquire and move any of the daughter boards to a lowest position of the center of gravity of the daughter board in the motherboard. When the lowest position of the center of gravity refers to the splicing of the daughter board at any angle with the mother board, the center of gravity of the daughter board is closest to the position of the inner side of the mother board.
S302、根据该子板的外边与母板的内边,将母板内部的多边形分成若干个不规则的多边形内框线NFP并按照面积大小进行排序;一般的,子板与母板至少存在两个接触点(亦称重合点),以接触点为临界点,可以将母板的内部分隔成至少两个多边形区域,为了方便后续的计算,可以对分隔成的多边形进行排序。具体的,可以根据多边形的面积大小进行排序处理。S302. According to the outer edge of the sub-board and the inner side of the motherboard, divide the polygon inside the motherboard into a plurality of irregular polygonal inner frame lines NFP and sort according to the size of the area; generally, the sub-board and the motherboard have at least two A contact point (also known as a coincidence point), with the contact point as a critical point, can divide the interior of the motherboard into at least two polygonal regions, and the separated polygons can be sorted for convenience of subsequent calculations. Specifically, the sorting process can be performed according to the area size of the polygon.
S303、从若干个不规则的多边形内框线NFP中筛选出可容入第二块子板的面积最小的目标多边形内框线NFP。按照多边形的面积从小到大的顺序从分隔成的最小多边形中容入第二块子板。S303. Filter out a target polygon inner frame line NFP that can accommodate the second sub-board from a plurality of irregular polygonal inner frame lines NFP. The second sub-board is accommodated from the smallest polygon that is separated in the order of the area of the polygons from small to large.
S304、判断目标多边形内框线NFP是否为最后一个多边形内框线NFP,若 是则执行步骤S305,若否则循环换一个面积更大的多边形内框线NFP,直至换成面积最大的多边形内框线NFP后,并返回步骤S301;通过上述步骤可以找到面积最大的多边形内框线NFP,并可以继续移动下一块子板至该最大的多边形内框线NFP的重心最低位置。S304. Determine whether the target polygon inner frame line NFP is the last polygon inner frame line NFP. If yes, go to step S305, if otherwise, change a polygon inner frame line NFP with a larger area until the polygon inner frame line NFP has the largest area, and then return to step S301; through the above steps, the polygon inner frame with the largest area can be found. Line NFP, and can continue to move the next sub-board to the lowest position of the center of gravity of the largest polygonal inner frame line NFP.
S305、判断第二块子板是否为最后一块,若是则结束生成N个不规则的多边形内框线NFP;若否则容入第三块子板,并返回步骤S301,直至判断子板为最后一块。S305. Determine whether the second sub-board is the last block. If yes, end to generate N irregular polygon inner frame lines NFP; if otherwise, enter the third sub-board, and return to step S301 until the sub-board is determined to be the last block. .
通过上述步骤,可以将N块子板容入母板的内部,并且在子板容入母板的内部过程中,其它子板可以根据已容入的子板与母板重新组合而成的多边形内框线NFP来继续容入,如此,可以N块子板与母板内部的拼接。应该指出的是,此时,母板的内部足够容纳N块子板,而通过上述的容入方法能够以最小母板的内部空间容纳所有子板,从而提高母板内部空间的利用率。Through the above steps, the N sub-boards can be accommodated in the interior of the motherboard, and in the process of the sub-boards being accommodated in the interior of the motherboard, the other sub-boards can be re-combined according to the inserted sub-boards and the motherboard. The inner frame line NFP continues to be accommodated, so that the splicing of the N sub-boards and the inside of the motherboard can be performed. It should be noted that, at this time, the inside of the motherboard is sufficient to accommodate N sub-boards, and the above-mentioned receiving method can accommodate all the sub-boards with the inner space of the minimum mother board, thereby improving the utilization of the internal space of the motherboard.
优选地,所述获取并将任一块子板移动至该子板在母板内的重心最低位置的步骤之前,还包括将子板旋转一设定角度,并将子板与母板的内边接触的步骤。具体的,该子板旋转的角度可以根据实际的要求来设定,如逆时针方向将子板旋转90°、180°或270°,或者顺时针方向将子板旋转90°、180°或270°。Preferably, the step of acquiring and moving any of the daughter boards to the lowest position of the center of gravity of the daughter board in the motherboard further comprises rotating the daughter board by a set angle and the inner side of the daughter board and the motherboard The steps of contact. Specifically, the angle of rotation of the sub-board can be set according to actual requirements, such as rotating the sub-plate 90°, 180° or 270° counterclockwise, or rotating the sub-plate 90°, 180° or 270 clockwise. °.
在基于上述实施例的基础上,所述从N块子板的拼接组合图中提取并输出最优的拼板组合图的步骤,具体包括:取最大面积的组合图作为起始图形;取N个组合图中除所述起始图形外的任一组合图,计算得到次优模式定位点,生成组合图集合Y;遍历所述N个组合图,取所述组合图集合Y外的任一异形板组合图,得到最优模式定位点,放入所述组合图集合M;筛选内框面积最小的为最终拼板组合图。On the basis of the foregoing embodiment, the step of extracting and outputting the optimal combination of the panels from the splicing combination diagram of the N sub-boards includes: taking the combined image of the largest area as the starting graphic; taking N Any combination map other than the start graph in the combined graph, the suboptimal mode anchor point is calculated, and the combined graph set Y is generated; the N combined graphs are traversed, and any one of the combined graph sets Y is taken. The profiled plate combination map obtains the optimal mode positioning point and is placed in the combined image set M; the smallest inner frame area is the final puzzle combination view.
请参照图5a、图5b及图5c,在一具体拼接示例中,白色的方框为母板的内部多边形,方框外各待拼接的子板;开始拼接时,从子板中从选择较大面积的板材,并将其填充至方框内如图,然后选择较小面积的板材并将填充至已填充的子板与母板的内边之间(保证子板与母板的重心最低),最后选择最小面积 的板材填充,如此得到最终的拼板组合图。Referring to FIG. 5a, FIG. 5b and FIG. 5c, in a specific splicing example, the white box is the inner polygon of the motherboard, and the sub-boards to be spliced outside the box; when starting the splicing, the slave board is selected from the sub-board. A large area of sheet material, and fill it into the box as shown in the figure, then select a smaller area of the board and fill it between the filled sub-board and the inner side of the motherboard (to ensure the lowest center of gravity of the daughter board and the motherboard) ), finally choose the smallest area The sheet is filled, so that the final panel combination is obtained.
请参照图6,本发明还提供了一种基于内接多边形的异形拼板装置,包括选取模块10、NFP生成模块20、组合模块30以及筛选模块40。Referring to FIG. 6 , the present invention further provides a special-shaped panel device based on an inscribed polygon, comprising a selection module 10 , an NFP generation module 20 , a combination module 30 , and a screening module 40 .
选取模块10,用于从N+1块异形板中选取一内部带有多边形的异形板作为母板,剩余的N块异形板为子板,其中,N为大于或等于1的整数。具体的,母板的内部多边形可以完全容纳子板,若子板的面积过大或者长度过长而不能容入母板内时,此时拼接失败,可以采用切割的方法对子板进行处理,以使任一子板均可容纳于母板内。The module 10 is configured to select a special shaped plate with a polygon inside as a mother board from the N+1 shaped plate, and the remaining N shaped plates are sub-boards, wherein N is an integer greater than or equal to 1. Specifically, the inner polygon of the motherboard can completely accommodate the sub-board. If the area of the sub-board is too large or the length is too long to be accommodated in the motherboard, the splicing fails, and the sub-board can be processed by cutting. Allow any of the daughter boards to be housed in the motherboard.
NFP生成模块20,用于将每一子板容入母板内的板间距后,根据碰撞原理生成与子板对应的不规则的多边形内框线NFP。具体的,子板容入板间距后,子板的顶点与母板的内边接触,或者母板的顶点与子板的外边接触,当子板在母板内运动一周时,可得到子板的运动轨迹。The NFP generating module 20 is configured to generate an irregular polygonal inner frame line NFP corresponding to the sub-board according to the collision principle after the sub-board is received into the board spacing in the motherboard. Specifically, after the sub-board is accommodated in the board spacing, the apex of the sub-board contacts the inner edge of the motherboard, or the apex of the motherboard contacts the outer edge of the sub-board, and when the sub-board moves in the motherboard for one week, the sub-board is obtained. Movement track.
组合模块30,用于根据N块子板在母板内对应生成N个不规则的多边形内框线NFP,并将N个不规则的多边形内框线NFP两两合并生成N块子板的拼接组合图。具体的,N块子板在母板内可生成N个不规则的多边形内框线NFP,经过两两合并处理后能够形成N块子板的拼接组合图。The combination module 30 is configured to generate N irregular polygonal inner frame lines NFP according to the N sub-boards, and combine the N irregular polygonal inner frame lines NFP to form a splicing of the N sub-boards. Combination chart. Specifically, the N sub-boards can generate N irregular polygonal inner frame lines NFP in the mother board, and after the two-two combination processing, a splicing combination diagram of the N sub-boards can be formed.
筛选模块40,用于从N块子板的拼接组合图中提取并输出最优的拼板组合图。The screening module 40 is configured to extract and output an optimal combination of the panels from the splicing combination diagram of the N sub-boards.
请参照图7,在一具体的实施例中,所述NFP生成模块20包括选择单元21和生成单元22。Referring to FIG. 7, in a specific embodiment, the NFP generation module 20 includes a selection unit 21 and a generation unit 22.
选择单元21,用于在母板的内边上选择与任一子板的外边重合的点作为起始位置,以及在任一子板外边选定距离母板最远的顶点作为参考点。具体的,在子板沿母板内部的多边形运动时,子板的外边至少有一点与母板的内边的一点重合,可以以此点子板运动的起始位置。另外,子板运动时,为方便记录子板容入母板的位置,最好以子板的外边距母板的内边最远的位置记为参考点,如此,以方便容入子板。当然,还可以选用子板的外边离母板的内边较远的点 作为参考点。The selecting unit 21 is configured to select a point on the inner side of the motherboard that coincides with the outer edge of any of the sub-boards as a starting position, and select a vertex farthest from the mother board as a reference point outside the outer side of any of the sub-boards. Specifically, when the sub-board moves along the polygon inside the motherboard, at least one point of the outer edge of the sub-board overlaps with a point of the inner side of the motherboard, and the starting position of the sub-plate motion can be used. In addition, in order to facilitate the recording of the position where the sub-board is accommodated in the mother board, it is preferable to record the position of the outer edge of the sub-board farthest from the inner side of the mother board as a reference point, so as to facilitate the insertion of the sub-board. Of course, you can also choose the point where the outer edge of the daughter board is far from the inner side of the motherboard. As a reference point.
生成单元22,用于记录N块子板沿母板的内边运动返回至起始位置时,各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP。具体的,该运动轨迹可以暂存,以方便后续对运动轨迹的组合。The generating unit 22 is configured to record the motion track of each reference point to form an irregular polygonal inner frame line NFP corresponding to the daughter board when the N-th sub-board moves back to the starting position along the inner side of the motherboard. Specifically, the motion track can be temporarily stored to facilitate subsequent combinations of motion trajectories.
请参照图8,在一具体的实施例中,所述生成单元22包括设定子单元221、获取子单元222、选取子单元223、第一判断子单元224以及第二判断子单元225。Referring to FIG. 8 , in a specific embodiment, the generating unit 22 includes a setting subunit 221 , an obtaining subunit 222 , a selecting subunit 223 , a first judging subunit 224 , and a second judging subunit 225 .
设定子单元221,用于设定母板与N块子板接触的任一顶点为运动点,与该运动点接触的边为运动边。具体的,该设定子单元221可以设定子板的顶点为运动点,且与子板的顶点接触的母板的内边为运动边,子板的运动方向为运动边所指的方向,还可以设定母板的顶点为运动点,且与母板的顶点接触的子板的外边为运动边,子板的运动方形为运动边所指方向的反方向。如实施例中,子板在母板内进行逆时针方向运动,那么母板相对子板进行顺时针方向运动。The setting sub-unit 221 is configured to set any vertex of the motherboard to be in contact with the N sub-boards as a moving point, and the side in contact with the moving point is a moving edge. Specifically, the setting sub-unit 221 can set the vertex of the sub-board as a moving point, and the inner side of the motherboard that is in contact with the vertex of the sub-board is a moving edge, and the moving direction of the sub-board is a direction indicated by the moving edge. It is also possible to set the apex of the motherboard to be a moving point, and the outer side of the sub-board that is in contact with the apex of the mother board is a moving edge, and the motion square of the sub-board is the opposite direction of the direction indicated by the moving side. As in the embodiment, the daughter board moves counterclockwise within the motherboard, and then the mother board moves clockwise relative to the daughter board.
获取子单元222,用于获取顶点在运动边上的投影向量线段。具体的,若子板的顶点为运动点,则对子板沿运动方向在母板的运动边上作投影,并保存子板的所有顶点在母板的运动边的投影点的向量线段到集合L中。若母板的顶点为运动点,则对母板沿运动方向在子板运动边作投影,并保存母板的所有顶点在母板的运动边的投影点的向量线段到集合L中。The obtaining sub-unit 222 is configured to acquire a projection vector line segment of the vertex on the moving edge. Specifically, if the vertices of the daughterboard are moving points, the daughterboard is projected on the moving edge of the motherboard along the moving direction, and the vector line segment of the projection point of all the vertices of the daughterboard at the moving edge of the motherboard is saved to the set L. in. If the apex of the motherboard is a moving point, the mother board is projected on the motion side of the daughter board along the moving direction, and the vector line segment of the projection point of all the vertices of the motherboard at the moving edge of the motherboard is saved into the set L.
选取子单元223,用于选取最短的投影向量线段。该选取子单元223可以对集合向量线段的集合L进行处理,选取最短的投影向量线段。 Subunit 223 is selected for selecting the shortest projection vector line segment. The selection sub-unit 223 can process the set L of set vector line segments and select the shortest projection vector line segment.
第一判断子单元224,用于判断最短的投影向量线段是否大于运动边的长度,若是则N块子板根据对应的运动边的方向移动,且转换运动边为与运动边相连的下一条边;若否则N块子板根据对应的最短的投影向量线段移动,且转换运动边为当前的投影边。该第一判断子单元224,若最短的投影向量线段为子板的顶点投影到母板的运动边上,则判断运动点为子板的顶点,运动边为子板的顶点在母板上的投影边;否则则判断运动点为母板的顶点,运动边为母板的顶点在子板上的投影边。 The first determining sub-unit 224 is configured to determine whether the shortest projection vector line segment is greater than the length of the moving edge, and if so, the N sub-board moves according to the direction of the corresponding moving edge, and the converted moving edge is the next edge connected to the moving edge. If otherwise, the N sub-boards move according to the corresponding shortest projection vector line segment, and the converted motion edge is the current projection edge. The first judging subunit 224, if the shortest projection vector line segment is the vertices of the sub-board projected onto the moving edge of the motherboard, it is determined that the motion point is the vertex of the sub-board, and the moving edge is the vertex of the sub-board on the mother board. Projection edge; otherwise, the motion point is the vertices of the motherboard, and the motion edge is the projection edge of the vertices of the motherboard on the daughter board.
第二判断子单元225,用于判断N块子板的运动位置是否返回各自的起始位置,若是则记录N块子板的各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP;若否则返回继续获取下一顶点在运动边上的投影向量线段,直至N块子板的运动位置返回各自的起始位置。The second determining sub-unit 225 is configured to determine whether the moving positions of the N sub-boards return to respective starting positions, and if so, record the motion trajectory of each reference point of the N sub-boards to form an irregular polygon corresponding to the sub-board The frame line NFP; if otherwise, returns to the projection vector line segment of the next vertex on the motion side until the motion position of the N sub-boards returns to their respective starting positions.
通过生成单元22可以自动实现子板在母板的内部运动,以实现利用子板与母板的内边的碰撞原理生成多边形内框线NFP。The internal movement of the daughter board in the motherboard can be automatically realized by the generating unit 22, so that the polygonal inner frame line NFP is generated by the collision principle between the daughter board and the inner side of the motherboard.
请参照图9,在基于上述实施例的基础上,进一步地,所述组合模块30包括获取单元31、处理单元32、筛选单元33、第一判断单元34以及第二判断单元35。Referring to FIG. 9 , based on the foregoing embodiment, the combining module 30 further includes an obtaining unit 31 , a processing unit 32 , a screening unit 33 , a first determining unit 34 , and a second determining unit 35 .
获取单元31,用于获取并将任一块子板移动至该子板在母板内的重心最低位置。其中,重心最低位置指子板以任一角度与母板进行拼接时,子板的重心最接近母板的内边的位置。The obtaining unit 31 is configured to acquire and move any of the sub-boards to a lowest position of the center of gravity of the sub-board in the motherboard. Wherein, when the lowest position of the center of gravity refers to the splicing of the daughter board at any angle with the mother board, the center of gravity of the daughter board is closest to the position of the inner side of the mother board.
处理单元32,用于根据该子板的外边与母板的内边,将母板内部的多边形分成若干个不规则的多边形内框线NFP并按照面积大小进行排序。一般的,子板与母板至少存在两个接触点(亦称重合点),以接触点为临界点,可以将母板的内部分隔成至少两个多边形区域,为了方便后续的计算,可以对分隔成的多边形进行排序。具体的,可以根据多边形的面积大小进行排序处理。The processing unit 32 is configured to divide the polygon inside the motherboard into a plurality of irregular polygonal inner frame lines NFP according to the outer edge of the sub-board and the inner side of the motherboard, and sort according to the size of the area. Generally, there are at least two contact points (also referred to as coincidence points) between the daughter board and the motherboard, and the contact point is a critical point, and the interior of the motherboard can be divided into at least two polygonal areas, in order to facilitate subsequent calculation, Sort the separated polygons. Specifically, the sorting process can be performed according to the area size of the polygon.
筛选单元33,用于从若干个不规则的多边形内框线NFP中筛选出可容入第二块子板的面积最小的目标多边形内框线NFP。该筛选单元33用于按照多边形的面积从小到大的顺序从分隔成的最小多边形中容入第二块子板。The screening unit 33 is configured to filter, from a plurality of irregular polygon inner frame lines NFP, a target polygon inner frame line NFP that can accommodate the second sub-board. The screening unit 33 is configured to accommodate the second sub-board from the smallest polygons that are separated in order of the area of the polygons from small to large.
第一判断单元34,用于判断目标多边形内框线NFP是否为最后一个多边形内框线NFP,若是则继续判断第二子板是否为最后一块子板,若否则循环换一个面积更大的多边形内框线NFP,直至换成面积最大的多边形内框线NFP后,并继续获取第二块子板的重心最低位置。通过第一判断单元34,可以找到面积最大的多边形内框线NFP,并可以继续移动下一块子板至该最大的多边形内框线NFP的重心最低位置。The first determining unit 34 is configured to determine whether the target polygon inner frame line NFP is the last polygon inner frame line NFP, and if yes, continue to determine whether the second sub-board is the last sub-board, if otherwise, the loop is replaced by a larger area polygon. The inner frame line NFP is replaced by the polygon inner frame line NFP having the largest area, and continues to obtain the lowest position of the center of gravity of the second sub-board. Through the first judging unit 34, the polygon inner frame line NFP having the largest area can be found, and the next sub-board can be further moved to the lowest position of the center of gravity of the largest polygonal inner frame line NFP.
第二判断单元35,用于判断第二块子板是否为最后一块,若是则结束生成 N个不规则的多边形内框线NFP;若否则容入第三块子板,并继续获取第三块子板的重心最低位置,直至判断子板为最后一块。The second determining unit 35 is configured to determine whether the second sub-board is the last block, and if so, end the generation N irregular polygon inner frame lines NFP; otherwise, if the third sub-board is accommodated, and continue to obtain the lowest position of the center of gravity of the third sub-board, until the sub-board is determined to be the last block.
通过组合模块30,可以将N块子板容入母板的内部,并且在子板容入母板的内部过程中,其它子板可以根据已容入的子板与母板重新组合而成的多边形内框线NFP来继续容入,如此,可以N块子板与母板内部的拼接。应该指出的是,此时,母板的内部足够容纳N块子板,而通过上述的容入方法能够以最小母板的内部空间容纳所有子板,从而提高母板内部空间的利用率。By combining the module 30, the N sub-boards can be accommodated inside the motherboard, and during the internal process of the sub-boards being received into the motherboard, the other sub-boards can be re-assembled according to the inserted sub-boards and the motherboard. The inner frame line NFP of the polygon continues to be accommodated, so that the splicing of the N sub-boards and the inside of the motherboard can be performed. It should be noted that, at this time, the inside of the motherboard is sufficient to accommodate N sub-boards, and the above-mentioned receiving method can accommodate all the sub-boards with the inner space of the minimum mother board, thereby improving the utilization of the internal space of the motherboard.
优选地,所述组合模块30还包括旋转单元36。旋转单元36,用于将子板旋转一设定角度,并将子板与母板的内边接触。该旋转单元36对子板的旋转的角度可以根据实际的要求来设定,如逆时针方向将子板旋转90°、180°或270°,或者顺时针方向将子板旋转90°、180°或270°。Preferably, the combination module 30 further includes a rotation unit 36. The rotating unit 36 is configured to rotate the daughter board by a set angle and contact the daughter board with the inner edge of the motherboard. The angle of rotation of the rotating unit 36 to the sub-board can be set according to actual requirements, such as rotating the sub-plate 90°, 180° or 270° counterclockwise, or rotating the sub-plate 90°, 180° clockwise. Or 270°.
综上所述,本发明基于内接多边形的异形拼板装置,通过应用上述的基于内接多边形的异形拼接方法,能够提高PCB板材的利用率,以及提升PCB拼板的效率。In summary, the present invention is based on an inscribed polygon-shaped shaped panel device. By applying the above-described inscribed polygon-based profiled stitching method, the utilization rate of the PCB sheet can be improved, and the efficiency of the PCB panel can be improved.
此处第一、第二只代表其名称的区分,不代表它们的重要程度和位置有什么不同。The distinction between the first and second names on their behalf does not mean that their importance and location are different.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation of the present invention and the contents of the drawings may be directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种基于内接多边形的异形拼板方法,其特征在于,包括如下步骤:A special-shaped panel method based on an inscribed polygon, comprising the following steps:
    从N+1块异形板中选取一内部带有多边形的异形板作为母板,剩余的N块异形板为子板,其中,N为大于或等于1的整数;A special shaped plate with a polygon inside is selected as a mother board from the N+1 shaped plates, and the remaining N shaped plates are sub-boards, wherein N is an integer greater than or equal to 1;
    将每一子板容入母板内的板间距后,根据碰撞原理生成与子板对应的不规则的多边形内框线NFP;After each sub-board is accommodated in the board spacing in the motherboard, an irregular polygonal inner frame line NFP corresponding to the sub-board is generated according to the collision principle;
    N块子板在母板内对应生成N个不规则的多边形内框线NFP,并将N个不规则的多边形内框线NFP两两合并生成N块子板的拼接组合图;N blocks are correspondingly generated in the mother board to generate N irregular polygon inner frame lines NFP, and N irregular polygon inner frame lines NFP are combined to form a splicing combination diagram of N pieces of sub-boards;
    从N块子板的拼接组合图中提取并输出最优的拼板组合图。The optimal combination of the panels is extracted and output from the splicing combination diagram of the N sub-boards.
  2. 如权利要求1所述的基于内接多边形的异形拼板方法,其特征在于,所述根据碰撞原理生成与N块子板对应的N个不规则的多边形内框线NFP的步骤,具体包括:The method of the inscribed polygon-based profiled panel according to claim 1, wherein the step of generating the N irregular polygon inner frame lines NFP corresponding to the N-blocks according to the collision principle comprises:
    在母板的内边上选择与任一子板的外边重合的点作为起始位置,以及在任一子板外边选定距离母板最远的顶点作为参考点;Selecting a point on the inner side of the motherboard that coincides with the outer edge of any of the sub-boards as a starting position, and selecting a vertex farthest from the mother board as a reference point outside any of the sub-boards;
    记录N块子板沿母板的内边运动返回至起始位置时,各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP。When the N-th sub-board is recorded to return to the starting position along the inner side of the mother board, the motion trajectory of each reference point forms an irregular polygonal inner frame line NFP corresponding to the sub-board.
  3. 如权利要求2所述的基于内接多边形的异形拼板方法,其特征在于,所述记录N块子板沿母板的内边运动返回至起始位置时,各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP的步骤,具体包括:The inscribed polygon-based profile-like panel method according to claim 2, wherein when the recording N-piece sub-board moves back to the starting position along the inner side of the mother board, the motion trajectory of each reference point is formed and The step of the irregular polygon inner frame line NFP corresponding to the sub-board includes:
    S221、设定母板与N块子板接触的任一顶点为运动点,与该运动点接触的边为运动边;S221. Set any vertices in which the mother board contacts the N sub-boards as a moving point, and the side in contact with the moving point is a moving edge;
    S222、获取顶点在运动边上的投影向量线段;S222. Obtain a projection vector line segment of the vertex on the motion edge.
    S223、选取最短的投影向量线段;S223. Select a shortest projection vector line segment.
    S224、判断最短的投影向量线段是否大于运动边的长度,若是则N块子板根据对应的运动边的方向移动,且转换运动边为与运动边相连的下一条边;若 否则N块子板根据对应的最短的投影向量线段移动,且转换运动边为当前的投影边;S224. Determine whether the shortest projection vector line segment is greater than the length of the motion edge. If yes, the N sub-board moves according to the direction of the corresponding motion edge, and the converted motion edge is the next edge connected to the motion edge; Otherwise, the N-th sub-board moves according to the corresponding shortest projection vector line segment, and the converted motion edge is the current projection edge;
    S225、判断N块子板的运动位置是否返回各自的起始位置,若是则记录N块子板的各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP;若否则返回步骤S222,直至N块子板的运动位置返回各自的起始位置。S225. Determine whether the motion position of the N sub-boards returns to the respective starting positions. If yes, record the motion track of each reference point of the N sub-boards to form an irregular polygonal inner frame line NFP corresponding to the sub-board; if not, return Step S222, until the moving positions of the N sub-boards return to their respective starting positions.
  4. 如权利要求1至3中任一项所述的基于内接多边形的异形拼板方法,其特征在于,所述N块子板在母板内对应生成N个不规则的多边形内框线NFP的步骤,具体包括:The method for forming an inscribed polygon based on the inscribed polygon according to any one of claims 1 to 3, wherein the N sub-boards correspondingly generate N irregular polygonal inner frame lines NFP in the mother board. The steps specifically include:
    S301、获取并将任一块子板移动至该子板在母板内的重心最低位置;S301. Acquire and move any of the daughter boards to a lowest position of the center of gravity of the daughter board in the motherboard;
    S302、根据该子板的外边与母板的内边,将母板内部的多边形分成若干个不规则的多边形内框线NFP并按照面积大小进行排序;S302. According to the outer edge of the sub-board and the inner side of the motherboard, divide the polygon inside the motherboard into a plurality of irregular polygonal inner frame lines NFP and sort according to the size of the area;
    S303、从若干个不规则的多边形内框线NFP中筛选出可容入第二块子板的面积最小的目标多边形内框线NFP;S303. The target polygon inner frame line NFP having the smallest area that can be accommodated in the second sub-board is filtered out from the plurality of irregular inner inner frame lines NFP.
    S304、判断目标多边形内框线NFP是否为最后一个多边形内框线NFP,若是则执行步骤S305,若否则循环换一个面积更大的多边形内框线NFP,直至换成面积最大的多边形内框线NFP后,并返回步骤S301;S304. Determine whether the target polygon inner frame line NFP is the last polygon inner frame line NFP. If yes, execute step S305, if otherwise, switch a larger inner polygon inner frame line NFP until the polygon inner frame line with the largest area is replaced. After NFP, and returns to step S301;
    S305、判断第二块子板是否为最后一块,若是则结束生成N个不规则的多边形内框线NFP;若否则容入第三块子板,并返回步骤S301,直至判断子板为最后一块。S305. Determine whether the second sub-board is the last block. If yes, end to generate N irregular polygon inner frame lines NFP; if otherwise, enter the third sub-board, and return to step S301 until the sub-board is determined to be the last block. .
  5. 如权利要求4所述的基于内接多边形的异形拼板方法,其特征在于,所述获取并将任一块子板移动至该子板在母板内的重心最低位置的步骤之前,还包括将子板旋转一设定角度,并将子板与母板的内边接触的步骤。The inscribed polygon-based profile-like panel method according to claim 4, wherein the step of acquiring and moving any of the daughter boards to the lowest position of the center of gravity of the daughter board in the motherboard includes The step of rotating the sub-board by a set angle and contacting the sub-board with the inner edge of the motherboard.
  6. 一种基于内接多边形的异形拼板装置,其特征在于,包括:A special-shaped panel device based on an inscribed polygon, comprising:
    选取模块,用于从N+1块异形板中选取一内部带有多边形的异形板作为母板,剩余的N块异形板为子板,其中,N为大于或等于1的整数; The module is selected to select a special shaped plate with a polygon inside as a mother board from the N+1 shaped plate, and the remaining N shaped plates are sub-boards, wherein N is an integer greater than or equal to 1;
    NFP生成模块,用于将每一子板容入母板内的板间距后,根据碰撞原理生成与子板对应的不规则的多边形内框线NFP;The NFP generating module is configured to generate an irregular polygonal inner frame line NFP corresponding to the sub-board according to the collision principle after the sub-board is received into the board spacing in the motherboard;
    组合模块,用于根据N块子板在母板内对应生成N个不规则的多边形内框线NFP,并将N个不规则的多边形内框线NFP两两合并生成N块子板的拼接组合图;The combination module is configured to generate N irregular polygon inner frame lines NFP according to the N sub-boards, and combine the N irregular polygon inner frame lines NFP to form a splicing combination of the N sub-boards. Figure
    筛选模块,用于从N块子板的拼接组合图中提取并输出最优的拼板组合图。The screening module is configured to extract and output an optimal combination of the panels from the splicing combination diagram of the N sub-boards.
  7. 如权利要求6所述的基于内接多边形的异形拼板装置,其特征在于,所述NFP生成模块包括:The inscribed polygon-based shaped panel device according to claim 6, wherein the NFP generation module comprises:
    选择单元,用于在母板的内边上选择与任一子板的外边重合的点作为起始位置,以及在任一子板外边选定距离母板最远的顶点作为参考点;a selection unit for selecting a point coincident with an outer edge of any of the sub-boards as a starting position on the inner side of the motherboard, and selecting a vertex furthest from the mother board as a reference point outside the outer side of any of the sub-boards;
    生成单元,用于记录N块子板沿母板的内边运动返回至起始位置时,各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP。The generating unit is configured to record the movement track of each reference point to form an irregular polygonal inner frame line NFP corresponding to the sub-board when the N-th sub-board moves back to the starting position along the inner side of the motherboard.
  8. 如权利要求6所述的基于内接多边形的异形拼板装置,其特征在于,所述生成单元包括:The inscribed polygon-based shaped panel device according to claim 6, wherein the generating unit comprises:
    设定子单元,用于设定母板与N块子板接触的任一顶点为运动点,与该运动点接触的边为运动边;Setting a subunit for setting any vertex of the motherboard to contact with the N sub-boards as a moving point, and the side contacting the moving point is a moving edge;
    获取子单元,用于获取顶点在运动边上的投影向量线段;Obtaining a subunit for acquiring a projection vector line segment of the vertex on the motion side;
    选取子单元,用于选取最短的投影向量线段;Select a subunit to select the shortest projection vector line segment;
    第一判断子单元,用于判断最短的投影向量线段是否大于运动边的长度,若是则N块子板根据对应的运动边的方向移动,且转换运动边为与运动边相连的下一条边;若否则N块子板根据对应的最短的投影向量线段移动,且转换运动边为当前的投影边;a first determining subunit, configured to determine whether the shortest projection vector line segment is greater than a length of the motion edge, and if so, the N sub-board moves according to a direction of the corresponding motion edge, and the converted motion edge is a next edge connected to the motion edge; If the N sub-boards are moved according to the corresponding shortest projection vector line segment, and the converted motion edge is the current projection edge;
    第二判断子单元,用于判断N块子板的运动位置是否返回各自的起始位置,若是则记录N块子板的各参考点的运动轨迹形成与子板对应的不规则的多边形内框线NFP;若否则返回继续获取下一顶点在运动边上的投影向量线段,直至N块子板的运动位置返回各自的起始位置。 a second determining subunit, configured to determine whether the moving positions of the N sub-boards return to respective starting positions, and if so, record the motion trajectory of each reference point of the N sub-boards to form an irregular polygonal inner frame corresponding to the sub-board Line NFP; otherwise return to continue to obtain the projection vector line segment of the next vertex on the motion side until the motion position of the N sub-boards returns to their respective starting positions.
  9. 如权利要求6至8任一项所述的基于内接多边形的异形拼板装置,其特征在于,所述组合模块包括:The inscribed polygon-based shaped panel device according to any one of claims 6 to 8, wherein the combination module comprises:
    获取单元,用于获取并将任一块子板移动至该子板在母板内的重心最低位置;An obtaining unit, configured to acquire and move any of the sub-boards to a lowest position of the center of gravity of the sub-board in the motherboard;
    处理单元,用于根据该子板的外边与母板的内边,将母板内部的多边形分成若干个不规则的多边形内框线NFP并按照面积大小进行排序;a processing unit, configured to divide the polygon inside the motherboard into a plurality of irregular polygonal inner frame lines NFP according to the outer edge of the sub-board and the inner edge of the motherboard, and sort according to the size of the area;
    筛选单元,用于从若干个不规则的多边形内框线NFP中筛选出可容入第二块子板的面积最小的目标多边形内框线NFP;a screening unit, configured to filter, from a plurality of irregular polygonal inner frame lines NFP, a target polygon inner frame line NFP that can accommodate the second sub-board;
    第一判断单元,用于判断目标多边形内框线NFP是否为最后一个多边形内框线NFP,若是则继续判断第二子板是否为最后一块子板,若否则循环换一个面积更大的多边形内框线NFP,直至换成面积最大的多边形内框线NFP后,并继续获取第二块子板的重心最低位置;The first determining unit is configured to determine whether the frame line NFP in the target polygon is the last polygon inner frame line NFP, and if yes, continue to determine whether the second sub-board is the last sub-board, if otherwise, the loop is replaced by a larger polygon. Frame NFP, after replacing the polygon inner frame line NFP with the largest area, and continue to obtain the lowest position of the center of gravity of the second sub-board;
    第二判断单元,用于判断第二块子板是否为最后一块,若是则结束生成N个不规则的多边形内框线NFP;若否则容入第三块子板,并继续获取第三块子板的重心最低位置,直至判断子板为最后一块。a second determining unit, configured to determine whether the second sub-board is the last block, if yes, end to generate N irregular polygon inner frame lines NFP; if otherwise, enter the third sub-board, and continue to obtain the third sub-block The center of gravity of the board is at the lowest position until the daughter board is judged to be the last piece.
  10. 如权利要求9所述的基于内接多边形的异形拼板装置,其特征在于,所述组合模块还包括:The inscribed polygon-based shaped panel device according to claim 9, wherein the combination module further comprises:
    旋转单元,用于将子板旋转一设定角度,并将子板与母板的内边接触。 A rotating unit for rotating the daughter board by a set angle and contacting the daughter board with the inner edge of the motherboard.
PCT/CN2017/071641 2016-05-04 2017-01-19 Sketch plate splicing method and device based on inscribed polygon WO2017190534A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610291002.XA CN105764268B (en) 2016-05-04 2016-05-04 Special-shaped board joint method and device based on inscribed polygon
CN201610291002.X 2016-05-04

Publications (1)

Publication Number Publication Date
WO2017190534A1 true WO2017190534A1 (en) 2017-11-09

Family

ID=56322495

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071641 WO2017190534A1 (en) 2016-05-04 2017-01-19 Sketch plate splicing method and device based on inscribed polygon

Country Status (2)

Country Link
CN (1) CN105764268B (en)
WO (1) WO2017190534A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816153A (en) * 2018-12-29 2019-05-28 广州兴森快捷电路科技有限公司 Generate the method, apparatus, control equipment and medium of the process flow for being merged motherboard
CN111598290A (en) * 2020-04-03 2020-08-28 浙江工业大学 PCB splicing and blanking optimization method
CN114548573A (en) * 2022-02-24 2022-05-27 苏州市普实软件有限公司 Intelligent plate splicing method, terminal and storage medium
CN115146332A (en) * 2022-07-25 2022-10-04 广州市圆方计算机软件工程有限公司 Wood-made ceiling board material discharge optimization method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764268B (en) * 2016-05-04 2018-12-18 深圳市百能信息技术有限公司 Special-shaped board joint method and device based on inscribed polygon

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066993A1 (en) * 2009-09-11 2011-03-17 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Printed circuit board layout system and method thereof
CN102833961A (en) * 2012-06-15 2012-12-19 深圳市百能信息技术有限公司 PCB (Printed circuit board) butt welding method and PCB butt welding device
CN103957672A (en) * 2014-03-03 2014-07-30 深圳市百能信息技术有限公司 PCB splicing method and device
CN104797092A (en) * 2015-04-08 2015-07-22 广州杰赛科技股份有限公司 PCB (printed circuit board) jointing method and PCB jointing system
CN105764268A (en) * 2016-05-04 2016-07-13 深圳市百能信息技术有限公司 Special-shaped board splicing method and device based on inscribed polygon

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030029034A1 (en) * 2001-08-08 2003-02-13 Unitech Printed Circuit Board Corp. Method of removing and replacing defective piece of printed circuit board formed on a panel
CN202444694U (en) * 2011-12-21 2012-09-19 青岛海信电器股份有限公司 Pcb

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066993A1 (en) * 2009-09-11 2011-03-17 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Printed circuit board layout system and method thereof
CN102833961A (en) * 2012-06-15 2012-12-19 深圳市百能信息技术有限公司 PCB (Printed circuit board) butt welding method and PCB butt welding device
CN103957672A (en) * 2014-03-03 2014-07-30 深圳市百能信息技术有限公司 PCB splicing method and device
CN104797092A (en) * 2015-04-08 2015-07-22 广州杰赛科技股份有限公司 PCB (printed circuit board) jointing method and PCB jointing system
CN105764268A (en) * 2016-05-04 2016-07-13 深圳市百能信息技术有限公司 Special-shaped board splicing method and device based on inscribed polygon

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816153A (en) * 2018-12-29 2019-05-28 广州兴森快捷电路科技有限公司 Generate the method, apparatus, control equipment and medium of the process flow for being merged motherboard
CN109816153B (en) * 2018-12-29 2023-07-18 广州兴森快捷电路科技有限公司 Method, device, control equipment and medium for generating process flow of split mother board
CN111598290A (en) * 2020-04-03 2020-08-28 浙江工业大学 PCB splicing and blanking optimization method
CN114548573A (en) * 2022-02-24 2022-05-27 苏州市普实软件有限公司 Intelligent plate splicing method, terminal and storage medium
CN114548573B (en) * 2022-02-24 2024-02-13 苏州市普实软件有限公司 Intelligent splicing method, terminal and storage medium for plates
CN115146332A (en) * 2022-07-25 2022-10-04 广州市圆方计算机软件工程有限公司 Wood-made ceiling board material discharge optimization method
CN115146332B (en) * 2022-07-25 2024-04-12 广州市圆方计算机软件工程有限公司 Wood ceiling material discharging optimization method

Also Published As

Publication number Publication date
CN105764268A (en) 2016-07-13
CN105764268B (en) 2018-12-18

Similar Documents

Publication Publication Date Title
WO2017190534A1 (en) Sketch plate splicing method and device based on inscribed polygon
EP1498850A3 (en) Image-based rendering and editing method and apparatus
US8704875B2 (en) Apparatus for generating real-time stereoscopic image and method thereof
CN108337915A (en) Three-dimensional builds drawing method, device, system, high in the clouds platform, electronic equipment and computer program product
WO2007143045A3 (en) Method and system for two-dimensional and three-dimensional inspection of a workplace
WO2003021532A3 (en) Method and apparatus for segmentation of an object
WO2007090974A3 (en) Method for synthesizing a virtual image by beam launching
CN1564930A (en) Three-dimensional measuring apparatus
EP1424656A3 (en) Apparatus for generating three-dimensional model data for a machine tool
CN107506234A (en) A kind of dispatching method of virtual machine and device
CN1399230A (en) Image processing method and equipment
JP2008032608A (en) Method and apparatus for measuring three-dimensional shape
CN113942230B (en) 3D printing control system for double-laser segmentation and segmentation method thereof
CN114820939A (en) Image reconstruction method, device and equipment
WO2015131458A1 (en) Pcb splicing method and device
CN109544654A (en) A method of projection calculating is carried out in dynamic projection medium
CN104123735B (en) Method for blending multiple actions
DE102020125739A1 (en) EQUIPMENT AND PROCEDURES FOR VERTICALLY SEPARATED MULTIPOLYGON LASER SCANNING
JP2010264508A (en) Machining device
CN106457671B (en) Three-dimensional printing with fast ST L file conversion
CN103578127B (en) A kind of object turns round operation realizing method and device
CN110874863A (en) Three-dimensional reconstruction method and system for three-dimensional reconstruction
US9805506B2 (en) Physical 3D renderer
JPH09311878A (en) Three-dimensional shape generation method
CN113706632B (en) Calibration method and system based on three-dimensional vision calibration plate

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17792364

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17792364

Country of ref document: EP

Kind code of ref document: A1