CN116442527A - Flexible 3D printing forming method and printing equipment based on 3D vision - Google Patents
Flexible 3D printing forming method and printing equipment based on 3D vision Download PDFInfo
- Publication number
- CN116442527A CN116442527A CN202310290211.2A CN202310290211A CN116442527A CN 116442527 A CN116442527 A CN 116442527A CN 202310290211 A CN202310290211 A CN 202310290211A CN 116442527 A CN116442527 A CN 116442527A
- Authority
- CN
- China
- Prior art keywords
- voxel
- model
- printing
- sub
- target object
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B29—WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
- B29C—SHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
- B29C64/00—Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
- B29C64/30—Auxiliary operations or equipment
- B29C64/386—Data acquisition or data processing for additive manufacturing
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B33—ADDITIVE MANUFACTURING TECHNOLOGY
- B33Y—ADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
- B33Y50/00—Data acquisition or data processing for additive manufacturing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P10/00—Technologies related to metal processing
- Y02P10/25—Process efficiency
Landscapes
- Chemical & Material Sciences (AREA)
- Engineering & Computer Science (AREA)
- Materials Engineering (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Optics & Photonics (AREA)
Abstract
Description
技术领域technical field
本发明涉及3D打印技术领域,特别涉及一种基于3D视觉的柔性3D打印成形方法及打印设备。The invention relates to the technical field of 3D printing, in particular to a flexible 3D printing forming method and printing equipment based on 3D vision.
背景技术Background technique
3D打印技术,又称为“增材制造技术”,是一种以数字模型为基础,将材料逐层堆积制造出实体的新兴制造技术,体现了信息网络技术与先进材料技术、数字制造技术的密切结合;其中熔融沉积成形(FDM)工艺因结构简单、性价比高而被广泛用于消费者领域,而对于电弧增材制造(WAAM)、激光近净成形(LENS)等工艺类型,由于成形速度快,成形尺寸大、材料利用率高、金属打印件强度高等优势,而被广泛用于船舶、航空、航天、汽车、建筑等领域。3D printing technology, also known as "additive manufacturing technology", is a new manufacturing technology based on digital models, which accumulates materials layer by layer to create entities. It embodies the integration of information network technology, advanced material technology, and digital manufacturing technology. Closely combined; Among them, the Fused Deposition Modeling (FDM) process is widely used in the consumer field due to its simple structure and high cost performance. Fast, large forming size, high material utilization rate, high strength of metal printing parts, etc., and are widely used in shipbuilding, aviation, aerospace, automobile, construction and other fields.
上述不同工艺类型的3D打印数据处理都可以概括为两个先后关联严格的处理过程:(1)数字模型降维离散过程;(2)成形材料累加制造过程。其中,数字模型降维离散过程定义如下:首先将用于表示三维几何信息的3D数字模型(如STL模型、OBJ模型等)输入3D打印系统,然后对3D数字模型进行逐层切片处理,得到用于表示二维几何信息的2D轮廓数据(SLC模型、CLI模型等),该环节完成了三维数字模型到二维数字模型的降维离散过程;最后对2D轮廓数字模型进行路径规划,得到用于表示一维几何信息的1D加工路径数据,该环节完成了二维数字模型到一维数字模型的降维离散过程;而后续的成形材料累加制造过程可以看作是前续过程的严格逆向化,其过程定义如下:3D打印系统根据降维离散得到的1D加工路径数据,严格按照“降维离散”的逆向过程,通过控制成形材料以点到线、线到面、面到体的“逆向离散”化的成形方式进行材料累加制造。由于前续过程中充斥着各种严格且刚性的数字模型离散化算法,如二维离散化切片算法、一维离散化路径规划算法等,且后续过程又严格依赖前续离散过程,从而确保3D打印技术能够实现任意复杂三维模型到三维打印实体的打印制造。The above-mentioned 3D printing data processing of different process types can be summarized as two sequential and strictly related processing processes: (1) digital model dimensionality reduction discrete process; (2) forming material additive manufacturing process. Among them, the discrete process of digital model dimensionality reduction is defined as follows: first, the 3D digital model (such as STL model, OBJ model, etc.) used to represent 3D geometric information is input into the 3D printing system, and then the 3D digital model is sliced layer by layer to obtain Based on the 2D contour data (SLC model, CLI model, etc.) representing two-dimensional geometric information, this link completes the dimensionality reduction and discrete process from the three-dimensional digital model to the two-dimensional digital model; finally, path planning is performed on the 2D contour digital model to obtain the The 1D processing path data representing one-dimensional geometric information, this link completes the dimensionality reduction and discrete process from the two-dimensional digital model to the one-dimensional digital model; and the subsequent cumulative manufacturing process of forming materials can be regarded as a strict reverse of the previous process, The process is defined as follows: The 3D printing system strictly follows the reverse process of "dimension reduction and discrete" according to the 1D processing path data obtained by dimension reduction and discrete, and controls the "reverse discrete" of forming materials from point to line, line to surface, and surface to body. "Material additive manufacturing is carried out in a modernized forming method. Since the previous process is filled with various strict and rigid digital model discretization algorithms, such as two-dimensional discretization slicing algorithm, one-dimensional discretization path planning algorithm, etc., and the subsequent process is strictly dependent on the previous discretization process, thus ensuring 3D Printing technology can realize the printing and manufacturing of any complex 3D model to 3D printing entity.
然而,上述打印方法,一方面,在后续的成形材料累加制过程无法严格按照前续的数字模型降维离散过程进行开展,如在成形过程中因设备机械结构因素而引起的加工干涉,导致打印失败;另一方面,需要确保整个3D打印系统各个设备零部件功能正常且处于最佳状态,这样才能避免因设备零部件问题而造成的成形缺陷;因此,现有的3D打印成形方法,后续成形材料累加制造过程需要严格且刚性依赖前续数字模型降维离散过程,这样的强依赖的3D打印成形方法,降低了打印成形过程的稳定性和可靠性。However, the above-mentioned printing method, on the one hand, cannot be carried out strictly in accordance with the discrete process of digital model dimensionality reduction in the follow-up forming material accumulation process, such as the processing interference caused by the mechanical structure of the equipment during the forming process, resulting failure; on the other hand, it is necessary to ensure that each equipment component of the entire 3D printing system is functioning normally and in the best condition, so as to avoid forming defects caused by equipment component problems; therefore, the existing 3D printing forming method, subsequent forming The material additive manufacturing process requires strict and rigid dependence on the discrete process of dimensionality reduction of the preceding digital model. Such a strong dependence on the 3D printing forming method reduces the stability and reliability of the printing forming process.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种基于3D视觉的柔性3D打印成形方法及打印设备,以解决现有的3D打印成形方法,后续成形材料累加制造过程需要严格且刚性依赖前续数字模型降维离散过程,严重限制了3D打印的成形能力以及应用场景的问题。Based on this, it is necessary to address the above technical problems and provide a flexible 3D printing forming method and printing equipment based on 3D vision to solve the existing 3D printing forming method. The discrete process of model dimensionality reduction severely limits the forming ability and application scenarios of 3D printing.
第一方面,本发明实施例提供一种基于3D视觉的柔性3D打印成形方法,所述方法包括:In the first aspect, an embodiment of the present invention provides a flexible 3D printing forming method based on 3D vision, the method comprising:
步骤S100:获取目标物的三维模型文件,将所述三维模型文件进行拓扑重构处理,得到所述目标物的面片模型;根据所述面片模型,计算得到所述目标物的体素模型及点云模型;Step S100: Obtain the 3D model file of the target object, perform topology reconstruction on the 3D model file to obtain the mesh model of the target object; calculate and obtain the voxel model of the target object according to the mesh model and point cloud model;
步骤S200:获取所述体素模型的轴对齐包围盒的三维尺寸比R,根据所述三维尺寸比R,在所述体素模型的底部面上生成底部最大的填充体素单元a;Step S200: Obtain the three-dimensional size ratio R of the axis-aligned bounding box of the voxel model, and generate the largest filling voxel unit a on the bottom surface of the voxel model according to the three-dimensional size ratio R;
步骤S300:根据所述填充体素单元a,对所述体素模型进行分割,生成预设数量的子体素单元;Step S300: segment the voxel model according to the filling voxel unit a, and generate a preset number of sub-voxel units;
步骤S400:对各所述子体素单元进行分解,直至分解后的各子体素中存在包围盒尺寸小于预设的空间尺寸的子体素,对所有的子体素进行编号,得到模型分解序列树,所述模型分解序列树包括若干子体素序列;Step S400: Decompose each of the sub-voxels until there are sub-voxels whose bounding box size is smaller than the preset spatial size in each decomposed sub-voxel, and number all the sub-voxels to obtain a model decomposition a sequence tree, the model decomposition sequence tree comprising a number of sub-voxel sequences;
步骤S500:根据所述模型分解序列树及所述点云模型对所述目标物进行打印,得到所述目标物的模型。Step S500: Print the target object according to the model decomposition sequence tree and the point cloud model to obtain a model of the target object.
可选的,根据所述三维尺寸比R,在所述体素模型的底部面上生成底部最大的填充体素单元a,包括:Optionally, according to the three-dimensional size ratio R, generate the largest filling voxel unit a at the bottom on the bottom surface of the voxel model, including:
根据所述体素模型的最底部一层的体素图案形状,获取位于所述体素模型的最底部一层的体素图案形状中心的体素点作为种子体素;According to the voxel pattern shape of the bottommost layer of the voxel model, obtaining a voxel point located in the center of the voxel pattern shape of the bottommost layer of the voxel model as a seed voxel;
根据所述三维尺寸比R,对所述种子体素进行等比例膨胀,直至膨胀后的体素接触所述体素模型的最外层体素;According to the three-dimensional size ratio R, the seed voxel is expanded proportionally until the expanded voxel touches the outermost voxel of the voxel model;
将膨胀后的体素在水平面的四个方向上的任一方向上移动一个体素点,若膨胀后的体素没有与所述体素模型的最外层体素相交,将膨胀后的体素按照所述三维尺寸比R继续进行膨胀,直至膨胀后的体素在水平面的四个方向上的任一方向上移动一个体素点均与所述体素模型的最外层体素相交。Move the expanded voxel by one voxel point in any of the four directions of the horizontal plane. If the expanded voxel does not intersect with the outermost voxel of the voxel model, the expanded voxel The expansion is continued according to the three-dimensional size ratio R, until the expanded voxel intersects the outermost voxel of the voxel model by moving one voxel point in any direction of the four horizontal planes.
可选的,根据所述填充体素单元a,对所述体素模型进行分割,生成预设数量的子体素单元,包括:Optionally, according to the filling voxel unit a, the voxel model is divided to generate a preset number of sub-voxel units, including:
以所述填充体素单元a除去底面外的剩余五个面所在的平面作为分割平面,将所述体素模型分为十八个子体素单元,将所述填充体素单元a作为最终子体素。Taking the plane where the remaining five faces except the bottom surface of the filling voxel unit a is used as the segmentation plane, the voxel model is divided into eighteen sub-voxel units, and the filling voxel unit a is used as the final sub-volume white.
可选的,对各所述子体素单元进行分解,包括:Optionally, decomposing each sub-voxel unit includes:
对于任一除去所述填充体素单元a的子体素单元m,获取该子体素单元m的轴对齐包围盒的三维尺寸比Q,根据所述三维尺寸比Q,在该子体素单元m的底部面上生成底部最大的填充体素单元b,将所述填充体素单元b作为最终子体素;For any sub-voxel unit m except the filling voxel unit a, obtain the three-dimensional size ratio Q of the axis-aligned bounding box of the sub-voxel unit m, and according to the three-dimensional size ratio Q, in the sub-voxel unit Generate the largest filling voxel unit b at the bottom on the bottom surface of m, and use the filling voxel unit b as the final sub-voxel;
对该子体素单元m进行递归分解,生成若干最终子体素。The sub-voxel unit m is recursively decomposed to generate several final sub-voxels.
可选的,对所有的子体素进行编号,得到模型分解序列树,包括:Optionally, number all sub-voxels to obtain a model decomposition sequence tree, including:
获取各最终子体素的顶面在Z轴上的第一值和底面在Z轴上的第二值;Obtain the first value of the top surface on the Z axis and the second value of the bottom surface on the Z axis of each final sub-voxel;
将第二值最小的各最终子体素作为底层子体素,对各底层子体素进行编号;Taking each final sub-voxel with the smallest second value as the bottom-level sub-voxel, and numbering each bottom-level sub-voxel;
对于任一底层子体素l,将未进行编号的底层子体素中第二值与该底层子体素l的第一值相同的底层子体素与将该底层子体素l进行关联编号,得到底层子体素l对应的子体素序列;For any bottom sub-voxel l, associate numbering with the bottom sub-voxel whose second value is the same as the first value of the bottom sub-voxel l in the unnumbered bottom sub-voxel , to obtain the sub-voxel sequence corresponding to the underlying sub-voxel l;
根据各底层子体素对应的子体素序列得到模型分解序列树。A model decomposition sequence tree is obtained according to the sub-voxel sequence corresponding to each underlying sub-voxel.
可选的,根据所述模型分解序列树及所述点云模型对所述目标物进行打印,包括:Optionally, printing the target object according to the model decomposition sequence tree and the point cloud model includes:
根据所述模型分解序列树,得到所述目标物的粗糙模型,按照从下到上的逐层打印方式对所述粗糙模型的内部填充区域进行打印,设定每层的打印厚度为f;Decomposing the sequence tree according to the model to obtain a rough model of the target object, printing the inner filling area of the rough model in a layer-by-layer printing manner from bottom to top, and setting the printing thickness of each layer to be f;
计算所述粗糙模型第i层的打印高度h=i*f,根据所述第i层的打印高度,得到第i层的切片位置与所述目标物的粗糙模型相交的切片轮廓,根据所述切片轮廓,对所述第i层进行填充打印;Calculate the printing height h=i*f of the i-th layer of the rough model, and obtain the slice contour where the slice position of the i-th layer intersects with the rough model of the target according to the printing height of the i-th layer, according to the Slicing the outline, filling and printing the i-th layer;
获取所述粗糙模型第i层的当前点云模型,将所述当前点云模型与所述目标物的点云模型进行比对,得到第i层的剩余区域,根据所述第i层的剩余区域,按照预设的打印厚度d对第i层的剩余区域进行打印,d=f/k,k为大于1的整数。Obtain the current point cloud model of the i-th layer of the rough model, compare the current point cloud model with the point cloud model of the target object, and obtain the remaining area of the i-th layer, according to the remaining area of the i-th layer area, print the remaining area of the i-th layer according to the preset printing thickness d, where d=f/k, k is an integer greater than 1.
可选的,根据所述第i层的剩余区域,按照预设的打印厚度d对第i层的剩余区域进行打印,包括:Optionally, according to the remaining area of the i-th layer, the remaining area of the i-th layer is printed according to a preset printing thickness d, including:
通过3D视觉模块将打印机的喷嘴定位到所述剩余区域的内边缘位置处,按照洪水填充算法,对第i层的剩余区域打印k次,直至第i层剩余区域的厚度等于所述预设的打印厚度f。Use the 3D vision module to position the nozzle of the printer to the inner edge of the remaining area, and print the remaining area of the i-th layer k times according to the flood filling algorithm until the thickness of the remaining area of the i-th layer is equal to the preset Print thickness f.
可选的,所述方法还包括:Optionally, the method also includes:
计算所述粗糙模型打印完的高度h1=imax*f,根据所述高度h1及所述目标物的点云模型,计算得到所述高度h1以上的待打印区域;imax为以f为每层的打印厚度时粗糙模型对应的最大层数,imax*f≤p<(imax+1)*f,p为粗糙模型的高度;Calculate the height h1=i max *f after the rough model is printed, and calculate the area to be printed above the height h1 according to the height h1 and the point cloud model of the target object; The maximum number of layers corresponding to the rough model when printing the thickness of the layer, i max *f≤p<(i max +1)*f, p is the height of the rough model;
按照所述预设的打印厚度d对所述待打印区域进行打印,得到所述目标物的模型。The area to be printed is printed according to the preset printing thickness d to obtain a model of the target object.
可选的,按照所述预设的打印厚度d对所述待打印区域进行打印,包括:Optionally, printing the area to be printed according to the preset printing thickness d includes:
获取当前打印高度为h1的模型的点云模型,将所述当前打印高度为h1的模型的点云模型与所述目标物的点云模型进行比对,得到所述待打印区域的集合U;Obtain the point cloud model of the model whose current printing height is h1, and compare the point cloud model of the model whose current printing height is h1 with the point cloud model of the target object to obtain the set U of the region to be printed;
计算当前打印高度h2=h1+j*d,j为所述待打印区域的打印次数,遍历集合U中不同区域位置,采用洪水填充算法对集合U中各个高度为h2的区域进行打印,直至当前打印高度h2达到所述目标物的点云模型的最大高度。Calculate the current printing height h2=h1+j*d, where j is the number of printing times of the area to be printed, traverse the positions of different areas in the set U, and use the flood filling algorithm to print each area with a height of h2 in the set U until the current The printing height h2 reaches the maximum height of the point cloud model of the target.
第二方面,本发明实施例提供一种打印设备,所述打印设备包括处理器、存储器以及存储在所述存储器中并可在所述处理器上运行的打印设备程序,所述处理器执行所述打印设备程序时实现如第一方面所述的基于3D视觉的柔性3D打印成形方法。In the second aspect, an embodiment of the present invention provides a printing device, the printing device includes a processor, a memory, and a printing device program stored in the memory and operable on the processor, and the processor executes the When the printing device program is described above, the 3D vision-based flexible 3D printing forming method as described in the first aspect is realized.
本发明与现有技术相比存在的有益效果:The beneficial effect that the present invention exists compared with prior art:
本发明的基于3D视觉的柔性3D打印成形方法,在执行过程中弱化了当前3D打印成形过程中后续的成形制造过程与前续的模型离散过程的严格且刚性的依赖关系,在3D打印成形过程中,通过3D视觉采集到的打印实体的点云模型,并不断与原始三维模型进行比对校正,使得实际打印中的三维实体能够不断逐步逼近输入的三维模型空间几何尺寸,从而提高打印成形过程的稳定性和可靠性。The 3D vision-based flexible 3D printing forming method of the present invention weakens the strict and rigid dependence between the subsequent forming manufacturing process and the previous model discrete process in the current 3D printing forming process during the execution process, and the 3D printing forming process In the process, the point cloud model of the printed entity collected through 3D vision is continuously compared and corrected with the original 3D model, so that the 3D entity in the actual printing can gradually approach the geometric size of the input 3D model space, thereby improving the printing process. stability and reliability.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.
图1是本发明一实施例中提供的一种基于3D视觉的柔性3D打印成形方法的流程示意图;Fig. 1 is a schematic flow chart of a flexible 3D printing forming method based on 3D vision provided in an embodiment of the present invention;
图2是本发明一实施例中提供的一种体素膨胀示意图;Fig. 2 is a schematic diagram of voxel expansion provided in an embodiment of the present invention;
图3是本发明一实施例中提供的一种分割子体素单元的示意图;Fig. 3 is a schematic diagram of a sub-voxel unit segmentation provided in an embodiment of the present invention;
图4是本发明一实施例中提供的一种体素模型分解的示意图。Fig. 4 is a schematic diagram of a voxel model decomposition provided in an embodiment of the present invention.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其他实施例中也可以实现本发明。在其他情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
应当理解,当在本发明说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其他特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in the present specification and appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and/or collections thereof.
还应当理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the description of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
如在本发明说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be construed, depending on the context, as "when" or "once" or "in response to determining" or "in response to detecting ". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, to mean "once determined" or "in response to the determination" or "once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
另外,在本发明说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the specification of the present invention and the description of the appended claims, the terms "first", "second", "third" and so on are only used to distinguish descriptions, and should not be understood as indicating or implying relative importance.
在本发明说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本发明的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference to "one embodiment" or "some embodiments" or the like in the specification of the present invention means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present invention. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.
应理解,以下实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the following embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
为了说明本发明的技术方案,下面通过具体实施例来进行说明,本实施例的3D打印方法以FDM工艺为例进行说明,但不仅限于FDM工艺,也可用于WAAM等其他3D打印工艺,以多自由度机械臂为例进行说明,但不仅限于多自由度机械臂结构,可以是其他多自由度结构装置;方法中的3D视觉模块,又称为3D相机,作用是可以对打印平台上的物体进行三维扫描,来获取该物体的三维空间信息,最直接得到的是打印平台上物体的三维点云数据;将FDM打印头模块与3D视觉模块安装在机械臂末端位置。In order to illustrate the technical solution of the present invention, the following specific examples will be used to illustrate the 3D printing method in this embodiment, taking the FDM process as an example, but it is not limited to the FDM process, and can also be used in other 3D printing processes such as WAAM. The DOF manipulator is used as an example to illustrate, but it is not limited to the multi-DOF manipulator structure, it can be other multi-DOF structural devices; the 3D vision module in the method, also known as the 3D camera, can monitor the objects on the printing platform Perform 3D scanning to obtain the 3D spatial information of the object, the most direct one is the 3D point cloud data of the object on the printing platform; install the FDM print head module and 3D vision module at the end of the robot arm.
参见图1,是本发明实施例中提供的一种基于3D视觉的柔性3D打印成形方法,该方法可以包括以下步骤:Referring to Fig. 1, it is a flexible 3D printing forming method based on 3D vision provided in the embodiment of the present invention, the method may include the following steps:
步骤S100:获取目标物的三维模型文件,将三维模型文件进行拓扑重构处理,得到目标物的面片模型,根据面片模型,计算得到三维模型的体素模型及点云模型。Step S100: Obtain the 3D model file of the target object, perform topology reconstruction on the 3D model file to obtain a mesh model of the target object, and calculate a voxel model and a point cloud model of the 3D model according to the mesh model.
首先读取需要打印的目标物的三维模型文件,该三维模型文件记录了目标物的三维模型数据,例如:STL文件,该STL文件由多个三角形面片的定义组成,每个三角形面片的定义包括三角形各个定点的三维坐标及三角形面片的法矢量;然后对三维模型文件进行拓扑重构处理,得到目标物的面片模型G,根据面片模型G,可以计算得到三维模型的体素模型Mv,以及该三维模型的点云模型Mp。First read the 3D model file of the object to be printed, the 3D model file records the 3D model data of the object, for example: STL file, the STL file is composed of the definition of a plurality of triangle faces, each triangle face Define the 3D coordinates of each fixed point of the triangle and the normal vector of the triangle patch; then perform topology reconstruction on the 3D model file to obtain the patch model G of the target object. According to the patch model G, the voxels of the 3D model can be calculated Model Mv, and the point cloud model Mp of the 3D model.
本领域技术人员知悉,现有技术中任何的对三维模型文件进行拓扑重构处理,得到面片模型的方法均落入本发明的保护范围;现有技术中任何的根据面片模型得到体素模型和点云模型的方法均落入本发明的保护范围。Those skilled in the art know that any method of performing topology reconstruction on a 3D model file in the prior art to obtain a mesh model falls within the protection scope of the present invention; The method of the model and the point cloud model all fall into the protection scope of the present invention.
可选的,本发明的基于3D视觉的柔性3D打印成形方法所针对的目标物的最底部的子体素模型的体积是最大的。Optionally, the volume of the bottommost sub-voxel model of the object targeted by the 3D vision-based flexible 3D printing forming method of the present invention is the largest.
步骤S200:获取体素模型的轴对齐包围盒的三维尺寸比R,根据三维尺寸比R,在体素模型的底部面上生成底部最大的填充体素单元a。Step S200: Obtain the three-dimensional size ratio R of the axis-aligned bounding box of the voxel model, and generate the largest filling voxel unit a on the bottom surface of the voxel model according to the three-dimensional size ratio R.
参见图2,根据现有的轴对齐包围盒计算方法,计算出体素模型Mv对应的轴对齐包围盒E,可进一步计算出该轴对齐包围盒E的三维尺寸比R。Referring to FIG. 2 , according to the existing axis-aligned bounding box calculation method, the axis-aligned bounding box E corresponding to the voxel model Mv is calculated, and the three-dimensional size ratio R of the axis-aligned bounding box E can be further calculated.
计算体素模型Mv的最底部一层的体素图案形状,然后选取位于该图案形状内部中心的体素点作为种子体素a0,并记录下当前位置。Calculate the voxel pattern shape of the bottom layer of the voxel model Mv, then select the voxel point located in the center of the pattern shape as the seed voxel a0, and record the current position.
按照上述步骤中计算得到的三维尺寸比R,对种子体素a0进行等比例膨胀,直到膨胀后的体素接触体素模型Mv的外层体素,停止种子体素a0的膨胀。According to the three-dimensional size ratio R calculated in the above steps, the seed voxel a0 is expanded proportionally until the expanded voxel touches the outer voxel of the voxel model Mv, and the expansion of the seed voxel a0 is stopped.
然后在水平面即XOY平面的水平方向进行试探性移动,步骤如下:Then move tentatively on the horizontal plane, that is, the horizontal direction of the XOY plane, the steps are as follows:
1)将当前膨胀后的体素依次向X轴的X+1、X-1以及Y轴的Y+1、Y-1四个方向进行移动;1) Move the currently expanded voxel to four directions of X+1, X-1 on the X-axis and Y+1, Y-1 on the Y-axis in sequence;
2)判断移动后的膨胀体素是否与体素模型Mv的最外层体素相交;如果四次移动后的膨胀体素单元均有相交,则说明当前膨胀后的体素是体素模型Mv最大的底部分割体素单元,则该过程结束;如果移动后的体素单元没有与体素模型Mv的最外层体素相交,则将内部膨胀体素移动到该位置,然后继续按照上述体素的步骤进行等比例膨胀,直至四次移动后的膨胀体素单元均有相交,得到底部最大的填充体素单元a。2) Determine whether the expanded voxel after the movement intersects with the outermost voxel of the voxel model Mv; if the expanded voxel units after the four moves intersect, it means that the currently expanded voxel is the voxel model Mv the largest bottom-segmented voxel unit, the process ends; if the moved voxel unit does not intersect with the outermost voxel of the voxel model Mv, the inner dilated voxel is moved to that position, and then proceeds as described above The voxel step is expanded in equal proportion until the expanded voxel units after the four moves intersect, and the largest filled voxel unit a at the bottom is obtained.
步骤S300:根据填充体素单元a,对体素模型进行分割,生成预设数量的子体素单元。Step S300: segment the voxel model according to the filling voxel unit a, and generate a preset number of sub-voxel units.
参见图3,以体素模型Mv中最大体素单元a的5个面,即右分割平面1、后分割平面2、前分割平面3、左分割平面4和上分割平面5所在的平面作为分割平面,将该体素模型Mv分割为18个子体素单元。Referring to Fig. 3, the five planes of the largest voxel unit a in the voxel model Mv, that is, the plane where the right division plane 1, the rear division plane 2, the front division plane 3, the left division plane 4 and the upper division plane 5 are used as the division plane, and divide the voxel model Mv into 18 sub-voxel units.
步骤S400:对各子体素单元进行分解,直至分解后的各子体素中存在包围盒尺寸小于预设的空间尺寸的子体素,对所有的子体素进行编号,得到模型分解序列树,模型分解序列树包括若干子体素序列。Step S400: Decompose each sub-voxel unit until there are sub-voxels whose bounding box size is smaller than the preset spatial size in each decomposed sub-voxel, and number all sub-voxels to obtain a model decomposition sequence tree , the model decomposition sequence tree includes several sub-voxel sequences.
本实施例中,以需要打印的三维模型的体素模型Mv作为处理对象,并建立一个用于体素分解序列树构建的栈集合S,以及子体素分解结果集合R,且S和R初始为空。In this embodiment, the voxel model Mv of the 3D model that needs to be printed is taken as the processing object, and a stack set S for building a voxel decomposition sequence tree and a sub-voxel decomposition result set R are established, and S and R are initially Is empty.
上述步骤S300中,位于第一层的中心体素即为体素单元a,对于剩下的17个子体素压入栈集合S中。In the above step S300, the central voxel located in the first layer is the voxel unit a, and the remaining 17 sub-voxels are pushed into the stack set S.
遍历S中的各子体素单元,计算子体素单元的轴对齐包围盒的三维尺寸比Q,根据三维尺寸比Q,在子体素单元的底部面上生成底部最大的填充体素单元b,填充体素单元b作为最终子体素。Traverse each sub-voxel unit in S, calculate the three-dimensional size ratio Q of the axis-aligned bounding box of the sub-voxel unit, and generate the largest filling voxel unit b on the bottom surface of the sub-voxel unit according to the three-dimensional size ratio Q , filling the voxel unit b as the final subvoxel.
根据填充体素单元b,对子体素单元进行递归分解,生成若干最终子体素,详细步骤如下:According to the filling voxel unit b, recursively decompose the sub-voxel unit to generate several final sub-voxels. The detailed steps are as follows:
按照深度优先的策略遍历每个子体素单元并进行递归分解,依次取出栈集合S中的位于栈首的子体素单元,按照上述步骤S200和步骤S300中的方法对该子体素单元b继续进行分解,直到集合栈S重新变为空,则当前给定体素模型Mv分解完毕,并得到分解后的子体素结果集合R,结果集合R中包括所有的最终子体素。According to the depth-first strategy, each sub-voxel unit is traversed and recursively decomposed, and the sub-voxel unit at the head of the stack in the stack set S is sequentially taken out, and the sub-voxel unit b is continued according to the method in the above step S200 and step S300 Decompose until the collection stack S becomes empty again, then the current given voxel model Mv is decomposed, and the decomposed sub-voxel result set R is obtained, and the result set R includes all the final sub-voxels.
本实施例中,定义体素模型Mv分解终止约束条件:计算分解后的体素对应的轴对齐包围盒,如果该轴对齐包围盒的任意维度分量(X,Y或Z)小于给定的分解最小值,则说明该体素不再进行分解,反之需要对该体素进一步分解;若第一次分割后的子体素单元生成的填充体素单元a的轴对齐包围盒的任意维度分量(X,Y或Z)小于给定的分解最小值,则不对该子体素单元进行分解。In this embodiment, the voxel model Mv decomposition termination constraint is defined: calculate the axis-aligned bounding box corresponding to the decomposed voxel, if any dimension component (X, Y or Z) of the axis-aligned bounding box is smaller than the given decomposition The minimum value indicates that the voxel is no longer decomposed, otherwise the voxel needs to be further decomposed; if the sub-voxel unit generated by the sub-voxel unit after the first division is filled with any dimension component of the axis-aligned bounding box of the voxel unit a ( X, Y or Z) is less than the given decomposition minimum value, then the sub-voxel unit will not be decomposed.
对所有的最终子体素进行编号,方法如下:Number all final subvoxels as follows:
以结果集合R作为处理对象,分别计算结构集合R中每个最终子体素的轴对齐包围盒,遍历所有最终子体素的顶面在Z轴上的最大值(即第一值)和底面在Z轴上的最小值(即第二值),并按照最小值对R中的最终子体素进行升序排列,并按照下列规则对最终子体素进行编号:参见图4,规则如下:Take the result set R as the processing object, respectively calculate the axis-aligned bounding box of each final sub-voxel in the structure set R, and traverse the maximum value (that is, the first value) and the bottom surface of the top surface of all final sub-voxels on the Z axis The minimum value (i.e. the second value) on the Z axis, and arrange the final subvoxels in R in ascending order according to the minimum value, and number the final subvoxels according to the following rules: See Figure 4, the rules are as follows:
1)如果最终子体素的最小值都相同,则对这些最终子体分配不同的字母进行编号,如A、B、C…;1) If the minimum values of the final sub-voxels are all the same, assign different letters to these final sub-voxels for numbering, such as A, B, C...;
2)如果已编号最终子体素的Z轴最大值与1个或者多个未编号最终子体素的Z轴最小值相等,则说明已编号最终子体素与未编号最终子体素之间存在Z向的上下依赖关系,其中后者下面表紧贴于前者的上表面。后者的编号方法采用前者编号内容并追加紧贴其上表面的对应子体素单元的索引序号值,如:1、2、3…;2) If the Z-axis maximum value of the numbered final sub-voxel is equal to the Z-axis minimum value of one or more unnumbered final sub-voxels, it means that the distance between the numbered final sub-voxel and the unnumbered final sub-voxel There is an up-down dependency in the Z direction, where the lower surface of the latter is closely attached to the upper surface of the former. The latter numbering method adopts the former numbering content and adds the index number value of the corresponding sub-voxel unit close to its upper surface, such as: 1, 2, 3...;
3)如果存在未编号子体素,其最小值不在成形基台表面,且其最小值也不与已编号的最终子体素的最大值相等,则这种情况不在本发明考虑范围之内,可通过在前期对三维模型添加支撑结构,从而规避上述情况。3) If there is an unnumbered sub-voxel whose minimum value is not on the surface of the formed abutment, and whose minimum value is not equal to the maximum value of the numbered final sub-voxel, then this situation is not considered within the scope of the present invention, This can be circumvented by adding support structures to the 3D model up front.
对结果集合R中最终子体素进行编号的过程,就是体素模型Mv对应的分解序列树T的构建过程。The process of numbering the final sub-voxels in the result set R is the process of constructing the decomposition sequence tree T corresponding to the voxel model Mv.
例如,参见图4,底层的体素为A1,B1,C1,D1,以A1为例,与A1的上表面相接触的分解子体素为A11,而A11上表面相接触的分解子体素单元有两个,则分别编号为A111和A112,继续对A112的上表面接触的分解子体素单元进行编号,则分别编号为A1121和A1122。重复上述步骤,直到分解序列树T中所有分解子体素单元编号过程结束,则形成一系列有序的子体素分解序列树T,T中内容如下:For example, see Figure 4, the bottom voxels are A1, B1, C1, D1, taking A1 as an example, the decomposed sub-voxel in contact with the upper surface of A1 is A11, and the decomposed sub-voxel in contact with the upper surface of A11 If there are two units, they are numbered A111 and A112 respectively. Continue to number the decomposed sub-voxel units in contact with the upper surface of A112, and they are numbered A1121 and A1122 respectively. Repeat the above steps until the numbering process of all decomposition sub-voxel units in the decomposition sequence tree T is completed, then a series of orderly sub-voxel decomposition sequence trees T are formed, and the contents of T are as follows:
步骤S500:根据模型分解序列树、及点云模型对所述目标物进行打印,得到目标物的模型。Step S500: Print the target object according to the model decomposition sequence tree and the point cloud model to obtain a model of the target object.
根据模型分解序列树,得到目标物的粗糙模型,采用第一打印方式对粗糙模型的内部填充区域进行打印。The sequence tree is decomposed according to the model to obtain the rough model of the target object, and the inner filling area of the rough model is printed by the first printing method.
根据上述步骤得到的模型分解树序列T,由T中的子体素集合构成的粗糙模型C则位于面片模型G之内,位于粗糙模型C之内的空间则属于内部填充区域M1,内部填充区域M1的空间结构简单,且不含有三维模型的细节特征,可采用较大的预设的打印厚度f进行快速填充打印,具体打印过程如下:According to the model decomposition tree sequence T obtained by the above steps, the rough model C composed of sub-voxel sets in T is located within the patch model G, and the space within the rough model C belongs to the internal filling area M1, and the internal filling The spatial structure of the area M1 is simple and does not contain the detailed features of the 3D model. A large preset printing thickness f can be used for fast filling printing. The specific printing process is as follows:
从内部填充区域M1,根据模型分解体素序列T中的子体素序列,按照由下到上的方式进行遍历,从第一层开始,按照预设的打印厚度f进行逐层打印;当前层i的高度h=i*f,计算该切片位置与T中粗糙模型相交的切片轮廓,采用常规的填充路径进行填充,然后通过机械臂来驱动末端的打印头进行按照填充路径进行打印。From the inner filling area M1, decompose the sub-voxel sequence in the voxel sequence T according to the model, traverse from bottom to top, start from the first layer, and print layer by layer according to the preset printing thickness f; the current layer The height of i is h=i*f, calculate the slice outline where the slice position intersects with the rough model in T, fill it with the conventional filling path, and then use the mechanical arm to drive the print head at the end to print according to the filling path.
求取所述粗糙模型与所述面片模型表面之间的空间区域,采用第二打印方式对所述空间区域进行打印。The space area between the rough model and the surface of the patch model is obtained, and the space area is printed by a second printing method.
在粗糙模型C之外与面片模型G之内的空间区域M2,则属于靠近三维模型蒙皮表面区域,这部分空间结构含有三维模型表面细节特征,采用较小的预设的打印厚度d进行精细打印,其中f的取值一般为d的整数倍,令f=k*d,k为每层的打印次数,具体打印过程如下:The spatial area M2 outside the rough model C and within the patch model G belongs to the area close to the skin surface of the 3D model. This part of the spatial structure contains the surface details of the 3D model, and is processed with a smaller preset printing thickness d. Fine printing, where the value of f is generally an integer multiple of d, let f=k*d, k is the number of printing times of each layer, the specific printing process is as follows:
通过3D视觉模块对当前打印平台上的打印实体进行扫描采集点点云模型Mc,通过比对目标物的点云模型Mp与当前点云模型Mc,得到当前层i的剩余区域R,该区域所属空间区域M2,则采用厚度为d的层厚进行精细打印。Use the 3D vision module to scan and collect the point cloud model Mc of the printing entity on the current printing platform. By comparing the point cloud model Mp of the target object with the current point cloud model Mc, the remaining area R of the current layer i is obtained, and the space to which this area belongs In the area M2, a layer thickness of d is used for fine printing.
在打印剩余区域R时,通过3D视觉模块来将打印机喷嘴定位到剩余区域R的内边缘临近位置处,然后按照“洪水填充算法(Flood Fill Algorithm)”由当前位置开始逐步覆盖剩余区域R,同时打印过程中需要用3D视觉模块不断对剩余区域R进行修复,确保通过3D视觉方式能够精准对当前层中的剩余区域R进行打印。When printing the remaining area R, use the 3D vision module to position the printer nozzle near the inner edge of the remaining area R, and then gradually cover the remaining area R from the current position according to the "Flood Fill Algorithm". During the printing process, it is necessary to use the 3D vision module to continuously repair the remaining region R, so as to ensure that the remaining region R in the current layer can be accurately printed through 3D vision.
对剩余区域R打印k次,直到剩余区域R的层厚高度达到f,即d=f/k,则当前i层中所有的剩余区域即可完成打印。Print k times on the remaining region R until the layer thickness of the remaining region R reaches f, that is, d=f/k, then all the remaining regions in the current i layer can be printed.
对所有层的剩余区域R都执行上述打印步骤,直到当前打印层的高度h=i*f的值达到内部填充区域M1的最高点位置,则内部填充区域M1空间区域打印完毕,且三维模型切片位置h以下的空间区域也都打印完毕。Perform the above printing steps on the remaining area R of all layers until the value of the height h=i*f of the current printing layer reaches the highest point position of the inner filling area M1, then the spatial area of the inner filling area M1 is printed, and the three-dimensional model slice The spatial area below the position h is also printed.
对于空间区域M2,即在粗糙模型的高度以上的部分,该区域打印层厚选为d,对该区域的打印过程如下:For the spatial area M2, that is, the part above the height of the rough model, the thickness of the printing layer in this area is selected as d, and the printing process for this area is as follows:
计算粗糙模型打印完的高度h1=imax*f,根据高度h1及目标物的点云模型,计算得到高度h1以上的待打印区域M2;其中,imax为以f为每层的打印厚度时粗糙模型对应的最大层数,imax*f≤p<(imax+1)*f,p为粗糙模型的高度;Calculate the height h1=i max *f of the rough model after printing. According to the height h1 and the point cloud model of the target, calculate the area M2 to be printed above the height h1; where, i max is when f is the printing thickness of each layer The maximum number of layers corresponding to the rough model, i max *f≤p<(i max +1)*f, p is the height of the rough model;
用3D视觉模块对打印平台上的打印模型进行点云模型采集,得到当前打印模型的点云模型Mc’,通过比对目标物的点云模型Mp与当前打印模型的点云模型Mc’,得到剩余需要待打印的区域集合U。Use the 3D vision module to collect the point cloud model of the printing model on the printing platform to obtain the point cloud model Mc' of the current printing model, and compare the point cloud model Mp of the target object with the point cloud model Mc' of the current printing model to obtain The remaining set of regions U to be printed.
可选的,将连通的区域作为同一区域,将不连通的区域作为不同的区域。Optionally, the connected regions are regarded as the same region, and the disconnected regions are regarded as different regions.
计算当前打印高度h2=h1+j*d,j为所述待打印区域的打印次数,遍历集合U中不同区域位置,集合U中不同区域为相互之间不连通的区域;采用洪水填充算法对集合U中各个高度为h2的区域进行打印,直至当前打印高度h2达到所述目标物的点云模型的最大高度;同时打印过程中用3D视觉模块不断对剩余区域进行扫描采集,并与原始点云模型Mp进行比对,以确保在边缘位置能够精准打印。Calculate the current printing height h2=h1+j*d, j is the printing times of the area to be printed, traverse the different area positions in the set U, and the different areas in the set U are areas that are not connected to each other; use the flood filling algorithm to Each area of height h2 in the set U is printed until the current printing height h2 reaches the maximum height of the point cloud model of the target object; at the same time, the 3D vision module is used to continuously scan and collect the remaining area during the printing process, and the original point Cloud model Mp is compared to ensure accurate printing at the edge.
例如,如图4所示,待打印的猫的模型的两只耳朵中的最高的一只耳朵为该目标物的点云模型的最大高度,左耳朵和右耳朵为集合U中的不同区域,左耳朵的高度小于右耳朵的高度,在打印这两个区域的时候,左耳朵打印的结束条件是左耳朵打印到左耳朵自身的最大高度,右耳朵打印的结束条件是右耳朵打印到点云模型的最大高度。For example, as shown in Figure 4, the highest ear among the two ears of the model of the cat to be printed is the maximum height of the point cloud model of the object, and the left ear and the right ear are different regions in the set U, The height of the left ear is smaller than the height of the right ear. When printing these two areas, the end condition of the left ear printing is that the left ear is printed to the maximum height of the left ear itself, and the end condition of the right ear printing is that the right ear is printed to the point cloud The maximum height of the model.
重复上述待打印区域的打印步骤,直到打印高度h2达到目标物的点云模型Mp的最大高度,该过程即可终止;至此,空间区域M2在切片高度h1以上的部分打印完毕,得到目标物的打印模型。Repeat the printing steps of the above-mentioned area to be printed until the printing height h2 reaches the maximum height of the point cloud model Mp of the target object, and the process can be terminated; at this point, the space area M2 is printed above the slice height h1, and the target object is obtained. Print the model.
本实施例的基于3D视觉的柔性3D打印成形方法具有以下特点:The flexible 3D printing forming method based on 3D vision in this embodiment has the following characteristics:
(1)在执行过程中弱化了当前3D打印成形过程中后续的成形制造过程与前续的模型离散过程的严格且刚性的依赖关系,在3D打印成形过程中,通过3D视觉采集到的打印实体的点云模型,并不断与原始三维模型进行比对校正,使得实际打印中的三维实体能够不断逐步逼近输入的三维模型空间几何尺寸,最终,所打印的三维模型以由下到上、由内到外地方式不断“增长”直至打印完毕;不需要前期对三维模型的精准切片以及路径规划等环节,且在成形过程中即使遭遇不可控异常而中断打印,该柔性3D打印成形方法也可继续工作,从而提高打印成形过程的稳定性和可靠性;(1) In the process of execution, the strict and rigid dependence between the subsequent forming manufacturing process and the previous model discrete process in the current 3D printing forming process is weakened. In the 3D printing forming process, the printed entities collected by 3D vision point cloud model, and constantly compare and correct with the original 3D model, so that the 3D entity in the actual printing can gradually approach the geometric size of the input 3D model space. Finally, the printed 3D model is from bottom to top and from inside The way to the field continues to "grow" until the printing is completed; there is no need for precise slicing of the 3D model and path planning in the early stage, and even if the printing is interrupted due to uncontrollable abnormalities during the forming process, the flexible 3D printing forming method can continue to work , so as to improve the stability and reliability of the printing forming process;
(2)三维模型分解序列树构建方法,可完成对输入三维模型的粗粒度有序分解,确保后续柔性3D打印成形过程按照由下到上、由内到外有序打印;(2) The 3D model decomposition sequence tree construction method can complete the coarse-grained and orderly decomposition of the input 3D model, ensuring that the subsequent flexible 3D printing forming process is printed in an orderly manner from bottom to top and from inside to outside;
(3)提出了一种混合层厚3D打印成形方法,内部区域采用大分层厚度快速打印,外部区域采用小分层厚度精细打印。(3) A mixed layer thickness 3D printing forming method is proposed, in which the inner area is quickly printed with a large layer thickness, and the outer area is finely printed with a small layer thickness.
本发明还提供了一种打印设备,该打印设备包括处理器、存储器以及存储在存储器中并可在处理器上运行的打印设备程序,处理器执行打印设备程序时实现如上述实施例中的基于3D视觉的柔性3D打印成形方法。The present invention also provides a printing device, which includes a processor, a memory, and a printing device program stored in the memory and operable on the processor. When the processor executes the printing device program, it implements the 3D visual flexible 3D printing forming method.
该打印设备还包括3D视觉模块,该3D视觉模块用于在打印过程中扫描当前打印的目标物,从而生成点云模型。The printing device also includes a 3D vision module, and the 3D vision module is used to scan the currently printed target object during the printing process, so as to generate a point cloud model.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的装置/客户端和方法,可以通过其他的方式实现。例如,以上所描述的装置/客户端实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其他的形式。In the embodiments provided in the present invention, it should be understood that the disclosed device/client and method may be implemented in other ways. For example, the device/client embodiments described above are only illustrative, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components May be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be described in the foregoing embodiments Modifications to the technical solutions recorded, or equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of the present invention, and should be included in the scope of the present invention. within the scope of protection.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310290211.2A CN116442527B (en) | 2023-03-22 | 2023-03-22 | Flexible 3D printing forming method and printing equipment based on 3D vision |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310290211.2A CN116442527B (en) | 2023-03-22 | 2023-03-22 | Flexible 3D printing forming method and printing equipment based on 3D vision |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116442527A true CN116442527A (en) | 2023-07-18 |
| CN116442527B CN116442527B (en) | 2025-09-19 |
Family
ID=87132905
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310290211.2A Active CN116442527B (en) | 2023-03-22 | 2023-03-22 | Flexible 3D printing forming method and printing equipment based on 3D vision |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116442527B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118395523A (en) * | 2024-06-21 | 2024-07-26 | 先临三维科技股份有限公司 | Model processing method, device, equipment and storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103971404A (en) * | 2014-04-14 | 2014-08-06 | 浙江工业大学 | 3D real-scene copying device having high cost performance |
| US20160167306A1 (en) * | 2014-12-11 | 2016-06-16 | Massachusetts Institute Of Technology | Systems and methods of hierarchical material design for additive fabrication |
| US9600929B1 (en) * | 2014-12-01 | 2017-03-21 | Ngrain (Canada) Corporation | System, computer-readable medium and method for 3D-differencing of 3D voxel models |
| WO2017080135A1 (en) * | 2015-11-10 | 2017-05-18 | 山东大学 | 3d printing-oriented model decomposition and arrangement method |
| US20180032060A1 (en) * | 2015-04-20 | 2018-02-01 | Hewlett-Packard Development Company, L.P. | Creating a voxel representation of a three dimensional (3-d) object |
| US20220118709A1 (en) * | 2019-07-08 | 2022-04-21 | Hewlett-Packard Development Company, L.P. | Distributing print agents in additive manufacturing |
| CN114742852A (en) * | 2022-03-07 | 2022-07-12 | 华中科技大学 | Efficient free-form surface layering method based on grid intersection and application thereof |
-
2023
- 2023-03-22 CN CN202310290211.2A patent/CN116442527B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103971404A (en) * | 2014-04-14 | 2014-08-06 | 浙江工业大学 | 3D real-scene copying device having high cost performance |
| US9600929B1 (en) * | 2014-12-01 | 2017-03-21 | Ngrain (Canada) Corporation | System, computer-readable medium and method for 3D-differencing of 3D voxel models |
| US20160167306A1 (en) * | 2014-12-11 | 2016-06-16 | Massachusetts Institute Of Technology | Systems and methods of hierarchical material design for additive fabrication |
| US20180032060A1 (en) * | 2015-04-20 | 2018-02-01 | Hewlett-Packard Development Company, L.P. | Creating a voxel representation of a three dimensional (3-d) object |
| WO2017080135A1 (en) * | 2015-11-10 | 2017-05-18 | 山东大学 | 3d printing-oriented model decomposition and arrangement method |
| US20220118709A1 (en) * | 2019-07-08 | 2022-04-21 | Hewlett-Packard Development Company, L.P. | Distributing print agents in additive manufacturing |
| CN114742852A (en) * | 2022-03-07 | 2022-07-12 | 华中科技大学 | Efficient free-form surface layering method based on grid intersection and application thereof |
Non-Patent Citations (1)
| Title |
|---|
| 王典;程西云;蔡国栋;: "八叉树细化功能梯度材料零件体素模型的描述与分析方法", 现代制造工程, no. 08, 18 August 2020 (2020-08-18) * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118395523A (en) * | 2024-06-21 | 2024-07-26 | 先临三维科技股份有限公司 | Model processing method, device, equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116442527B (en) | 2025-09-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113155054B (en) | Automatic three-dimensional scanning planning method for surface structured light | |
| Sapidis et al. | Direct construction of polynomial surfaces from dense range images through region growing | |
| JP2013507679A (en) | Method and system capable of 3D printing of 3D object model | |
| US20060155418A1 (en) | Apparatus, method and article for direct slicing of step based nurbs models for solid freeform fabrication | |
| KR101250163B1 (en) | Process for creating from a mesh an isotopologic set of parameterized surfaces | |
| Tedia et al. | Manufacturability analysis tool for additive manufacturing using voxel-based geometric modeling | |
| US11865787B2 (en) | Method and system for additive manufacturing | |
| Huang et al. | An effective error-tolerance slicing algorithm for STL files | |
| CN102306397A (en) | Method for meshing point cloud data | |
| CN107622530B (en) | An Efficient and Robust Triangulation Network Cutting Method | |
| JP2022125003A (en) | Segmentation of 3d modeled object representing mechanical components | |
| CN111243094B (en) | Three-dimensional model accurate voxelization method based on lighting method | |
| CN112873855B (en) | A Layout Method of STL Model Center in 3DP Process | |
| CN116442527A (en) | Flexible 3D printing forming method and printing equipment based on 3D vision | |
| CN118070434B (en) | Method and system for constructing process information model of automobile part | |
| Quadros et al. | 3 D discrete skeleton generation by wave propagation on PR-octree for finite element mesh sizing | |
| CN114758095B (en) | Adaptive scanning method for complex curved surface parts | |
| EP4092557A1 (en) | Parameterization of digital irregular freeform geometries | |
| Patel et al. | Automatic CAD model topology generation | |
| Bradley | Rapid prototyping models generated from machine vision data | |
| Li | Automatic parting surface determination for plastic injection mould | |
| US20070120850A1 (en) | Method and Apparatus for Non-Shrinking Mesh Smoothing Using Local Fitting | |
| CN115346019A (en) | Method, device and system for measuring geometric parameters of point cloud circular holes | |
| CN118504362B (en) | A method and device for constructing a personalized brace model for 3D printing | |
| EP4492325B1 (en) | Segmenting a 3d model of a mechanical part |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |