WO2023165232A1 - 模型支撑点设置方法、装置、电子设备及可读存储介质 - Google Patents

模型支撑点设置方法、装置、电子设备及可读存储介质 Download PDF

Info

Publication number
WO2023165232A1
WO2023165232A1 PCT/CN2022/141716 CN2022141716W WO2023165232A1 WO 2023165232 A1 WO2023165232 A1 WO 2023165232A1 CN 2022141716 W CN2022141716 W CN 2022141716W WO 2023165232 A1 WO2023165232 A1 WO 2023165232A1
Authority
WO
WIPO (PCT)
Prior art keywords
contour
suspended
layer
model
sharp corner
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.)
Ceased
Application number
PCT/CN2022/141716
Other languages
English (en)
French (fr)
Inventor
敖丹军
唐京科
王江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chuangxiang 3D Technology Co Ltd
Original Assignee
Shenzhen Chuangxiang 3D Technology Co Ltd
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 Shenzhen Chuangxiang 3D Technology Co Ltd filed Critical Shenzhen Chuangxiang 3D Technology Co Ltd
Priority to EP22929656.1A priority Critical patent/EP4488037A4/en
Priority to US18/714,201 priority patent/US20250026079A1/en
Publication of WO2023165232A1 publication Critical patent/WO2023165232A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING 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/00Additive 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/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • B29C64/393Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B22CASTING; POWDER METALLURGY
    • B22FWORKING METALLIC POWDER; MANUFACTURE OF ARTICLES FROM METALLIC POWDER; MAKING METALLIC POWDER; APPARATUS OR DEVICES SPECIALLY ADAPTED FOR METALLIC POWDER
    • B22F10/00Additive manufacturing of workpieces or articles from metallic powder
    • B22F10/40Structures for supporting workpieces or articles during manufacture and removed afterwards
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B22CASTING; POWDER METALLURGY
    • B22FWORKING METALLIC POWDER; MANUFACTURE OF ARTICLES FROM METALLIC POWDER; MAKING METALLIC POWDER; APPARATUS OR DEVICES SPECIALLY ADAPTED FOR METALLIC POWDER
    • B22F10/00Additive manufacturing of workpieces or articles from metallic powder
    • B22F10/80Data acquisition or data processing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B22CASTING; POWDER METALLURGY
    • B22FWORKING METALLIC POWDER; MANUFACTURE OF ARTICLES FROM METALLIC POWDER; MAKING METALLIC POWDER; APPARATUS OR DEVICES SPECIALLY ADAPTED FOR METALLIC POWDER
    • B22F10/00Additive manufacturing of workpieces or articles from metallic powder
    • B22F10/80Data acquisition or data processing
    • B22F10/85Data acquisition or data processing for controlling or regulating additive manufacturing processes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING 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/00Additive 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/20Apparatus for additive manufacturing; Details thereof or accessories therefor
    • B29C64/245Platforms or substrates
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING 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/00Additive 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/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING 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/00Additive 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/40Structures for supporting 3D objects during manufacture and intended to be sacrificed after completion thereof
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE 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
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE 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
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • B33Y50/02Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/10Additive manufacturing, e.g. three-dimensional [3D] printing
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P10/00Technologies related to metal processing
    • Y02P10/25Process efficiency
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Definitions

  • the present application relates to the field of three-dimensional (Threee Dimensions, 3D) printing, and in particular to a method, device, electronic device and computer-readable storage medium for setting support points of a model.
  • 3D printing is rapid prototyping technology. It is a cumulative manufacturing technology, also known as additive manufacturing. It is based on a digital model file, using special wax, powdered metal or plastic, etc. Layers of bonding material to create three-dimensional objects.
  • the existing model support point automatic generation software when setting the model support point, generates support points according to the preset density at the overhanging position where support needs to be generated, which will cause some easy-to-collapse parts to have no support points, which are easy
  • the collapsed part may collapse, resulting in model printing failure.
  • the present application provides a model support point setting method, device, electronic equipment and computer-readable storage medium, which can make the sharp corner area in the model that is easy to collapse be provided with support points, avoiding the occurrence of problems due to the absence of sharp corner areas The situation where the model fails to print due to the support point.
  • One embodiment of the present application provides a method for setting model support points, including: layering the model according to the preset layer height, and obtaining the outline of each layer of the model; positioning the suspended layer according to the outline of each layer , wherein the model includes a suspended part, and the suspended layer is the lowest layer of the suspended part; the suspended position of the suspended layer is obtained based on the lower profile of the suspended layer and the profile of the suspended layer; based on the The suspended position determines the contour of the suspended position, and determines the sharp corner area and the non-sharp corner area of the suspended position based on the contour of the suspended position; Preset Support Point Density Set support points.
  • the overhanging position is divided into sharp-angled areas and non-sharp-angled areas.
  • the determining the suspension position based on the suspended position includes: obtaining a first contour based on a safety offset value and the lower layer contour of the suspended layer; obtaining a second contour based on a tilt offset value and the first contour Two contours; subtracting the contour of the suspended position from the first contour and the second contour to obtain the contour of the suspended position;
  • the contour of the suspended layer can be divided into the first contour, the second contour and the contour of the hanging position, and the supporting point is set at the hanging position, and the supporting point can be set for the first contour and the second contour, or no supporting point can be set , in this technical solution, the first contour and the second contour do not set support points, which can reduce the number of support points of the model and increase the printing speed of the model.
  • the method for setting model support points further includes: setting support points according to the corresponding preset support point density in the area where the first contour is located; setting support points according to the corresponding preset support point density in the area where the second outline is located.
  • Point Density sets the support points.
  • support points can be set on the first contour and the second contour, and the first contour and the second contour can have different support point densities.
  • the determining the sharp corner area of the hanging position based on the outline of the hanging position includes: reducing the outline of the hanging position based on a safety offset value to obtain a first intermediate outline; using The jtSquare parameter attribute expands the first intermediate contour by the safety offset value to obtain a second intermediate contour; subtracts the contour at the hanging position from the second intermediate contour to obtain the sharp corner area.
  • the first intermediate contour can be obtained by reducing the safe offset value of the contour at the hanging position, and then expanding the safe offset value of the first intermediate contour based on the jtSquare parameter attribute to obtain the second intermediate contour, and then the contour at the hanging position can be obtained Perform subtraction with the second intermediate contour to obtain the sharp corner area.
  • the non-sharp corner area of the hanging position includes two contour areas, and the two contour areas respectively have corresponding preset support point densities; the two contour areas are determined by the following method: The second intermediate contour is subtracted from the first intermediate contour to obtain a third contour; the first intermediate contour and the third contour are used as the two contour areas of the non-sharp corner area of the hanging position .
  • the non-sharp area of the overhanging position can be divided into two contour areas, and different or the same support point densities can be set for the two contour areas of the non-sharp area to realize model printing support.
  • the determining the sharp corner area of the hanging position based on the outline of the hanging position includes: reducing the outline of the hanging position based on a safety offset value to obtain a first intermediate outline; The outline of the hanging position is subtracted from the first intermediate outline to obtain a third intermediate outline; the third intermediate outline is expanded by the safety offset value using the jtSquare parameter attribute to obtain a fourth intermediate outline; The jtMiter parameter attribute expands the third intermediate contour by the safe offset value to obtain the fifth intermediate contour; subtracts the fourth intermediate contour from the fifth intermediate contour to obtain the sixth intermediate contour; The sixth intermediate contour is enlarged by a preset multiple to obtain a seventh intermediate contour; the seventh intermediate contour is intersected with the third intermediate contour to obtain the sharp corner area of the hanging position.
  • the third intermediate contour and the seventh intermediate contour can be obtained based on the contour of the hanging position, the preset safety offset value, the jtSquare parameter attribute and the jtMiter parameter attribute, and then the third intermediate contour and the seventh intermediate contour can be obtained. Find the intersection processing to get the sharp corner area.
  • the non-sharp corner area of the hanging position includes two contour areas, and the two contour areas respectively have corresponding preset support point densities; the two contour areas are determined by the following method: The third intermediate contour is subtracted from the sharp corner region to obtain a fourth contour; the first middle contour and the fourth contour are used as two contour regions of the non-sharp corner region of the hanging position.
  • the non-sharp area of the overhanging position can be divided into two contour areas, and different or the same support point densities can be set for the two contour areas of the non-sharp area to realize model printing support.
  • setting the support points according to the corresponding preset support point density includes: performing random sampling respectively to obtain sampling points; The support points are set in the area; the support points in the current area are screened so that the distance between any two support points is greater than or equal to a preset value.
  • support points can be set in the sharp corner area of the model, and the non-sharp corner area and the sharp corner area can correspond to different support point densities, avoiding the absence of support points in the sharp corner area of the model that is easy to collapse
  • the distance between any two support points can be greater than or equal to the preset value, which can reduce the number of support points of the model and increase the printing speed of the model.
  • the safety offset value can be calculated based on the first preset formula; when the preset slope angle and the story height of the model are determined, it can be calculated based on the second preset Set the formula to calculate the tilt offset value.
  • An embodiment of the present application provides a model support point setting device, including: a layering module, used to layer the model according to the preset layer height, and obtain the outline of each layer of the model; a positioning module, used to Locate the suspended layer according to the contour of each layer, wherein the model includes a suspended part, and the suspended layer is the lowest layer of the suspended part; the first processing module is used to base the contour of the lower layer of the suspended layer and The contour of the suspended layer obtains the suspended position of the suspended layer; the second processing module is configured to determine the contour of the suspended position based on the suspended position, and determine the sharp corner area of the suspended position based on the contour of the suspended position and non-sharp corner areas; a setting module, configured to set support points in the sharp corner areas and non-sharp corner areas of the hanging position according to corresponding preset support point densities.
  • the overhanging position is divided into sharp-angled areas and non-sharp-angled areas.
  • An embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the above method for setting model support points.
  • An embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are run on the electronic device, the electronic device is made to execute the above method for setting model support points.
  • FIG. 1 is a flow chart of steps of a method for setting model support points in an embodiment of the present application.
  • Fig. 2a is a schematic outline diagram of a model in an embodiment of the present application.
  • Fig. 2b is a schematic diagram of the outline of the suspended layer and its upper and lower layers of the model in Fig. 2a.
  • Fig. 3 is a schematic diagram of the calculated safety offset and tilt offset based on the suspended layer and its lower layer in Fig. 2b.
  • Fig. 4a is a schematic structural diagram of a first profile in an embodiment of the present application.
  • Fig. 4b is a schematic structural diagram of a second contour in an embodiment of the present application.
  • Fig. 4c is a schematic outline diagram of a hanging position in an embodiment of the present application.
  • Fig. 4d is a schematic diagram of the division of the sharp corner area and the non-sharp corner area of the hanging position in an embodiment of the present application.
  • Fig. 4e is a schematic diagram of the subdivision of the non-sharp corner region of the overhang position shown in Fig. 4d into two contour regions.
  • Fig. 4f is a schematic diagram of the division of the sharp corner area and the non-sharp corner area of the hanging position in another embodiment of the present application.
  • Fig. 4g is a schematic diagram of subdividing the non-sharp corner region of the overhang position shown in Fig. 4f into two contour regions.
  • Fig. 5 is a block diagram of a model supporting point setting device in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a 3D printer in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an electronic device in an embodiment of the present application.
  • “at least one” means one or more, and “multiple” means two or more than two.
  • “And/or” describes the association relationship of associated objects, indicating that there can be three types of relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B Can be singular or plural.
  • the terms “first”, “second”, “third”, “fourth”, etc. (if any) in the description and claims of this application and the drawings are used to distinguish similar objects, not to Describe a specific order or sequence.
  • words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
  • the present application provides a method for setting model support points, including: layering the model according to the preset layer height, and obtaining the outline of each layer of the model; positioning the suspended layer according to the outline of each layer, wherein, The model includes a suspended part, and the suspended layer is the lowest layer of the suspended part; the suspended position of the suspended layer is obtained based on the lower layer profile of the suspended layer and the profile of the suspended layer; determined based on the suspended position The contour of the hanging position, and determine the sharp corner area and the non-sharp corner area of the hanging position based on the contour of the hanging position; respectively in the sharp corner area and the non-sharp corner area of the hanging position, according to the corresponding preset support Point Density sets the support points.
  • the above-mentioned model support point setting method by obtaining the outline of the overhanging position in the model, divides the overhanging position into a sharp corner area and a non-sharp corner area, and the sharp corner area and the non-sharp corner area can correspond to different support point densities, which can make There are support points in the sharp corner area of the model that is easy to collapse, so as to avoid the situation that the model fails to print due to the absence of support points in the sharp corner area.
  • the model support point setting method of the present application can be applied in a 3D printer or in an electronic device.
  • An electronic device can be a device that can automatically perform numerical calculations and/or information processing according to preset or stored instructions, and its hardware includes but is not limited to microprocessors, Application Specific Integrated Circuits (ASICs), Programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded devices, etc.
  • the electronic device may be a computing device such as a desktop computer, a notebook computer, a server, an industrial computer, or the like. Electronic devices can interact with users through keyboards, mice, remote controls, touch pads, or voice-activated devices.
  • FIG. 1 is a flow chart of the steps of an embodiment of the method for setting model support points in the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the method for setting model support points may specifically include the following steps.
  • step S11 the model is layered according to the preset layer height, and the outline of each layer of the model is obtained.
  • the model can be constructed based on the outline parameters of the object to be printed, and the object to be printed can be selected according to actual printing requirements, which is not limited in this application.
  • the model of the object to be printed can be designed by CAD and other model design software, and then the model can be layered by layering software.
  • the layering software can be existing layering software, such as Magics software.
  • the model M1 can be divided into 328 layers (16.4/0.05). After layering the model M1, the outline of each layer of the model M1 can be obtained.
  • Step S12 locating the suspended layer according to the outline of each layer.
  • the model includes a suspended part
  • the printing material can be prevented from falling during the accumulation of the suspended part.
  • the suspended layer can be located by traversing the outline of each layer.
  • the model M1 includes a suspended part M11, and the suspended layer can refer to the lowermost layer of the suspended part M11.
  • L i is the contour of the suspended layer of the model M1
  • Li -1 is the contour of the lower layer of the suspended layer
  • Li +1 is the contour of the upper layer of the suspended layer.
  • step S13 the suspended position of the suspended layer is obtained based on the contour of the lower layer of the suspended layer and the contour of the suspended layer.
  • the suspended position of the suspended layer can be obtained based on the contour of the lower layer of the suspended layer and the contour of the suspended layer.
  • the suspended position of the suspended layer may refer to the difference between the contour of the suspended layer and the contour of the lower layer of the suspended layer.
  • the contour of the suspended layer can be subtracted from the contour of the lower layer of the suspended layer to obtain the suspended position of the suspended layer.
  • Step S14 determining the outline of the overhanging position based on the overhanging position, and determining the sharp corner area and the non-sharp corner area of the overhanging position based on the outline of the overhanging position.
  • the suspended position can be divided into three types of areas: the suspended position, the safety area and the inclined area.
  • the safe area may refer to the part of the suspended position for cooling and forming in this area, and it may not be necessary to set a support point.
  • the inclined area may refer to the part of the suspended position for cooling and forming in this area, and few supporting points need to be set.
  • the suspended position may refer to other areas in the suspended position except the safe area and the inclined area, and more support points need to be set up compared with the inclined area. For example, when determining the safety area and the inclined area of the suspended position, the outline of the suspended position can be subtracted from the outline of the safe area and the outline of the inclined area to obtain the outline of the suspended position.
  • the suspended position can also be directly used as the suspended position, that is, no additional division of the safety area and the inclined area is performed, and all the suspended positions are used as the suspended position.
  • the suspended position can also be divided into two types of area: the suspended position and the safety area according to whether support points need to be set, that is, the above-mentioned inclined area is also classified as the suspended position.
  • the contour of the suspended position may be subtracted from the contour of the safe area to obtain the contour of the suspended position.
  • the safety area can be determined based on the outline of the lower layer of the suspended floor, the preset safety angle, and the preset floor height, and the slope area can be determined based on the outline of the safety area, the preset inclination angle, and the preset floor height.
  • Both the preset safety angle and the preset slope angle can be set by the user before the model is printed, and the size of the preset safety angle and the preset slope angle can be set and adjusted according to the actual printing needs, which is not limited in this application .
  • the preset safety angle may refer to the suspended part that is cooled and formed within this angle, and no supporting point may be required.
  • the preset slope angle may refer to the suspended part that is cooled and formed within this angle, and there are few support points that need to be set. For example, the preset safety angle A1 is 35°, and the preset slope angle A2 is 75°.
  • the safety offset value can be calculated according to the preset safety angle A1 and the floor height h offset_1, and the slope offset value offset_2 calculated according to the preset slope angle A2 and the storey height h.
  • the safety offset value offset_1 and the tilt offset value offset_2 can also be set by the user before the model is printed, that is, they do not need to be calculated based on the above-mentioned first preset formula and second preset formula.
  • the lower profile L i-1 of the suspended layer can be offset in the first direction according to the safety offset value offset_1 to obtain the first offset profile Q1, and then the first offset profile Q1 and the suspended layer's Subtraction processing is performed on the lower contour L i-1 to obtain the first contour P1 (the first contour P1 is the safe area of the above-mentioned floating position).
  • the first direction may refer to the extension direction of the lower profile L i-1 .
  • the lower profile L i-1 of the suspended layer is offset by offset_1 in the first direction through the offset function of the Clipper library to obtain the first offset profile Q1, and then the first offset profile Q1 is subtracted from the lower profile Li -1 yields the first profile P1.
  • the first profile P1 can be offset in the first direction according to the tilt offset value offset_2 to obtain the second offset profile Q2, and then the second intermediate profile O2 is subtracted from the first profile P1, A second profile P2 is obtained (the second profile P2 is the inclined area of the aforementioned suspended position).
  • the first profile P1 is offset by offset_2 in the first direction through the offset function of the Clipper library to obtain the second offset profile Q2, and then the second offset profile Q2 is subtracted from the first profile P1 to obtain the second Profile P2.
  • the suspended position is divided into the suspended position, the safe area (the area included in the first profile P1) and the inclined area (the area included in the second profile P2), when the first profile P1 and After the second contour P2, the contour of the suspended position can be subtracted from the first contour P1 and the second contour P2 to obtain the contour of the suspended position.
  • the contour P d of the suspended position is subtracted from the first contour P1 and the second contour P2 to obtain the contour P t of the suspended position.
  • the overhanging positions can be divided into sharp-corner regions and non-sharp-corner regions.
  • a non-sharp region may refer to a region other than a sharp region in the overhanging position.
  • the determination of the sharp-angled area SA1 and the non-sharp-angled area SA2 of the overhanging position based on the profile Pt of the overhanging position can be achieved in the following manner: a1 ).
  • the contour P t of the hanging position is reduced to obtain the first intermediate contour O1.
  • the direction reduces the safe offset value offset_1 to obtain the first intermediate contour O1; a2).
  • the contour P t of the position is subtracted from the second intermediate contour O2 to obtain the two sharp corner areas SA1 of the overhang position; a4).
  • the contour P t of the overhang position is subtracted from the two sharp corner regions SA1 to obtain Non-sharp area SA2 in the overhang position.
  • the four sharp corner areas SA1 at the overhanging positions are obtained based on steps a1-a3.
  • the non-sharp area SA2 of the overhanging position may include two outline areas, and the two outline areas may respectively have corresponding preset support point densities.
  • the two outline areas may have corresponding Different preset support point densities.
  • the two contour areas can be determined by the following method: subtracting the second middle contour O2 from the first middle contour O1 to obtain the third Profile P3: two profile areas of the non-sharp area SA2 with the first intermediate profile O1 and the third profile P3 as the overhanging position.
  • the SA1 and the non-sharp area SA2 of the overhanging position can be determined based on the profile Pt of the overhanging position in the following manner: b1).
  • the contour P t at the hanging position is reduced to obtain the first intermediate contour O1; b2).
  • the contour P t at the hanging position is subtracted from the first intermediate contour O1 to obtain the third intermediate contour O3; b3).
  • the non-sharp area SA2 at the overhanging position may include two outline areas, and the two outline areas may respectively have corresponding preset support point densities.
  • the two outline areas may have corresponding Different preset support point densities.
  • the preset multiple can be set according to actual needs, for example, the preset multiple is set to 1.5-3.
  • support points can be respectively set in the sharp corner area SA1 and the non-sharp corner area SA2 of the overhanging position according to the corresponding preset support point density.
  • the sharp-angled area SA1 and the non-sharp-angled area SA2 of the overhanging position can be correspondingly provided with different preset support point densities.
  • the suspended position when the suspended position is divided into three types: the profile Pt of the suspended position, the first profile P1 and the second profile P2, it is also possible to use the corresponding preset support points in the area where the first profile P1 is located. Density setting support points, and in the area where the second contour P2 is located, setting support points according to the corresponding preset support point density.
  • the preset support point density corresponding to the first profile P1 and the preset support point density corresponding to the second profile P2 can be set according to actual needs.
  • the preset support point density corresponding to the first contour P1 is smaller than the preset support point density corresponding to the second contour P2, and the preset support point density corresponding to the second contour P2 is smaller than that corresponding to the non-sharp corner area of the hanging position
  • the corresponding predetermined Set support point density to set support points c1).
  • Density and sampling points respectively set support points in the current area; c3). Filter the support points in the current area so that the distance between any two support points is greater than or equal to the preset value. By screening the support points, the number of remaining support points can meet the printing support of the model M1, and the printing speed of the model can be improved, and printing materials can be saved.
  • the precondition when screening the support points, the precondition may be that the support points are preferentially provided in the sharp corner area SA1 of the hanging position, so as to ensure that the support points are provided in the sharp corner area SA1.
  • a Poisson sampling algorithm may be used to randomly sample points of the triangular sheet to obtain sampling points.
  • the preset value can also be set according to actual needs, which is not limited in the present application, for example, the preset value can be set to 1 cm.
  • the model M1 after setting the support points of the model M1, the model M1 can be sliced to obtain the Gcode file, and then the 3D printer can be printed based on the Gcode file to obtain the model M1 including the support, and then by removing the model M1 support, the model M1 can be obtained.
  • Fig. 5 is a functional block diagram of a preferred embodiment of the device for setting the model support points of the present application.
  • the model support point setting device 10 can be applied to electronic equipment.
  • the model support point setting device 10 may include one or more modules.
  • the model support point setting device 10 may include a layering module 101 , a positioning module 102 , a first processing module 103 , a second processing module 104 and a setting module 105 .
  • the model support point setting device 10 may include some or all of the functional modules shown in FIG. 5 , and the functions of the modules 101-105 will Introduced in detail below. It should be noted that the same nouns and related nouns and their specific explanations in the various implementations of the above method for setting model support points can also be applied to the following introduction to the functions of the modules 101-105. To save space and avoid repetition, details are not repeated here.
  • the layering module 101 is configured to layer the model according to the preset layer height, and obtain the outline of each layer of the model.
  • the positioning module 102 is configured to locate the suspended layer according to the outline of each layer, wherein the model includes the suspended part, and the suspended layer is the lowest layer of the suspended part.
  • the first processing module 103 is configured to obtain the suspended position of the suspended layer based on the contour of the lower layer of the suspended layer and the contour of the suspended layer.
  • the second processing module 104 is configured to determine the contour of the overhanging position based on the overhanging position, and determine the sharp corner area and the non-sharp corner area of the overhanging position based on the contour of the overhanging position.
  • the setting module 105 is configured to set the support points in the sharp corner area and the non-sharp corner area of the hanging position according to the corresponding preset support point density.
  • FIG. 6 is a schematic diagram of an embodiment of the 3D printer of the present application.
  • the 3D printer 100 includes a main controller 1001, an extruder module 1002, a motor 1003 and a control display module 1004.
  • the main controller 1001 can execute the manipulation motor 1003 according to the program, and the manipulation display module 1004 can display information, perform data communication, and the like.
  • the extruder module 1002 may include an extruder, a heating rod, etc., and may realize heating and extrusion of consumables.
  • the control and display module 1004 may include keys, a touch display, etc., allowing the user to input control commands, and display the usage and printing progress of the 3D printer 100 .
  • the first computer program 42 can be stored in the Flash memory of the main controller 1001 , and the main controller 1001 can print the model M1 including the support based on the Gcode file when executing the first computer program 42 .
  • the first computer program 42 can also be divided into one or more modules/units, and the one or more modules/units are stored in the Flash memory of the main controller 1001 and controlled by the main controller 1001 Execute to complete this application.
  • the one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the first computer program 42 in the 3D printer 100 .
  • the main controller 1001 can be a microprocessor, a single-chip microcomputer and the like.
  • the schematic diagram is only an example of the 3D printer 100 and does not constitute a limitation to the 3D printer 100. It may include more or less components than those shown in the illustration, or combine certain components, or have different Components, such as the 3D printer 100 may also include a communication module and the like.
  • FIG. 7 is a schematic diagram of an embodiment of an electronic device of the present application.
  • the electronic device 200 includes a memory 20 , a processor 30 and a second computer program 44 stored in the memory 20 and executable on the processor 30 .
  • the processor 30 executes the second computer program 44 , the steps in the above embodiment of the method for setting the model support points can be realized, such as steps S11 to S15 shown in FIG. 1 .
  • the second computer program 44 can also be divided into one or more modules/units, and the one or more modules/units are stored in the memory 20 and executed by the processor 30 .
  • the one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the second computer program 44 in the electronic device 200 .
  • it can be divided into a layering module 101 , a positioning module 102 , a first processing module 103 , a second processing module 104 and a setting module 105 as shown in FIG. 5 .
  • the electronic device 200 may be a computing device such as a desktop computer, a notebook, a palmtop computer, an industrial computer, a tablet computer, or a server.
  • a computing device such as a desktop computer, a notebook, a palmtop computer, an industrial computer, a tablet computer, or a server.
  • the schematic diagram is only an example of the electronic device 200, and does not constitute a limitation to the electronic device 200. It may include more or less components than those shown in the illustration, or combine certain components, or have different Components, such as the electronic device 200 may also include input and output devices, network access devices, buses, and the like.
  • the processor 30 can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor can be a microprocessor, a single-chip microcomputer, or the processor 30 can also be any conventional processor and the like.
  • the memory 20 can be used to store the second computer program 44 and/or module/unit, and the processor 30 realizes various functions of the electronic device 200 .
  • the memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.;
  • the use of the electronic device 200 creates data such as audio data, and the like.
  • the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device.
  • a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device.
  • a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash card
  • the integrated modules/units of the electronic device 200 are realized in the form of software function units and sold or used as independent products, they may be stored in a computer-readable storage medium.
  • the present application realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium.
  • the computer program is executed by the processor, it can realize the steps of the above-mentioned various method embodiments.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signal telecommunication signal and software distribution medium, etc.
  • each functional unit in each embodiment of the present application may be integrated into the same processing unit, each unit may exist separately physically, or two or more units may be integrated into the same unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software function modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Materials Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Mechanical Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本申请提供一种模型支撑点设置方法、装置、电子设备及计算机可读存储介质,所述方法包括:按照预设层高对模型进行分层,并获取模型的每一层的轮廓;根据每一层的轮廓定位悬空层,其中,模型包括悬空部分,悬空层为悬空部分的最下层;基于悬空层的下层轮廓及悬空层的轮廓得到悬空层的悬空位置;基于悬空位置确定悬垂位置的轮廓,并基于悬垂位置的轮廓确定悬垂位置的尖角区域与非尖角区域;分别在悬垂位置的尖角区域与非尖角区域,根据对应的预设支撑点密度设置支撑点。本申请可使得模型中容易塌陷的尖角区域处设置有支撑点,避免出现由于尖角区域不存在支撑点而导致模型打印失败的情形。

Description

模型支撑点设置方法、装置、电子设备及可读存储介质
本申请要求于2022年03月01日提交中国专利局,申请号为202210194013.1、申请名称为“模型支撑点设置方法、装置、电子设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及三维(Three Dimensions,3D)打印领域,尤其涉及一种模型支撑点设置方法、装置、电子设备及计算机可读存储介质。
背景技术
3D打印即快速成型技术,是一种累积制造技术,又称增材制造,它是一种数字模型文件为基础,运用特殊蜡材、粉末状金属或塑料等可粘合材料,通过打印一层层的粘合材料来制造三维的物体。
现有的模型支撑点自动生成软件,在进行模型支撑点的设置时,在需要生成支撑的悬垂位置按照预设密度生成支撑点,这样会导致某些容易塌陷的部位不存在支撑点,这些容易塌陷的部位可能会出现塌陷的现象,导致模型打印失败。
发明内容
鉴于上述,本申请提供一种模型支撑点设置方法、装置、电子设备及计算机可读存储介质,其可使得模型中容易塌陷的尖角区域处设置有支撑点,避免出现由于尖角区域不存在支撑点而导致模型打印失败的情形。
本申请一实施方式提供一种模型支撑点设置方法,包括:按照预设层高对模型进行分层,并获取所述模型的每一层的轮廓;根据所述每一层的轮廓定位悬空层,其中,所述模型包括悬空部分,所述悬空层为所述悬空部分的最下层;基于所述悬空层的下层轮廓及所述悬空层的轮廓得到所述悬空层的悬空位置;基于所述悬空位置确定悬垂位置的轮廓,并基于所述悬垂位置的轮廓确定 所述悬垂位置的尖角区域与非尖角区域;分别在所述悬垂位置的尖角区域与非尖角区域,根据对应的预设支撑点密度设置支撑点。
采用该技术方案,通过获取模型中的悬垂位置的轮廓,将悬垂位置划分为尖角区域与非尖角区域,尖角区域与非尖角区域可以对应有不同的支撑点密度,可使得模型中容易塌陷的尖角区域处设置有支撑点,避免出现由于尖角区域不存在支撑点而导致模型打印失败的情形。
在一些实施例中,所述基于所述悬空位置确定悬垂位置,包括:基于安全偏移值与所述悬空层的下层轮廓得到第一轮廓;基于倾斜偏移值与所述第一轮廓得到第二轮廓;将所述悬空位置的轮廓与所述第一轮廓、所述第二轮廓进行相减处理,得到悬垂位置的轮廓;
或;基于安全偏移值与所述悬空层的下层轮廓得到第一轮廓;将所述悬空位置的轮廓与所述第一轮廓进行相减处理,得到悬垂位置的轮廓;
或;将所述悬空位置的轮廓作为悬垂位置的轮廓。
采用该技术方案,可以将悬空层的轮廓划分为第一轮廓、第二轮廓和悬垂位置的轮廓,悬垂位置设置支撑点,第一轮廓与第二轮廓可以设置支撑点,也可以不设置支撑点,该技术方案中第一轮廓与第二轮廓不设置支撑点,可以减少模型的支撑点的数量,提高模型打印速度。
在一些实施例中,模型支撑点设置方法还包括:在所述第一轮廓所在区域,根据对应的预设支撑点密度设置支撑点;在所述第二轮廓所在区域,根据对应的预设支撑点密度设置支撑点。
采用该技术方案,可以在第一轮廓与第二轮廓设置支撑点,且第一轮廓与第二轮廓可以具有不同的支撑点密度。
在一些实施例中,所述基于所述悬垂位置的轮廓确定所述悬垂位置的尖角区域,包括:基于安全偏移值对所述悬垂位置的轮廓进行缩小处理,得到第一中间轮廓;利用jtSquare参数属性将所述第一中间轮廓扩大所述安全偏移值,得到第二中间轮廓;将所述悬垂位置的轮廓与所述第二中间轮廓进行相减处理,得到所述尖角区域。
采用该技术方案,可以先将悬垂位置的轮廓缩小安全偏移值得到第一中间轮廓,再基于jtSquare参数属性将第一中间轮廓扩大安全偏移值得到第二中间轮廓,进而可由悬垂位置的轮廓与第二中间轮廓进行相减处理,得到尖角区域。
在一些实施例中,所述悬垂位置的非尖角区域包括两个轮廓区域,所述两个轮廓区域分别具有对应的预设支撑点密度;所述两个轮廓区域通过以下方式确定:将所述第二中间轮廓与所述第一中间轮廓进行相减处理,得到第三轮廓;将所述第一中间轮廓、所述第三轮廓作为所述悬垂位置的非尖角区域的两个轮廓区域。
采用该技术方案,可以将悬垂位置的非尖角区域划分为两个轮廓区域,且可以为非尖角区域的两个轮廓区域设置不同或相同的支撑点密度,实现模型打印支撑。
在一些实施例中,所述基于所述悬垂位置的轮廓确定所述悬垂位置的尖角区域,包括:基于安全偏移值对所述悬垂位置的轮廓进行缩小处理,得到第一中间轮廓;将所述悬垂位置的轮廓与所述第一中间轮廓行相减处理,得到第三中间轮廓;利用jtSquare参数属性将所述第三中间轮廓扩大所述安全偏移值,得到第四中间轮廓;利用jtMiter参数属性将所述第三中间轮廓扩大所述安全偏移值,得到第五中间轮廓;将所述第四中间轮廓与所述第五中间轮廓进行相减处理,得到第六中间轮廓;将所述第六中间轮廓扩大预设倍数,得到第七中间轮廓;将所述第七中间轮廓与所述第三中间轮廓进行求交集处理,得到所述悬垂位置的尖角区域。
采用该技术方案,可以先基于悬垂位置的轮廓、预设安全偏移值、jtSquare参数属性及jtMiter参数属性得到第三中间轮廓与第七中间轮廓,进而可由第三中间轮廓与第七中间轮廓进行求交集处理,得到尖角区域。
在一些实施例中,所述悬垂位置的非尖角区域包括两个轮廓区域,所述两个轮廓区域分别具有对应的预设支撑点密度;所述两个轮廓区域通过以下方式确定:将所述第三中间轮廓与所述尖角区域进行相减处理,得到第四轮廓;将所述第一中间轮廓、所述第四轮廓作为所述悬垂位置的非尖角区域的两个轮廓区域。
采用该技术方案,可以将悬垂位置的非尖角区域划分为两个轮廓区域,且可以为非尖角区域的两个轮廓区域设置不同或相同的支撑点密度,实现模型打印支撑。
在一些实施例中,对于各区域,所述根据对应的预设支撑点密度设置支撑点,包括:分别进行随机采样得到采样点;根据对应的预设支撑点密度及所述 采样点分别在当前区域内设置所述支撑点;对所述当前区域的所述支撑点进行筛选,以使得任意两个支撑点之间的距离大于或等于预设值。
采用该技术方案,可以使得模型的尖角区域处设置有支撑点,且非尖角区域与尖角区域可以对应有不同的支撑点密度,避免出现模型由于容易塌陷的尖角区域不存在支撑点而导致模型打印失败的情形,同时可使得任意两个支撑点之间的距离大于或等于预设值,可减少模型的支撑点的数量,提高模型打印速度。
在一些实施例中,所述安全偏移值通过以下方式确定:基于第一预设公式计算得到安全偏移值,其中所述第一预设公式为:offset_1=h*tan(A1),offset_1为所述安全偏移值,h为所述预设层高,A1为预设安全角度;所述倾斜偏移值通过以下方式确定:基于第二预设公式计算得到所述倾斜偏移值,其中所述第二预设公式为:offset_2=h*tan(A2),offset_2为所述倾斜偏移值,A2为预设斜坡角度。
采用该技术方案,当确定预设安全角度及模型的层高时,可以基于第一预设公式计算得到安全偏移值,当确定预设斜坡角度及模型的层高时,可以基于第二预设公式计算得到倾斜偏移值。
本申请一实施方式提供一种模型支撑点设置装置,包括:分层模块,用于按照预设层高对模型进行分层,并获取所述模型的每一层的轮廓;定位模块,用于根据所述每一层的轮廓定位悬空层,其中,所述模型包括悬空部分,所述悬空层为所述悬空部分的最下层;第一处理模块,用于基于所述悬空层的下层轮廓及所述悬空层的轮廓得到所述悬空层的悬空位置;第二处理模块,用于基于所述悬空位置确定悬垂位置的轮廓,并基于所述悬垂位置的轮廓确定所述悬垂位置的尖角区域与非尖角区域;设置模块,用于分别在所述悬垂位置的尖角区域与非尖角区域,根据对应的预设支撑点密度设置支撑点。
采用该技术方案,通过获取模型中的悬垂位置的轮廓,将悬垂位置划分为尖角区域与非尖角区域,尖角区域与非尖角区域可以对应有不同的支撑点密度,可使得模型中容易塌陷的尖角区域处设置有支撑点,避免出现由于尖角区域不存在支撑点而导致模型打印失败的情形。
本申请一实施方式提供一种电子设备,电子设备包括处理器及存储器,存储器用于存储指令,处理器用于调用存储器中的指令,使得电子设备执行 上述的模型支撑点设置方法。
本申请一实施方式提供一种计算机可读存储介质,其上存储有计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述的模型支撑点设置方法。
上述电子设备及计算机可读存储介质均与上述嵌套字模型生成方法对应,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
附图说明
图1是本申请一实施例中的模型支撑点设置方法的步骤流程图。
图2a是本申请一实施例中的模型的轮廓示意图。
图2b是图2a中的模型的悬空层及其上下层的轮廓示意图。
图3为基于图2b中的悬空层及其下层计算得到的安全偏移值与倾斜偏移值的示意图。
图4a是本申请一实施例中的第一轮廓的结构示意图。
图4b是本申请一实施例中的第二轮廓的结构示意图。
图4c是本申请一实施例中的悬垂位置的轮廓示意图。
图4d是本申请一实施例中的悬垂位置的尖角区域与非尖角区域的划分示意图。
图4e是图4d所示的悬垂位置的非尖角区域的细分为两个轮廓区域的示意图。
图4f是本申请另一实施例中的悬垂位置的尖角区域与非尖角区域的划分示意图。
图4g是图4f所示的悬垂位置的非尖角区域的细分为两个轮廓区域的示意图。
图5为本申请一实施例中的模型支撑点设置装置的模块示意图。
图6为本申请一实施例中的3D打印机示意图。
图7为本申请一实施例中的电子设备示意图。
具体实施方式
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施方式对本申请进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施方式及实施方式中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本申请,所描述的实施方式仅仅是本申请一部分实施方式,而不是全部的实施方式。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施方式的目的,不是旨在于限制本申请。
进一步需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
本申请中“至少一个”是指一个或者多个,“多个”是指两个或多于两个。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。本申请的说明书和权利要求书及附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不是用于描述特定的顺序或先后次序。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
本申请提供一种模型支撑点设置方法,包括:按照预设层高对模型进行分层,并获取所述模型的每一层的轮廓;根据所述每一层的轮廓定位悬空层,其中,所述模型包括悬空部分,所述悬空层为所述悬空部分的最下层;基于所述悬空层的下层轮廓及所述悬空层的轮廓得到所述悬空层的悬空位置;基于所述悬空位置确定悬垂位置的轮廓,并基于所述悬垂位置的轮廓确定所述悬垂位置的尖角区域与非尖角区域;分别在所述悬垂位置的尖角区域与非尖角区域,根 据对应的预设支撑点密度设置支撑点。
上述模型支撑点设置方法,通过获取模型中的悬垂位置的轮廓,将悬垂位置划分为尖角区域与非尖角区域,尖角区域与非尖角区域可以对应有不同的支撑点密度,可使得模型中容易塌陷的尖角区域处设置有支撑点,避免出现由于尖角区域不存在支撑点而导致模型打印失败的情形。
本申请的模型支撑点设置方法可以应用在3D打印机中,或者电子设备中。电子设备可以是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。电子设备可以是桌上型计算机、笔记本电脑、服务器、工业电脑等计算设备。电子设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。
图1是本申请模型支撑点设置方法一实施例的步骤流程图。根据不同的需求,所述流程图中步骤的顺序可以改变,某些步骤可以省略。
参阅图1所示,模型支撑点设置方法可以具体包括以下步骤。
步骤S11,按照预设层高对模型进行分层,并获取模型的每一层的轮廓。
在一些实施例中,模型可以基于待打印物体的轮廓参数构建得到,待打印物体可以根据实际打印需求进行选择,本申请对此不作限定。例如,可以先通过CAD等模型设计软件设计出待打印物体的模型,再利用分层软件对模型进行分层,分层软件可以是现有的分层软件,例如Magics软件。
如图2a所示,假设模型M1的高度为16.4cm,用户设定的模型M1的层高为0.05cm,则可以将模型M1分为328层(16.4/0.05)。当对模型M1进行分层之后,可以获取模型M1的每一层的轮廓。
步骤S12,根据每一层的轮廓定位悬空层。
在一些实施例中,在模型打印过程中,通过为模型添加支撑点,可以防止模型在打印过程中出现打印材料下坠的现象,提升模型打印的成功率。例如模型包括悬空部分,通过在悬空部分添加支撑,可以避免打印材料在悬空部分堆积的过程中出现下坠。可以通过遍历每一层的轮廓来定位悬空层,如图2a所示,模型M1包括悬空部分M11,悬空层可以是指悬空部分M11的最下层。如图2b 所示,假设L i为模型M1的悬空层的轮廓,L i-1为悬空层的下层轮廓,L i+1为悬空层的上层轮廓。
步骤S13,基于悬空层的下层轮廓及悬空层的轮廓得到悬空层的悬空位置。
在一些实施例中,当确定悬空层之后,可以基于悬空层的下层轮廓及悬空层的轮廓得到悬空层的悬空位置。悬空层的悬空位置可以是指悬空层的轮廓与悬空层的下层轮廓的差值。例如,可以将悬空层的轮廓与悬空层的下层轮廓进行相减处理,得到悬空层的悬空位置。
步骤S14,基于悬空位置确定悬垂位置的轮廓,并基于悬垂位置的轮廓确定悬垂位置的尖角区域与非尖角区域。
在一些实施例中,悬空位置可以划分为悬垂位置、安全区域及倾斜区域三种区域类型。安全区域可以是指在此区域内进行冷却成型的悬空位置部分,可以不需要设置支撑点。倾斜区域可以是指在此区域内进行冷却成型的悬空位置部分,需要设置的支撑点很少。悬垂位置可以是指悬空位置中除安全区域与倾斜区域之外的其他区域,相比倾斜区域需要设置较多的支撑点。例如,当确定悬空位置的安全区域及倾斜区域时,可以将悬空位置的轮廓与安全区域的轮廓、倾斜区域的轮廓进行相减处理,得到悬垂位置的轮廓。
在一些实施例中,也可以将悬空位置直接作为悬垂位置,即不进行安全区域与倾斜区域的额外划分,所有的悬空位置均作为悬垂位置。
在一些实施例中,也可以根据是否需要设置支撑点将悬空位置划分为悬垂位置与安全区域两种区域类型,即将上述的倾斜区域也归类至悬垂位置。例如,当确定悬空位置的安全区域时,可以将悬空位置的轮廓与安全区域的轮廓进行相减处理,得到悬垂位置的轮廓。
在一些实施例中,可以基于悬空层的下层轮廓、预设安全角度及预设层高确定安全区域,及安全区域的轮廓、预设倾斜角度及预设层高确定倾斜区域。预设安全角度与预设斜坡角度均可以由用户在模型打印前进行设定,预设安全角度与预设斜坡角度的大小均可以根据实际打印需求进行设定与调整,本申请对此不作限定。预设安全角度可以是指在这个角度之内进行冷却成型的悬空部分,可以不需要设置支撑点。预设斜坡角度可以是指在这个角度之内进行冷却成型的悬空部分,需要设置的支撑点很少。例如,预设安全角度A1为35°,预设斜坡角度A2为75°。
如图3所示,对于悬空层的轮廓L i及悬空层的下层轮廓L i-1,假设模型M1的层高为h,可以根据预设安全角度A1及层高h计算得到安全偏移值offset_1,及根据预设斜坡角度A2及层高h计算得到倾斜偏移值offset_2。例如,可以基于第一预设公式计算得到安全偏移值offset_1,第一预设公式为:offset_1=h*tan(A1),基于第二预设公式计算得到倾斜偏移值offset_2,第二预设公式为:offset_2=h*tan(A2)。
在一些实施例中,安全偏移值offset_1与倾斜偏移值offset_2也可以由用户在模型打印前进行设定,即无需基于上述第一预设公式与第二预设公式计算得到。
在一些实施例中,可以根据安全偏移值offset_1将悬空层的下层轮廓L i-1向第一方向偏移,得到第一偏移轮廓Q1,再将第一偏移轮廓Q1与悬空层的下层轮廓L i-1进行相减处理,得到第一轮廓P1(第一轮廓P1即为上述悬空位置的安全区域)。第一方向可以是指下层轮廓L i-1的延伸方向。
如图4a所示,将悬空层的下层轮廓L i-1通过Clipper库的offset函数向第一方向偏移offset_1,得到第一偏移轮廓Q1,再将第一偏移轮廓Q1减去下层轮廓L i-1得到第一轮廓P1。
在一些实施例中,可以根据倾斜偏移值offset_2将第一轮廓P1向第一方向偏移,得到第二偏移轮廓Q2,再将第二中间轮廓O2与第一轮廓P1进行相减处理,得到第二轮廓P2(第二轮廓P2即为上述悬空位置的倾斜区域)。
如图4b所示,将第一轮廓P1通过Clipper库的offset函数向第一方向偏移offset_2,得到第二偏移轮廓Q2,再将第二偏移轮廓Q2减去第一轮廓P1得到第二轮廓P2。
在一些实施例中,以将悬空位置划分为悬垂位置、安全区域(第一轮廓P1所包含的区域)及倾斜区域(第二轮廓P2所包含的区域)为例,当得到第一轮廓P1与第二轮廓P2之后,可以将悬空位置的轮廓与第一轮廓P1、第二轮廓P2进行相减处理,得到悬垂位置的轮廓。如图4c所示,将悬空位置的轮廓P d与第一轮廓P1、第二轮廓P2进行相减处理,得到悬垂位置的轮廓P t
在一些实施例中,悬垂位置可以划分为尖角区域与非尖角区域。非尖角区域可以是指悬垂位置中除尖角区域之外的区域。
在一些实施例中,如图4d所示,当得到悬垂位置的轮廓P t之后,可以通过 以下方式实现基于悬垂位置的轮廓P t确定悬垂位置的尖角区域SA1与非尖角区域SA2:a1).基于安全偏移值offset_1对悬垂位置的轮廓P t进行缩小处理,得到第一中间轮廓O1,例如,悬垂位置的轮廓P t为四边形,将悬垂位置的轮廓P t四条边均向中心点方向缩小安全偏移值offset_1得到第一中间轮廓O1;a2).利用Clipper库中的jtSquare参数属性将第一中间轮廓O1扩大安全偏移值offset_1,得到第二中间轮廓O2;a3).将悬垂位置的轮廓P t与第二中间轮廓O2进行相减处理,得到悬垂位置的2个尖角区域SA1;a4).将悬垂位置的轮廓P t与2个尖角区域SA1进行相减处理,得到悬垂位置的非尖角区域SA2。
在一些实施例中,当第一中间轮廓O1的左边边线未被忽略时,基于步骤a1~a3得到的是悬垂位置的四个尖角区域SA1。
在一些实施例中,如图4e所示,悬垂位置的非尖角区域SA2可以包括两个轮廓区域,两个轮廓区域可分别具有对应的预设支撑点密度,例如两个轮廓区域可以对应有不同的预设支撑点密度。当基于图4d方式确定悬垂位置的尖角区域SA1与非尖角区域SA2,两个轮廓区域可以通过以下方式确定:将第二中间轮廓O2与第一中间轮廓O1进行相减处理,得到第三轮廓P3;将第一中间轮廓O1、第三轮廓P3作为悬垂位置的非尖角区域SA2的两个轮廓区域。
在一些实施例中,如图4f所示,当得到悬垂位置的轮廓P t之后,还可以通过以下方式实现基于悬垂位置的轮廓P t确定悬垂位置的SA1与非尖角区域SA2:b1).基于安全偏移值offset_1对悬垂位置的轮廓P t进行缩小处理,得到第一中间轮廓O1;b2).将悬垂位置的轮廓P t与第一中间轮廓O1行相减处理,得到第三中间轮廓O3;b3).利用Clipper库中的jtSquare参数属性将第三中间轮廓O3扩大安全偏移值offset_1,得到第四中间轮廓O4;b4).利用Clipper库中的jtMiter参数属性将第三中间轮廓O3扩大安全偏移值offset_1,得到第五中间轮廓O5;b5).将第四中间轮廓O4与第五中间轮廓O5进行相减处理,得到第六中间轮廓O6;b6).将第六中间轮廓O6扩大预设倍数,得到第七中间轮廓O7;b7).将第七中间轮廓O7与第三中间轮廓O3进行求交集处理,得到悬垂位置的2个尖角区域SA1;b8).将悬垂位置的轮廓P t与2个尖角区域SA1进行相减处理,得到悬垂位置的非尖角区域SA2。
在一些实施例中,如图4g所示,悬垂位置的非尖角区域SA2可以包括两个轮廓区域,两个轮廓区域可分别具有对应的预设支撑点密度,例如两个轮廓区 域可以对应有不同的预设支撑点密度。当基于图4f方式确定悬垂位置的尖角区域SA1与非尖角区域SA2时,两个轮廓区域可以通过以下方式确定:将第三中间轮廓O3与尖角区域SA1进行相减处理,得到第四轮廓P4;将第一中间轮廓O1、第四轮廓P4作为悬垂位置的非尖角区域SA2的两个轮廓区域。
在一些实施例中,预设倍数可以根据实际需求进行设定,例如预设倍数设定为1.5~3。
S15,分别在悬垂位置的尖角区域与非尖角区域,根据对应的预设支撑点密度设置支撑点。
在一些实施例中,当确定悬垂位置的尖角区域时,可以根据对应的预设支撑点密度分别在悬垂位置的尖角区域SA1与非尖角区域SA2设置支撑点。悬垂位置的尖角区域SA1与非尖角区域SA2可以对应设置有不同的预设支撑点密度。通过定位悬垂位置的尖角区域SA1,并在尖角区域SA1设置支撑点,可以确保处于模型M1最边上的尖角区域SA1处布设有支撑点,可避免模型M1在打印过程中出现尖角处塌陷的现象。
在一些实施例中,当将悬空位置划分为悬垂位置的轮廓P t、第一轮廓P1及第二轮廓P2三种类型时,还可以在第一轮廓P1所在区域,根据对应的预设支撑点密度设置支撑点,及在第二轮廓P2所在区域,根据对应的预设支撑点密度设置支撑点。第一轮廓P1所对应的预设支撑点密度及第二轮廓P2所对应的预设支撑点密度可以根据实际需求进行设定。例如,第一轮廓P1所对应的预设支撑点密度小于第二轮廓P2所对应的预设支撑点密度,第二轮廓P2所对应的预设支撑点密度小于悬垂位置的非尖角区域所对应的预设支撑点密度。
在一些实施例中,对于需要设置支撑点的区域(例如悬垂位置的尖角区域SA1、非尖角区域SA2、第一轮廓P1、第二轮廓P2等),可以通过以下方式实现根据对应的预设支撑点密度设置支撑点:c1).对需要设置支撑点的当前区域进行三角片的划分,在划分得到的三角片内分别进行随机采样得到采样点;c2).根据对应的预设支撑点密度及采样点分别在当前区域内设置支撑点;c3).对当前区域的支撑点进行筛选,以使得任意两个支撑点之间的距离大于或等于预设值。通过对支撑点进行筛选可以使得最终留下的支撑点的数量可满足模型M1的打印支撑,又可提高模型打印速度,节省打印材料。
在一些实施例中,对支撑点进行筛选时,可以以悬垂位置的尖角区域SA1 内优先设置有支撑点为前提条件,确保尖角区域SA1内设置有支撑点。
在一些实施例中,可以使用泊松采样算法来随机采样三角片的点得到采样点。预设值同样可以根据实际需求进行设定,本申请对此不作限定,例如预设值可以设定为1cm。
在一些实施例中,当设置好模型M1的支撑点之后,可以对模型M1进行切片处理,得到Gcode文件,进而可以使得3D打印机基于Gcode文件打印得到包括支撑的模型M1,再通过去除模型M1的支撑,即可得到模型M1。
图5为本申请模型支撑点设置装置较佳实施例的功能模块图。
参阅图5所示,模型支撑点设置装置10可应用于电子设备。模型支撑点设置装置10可以包括一个或多个模块。例如,参阅图5所示,模型支撑点设置装置10可以包括分层模块101、定位模块102、第一处理模块103、第二处理模块104及设置模块105。
可以理解的是,对应于上述模型支撑点设置方法中的各实施方式,模型支撑点设置装置10可以包括图5中所示的各功能模块中的一部分或全部,各模块101~105的功能将在以下具体介绍。需要说明的是,以上模型支撑点设置方法的各实施方式中相同的名词相关名词及其具体的解释说明也可以适用于以下对各模块101~105的功能介绍。为节省篇幅及避免重复起见,在此就不再赘述。
分层模块101,用于按照预设层高对模型进行分层,并获取模型的每一层的轮廓。
定位模块102,用于根据每一层的轮廓定位悬空层,其中,模型包括悬空部分,悬空层为悬空部分的最下层。
第一处理模块103,用于基于悬空层的下层轮廓及悬空层的轮廓得到悬空层的悬空位置。
第二处理模块104,用于基于悬空位置确定悬垂位置的轮廓,并基于悬垂位置的轮廓确定悬垂位置的尖角区域与非尖角区域。
设置模块105,用于分别在悬垂位置的尖角区域与非尖角区域,根据对应的预设支撑点密度设置支撑点。
图6为本申请3D打印机一实施例的示意图。
3D打印机100包括主控制器1001、挤出机模块1002、电机1003及操控 展示模块1004。
主控制器1001可以根据程序执行操纵电机1003、操控展示模块1004展示信息、进行数据通讯等。挤出机模块1002可以包括挤出机、加热棒等,可以实现耗材的加热、挤出等。操控展示模块1004可以包括按键、触控显示器等,可以让使用者输入控制指令、对3D打印机100的使用情形和打印进度进行展示等。
第一计算机程序42可以存储在主控制器1001的Flash存储器中,主控制器1001可以执行第一计算机程序42时基于Gcode文件打印得到包括支撑的模型M1。
示例性的,第一计算机程序42还可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在主控制器1001的Flash存储器中,并由在主控制器1001执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,所述指令段用于描述第一计算机程序42在3D打印机100中的执行过程。主控制器1001可以是微处理器、单片机等。
本领域技术人员可以理解,所述示意图仅仅是3D打印机100的示例,并不构成对3D打印机100的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如3D打印机100还可以包括通信模块等。
图7为本申请电子设备一实施例的示意图。
电子设备200包括存储器20、处理器30以及存储在存储器20中并可在处理器30上运行的第二计算机程序44。处理器30执行第二计算机程序44时可以实现上述模型支撑点设置方法实施例中的步骤,例如图1所示的步骤S11~S15。
示例性的,第二计算机程序44同样可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在存储器20中,并由处理器30执行。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,所述指令段用于描述第二计算机程序44在电子设备200中的执行过程。例如,可以分割成图5所示的分层模块101、定位模块102、第一处理模块103、第二处理模块104及设置模块105。
电子设备200可以是桌上型计算机、笔记本、掌上电脑、工业电脑、平板电脑、服务器等计算设备。本领域技术人员可以理解,所述示意图仅仅是电子设备200的示例,并不构成对电子设备200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如电子设备200还可以包括输入输出设备、网络接入设备、总线等。
处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器、单片机或者处理器30也可以是任何常规的处理器等。
存储器20可用于存储第二计算机程序44和/或模块/单元,处理器30通过运行或执行存储在存储器20内的计算机程序和/或模块/单元,以及调用存储在存储器20内的数据,实现电子设备200的各种功能。存储器20可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备200的使用所创建的数据(比如音频数据)等。此外,存储器20可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。
电子设备200集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,所述计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储 器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
在本申请所提供的几个实施例中,应该理解到,所揭露的电子设备和方法,可以通过其它的方式实现。例如,以上所描述的电子设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
另外,在本申请各个实施例中的各功能单元可以集成在相同处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在相同单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照上述实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。

Claims (12)

  1. 一种模型支撑点设置方法,其特征在于,包括:
    按照预设层高对模型进行分层,并获取所述模型的每一层的轮廓;
    根据所述每一层的轮廓定位悬空层,其中,所述模型包括悬空部分,所述悬空层为所述悬空部分的最下层;
    基于所述悬空层的下层轮廓及所述悬空层的轮廓得到所述悬空层的悬空位置;
    基于所述悬空位置确定悬垂位置的轮廓,并基于所述悬垂位置的轮廓确定所述悬垂位置的尖角区域与非尖角区域;
    分别在所述悬垂位置的尖角区域与非尖角区域,根据对应的预设支撑点密度设置支撑点。
  2. 如权利要求1所述的模型支撑点设置方法,其特征在于,所述基于所述悬空位置确定悬垂位置,包括:
    基于安全偏移值与所述悬空层的下层轮廓得到第一轮廓;
    基于倾斜偏移值与所述第一轮廓得到第二轮廓;
    将所述悬空位置的轮廓与所述第一轮廓、所述第二轮廓进行相减处理,得到悬垂位置的轮廓;
    或;
    基于安全偏移值与所述悬空层的下层轮廓得到第一轮廓;
    将所述悬空位置的轮廓与所述第一轮廓进行相减处理,得到悬垂位置的轮廓;
    或;
    将所述悬空位置的轮廓作为悬垂位置的轮廓。
  3. 如权利要求2所述的模型支撑点设置方法,其特征在于,还包括:
    在所述第一轮廓所在区域,根据对应的预设支撑点密度设置支撑点;
    在所述第二轮廓所在区域,根据对应的预设支撑点密度设置支撑点。
  4. 如权利要求1所述的模型支撑点设置方法,其特征在于,所述基于所述悬垂位置的轮廓确定所述悬垂位置的尖角区域,包括:
    基于安全偏移值对所述悬垂位置的轮廓进行缩小处理,得到第一中间轮廓;
    利用jtSquare参数属性将所述第一中间轮廓扩大所述安全偏移值,得到第二中间轮廓;
    将所述悬垂位置的轮廓与所述第二中间轮廓进行相减处理,得到所述尖角区域。
  5. 如权利要求4所述的模型支撑点设置方法,其特征在于,所述悬垂位置的非尖角区域包括两个轮廓区域,所述两个轮廓区域分别具有对应的预设支撑点密度;所述两个轮廓区域通过以下方式确定:
    将所述第二中间轮廓与所述第一中间轮廓进行相减处理,得到第三轮廓;
    将所述第一中间轮廓、所述第三轮廓作为所述悬垂位置的非尖角区域的两个轮廓区域。
  6. 如权利要求1所述的模型支撑点设置方法,其特征在于,所述基于所述悬垂位置的轮廓确定所述悬垂位置的尖角区域,包括:
    基于安全偏移值对所述悬垂位置的轮廓进行缩小处理,得到第一中间轮廓;
    将所述悬垂位置的轮廓与所述第一中间轮廓行相减处理,得到第三中间轮廓;
    利用jtSquare参数属性将所述第三中间轮廓扩大所述安全偏移值,得到第四中间轮廓;
    利用jtMiter参数属性将所述第三中间轮廓扩大所述安全偏移值,得到第五中间轮廓;
    将所述第四中间轮廓与所述第五中间轮廓进行相减处理,得到第六中间轮廓;
    将所述第六中间轮廓扩大预设倍数,得到第七中间轮廓;
    将所述第七中间轮廓与所述第三中间轮廓进行求交集处理,得到所述悬垂位置的尖角区域。
  7. 如权利要求6所述的模型支撑点设置方法,其特征在于,所述悬垂位置的非尖角区域包括两个轮廓区域,所述两个轮廓区域分别具有对应的预设支撑点密度;所述两个轮廓区域通过以下方式确定:
    将所述第三中间轮廓与所述尖角区域进行相减处理,得到第四轮廓;
    将所述第一中间轮廓、所述第四轮廓作为所述悬垂位置的非尖角区域的两 个轮廓区域。
  8. 如权利要求1至7中任一所述的模型支撑点设置方法,其特征在于,对于各区域,所述根据对应的预设支撑点密度设置支撑点,包括:
    分别进行随机采样得到采样点;
    根据对应的预设支撑点密度及所述采样点分别在当前区域内设置所述支撑点;
    对所述当前区域的所述支撑点进行筛选,以使得任意两个支撑点之间的距离大于或等于预设值。
  9. 如权利要求2所述的模型支撑点设置方法,其特征在于,所述安全偏移值通过以下方式确定:
    基于第一预设公式计算得到安全偏移值,其中所述第一预设公式为:offset_1=h*tan(A1),offset_1为所述安全偏移值,h为所述预设层高,A1为预设安全角度;
    所述倾斜偏移值通过以下方式确定:
    基于第二预设公式计算得到所述倾斜偏移值,其中所述第二预设公式为:offset_2=h*tan(A2),offset_2为所述倾斜偏移值,A2为预设斜坡角度。
  10. 一种模型支撑点设置装置,其特征在于,包括:
    分层模块,用于按照预设层高对模型进行分层,并获取所述模型的每一层的轮廓;
    定位模块,用于根据所述每一层的轮廓定位悬空层,其中,所述模型包括悬空部分,所述悬空层为所述悬空部分的最下层;
    第一处理模块,用于基于所述悬空层的下层轮廓及所述悬空层的轮廓得到所述悬空层的悬空位置;
    第二处理模块,用于基于所述悬空位置确定悬垂位置的轮廓,并基于所述悬垂位置的轮廓确定所述悬垂位置的尖角区域与非尖角区域;
    设置模块,用于分别在所述悬垂位置的尖角区域与非尖角区域,根据对应的预设支撑点密度设置支撑点。
  11. 一种电子设备,所述电子设备包括处理器及存储器,所述存储器用于存储指令,其特征在于,所述处理器用于调用所述存储器中的指令,使得所述电子设备执行如权利要求1至权利要求9中任一项所述的模型支撑点设 置方法。
  12. 一种计算机可读存储介质,其上存储有计算机指令,其特征在于,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至权利要求9中任一项所述的模型支撑点设置方法。
PCT/CN2022/141716 2022-03-01 2022-12-24 模型支撑点设置方法、装置、电子设备及可读存储介质 Ceased WO2023165232A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22929656.1A EP4488037A4 (en) 2022-03-01 2022-12-24 METHOD AND DEVICE FOR SETTING A MODEL SUPPORT POINT, ELECTRONIC DEVICE AND READABLE STORAGE MEDIUM
US18/714,201 US20250026079A1 (en) 2022-03-01 2022-12-24 Method and device for setting model support point, electronic device and readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210194013.1A CN114559660B (zh) 2022-03-01 2022-03-01 模型支撑点设置方法、装置、电子设备及可读存储介质
CN202210194013.1 2022-03-01

Publications (1)

Publication Number Publication Date
WO2023165232A1 true WO2023165232A1 (zh) 2023-09-07

Family

ID=81716210

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/141716 Ceased WO2023165232A1 (zh) 2022-03-01 2022-12-24 模型支撑点设置方法、装置、电子设备及可读存储介质

Country Status (4)

Country Link
US (1) US20250026079A1 (zh)
EP (1) EP4488037A4 (zh)
CN (1) CN114559660B (zh)
WO (1) WO2023165232A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114559660B (zh) * 2022-03-01 2023-06-30 深圳市创想三维科技股份有限公司 模型支撑点设置方法、装置、电子设备及可读存储介质
CN119427752B (zh) * 2023-07-28 2025-10-24 广东汉邦激光科技有限公司 基于3d打印的支撑区域识别方法、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200061923A1 (en) * 2018-08-24 2020-02-27 Xyzprinting, Inc. Three dimensional printing method and three dimensional printing apparatus
CN113313747A (zh) * 2021-05-25 2021-08-27 华中科技大学鄂州工业技术研究院 一种基于stl格式的三维模型支撑点获取方法
CN114013045A (zh) * 2021-10-28 2022-02-08 深圳市创想三维科技股份有限公司 3d打印文件的生成方法、装置、计算机设备及存储介质
CN114559660A (zh) * 2022-03-01 2022-05-31 深圳市创想三维科技股份有限公司 模型支撑点设置方法、装置、电子设备及可读存储介质

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0719747D0 (en) * 2007-10-10 2007-11-21 Materialise Nv Method and apparatus for automatic support generation for an object made by means of a rapid prototype production method
US8983643B2 (en) * 2010-01-15 2015-03-17 Stratasys, Inc. Method for generating and building support structures with deposition-based digital manufacturing systems
DE102013011630B4 (de) * 2013-07-12 2021-09-02 Delcam, Ltd. Verfahren zum Berechnen von Stützstrukturen
CN107053651B (zh) * 2016-02-05 2019-07-12 三纬国际立体列印科技股份有限公司 三维模型打印切层方法
EP3442772A4 (en) * 2016-04-14 2019-11-13 Desktop Metal, Inc. GENERATIVE MANUFACTURING WITH SUPPORT STRUCTURES
CN105904729B (zh) * 2016-04-22 2018-04-06 浙江大学 一种基于倾斜分层的无支撑三维打印方法
EP4008526A1 (en) * 2016-11-25 2022-06-08 Dassault Systèmes Orientation of a real object for 3d printing
US10775770B2 (en) * 2017-06-22 2020-09-15 Autodesk, Inc. Building and attaching support structures for 3D printing
US11584065B2 (en) * 2018-01-23 2023-02-21 Rapidflight Holdings, Llc Additively manufactured structure and method for making the same
US20200004225A1 (en) * 2018-06-29 2020-01-02 Velo3D, Inc. Manipulating one or more formation variables to form three-dimensional objects
TWI659867B (zh) * 2018-08-24 2019-05-21 三緯國際立體列印科技股份有限公司 立體列印方法以及立體列印裝置
KR102099014B1 (ko) * 2018-08-30 2020-04-08 전자부품연구원 3d 프린팅을 위한 2d 슬라이싱 폴리라인 기반 서포트 구조 생성 방법
CN112861201B (zh) * 2021-01-21 2022-04-05 浙江大学 一种基于支撑点膨胀融合的3d打印支撑区域生成方法
CN113370526B (zh) * 2021-06-03 2024-02-02 深圳市创必得科技有限公司 切片预处理3d模型悬空检测方法
CN113414412B (zh) * 2021-06-25 2023-05-30 上海埃曼增材技术有限公司 一种面向增材制造悬垂结构的支撑点确定方法
CN113580577B (zh) * 2021-07-29 2024-03-15 深圳市创想三维科技股份有限公司 3d打印文件生成方法、装置、计算机设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200061923A1 (en) * 2018-08-24 2020-02-27 Xyzprinting, Inc. Three dimensional printing method and three dimensional printing apparatus
CN110893686A (zh) * 2018-08-24 2020-03-20 三纬国际立体列印科技股份有限公司 立体打印方法以及立体打印装置
CN113313747A (zh) * 2021-05-25 2021-08-27 华中科技大学鄂州工业技术研究院 一种基于stl格式的三维模型支撑点获取方法
CN114013045A (zh) * 2021-10-28 2022-02-08 深圳市创想三维科技股份有限公司 3d打印文件的生成方法、装置、计算机设备及存储介质
CN114559660A (zh) * 2022-03-01 2022-05-31 深圳市创想三维科技股份有限公司 模型支撑点设置方法、装置、电子设备及可读存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4488037A4

Also Published As

Publication number Publication date
CN114559660B (zh) 2023-06-30
EP4488037A1 (en) 2025-01-08
US20250026079A1 (en) 2025-01-23
EP4488037A4 (en) 2026-03-04
CN114559660A (zh) 2022-05-31

Similar Documents

Publication Publication Date Title
WO2023165232A1 (zh) 模型支撑点设置方法、装置、电子设备及可读存储介质
JP7040236B2 (ja) 三次元形状データの編集装置、三次元造形装置、三次元造形システム、及び三次元形状データの編集プログラム
TWI594099B (zh) 三維物件產生技術
US8762832B2 (en) Constraint and rule-based page layout
US10000024B2 (en) Apparatus and method for control of three-dimensional printing
US10252467B2 (en) Control method of printing temperature and device thereof
US10474734B2 (en) Information processing apparatus, information processing method, and recording medium
CN115107139B (zh) 非标准结构构件混凝土模板3d打印路径的规划方法及设备
WO2011069445A1 (zh) 一种界面显示的方法及装置
JP6116167B2 (ja) 画像処理装置、画像処理方法、およびプログラム
US10040253B2 (en) Three-dimensional printing control apparatus and method
EP4410518A1 (en) Method and apparatus for determining 3d model printing position, a device, and a storage medium
US9135223B2 (en) Automatically configuring white space around an object in a document
CN121245001B (zh) 晶格化支撑的优化方法及系统、计算机设备、介质及计算机程序产品
JP6758876B2 (ja) 造形制御装置、その方法及びプログラム
CN117227179B (zh) 打印加热区域的确定方法、装置、计算机以及存储介质
US10401824B2 (en) Methods and software for reducing machining equipment usage when machining multiple objects from a single workpiece
CN121925325A (zh) 用于预测增材制造系统中构建材料层过热的方法和系统
JP2014109808A (ja) 情報処理装置、情報処理装置の制御方法、およびコンピュータプログラム
CN114417617A (zh) 嵌套字模型生成方法、装置、电子设备及可读存储介质
EP4058290B1 (en) Method and apparatus for designing and manufacturing a component in a computer-aided design and manufacturing environment
US9744756B2 (en) Method, apparatus and computer readable medium for producing prototype diagram of three dimensional object
JP2020175676A (ja) 造形制御装置、その方法及びプログラム
JP6605116B2 (ja) 画像処理装置、画像処理方法、およびプログラム
JP2026506765A (ja) 3d印刷方法、装置、3d印刷機及びコンピュータ機器

Legal Events

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

Ref document number: 22929656

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18714201

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2022929656

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022929656

Country of ref document: EP

Effective date: 20241001