WO2022110255A1 - Slice data processing method and system for relief model, and 3d printing method - Google Patents

Slice data processing method and system for relief model, and 3d printing method Download PDF

Info

Publication number
WO2022110255A1
WO2022110255A1 PCT/CN2020/133043 CN2020133043W WO2022110255A1 WO 2022110255 A1 WO2022110255 A1 WO 2022110255A1 CN 2020133043 W CN2020133043 W CN 2020133043W WO 2022110255 A1 WO2022110255 A1 WO 2022110255A1
Authority
WO
WIPO (PCT)
Prior art keywords
slice
relief model
relief
model
layer
Prior art date
Application number
PCT/CN2020/133043
Other languages
French (fr)
Chinese (zh)
Inventor
马河祥
刘震
Original Assignee
苏州铼赛智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州铼赛智能科技有限公司 filed Critical 苏州铼赛智能科技有限公司
Publication of WO2022110255A1 publication Critical patent/WO2022110255A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B44DECORATIVE ARTS
    • B44BMACHINES, APPARATUS OR TOOLS FOR ARTISTIC WORK, e.g. FOR SCULPTURING, GUILLOCHING, CARVING, BRANDING, INLAYING
    • B44B3/00Artist's machines or apparatus equipped with tools or work holders moving or able to be controlled substantially two- dimensionally for carving, engraving, or guilloching shallow ornamenting or markings
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B44DECORATIVE ARTS
    • B44BMACHINES, APPARATUS OR TOOLS FOR ARTISTIC WORK, e.g. FOR SCULPTURING, GUILLOCHING, CARVING, BRANDING, INLAYING
    • B44B3/00Artist's machines or apparatus equipped with tools or work holders moving or able to be controlled substantially two- dimensionally for carving, engraving, or guilloching shallow ornamenting or markings
    • B44B3/06Accessories, e.g. tool or work holders

Definitions

  • the present application relates to the technical field of 3D printing, in particular to a method, system and 3D printing method for processing slice data of relief models.
  • the traditional embossing process is to engrave patterns or characters on the surface of materials such as stone.
  • the engraving of complex patterns often takes a long time and requires high skills of the operator.
  • Common reliefs include seals, carving crafts, etc.
  • the purpose of the present application is to provide a method, system and 3D printing method for slicing data of a relief model, so as to overcome the technical problem of insufficient strength of the relief structure in the above-mentioned related art.
  • a first aspect disclosed in the present application provides a method for processing slice data of a relief model, comprising the following steps: obtaining a two-dimensional pattern corresponding to the relief model; and based on the outline of the two-dimensional pattern, generating a relief model; wherein, the outer contour of each target area in the relief model has a transition slope in the Z direction; and slicing the relief model to obtain slice data corresponding to each slice layer.
  • a second aspect disclosed in the present application provides a method for processing slice data of a relief model, including the following steps: acquiring a two-dimensional pattern corresponding to the relief model; The slice layer is assigned to obtain slice data corresponding to each slice layer; wherein, after the multiple slice layers are superimposed in the Z direction, the relief model can be formed, and the outer contour of the target area in the relief model has a transition in the Z direction bevel.
  • a third aspect disclosed in the present application provides a 3D printing method for a relief model, comprising the following steps: acquiring printing data of the relief model; wherein the printing data includes the first aspect disclosed in the present application or the disclosure in the present application
  • the slice data obtained by the slice data processing method of the relief model described in the second aspect; based on the print data, make the 3D printing device print each slice layer of the relief model layer by layer, so as to obtain the slice layer corresponding to each slice layer.
  • the solidified layers are accumulated layer by layer to obtain a 3D component corresponding to the relief model; wherein, the outer contour of each target area in the 3D component has a transition slope in the Z direction.
  • a fourth aspect disclosed in the present application provides a slicing data processing system for a relief model, including: a first communication module for acquiring a two-dimensional pattern corresponding to the relief model; a first processing module for The contour line generates a relief model, wherein the outer contour of each target area in the relief model has a transition slope in the Z direction; and the relief model is sliced to obtain slice data corresponding to each slice layer.
  • a fifth aspect disclosed in the present application provides a slicing data processing system for a relief model, including: a second communication module for acquiring a two-dimensional pattern corresponding to the relief model; a second processing module for contour line, generating a plurality of slice layers, and assigning values to each slice layer to obtain slice data corresponding to each slice layer; wherein, the plurality of slice layers can form the relief model after being superimposed in the Z direction, and the relief
  • the outer contour of the target area in the model has a transition slope in the Z direction.
  • a sixth aspect disclosed in the present application provides a 3D component obtained by the 3D printing method of a relief model according to the fifth aspect disclosed in the present application, wherein the outer contour of each target area in the 3D component has a transition slope in the Z direction .
  • a seventh aspect disclosed in the present application provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, wherein when the computer program is run by a processor, a device on which the storage medium is located is controlled to execute this program.
  • the method for processing slice data of a relief model according to the first aspect disclosed in the application or the second aspect disclosed in the present application.
  • the present application can generate a three-dimensional model through the acquired two-dimensional pattern and slice it to generate slice data, or directly generate slice data through the acquired two-dimensional pattern, and make the outline in the two-dimensional pattern form a three-dimensional relief model. It has a transition slope in the Z direction, so that the printed relief can avoid damage due to insufficient deflection when the surface is under pressure.
  • FIG. 1 is a schematic structural diagram of an embodiment of a method for processing slice data of a relief model in the present application.
  • FIG. 2 is a schematic diagram of another embodiment of the slice data processing method in the present application.
  • Figure 3a shows a schematic diagram of the two-dimensional pattern in the present application in one embodiment.
  • Fig. 3b is a schematic diagram showing the area of the region defined by each contour line in the two-dimensional pattern of Fig. 3a.
  • FIG. 3c shows a schematic diagram of generating each slice layer based on the contour lines of the two-dimensional pattern in one embodiment of the present application.
  • 4a and 4b are schematic diagrams of the two-dimensional pattern in the present application in another embodiment.
  • 5a-5c are schematic diagrams showing an embodiment of generating a relief model by a two-dimensional pattern in the present application.
  • FIG. 5d shows a schematic diagram of adding a base model to the relief model of FIG. 5c of the present application in one embodiment.
  • 6a-6d are schematic diagrams illustrating a process of generating a relief model in the present application in one embodiment.
  • FIG. 7 shows a schematic diagram of the two-dimensional pattern in the present application in yet another embodiment.
  • FIG. 8 shows a schematic diagram of functional modules of the slice data processing system in the present application in an embodiment.
  • FIG. 9 shows a schematic diagram of functional modules of the slice data processing system in the present application in another embodiment.
  • first, second, etc. are used herein to describe various elements, information or parameters, these elements or parameters should not be limited by these terms. These terms are only used to distinguish one element or parameter from another element or parameter.
  • a first communications module could be termed a second communications module, and similarly, a second communications module could be termed a first communications module, without departing from the scope of the various described embodiments.
  • the first communication module and the second communication module are both describing a communication module, but unless the context clearly indicates otherwise, they are not the same communication module.
  • the word "if” as used herein can be interpreted as "at the time of" or "when".
  • A, B or C or “A, B and/or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B and C” . Exceptions to this definition arise only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
  • Relief is a kind of carving, by carving out the image to be shaped on a plane, so that it is separated from the plane of the original material.
  • the embossing process in the prior art cannot meet the requirements of product strength, and the protruding parts of the embossing, especially the finer parts, are prone to insufficient deflection and breakage, resulting in product damage. No further use is possible.
  • the relief made by laser engraving technology cannot precisely control the incident angle of the laser at each engraving position, so the laser almost completes the engraving on the relief surface at a vertical angle, the force area of the fine part is small, and the pressure when pressed Large and easily damaged.
  • the present application provides a method for processing slice data of a relief model in order to solve the technical problem of insufficient strength of the relief structure, and the method for processing slice data of the relief model can be performed by a slice data processing system of the relief model.
  • the slice data processing system is implemented by software and hardware in computer equipment.
  • the computer device is communicatively connected to the 3D printing device or integrated on the 3D printing device, so that the processed slice data can be provided to the 3D printing device to perform the printing task.
  • the computer device includes at least: memory, one or more processors, I/O interfaces, network interfaces, input structures, and the like. wherein the memory is used to store at least one program.
  • the memory may include high speed random access memory, and may also include nonvolatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other nonvolatile solid state storage devices.
  • the memory may also include memory remote from the one or more processors, such as network-attached memory accessed via RF circuitry or external ports and a communication network, which may be the Internet, one or more Intranet, Local Area Network (LAN), Wide Area Network (WLAN), Storage Area Network (SAN), etc., or a suitable combination thereof.
  • LAN Local Area Network
  • WLAN Wide Area Network
  • SAN Storage Area Network
  • a memory controller controls access to memory by other components of the device, such as the CPU and peripheral interfaces.
  • the memory optionally includes high speed random access memory, and optionally also includes nonvolatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other nonvolatile solid state memory devices. Access to memory is optionally controlled by a memory controller by other components of the device such as the CPU and peripheral interfaces.
  • the one or more processors are operably coupled with a network interface to communicatively couple the computing device to the network.
  • a network interface may connect the computing device to a local area network (eg, a LAN), and/or a wide area network (eg, a WAN).
  • the processor is also operably coupled to an I/O port that can enable the computing device to interact with various other electronic devices and an input structure that can enable a user to interact with the computing device.
  • the input structures may include buttons, keyboards, mice, trackpads, and the like.
  • electronic displays may include touch components that facilitate user input by detecting the occurrence and/or location of an object touching its screen.
  • the slicing data processing system can also be implemented by an application program (APP) loaded on a smart terminal. After acquiring the two-dimensional pattern, the smart terminal generates slicing data and sends it to 3D printing equipment.
  • APP application program
  • the smart terminal is, for example, a portable or wearable electronic device including but not limited to a smart phone, a tablet computer, a smart watch, smart glasses, a personal digital assistant (PDA), etc.
  • An electronic device is only one example of an application, and the components of the device may have more or fewer components than shown, or have different component configurations.
  • the various components of the drawn illustrations may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the intelligent terminal includes memory, memory controller, one or more processors (CPU), peripheral interface, RF circuit, audio circuit, speaker, microphone, input/output (I/O) subsystem, touch screen, other outputs or control devices, and external ports.
  • the smart terminal supports various applications, such as one or more of the following: drawing applications, rendering applications, word processing applications, website creation applications, disk editing applications, spreadsheet applications, Gaming apps, phone apps, video conferencing apps, email apps, instant messaging apps, fitness support apps, photo management apps, digital camera apps, digital video camera apps, web browsing apps, digital Music player applications and/or digital video player applications.
  • applications such as one or more of the following: drawing applications, rendering applications, word processing applications, website creation applications, disk editing applications, spreadsheet applications, Gaming apps, phone apps, video conferencing apps, email apps, instant messaging apps, fitness support apps, photo management apps, digital camera apps, digital video camera apps, web browsing apps, digital Music player applications and/or digital video player applications.
  • the slice data processing system may generate slice data of the relief model corresponding to the two-dimensional pattern based on the acquired two-dimensional pattern, so as to provide the slice data to the 3D printing device for printing.
  • the 3D printing is a kind of rapid prototyping technology, which is a technology of constructing objects by layer-by-layer printing based on digital model files and using adhesive materials such as powdered metal or plastic.
  • the digital model file is first processed to import the 3D component model to be printed into the 3D printing device.
  • the 3D component model includes, but is not limited to, a 3D component model based on a CAD component, for example, an STL file, and the control device performs layout and slice processing on the imported STL file.
  • the 3D component model can be imported into the control device via a data interface or a network interface.
  • the solid part in the imported 3D component model can be in any shape, for example, the solid part includes a tooth shape, a spherical shape, a house shape, a tooth shape, or any shape with a preset structure, and the like.
  • the preset structure includes, but is not limited to, at least one of the following: a cavity structure, a structure including a sudden change in shape, and a structure with preset requirements for contour accuracy in the solid part, and the like.
  • 3D printing equipment prints 3D components by exposing and curing light-cured materials layer by layer and accumulating each cured layer.
  • FIG. 1 is a schematic structural diagram of an embodiment of the method for processing slice data of a relief model in the present application.
  • step S110 a two-dimensional pattern corresponding to the relief model is obtained.
  • the relief is a semi-stereoscopic sculpture, which presents images through a concave-convex surface, and the relief model is the model corresponding to the relief in the 3D software.
  • the image presented by the embossed concave-convex surface is a two-dimensional pattern.
  • the two-dimensional pattern corresponds to the pattern covered by the seal. Therefore, in order to manufacture the desired relief, the two-dimensional pattern corresponding to the relief needs to be obtained first.
  • the two-dimensional pattern may be a bitmap in formats such as jpg and psd, or may be a vector diagram in formats such as svg and dxf.
  • the two-dimensional pattern is a vector diagram.
  • the slicing data processing system obtains a vector image directly, and in other cases, the slicing data processing system obtains a bitmap.
  • the bitmap can be converted into a vector image by format conversion.
  • the two-dimensional pattern can also be binarized to determine the raised and recessed portions of the relief.
  • the area of the black part can be configured as a convex part
  • the area of the white part can be configured as a concave part, so as to print a relief corresponding to the two-dimensional pattern.
  • step S120 a relief model is generated based on the contour lines of the two-dimensional pattern; wherein, the outer contour of each target area in the relief model has a transition slope in the Z direction.
  • the outline of the two-dimensional pattern may be determined based on each closed curve in the two-dimensional pattern. It should be understood that a curve has two endpoints, and when the two endpoints coincide, a closed curve is formed.
  • FIG. 3a shows a schematic diagram of the two-dimensional pattern of the present application in one embodiment.
  • the two-dimensional image 30 includes a closed curve 301, a closed curve 302 and a closed curve 303, the relief model can be generated according to these closed curves, and the specific generation method will be described in detail later.
  • the two-dimensional pattern may not include closed curves, or not all lines are closed curves.
  • the outline of the two-dimensional pattern can also be determined according to the non-closed lines in the two-dimensional pattern.
  • FIG. 4a and FIG. 4b are schematic diagrams of the two-dimensional pattern in the present application in another embodiment.
  • the edge lines formed based on the width of the curve and the two ends of the curve can form contour lines, as shown in FIG. 4b , based on the edge lines formed by the line widths of the non-closed line 401 and the non-closed line 402 in FIG. 4a and the position of the end point of the curve, the contour line 401' and the contour line 402' are generated.
  • contour lines can also be generated based on both closed curves and non-closed lines according to the embodiment shown in FIG. 3a in combination with the embodiments of FIG. 4a and FIG. 4b.
  • the structural parts corresponding to some regions may suffer from insufficient stress due to too small areas after printing.
  • the area formed by the closed curve 303 is relatively small, and the part corresponding to this area may be broken due to insufficient stress after the relief is formed. Therefore, these regions can be processed to increase their structural stress intensity, i.e. target regions in a 2D image.
  • the target area may be determined based on the area of the area defined by each contour line. It should be understood that the area of the area defined based on each contour line includes the area of the inner area formed by the line of each contour line as a boundary. Please refer to FIG. 3b, which is a schematic diagram of the area of the area defined by each contour line in the two-dimensional pattern of FIG. 3a.
  • the area of the area defined by the closed curve 301 includes the line of the closed curve 301 as the boundary between the closed curve
  • the area inside the closed curve 301 is the area of the shaded part inside the closed curve 301 ; similarly, the area defined by the closed curve 302 and the closed curve 303 includes the area of the shadow part inside the closed curve 302 and the closed curve 303 .
  • an area threshold may be predetermined, and then the area of the area defined by each contour line is compared with the area threshold, and the area smaller than the area threshold is used as the target area.
  • the area formed by the contour lines of the non-closed lines can also be used as the target area, for example, the area of the area formed by the contour lines of the non-closed lines is the same as the The area threshold is compared to determine whether it is the target area.
  • the area threshold is used as an example in this embodiment, the area threshold is only an example for determining the condition of the target area in this application. In practical applications, it can also be determined by other parameters, including but not limited to: length Threshold, width threshold, aspect ratio threshold, etc. For example, in some embodiments, although the area of the slender shape may reach the threshold, there may also be insufficient deflection, so the length of the shape defined by the contour line can also be used. Aspect ratio to define the target area.
  • all closed curves and/or the regions defined by the closed curves are used as target regions.
  • the outer contour of the corresponding target area in the relief model is designed to have a transitional slope in the Z direction, so as to enhance the printing of real objects. post-structural stress.
  • the Z direction is the thickness (height) direction of the relief model.
  • the outer contours of each area in the relief model include contour lines corresponding to the two-dimensional patterns. It should be understood that after the two-dimensional pattern generates a three-dimensional relief model, the contour lines originally located in the two-dimensional pattern will form the outer contour shape of the relief model. For example, after generating a cube for a two-dimensional square, the contour lines formed by the four right angles of the square will form the angular outer contour shape of the cube.
  • the relief model has a top surface and a bottom surface in a two-dimensional pattern, and the area of the top surface is smaller than that of the bottom surface, thereby forming a transition slope between the top surface and the bottom surface.
  • the transition slope can be gradually gradual, that is, the area of the top surface gradually transitions from the area of the bottom surface to the slope shape of the area of the bottom surface; it can also be non-gradually gradual, for example, from the top surface to the bottom surface, the slopes are X1 and X2 respectively.
  • the slope, X1 ⁇ X2 even includes ⁇ 3 slopes with different slopes from the top to the bottom to transition from the top to the bottom, but it is foreseeable that there are fewer calculations in the embodiment where the transition slope is gradual and the printed relief has a high stress strength.
  • the top surface and the bottom surface are only relative concepts. For example, after the relief model is rotated 180 degrees, the original bottom surface and top surface also change relatively. Therefore, in some embodiments, the presentation based on the relief model Alternatively, the area of the bottom surface may be smaller than the area of the top surface, as long as it does not affect the normal use of the print.
  • the embossing is a seal
  • the top surface of the embossed model or the bottom surface is used as the cover Chapter surface
  • those skilled in the art can choose according to the specific situation, it will not have a substantial impact on the implementation of each step in this application, and the same is true in the following embodiments, although in each embodiment of this application, the top surface is used. Being smaller than the bottom surface is an example, but in an actual implementation, the top surface may also be larger than the bottom surface.
  • the relief model may also have a two-dimensional pattern on its top surface, but its bottom surface is not a two-dimensional pattern.
  • the relief is a stamp
  • only a few layers on the surface of the stamp are required to have a concave-convex structure to form the outline corresponding to the pattern, so only the first few layers corresponding to the stamp surface can use a two-dimensional pattern during modeling.
  • the latter layers away from the stamp surface can be configured in any shape.
  • the bottom surface of the relief model is made to be a plane or other pattern with an area larger than that of the top surface, so as to form an inclined surface transitioning from the top surface to the bottom surface.
  • FIGS. 5 a to 5 c are schematic diagrams of an embodiment of generating a relief model from a two-dimensional pattern in the present application.
  • FIG. 5a shows a two-dimensional pattern. After extracting the closed curve in the two-dimensional pattern, a contour line 51 as shown in FIG. 5b can be obtained.
  • the area formed by each contour line in the two-dimensional pattern is used as the target area, that is, the outer contour of the relief model corresponding to each contour line is designed to have a transition slope in the Z direction, that is, as As shown in Fig. 5c, the outer contour 52 of each part of the relief model has a transition slope in the Z direction.
  • the protruding part When the embossed model formed by the method of this embodiment is printed as a solid embossed object, the protruding part has a high stress, so as to avoid insufficient deflection when the surface is subjected to pressure.
  • the present application utilizes the feature of layer-by-layer accumulation and solidification of 3D printing, and realizes the transition slope of the outer contour of the printed entity through the gradual gradual change of the slice pattern in each slice layer.
  • a three-dimensional relief model can be obtained by performing faceting processing based on each contour node of the contour line in the two-dimensional pattern and preset dimension-raising parameters.
  • a line or a shape, etc. can be described by connecting a line segment between a plurality of nodes.
  • a circular shape can be formed by several nodes, and adjacent nodes can be connected to form a circle.
  • the smoothness of the circular contour can depend on the number of these nodes. The more the number of nodes, the higher the contour accuracy. The smaller the number of nodes, the lower the contour accuracy.
  • each contour line in the two-dimensional pattern can also be described based on the connection between each contour node. The greater the number of contour nodes, the higher the accuracy of the contour line and the higher the surface accuracy of the relief model; the smaller the number of contour nodes, the lower the accuracy of the contour line and the lower the surface accuracy of the relief model.
  • the dimension-raising parameters include parameters required when converting from two-dimensional to three-dimensional, including but not limited to slope angle, stretch thickness, slice layer number, slice thickness, and the like.
  • the slope angle includes the slope angle corresponding to the transition slope of the outer contour of the relief model;
  • the stretch thickness includes the thickness of the three-dimensional model, that is, the dimension in the Z-axis direction;
  • the slice layer number includes the number of slice layers of the relief model ;
  • the slice thickness includes the slice layer thickness of the relief model.
  • the upscaling parameter includes a ramp angle.
  • the slice data processing system first generates the top surface and the bottom surface according to the two-dimensional pattern, and then uses the top surface as a reference to determine the slope angle parameter at a preset angle. Next, a bottom surface corresponding to the top surface is generated, wherein the bottom surface and the top surface have corresponding contour nodes. Connect the corresponding contour nodes in the contour lines of the top and bottom surfaces, and then slice them to obtain the 3D data of the corresponding relief model.
  • the meshing includes describing the three-dimensional model through triangular meshes and/or other mesh structures.
  • the dimensional scaling parameter includes stretch thickness.
  • the slice data processing system first generates top and bottom surfaces of different sizes according to the two-dimensional pattern, and then the tension between the top surface and the bottom surface can be determined.
  • the distance between the top surface and the bottom surface that is, the thickness of the relief model
  • the transition slope between the top surface and the bottom surface can be generated based on this.
  • the dimensional scaling parameters include bevel angle and draw thickness. For example, after taking the two-dimensional pattern as the top surface of the relief model, according to each contour node in the contour line of the two-dimensional pattern, based on the angle of the bevel and the extruded thickness, determine the position where each contour node is mapped to the bottom surface, thereby obtaining the pattern of the bottom surface . The contour nodes in the bottom surface are connected, and the corresponding contour nodes in the top surface and the bottom surface are connected, and then the model is sliced to obtain the three-dimensional data of the corresponding relief model.
  • FIGS. 6 a to 6 d are schematic diagrams of an embodiment of the process of generating a relief model in the present application.
  • Fig. 6a shows a two-dimensional pattern
  • the contour line in the two-dimensional pattern includes a plurality of contour nodes as shown in Fig. 6b: contour node a, contour node b, contour node c, contour node d, contour node e, contour node Node f, contour node g, contour node h.
  • the two-dimensional pattern is used as the top surface of the relief model.
  • the position of the corresponding contour node in the bottom surface after stretching can be calculated based on the preset slope angle and the stretching thickness.
  • the contour lines are connected with the corresponding contour nodes in the bottom surface contour lines.
  • the contour node a can find the corresponding contour node a'. After traversing the contour nodes, the contours on the top surface can be obtained. The nodes correspond to the positions of each contour node in the bottom surface. Based on the positional relationship of each contour node in the top surface, each contour node in the bottom surface is correspondingly connected to obtain the pattern of the bottom surface.
  • the corresponding contour nodes in the top surface and the bottom surface are connected, for example, the contour node a and the contour node a' are connected, and other corresponding contour nodes are connected in the same way, and finally the faceting process is performed, as shown in Figure 6d, that is, Three-dimensional data of the relief model can be obtained.
  • some 3D software can also realize the way of directly stretching the 2D pattern to form the 3D model. For example, after the top surface of the relief model is determined by a two-dimensional pattern, the relief model with a transition slope in the outer contour is formed by stretching the top surface downward and setting the size of the bottom surface.
  • FIG. 7 shows a schematic diagram of the two-dimensional pattern in the present application in yet another embodiment.
  • FIG. 7 includes two circles that are relatively close to each other. Although the two circles are not connected to each other in the two-dimensional pattern, in the process of generating the relief model from the two-dimensional pattern, the two circles are not connected to each other.
  • the contour of the 2D pattern generates a transition slope, and the contour in the two-dimensional pattern will show a trend of gradually increasing, so the outer contours of the two circles may be spliced in the later layers of the embossed model slice layer.
  • the slice data processing system further determines the slope of the transition slope at the position corresponding to the contour line in the relief model according to the positional relationship between the contour lines.
  • the slice data processing system determines the slope of the transition slope at the position corresponding to the contour line in the relief model to be generated based on the positional relationship between the contour lines in the two-dimensional pattern, so that closed curves with similar positions are at least in the relief model. Splicing of structures does not occur in the first few layers of the model.
  • the relief model has outer contours corresponding to multiple closed curves in the two-dimensional pattern, and the slope of the transition slope can be adjusted for the outer contour whose relative distance is less than a distance threshold in each outer contour, so that the slope at the outer contour is at least It does not interact with the bevels of other outer contours in the first layers of the relief model.
  • the slope where the outer contour may be spliced with other outer contours can be made lower than the slope of the transition slope of other parts, while the slope of other parts of the outer contour remains unchanged, so that at least the first few parts of the relief model The bevels in the layer and other outer contours do not interact with each other.
  • the adjustment of the slope includes adjusting the slope to 0.
  • the slice data processing system may also set the relief model corresponding to the outer contour without setting a transition slope, that is, the slope is 0.
  • step S130 the relief model is sliced to obtain slice data corresponding to each slice layer.
  • slice data of the relief model is obtained.
  • the slice parameters include, but are not limited to, the number of slice layers, slice thickness, and the like.
  • the slicing data includes slicing patterns in each slicing layer, and the 3D printing equipment can form a relief entity product corresponding to the relief model after the printing layers printed according to each slicing pattern are solidified and accumulated layer by layer during the printing process.
  • the slicing method may be horizontal slicing or vertical slicing, and the operator can configure the slicing method according to actual needs.
  • the required 3D printed solid object includes a base part in addition to the corresponding relief member after printing based on the relief model.
  • the base part can be used as a support base for the relief member; on the other hand, the base part Can also be used to install relief components into other parts or for ease of use.
  • the embossed model is a stamp
  • the printed embossed member is installed in the stamp holder.
  • the embossed member with the base can be made easier to fit into the stamp holder for use than the embossed member alone.
  • the slicing data processing system further generates a pedestal model, the pedestal model being close to the side of the relief model with a larger area.
  • the base model is adjacent to the bottom surface of the relief model.
  • FIG. 5d is a schematic diagram of adding a base model to the relief model of FIG. 5c of the present application in one embodiment.
  • the base model may also be preset in the slice data processing system. The slice data processing system does not need to generate the base model separately each time, but only needs to add the base model to the relief model through selective operations. middle.
  • the base model can be added to the relief model before the relief model is sliced, so that the base model and the relief model are sliced at the same time when slicing.
  • the base model may also be generated after slicing the relief model, and after slicing the base model, the slice data of the base model and the slice data of the relief model are integrated.
  • FIG. 8 shows a schematic diagram of functional modules of the slice data processing system in the present application in an embodiment.
  • the slice data processing system 80 includes a first communication module 801 and a first processing module 802.
  • the first communication module 801 is used to obtain a two-dimensional pattern corresponding to the relief model
  • the first processing module 802 is used to obtain a contour line based on the two-dimensional pattern.
  • a relief model is generated, wherein the outer contour of each target area in the relief model has a transition slope in the Z direction.
  • the first processing module 802 slices the relief model to obtain slice data corresponding to each slice layer.
  • the slice data processing system further sends the slice data to the 3D device through the first communication module 801 .
  • the first processing module is based on the contour of the two-dimensional pattern
  • the step of generating the relief model includes: performing faceting processing based on contour nodes in the contour and preset dimension-raising parameters to The relief model is obtained.
  • the dimension-raising parameter includes at least one of a bevel angle and a stretch thickness.
  • the contour node is determined by the first processing module based on the surface accuracy of the relief model.
  • the first processing module slices the base model and the relief model to obtain slice data corresponding to the slice layers of the base model and the relief model respectively; wherein, the slice layers of the base model are Adjacent to the slice layer on the underside of the embossed model.
  • the first communication module acquires a two-dimensional bitmap
  • the first processing module converts the acquired two-dimensional bitmap into a two-dimensional pattern in a vector format.
  • the first processing module determines the contour of the two-dimensional pattern based on each closed curve in the two-dimensional pattern.
  • the target area is determined based on the area of the area defined by each contour line.
  • the first processing module further determines the slope of the transition slope at the position corresponding to the contour line in the relief model according to the positional relationship between the contour lines.
  • slice data is obtained by first generating a relief model and then slicing.
  • slice data can be generated directly from a two-dimensional pattern.
  • FIG. 2 is a schematic diagram of another embodiment of the slice data processing method in the present application.
  • step S210 a two-dimensional pattern corresponding to the relief model is obtained.
  • step S210 is similar to the method for acquiring a two-dimensional pattern in step S110, so it is not repeated here.
  • step S220 multiple slice layers are generated based on the outline of the two-dimensional pattern, and values are assigned to each slice layer to obtain slice data corresponding to each slice layer; wherein, the multiple slice layers are superimposed in the Z direction. Then, the relief model can be formed, and the outer contour of the target area in the relief model has a transition slope in the Z direction.
  • the assignment includes, but is not limited to, the thickness of the slicing layer, the serial number of the slicing layer, the slicing pattern of the slicing layer, and the like. Since the outer contour of the target area in the relief has a transition slope in the Z direction, the slicing pattern of each slicing layer can be gradually changed. Assign the value to determine the slice pattern, layer thickness, position and other information of each slice layer, so that the 3D printing device can print the corresponding relief object based on this.
  • the step of assigning value to each slice layer includes: setting a slice sequence number, slice thickness and an offset value of the contour of each slice layer for each slice layer.
  • the total number of slice layers can be determined based on the slice thickness; setting the slice sequence number includes determining the relative position sequence for each slice layer; setting the offset value of the contour of each slice layer includes defining the contour in each slice layer
  • the head and tail slice layers may be generated first, and then the remaining slice layers are generated between the head and tail slice layers.
  • the slicing pattern in the first slicing layer can be generated according to the contour line of the two-dimensional pattern, and then the pixels of each contour in the first slicing layer can be shifted based on a preset ratio to generate the slicing pattern in the last slicing layer, and then the slicing pattern in the last slicing layer can be generated. Add several slice layers between the first slice layer and the last slice layer, so that the outline of each slice layer forms a gradual transition slope in the Z direction. Please refer to FIG.
  • 3c which is a schematic diagram of generating each slice layer based on the contour lines of the two-dimensional pattern in the present application in one embodiment.
  • the slice data processing system generates the first slice based on the two-dimensional pattern shown in FIG. 3a.
  • the pixels of each contour in the first slice layer are shifted based on the preset ratio to generate the slice pattern 32 in the last slice layer, and then several slice layers are added between the first slice layer and the last slice layer to make the slice pattern 32 in the last slice layer.
  • a gradual transition slope is formed between the contours of each slice layer in the Z direction.
  • the first slicing layer may be generated first, and then the remaining slicing layers may be generated in a top-down or bottom-up manner.
  • the first slice layer can be generated according to the outline of the two-dimensional pattern, and then the pixels of each outline in the first slice layer can be shifted layer by layer according to a preset ratio to generate slice layers of the remaining slice layers, so that each slice The contours of the layers form gradual transition slopes in the Z direction.
  • the required 3D printed solid object includes a base part in addition to the corresponding relief member after printing based on the relief model.
  • the base part can be used as a support base for the relief member; on the other hand, the base part Can also be used to install relief components into other parts or for ease of use.
  • the embossed model is a stamp
  • the printed embossed member is installed in the stamp holder.
  • the embossed member with the base can be made easier to fit into the stamp holder for use than the embossed member alone.
  • the slicing data processing system further generates a slicing layer of the base model, and the slicing layer of the base model is adjacent to the slicing layer with the largest slice pattern area among the slicing layers of the relief model.
  • FIG. 9 shows a schematic diagram of functional modules of the slice data processing system in the present application in another embodiment.
  • the slice data processing system 90 includes a second communication module 901 and a second processing module 902.
  • the second communication module 901 is used to obtain a two-dimensional pattern corresponding to the relief model
  • the second processing module 902 is used to obtain a contour line based on the two-dimensional pattern.
  • generate multiple slice layers and assign values to each slice layer to obtain slice data corresponding to each slice layer; wherein, the multiple slice layers can form the relief model after being superimposed in the Z direction, and in the relief model
  • the outer contour of the target area has a transition slope in the Z direction.
  • the slice data processing system further sends the slice data to the 3D device through the second communication module 901 .
  • the second processing module sets a slice sequence number, slice thickness, and an offset value of the contour of each slice layer for each slice layer.
  • the second communication module acquires a two-dimensional bitmap
  • the second processing module converts the acquired two-dimensional bitmap into a two-dimensional pattern in a vector format.
  • the second processing module determines the contour of the two-dimensional pattern based on each closed curve in the two-dimensional pattern.
  • the target area is determined based on the area of the area defined by each contour line.
  • the second processing module is further configured to generate a slice layer corresponding to the base model.
  • the present application also provides a 3D printing method of a relief model, the 3D printing method being performed by a 3D printing device. Specifically, after the 3D printing device obtains the printing data of the relief model, based on the printing data, the 3D printing device prints each sliced layer of the relief model layer by layer, so as to obtain a solidified layer corresponding to each sliced layer, And the 3D component corresponding to the relief model is obtained after each solidified layer is accumulated layer by layer.
  • the print data can be obtained according to the slice data processing method in the embodiment corresponding to FIG. 1 or FIG. 2 , so the outer contour of each target area in the relief printed based on the print data has a transition slope in the Z direction.
  • the printed 3D component includes the base portion in addition to the relief portion.
  • the 3D printing device may be any printing device, and prints the relief corresponding to the relief model based on the generated slice data.
  • the 3D printing equipment may be SLA, DLP, SLS, SLM, FDM printing equipment and the like.
  • the printing surface is usually preset at the interface between the material to be cured and the air.
  • the Z-axis drive mechanism drives the component platform and the cured layer attached to it to descend to fill the form. New pre-printed layers.
  • each cured layer is accumulated on the component plate to obtain a 3D object.
  • its energy radiation device includes a laser transmitter, a lens group located on the outgoing light path of the laser transmitter, and a The galvanometer group on the light-emitting side of the lens group, and the motor that controls the galvanometer, etc., wherein the laser transmitter is controlled to adjust the energy of the output laser beam, and the laser transmitter can controllably emit a laser beam of preset power and stop Emitting the laser beam, the laser transmitter can also controllably increase the power of the laser beam and reduce the power of the laser beam.
  • the lens group is used to adjust the focus position of the laser beam
  • the galvanometer group is used to scan the laser beam in the two-dimensional space of the bottom or top surface of the container in a controlled manner, and the light-cured material scanned by the beam is cured into a corresponding pattern cured layer.
  • the energy radiation device includes a DMD chip, a controller, a storage module, and the like.
  • the storage module stores layered images of layered 3D object models.
  • this mirror is composed of hundreds of thousands or even millions of micromirrors, each micromirror Represents a pixel from which the projected image is constructed.
  • the DMD chip can be simply described as a semiconductor optical switch and a micro-mirror corresponding to a pixel point, the controller allows/forbids each micro-chip to reflect light by controlling each optical switch in the DMD chip, thereby irradiating the corresponding layered image to the light
  • the surface of the material is cured so that the photo-curable material corresponding to the shape of the image is cured to obtain a patterned cured layer.
  • Another example is selective laser sintering SLS, which uses infrared lasers to sinter powder.
  • the computer converts the 3D data of the object into 2D data of layer-by-layer cross-section and transmits it to the printer.
  • the printer controls the laser to selectively irradiate the powder above the laid powder.
  • the laser energy is absorbed by the powder in the selected area and converted into heat energy.
  • the contact interface between the powder particles heated to the sintering temperature is enlarged, the pores are reduced, and the densification degree is increased, and then cooled and solidified into a dense and hard sintered body, which is processed into the current layer.
  • a new layer of powder is spread on top of the sintered current layer, and the equipment transfers the data of the section of the new layer for processing, and bonds with the section of the previous layer. This process is cycled layer by layer until the entire object is formed.
  • the slice data includes the data of each slice layer after slicing the 3D model corresponding to the printed object.
  • the 3D printing device reads the slice data corresponding to each slice layer, and controls the optical machine and component platform. And other institutions work together to obtain printed objects that are accumulated and cured layer by layer.
  • the slice data processing method in the present application is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the computer readable and writable storage medium may include read-only memory, random access memory, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory, A USB stick, a removable hard disk, or any other medium that can be used to store the desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium.
  • the instructions are sent from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
  • coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave
  • computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are instead intended to be non-transitory, tangible storage media.
  • Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and blu-ray disc, where disks usually reproduce data magnetically, while discs use lasers to optically reproduce data replicate the data.
  • the functions described by the computer programs of the methods described herein may be implemented in hardware, software, firmware, or any combination thereof.
  • the functions When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
  • the steps of the methods or algorithms disclosed herein may be embodied in processor-executable software modules, where the processor-executable software modules may reside on a tangible, non-transitory computer readable and writable storage medium.
  • Tangible, non-transitory computer-readable storage media can be any available media that can be accessed by a computer.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which contains one or more possible functions for implementing the specified logical function(s) Execute the instruction.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by dedicated hardware-based systems that perform the specified functions or operations , or can be implemented by a combination of dedicated hardware and computer instructions.

Abstract

A slice data processing method and system for a relief model, and a 3D printing method. The slice data processing method comprises: acquiring a two-dimensional pattern corresponding to a relief model (S110); generating a relief model on the basis of the contour of the two-dimensional pattern (S120); and then performing slicing processing on the relief model to obtain slice data corresponding to respective slice layers (S130). Alternatively, slice layers can be directly generated on the basis of the contour of the two-dimensional pattern, and assignment is performed with respect to respective slice layers to obtain slice data corresponding to the respective slice layers. Outer contours of respective target regions in the relief model have inclined transition sections in the Z direction, such that a surface of a printed relief is not damaged due to insufficient deflection when subjected to pressure.

Description

浮雕模型的切片数据处理方法、***及3D打印方法Slice data processing method, system and 3D printing method of relief model 技术领域technical field
本申请涉及3D打印技术领域,具体的涉及浮雕模型的切片数据处理方法、***及3D打印方法。The present application relates to the technical field of 3D printing, in particular to a method, system and 3D printing method for processing slice data of relief models.
背景技术Background technique
传统的浮雕工艺是通过在石材等材料表面雕刻图案或文字,对于复杂图案的雕刻往往需要耗费较长时间,并且对操作者的技能要求高。常见的浮雕包括***、雕刻工艺品等。The traditional embossing process is to engrave patterns or characters on the surface of materials such as stone. The engraving of complex patterns often takes a long time and requires high skills of the operator. Common reliefs include seals, carving crafts, etc.
目前,虽然有激光雕刻技术,以雕刻***为例,即通过激光携带高温在章料上逐行扫描雕刻,但这种技术雕刻出的产品精度有限,且在刻痕处尤其是一些精细部位容易发生挠度不足的情况而发生断裂。At present, although there is laser engraving technology, taking the engraving seal as an example, that is, scanning and engraving on the stamp material line by line with high temperature carried by a laser, but the product engraved by this technology has limited accuracy, and it is easy to nick, especially some fine parts. Fracture occurs due to insufficient deflection.
发明内容SUMMARY OF THE INVENTION
鉴于以上所述相关技术的缺点,本申请的目的在于提供一种浮雕模型的切片数据处理方法、***及3D打印方法,用以克服上述相关技术中存在的浮雕结构强度不足的技术问题。In view of the above-mentioned shortcomings of the related art, the purpose of the present application is to provide a method, system and 3D printing method for slicing data of a relief model, so as to overcome the technical problem of insufficient strength of the relief structure in the above-mentioned related art.
为实现上述目的及其他相关目的,本申请公开的第一方面提供一种浮雕模型的切片数据处理方法,包括以下步骤:获取浮雕模型对应的二维图案;基于所述二维图案的轮廓线,生成浮雕模型;其中,所述浮雕模型中各目标区域的外轮廓在Z向具有过渡斜面;对浮雕模型切片处理以得到对应于各切片层的切片数据。In order to achieve the above purpose and other related purposes, a first aspect disclosed in the present application provides a method for processing slice data of a relief model, comprising the following steps: obtaining a two-dimensional pattern corresponding to the relief model; and based on the outline of the two-dimensional pattern, generating a relief model; wherein, the outer contour of each target area in the relief model has a transition slope in the Z direction; and slicing the relief model to obtain slice data corresponding to each slice layer.
本申请公开的第二方面提供一种浮雕模型的切片数据处理方法,包括以下步骤:获取浮雕模型对应的二维图案;基于所述二维图案的轮廓线,生成多个切片层,并对各切片层赋值以得到对应于各切片层的切片数据;其中,所述多个切片层在Z向叠加后可形成所述浮雕模型,且所述浮雕模型中目标区域的外轮廓在Z向具有过渡斜面。A second aspect disclosed in the present application provides a method for processing slice data of a relief model, including the following steps: acquiring a two-dimensional pattern corresponding to the relief model; The slice layer is assigned to obtain slice data corresponding to each slice layer; wherein, after the multiple slice layers are superimposed in the Z direction, the relief model can be formed, and the outer contour of the target area in the relief model has a transition in the Z direction bevel.
本申请公开的第三方面提供一种浮雕模型的3D打印方法,包括以下步骤:获取所述浮雕模型的打印数据;其中,所述打印数据中包括根据本申请公开的第一方面或本申请公开的第二方面所述的浮雕模型的切片数据处理方法所得到的切片数据;基于所述打印数据,令3D打印设备逐层打印所述浮雕模型的各切片层,以得到对应于各切片层的固化层,并经由各所述固化层逐层累积后得到对应于所述浮雕模型的3D构件;其中,所述3D构件中各目标区域的外轮廓在Z向具有过渡斜面。A third aspect disclosed in the present application provides a 3D printing method for a relief model, comprising the following steps: acquiring printing data of the relief model; wherein the printing data includes the first aspect disclosed in the present application or the disclosure in the present application The slice data obtained by the slice data processing method of the relief model described in the second aspect; based on the print data, make the 3D printing device print each slice layer of the relief model layer by layer, so as to obtain the slice layer corresponding to each slice layer. The solidified layers are accumulated layer by layer to obtain a 3D component corresponding to the relief model; wherein, the outer contour of each target area in the 3D component has a transition slope in the Z direction.
本申请公开的第四方面提供一种浮雕模型的切片数据处理***,包括:第一通信模块,用以获取浮雕模型对应的二维图案;第一处理模块,用以基于所述二维图案的轮廓线生成浮雕模型,其中,所述浮雕模型中各目标区域的外轮廓在Z向具有过渡斜面;以及对浮雕模型切片处理以得到对应于各切片层的切片数据。A fourth aspect disclosed in the present application provides a slicing data processing system for a relief model, including: a first communication module for acquiring a two-dimensional pattern corresponding to the relief model; a first processing module for The contour line generates a relief model, wherein the outer contour of each target area in the relief model has a transition slope in the Z direction; and the relief model is sliced to obtain slice data corresponding to each slice layer.
本申请公开的第五方面提供一种浮雕模型的切片数据处理***,包括:第二通信模块,用以获取浮雕模型对应的二维图案;第二处理模块,用以基于所述二维图案的轮廓线,生成多个切片层,并对各切片层赋值以得到对应于各切片层的切片数据;其中,所述多个切片层在Z向叠加后可形成所述浮雕模型,且所 述浮雕模型中目标区域的外轮廓在Z向具有过渡斜面。A fifth aspect disclosed in the present application provides a slicing data processing system for a relief model, including: a second communication module for acquiring a two-dimensional pattern corresponding to the relief model; a second processing module for contour line, generating a plurality of slice layers, and assigning values to each slice layer to obtain slice data corresponding to each slice layer; wherein, the plurality of slice layers can form the relief model after being superimposed in the Z direction, and the relief The outer contour of the target area in the model has a transition slope in the Z direction.
本申请公开的第六方面提供一种3D构件,通过如本申请公开的第五方面所述的浮雕模型的3D打印方法得到,所述3D构件中各目标区域的外轮廓在Z向具有过渡斜面。A sixth aspect disclosed in the present application provides a 3D component obtained by the 3D printing method of a relief model according to the fifth aspect disclosed in the present application, wherein the outer contour of each target area in the 3D component has a transition slope in the Z direction .
本申请公开的第七方面提供一种计算机可读存储介质,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序被处理器运行时控制所述存储介质所在设备执行本申请公开的第一方面或本申请公开的第二方面所述的浮雕模型的切片数据处理方法。A seventh aspect disclosed in the present application provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, wherein when the computer program is run by a processor, a device on which the storage medium is located is controlled to execute this program. The method for processing slice data of a relief model according to the first aspect disclosed in the application or the second aspect disclosed in the present application.
综上所述,本申请可通过获取的二维图案生成三维模型并切片以生成切片数据,或者通过获取的二维图案直接生成切片数据,并且令二维图案中的轮廓在形成三维的浮雕模型时在Z向具有过渡斜面,使得打印出的浮雕在表面受到压力的情况下避免因挠度不足而造成损坏。To sum up, the present application can generate a three-dimensional model through the acquired two-dimensional pattern and slice it to generate slice data, or directly generate slice data through the acquired two-dimensional pattern, and make the outline in the two-dimensional pattern form a three-dimensional relief model. It has a transition slope in the Z direction, so that the printed relief can avoid damage due to insufficient deflection when the surface is under pressure.
本领域技术人员能够从下文的详细描述中容易地洞察到本申请的其它方面和优势。下文的详细描述中仅显示和描述了本申请的示例性实施方式。如本领域技术人员将认识到的,本申请的内容使得本领域技术人员能够对所公开的具体实施方式进行改动而不脱离本申请所涉及发明的精神和范围。相应地,本申请的附图和说明书中的描述仅仅是示例性的,而非为限制性的。Other aspects and advantages of the present application can be readily appreciated by those skilled in the art from the following detailed description. Only exemplary embodiments of the present application are shown and described in the following detailed description. As those skilled in the art will recognize, the content of this application enables those skilled in the art to make changes to the specific embodiments disclosed without departing from the spirit and scope of the invention to which this application relates. Accordingly, the drawings and descriptions in the specification of the present application are only exemplary and not restrictive.
附图说明Description of drawings
本申请所涉及的发明的具体特征如所附权利要求书所显示。通过参考下文中详细描述的示例性实施方式和附图能够更好地理解本申请所涉及发明的特点和优势。对附图简要说明书如下:The invention to which this application relates is set forth with particularity characteristic of the appended claims. The features and advantages of the inventions involved in this application can be better understood by reference to the exemplary embodiments described in detail hereinafter and the accompanying drawings. A brief description of the drawings is as follows:
图1显示为本申请中浮雕模型的切片数据处理方法在一实施例中的结构示意图。FIG. 1 is a schematic structural diagram of an embodiment of a method for processing slice data of a relief model in the present application.
图2显示为本申请中的切片数据处理方法在另一实施例中的示意图。FIG. 2 is a schematic diagram of another embodiment of the slice data processing method in the present application.
图3a显示为本申请中的二维图案在一实施方式中的示意图。Figure 3a shows a schematic diagram of the two-dimensional pattern in the present application in one embodiment.
图3b显示为图3a的二维图案中各轮廓线所限定的区域面积示意图。Fig. 3b is a schematic diagram showing the area of the region defined by each contour line in the two-dimensional pattern of Fig. 3a.
图3c显示为本申请中基于二维图案的轮廓线生成各切片层在一实施方式中的示意图。FIG. 3c shows a schematic diagram of generating each slice layer based on the contour lines of the two-dimensional pattern in one embodiment of the present application.
图4a、图4b显示为本申请中的二维图案在另一实施方式中的示意图。4a and 4b are schematic diagrams of the two-dimensional pattern in the present application in another embodiment.
图5a~图5c显示为本申请中通过二维图案生成浮雕模型在一实施例中的示意图。5a-5c are schematic diagrams showing an embodiment of generating a relief model by a two-dimensional pattern in the present application.
图5d显示为在本申请图5c的浮雕模型中添加基座模型在一实施例中的示意图。FIG. 5d shows a schematic diagram of adding a base model to the relief model of FIG. 5c of the present application in one embodiment.
图6a~图6d显示为本申请中生成浮雕模型的过程在一实施例中的示意图。6a-6d are schematic diagrams illustrating a process of generating a relief model in the present application in one embodiment.
图7显示为本申请中的二维图案在又一实施方式中的示意图。FIG. 7 shows a schematic diagram of the two-dimensional pattern in the present application in yet another embodiment.
图8显示为本申请中的切片数据处理***的功能模块在一实施例中的示意图。FIG. 8 shows a schematic diagram of functional modules of the slice data processing system in the present application in an embodiment.
图9显示为本申请中的切片数据处理***的功能模块在另一实施例中的示意图。FIG. 9 shows a schematic diagram of functional modules of the slice data processing system in the present application in another embodiment.
具体实施方式Detailed ways
以下由特定的具体实施例说明本申请的实施方式,熟悉此技术的人士可由本说明书所揭露的内容轻易地了解本申请的其他优点及功效。The embodiments of the present application are described below by specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification.
在下述描述中,参考附图,附图描述了本申请的若干实施例。应当理解,还可使用其他实施例,并且 可以在不背离本公开的精神和范围的情况下进行模块或单元组成、电气以及操作上的改变。下面的详细描述不应该被认为是限制性的,并且本申请的实施例的范围仅由公布的专利的权利要求所限定。这里使用的术语仅是为了描述特定实施例,而并非旨在限制本申请。In the following description, reference is made to the accompanying drawings, which describe several embodiments of the present application. It is to be understood that other embodiments may be utilized and modular or unit compositional, electrical, as well as operational changes may be made without departing from the spirit and scope of the present disclosure. The following detailed description should not be considered limiting, and the scope of embodiments of the present application is limited only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application.
虽然在一些实例中术语第一、第二等在本文中用来描述各种元件、信息或参数,但是这些元件或参数不应当被这些术语限制。这些术语仅用来将一个元件或参数与另一个元件或参数进行区分。例如,第一通信模块可以被称作第二通信模块,并且类似地,第二通信模块可以被称作第一通信模块,而不脱离各种所描述的实施例的范围。第一通信模块和第二通信模块均是在描述一个通信模块,但是除非上下文以其他方式明确指出,否则它们不是同一个通信模块。取决于语境,比如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”。Although in some instances the terms first, second, etc. are used herein to describe various elements, information or parameters, these elements or parameters should not be limited by these terms. These terms are only used to distinguish one element or parameter from another element or parameter. For example, a first communications module could be termed a second communications module, and similarly, a second communications module could be termed a first communications module, without departing from the scope of the various described embodiments. The first communication module and the second communication module are both describing a communication module, but unless the context clearly indicates otherwise, they are not the same communication module. Depending on the context, for example, the word "if" as used herein can be interpreted as "at the time of" or "when".
再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。此处使用的术语“或”和“和/或”被解释为包括性的,或意味着任一个或任何组合。因此,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A、B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。Also, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context dictates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, kinds, and/or groups, but do not exclude one or more other features, steps, operations, The existence, appearance or addition of elements, assemblies, items, categories, and/or groups. The terms "or" and "and/or" as used herein are to be construed to be inclusive or to mean any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C" . Exceptions to this definition arise only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
浮雕是雕刻的一种,通过在一平面上将要塑造的形象雕刻出来,使其脱离原来材料的平面。但呈如背景技术中所述,现有技术中的浮雕工艺无法满足产品强度的要求,对于浮雕的凸出部分,尤其是较为精细的部位,容易发生挠度不足而断裂等情况,造成产品损坏,无法继续使用。例如,通过激光雕刻技术制作的浮雕由于无法精准控制每一雕刻位置处激光的入射角度,因此激光几乎均是以垂直角度在浮雕表面完成雕刻,精细部位的受力面积小,受压时的压强较大,容易损坏。Relief is a kind of carving, by carving out the image to be shaped on a plane, so that it is separated from the plane of the original material. However, as described in the background art, the embossing process in the prior art cannot meet the requirements of product strength, and the protruding parts of the embossing, especially the finer parts, are prone to insufficient deflection and breakage, resulting in product damage. No further use is possible. For example, the relief made by laser engraving technology cannot precisely control the incident angle of the laser at each engraving position, so the laser almost completes the engraving on the relief surface at a vertical angle, the force area of the fine part is small, and the pressure when pressed Large and easily damaged.
有鉴于此,本申请提供一种浮雕模型的切片数据处理方法,以期解决浮雕结构强度不足的技术问题,所述浮雕模型的切片数据处理方法可由浮雕模型的切片数据处理***来执行。In view of this, the present application provides a method for processing slice data of a relief model in order to solve the technical problem of insufficient strength of the relief structure, and the method for processing slice data of the relief model can be performed by a slice data processing system of the relief model.
所述切片数据处理***包含通过计算机设备中的软件和硬件来实现。所述计算机设备通信连接3D打印设备或者集成于3D打印设备上,从而可将处理后的切片数据提供给3D打印设备执行打印任务。The slice data processing system is implemented by software and hardware in computer equipment. The computer device is communicatively connected to the 3D printing device or integrated on the 3D printing device, so that the processed slice data can be provided to the 3D printing device to perform the printing task.
所述计算机设备至少包括:存储器、一个或多个处理器、I/O接口、网络接口和输入结构等。其中所述存储器用于存储至少一个程序。所述存储器可包括高速随机存取存储器,并且还可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。在某些实施例中,存储器还可以包括远离一个或多个处理器的存储器,例如经由RF电路或外部端口以及通信网络访问的网络附加存储器,其中所述通信网络可以是因特网、一个或多个内部网、局域网(LAN)、广域网(WLAN)、存储局域网(SAN)等,或其适当组合。存储器控制器可控制设备的诸如CPU和外设接口之类的其他组件对存储器的访问。存储器可选地包括高速随机存取存储器,并且可选地还包括非易失性存储器,诸如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储器设备。由设备的其他组件诸如CPU和***接口,对存储器的访 问可选地通过存储器控制器来控制。所述一个或多个处理器可操作地与网络接口耦接,以将计算设备以通信方式耦接至网络。例如,网络接口可将计算设备连接到局域网(如LAN)、和/或广域网(如WAN)。处理器还与I/O端口和输入结构可操作地耦接,该I/O端口可使得计算设备能够与各种其他电子设备进行交互,该输入结构可使得用户能够与计算设备进行交互。因此,输入结构可包括按钮、键盘、鼠标、触控板等。此外,电子显示器可包括触摸部件,该触摸部件通过检测对象触摸其屏幕的发生和/或位置来促进用户输入。The computer device includes at least: memory, one or more processors, I/O interfaces, network interfaces, input structures, and the like. wherein the memory is used to store at least one program. The memory may include high speed random access memory, and may also include nonvolatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other nonvolatile solid state storage devices. In some embodiments, the memory may also include memory remote from the one or more processors, such as network-attached memory accessed via RF circuitry or external ports and a communication network, which may be the Internet, one or more Intranet, Local Area Network (LAN), Wide Area Network (WLAN), Storage Area Network (SAN), etc., or a suitable combination thereof. A memory controller controls access to memory by other components of the device, such as the CPU and peripheral interfaces. The memory optionally includes high speed random access memory, and optionally also includes nonvolatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other nonvolatile solid state memory devices. Access to memory is optionally controlled by a memory controller by other components of the device such as the CPU and peripheral interfaces. The one or more processors are operably coupled with a network interface to communicatively couple the computing device to the network. For example, a network interface may connect the computing device to a local area network (eg, a LAN), and/or a wide area network (eg, a WAN). The processor is also operably coupled to an I/O port that can enable the computing device to interact with various other electronic devices and an input structure that can enable a user to interact with the computing device. Thus, the input structures may include buttons, keyboards, mice, trackpads, and the like. Additionally, electronic displays may include touch components that facilitate user input by detecting the occurrence and/or location of an object touching its screen.
在另一种情况下,所述切片数据处理******还可以由装载于智能终端上的应用程序(APP)来实现,所述智能终端通过获取二维图案后,生成切片数据并发送给3D打印设备。In another case, the slicing data processing system can also be implemented by an application program (APP) loaded on a smart terminal. After acquiring the two-dimensional pattern, the smart terminal generates slicing data and sends it to 3D printing equipment.
所述智能终端例如为包括但不限于智能手机、平板电脑、智能手表、智能眼镜、个人数字助理(PDA)等等便携式或者穿戴式的电子设备,应当理解,本申请于实施方式中描述的便携式电子设备只是一个应用实例,该设备的组件可以比图示具有更多或更少的组件,或具有不同的组件配置。所绘制图示的各种组件可以用硬件、软件或软硬件的组合来实现,包括一个或多个信号处理和/或专用集成电路。所述智能终端包括存储器、存储器控制器、一个或多个处理器(CPU)、外设接口、RF电路、音频电路、扬声器、麦克风、输入/输出(I/O)子***、触摸屏、其他输出或控制设备,以及外部端口。这些组件通过一条或多条通信总线或信号线进行通信。所述智能终端支持各种应用程序,诸如以下各项中的一种或多种:绘图应用程序、呈现应用程序、文字处理应用程序、网站创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、健身支持应用程序、照片管理应用程序、数码相机应用程序、数码视频摄像机应用程序、网页浏览应用程序、数码音乐播放器应用程序和/或数码视频播放器应用程序。The smart terminal is, for example, a portable or wearable electronic device including but not limited to a smart phone, a tablet computer, a smart watch, smart glasses, a personal digital assistant (PDA), etc. An electronic device is only one example of an application, and the components of the device may have more or fewer components than shown, or have different component configurations. The various components of the drawn illustrations may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits. The intelligent terminal includes memory, memory controller, one or more processors (CPU), peripheral interface, RF circuit, audio circuit, speaker, microphone, input/output (I/O) subsystem, touch screen, other outputs or control devices, and external ports. These components communicate over one or more communication buses or signal lines. The smart terminal supports various applications, such as one or more of the following: drawing applications, rendering applications, word processing applications, website creation applications, disk editing applications, spreadsheet applications, Gaming apps, phone apps, video conferencing apps, email apps, instant messaging apps, fitness support apps, photo management apps, digital camera apps, digital video camera apps, web browsing apps, digital Music player applications and/or digital video player applications.
所述切片数据处理***可基于所获取的二维图案生成该二维图案对应的浮雕模型的切片数据,以提供给3D打印设备打印。The slice data processing system may generate slice data of the relief model corresponding to the two-dimensional pattern based on the acquired two-dimensional pattern, so as to provide the slice data to the 3D printing device for printing.
应当理解,所述3D打印是快速成型技术的一种,它是一种以数字模型文件为基础,运用粉末状金属或塑料等可粘合材料,通过逐层打印的方式来构造物体的技术。在打印时,首先对所述数字模型文件进行处理以实现向3D打印设备导入待打印的3D构件模型。在此,所述3D构件模型包括但不限于基于CAD构件的3D构件模型,其举例为STL文件,控制装置对导入的STL文件进行布局及切层处理。所述3D构件模型可通过数据接口或网络接口导入到控制装置中。所导入的3D构件模型中的实体部分可以为任意形状,例如,所述实体部分包括牙齿状、球状、房屋状、齿状、或带有预设结构的任意形状等。其中,所述预设结构包括但不限于以下至少一种:腔体结构、包含形状突变的结构、和对于实体部分中轮廓精度有预设要求的结构等。3D打印设备通过对光固化材料进行逐层曝光固化并累积各固化层的方式打印3D构件。It should be understood that the 3D printing is a kind of rapid prototyping technology, which is a technology of constructing objects by layer-by-layer printing based on digital model files and using adhesive materials such as powdered metal or plastic. During printing, the digital model file is first processed to import the 3D component model to be printed into the 3D printing device. Here, the 3D component model includes, but is not limited to, a 3D component model based on a CAD component, for example, an STL file, and the control device performs layout and slice processing on the imported STL file. The 3D component model can be imported into the control device via a data interface or a network interface. The solid part in the imported 3D component model can be in any shape, for example, the solid part includes a tooth shape, a spherical shape, a house shape, a tooth shape, or any shape with a preset structure, and the like. The preset structure includes, but is not limited to, at least one of the following: a cavity structure, a structure including a sudden change in shape, and a structure with preset requirements for contour accuracy in the solid part, and the like. 3D printing equipment prints 3D components by exposing and curing light-cured materials layer by layer and accumulating each cured layer.
在一个示例性的实施例中,请参阅图1,其显示为本申请中浮雕模型的切片数据处理方法在一实施例中的结构示意图。In an exemplary embodiment, please refer to FIG. 1 , which is a schematic structural diagram of an embodiment of the method for processing slice data of a relief model in the present application.
如图所示,在步骤S110中,获取浮雕模型对应的二维图案。As shown in the figure, in step S110, a two-dimensional pattern corresponding to the relief model is obtained.
应当理解,浮雕为半立体型雕刻品,其通过凹凸的表面来呈现图像,浮雕模型即为浮雕在三维软件中所对应的模型。浮雕的凹凸表面所呈现的图像即为二维图案,例如对于***来说,其二维图案即对应于该***盖出的图案。因此,为了制造期望的浮雕,需要先获取该浮雕对应的二维图案。It should be understood that the relief is a semi-stereoscopic sculpture, which presents images through a concave-convex surface, and the relief model is the model corresponding to the relief in the 3D software. The image presented by the embossed concave-convex surface is a two-dimensional pattern. For example, for a seal, the two-dimensional pattern corresponds to the pattern covered by the seal. Therefore, in order to manufacture the desired relief, the two-dimensional pattern corresponding to the relief needs to be obtained first.
其中,所述二维图案可以是如jpg,psd等格式的位图,也可以是如svg、dxf格式的矢量图。Wherein, the two-dimensional pattern may be a bitmap in formats such as jpg and psd, or may be a vector diagram in formats such as svg and dxf.
在可能的实施方式中,为了保证浮雕的表面精度,所述二维图案为矢量图。在一些情况下,切片数据处理***获取的直接为矢量图,在另一些情况下,切片数据处理***获取的是位图,此时可对位图进行格式转换使其变成矢量图。In a possible implementation, in order to ensure the surface accuracy of the relief, the two-dimensional pattern is a vector diagram. In some cases, the slicing data processing system obtains a vector image directly, and in other cases, the slicing data processing system obtains a bitmap. In this case, the bitmap can be converted into a vector image by format conversion.
在一实施方式中,还可将二维图案二值化,以确定浮雕中凸出和凹陷的部分。例如,可将二值化的二维图案中黑色部分的区域配置为凸出的部分,白色部分的区域配置为凹陷的部分,以便打印成与二维图案对应的浮雕。In one embodiment, the two-dimensional pattern can also be binarized to determine the raised and recessed portions of the relief. For example, in the binarized two-dimensional pattern, the area of the black part can be configured as a convex part, and the area of the white part can be configured as a concave part, so as to print a relief corresponding to the two-dimensional pattern.
请继续参阅图1,在步骤S120中,基于二维图案的轮廓线生成浮雕模型;其中,所述浮雕模型中各目标区域的外轮廓在Z向具有过渡斜面。Please continue to refer to FIG. 1. In step S120, a relief model is generated based on the contour lines of the two-dimensional pattern; wherein, the outer contour of each target area in the relief model has a transition slope in the Z direction.
在一个示例性的实施例中,可基于所述二维图案中的各封闭曲线确定所述二维图案的轮廓线。应当理解,曲线具有两个端点,当两端点重合时,构成封闭曲线。In an exemplary embodiment, the outline of the two-dimensional pattern may be determined based on each closed curve in the two-dimensional pattern. It should be understood that a curve has two endpoints, and when the two endpoints coincide, a closed curve is formed.
请参阅图3a,其显示为本申请中的二维图案在一实施方式中的示意图。如图所示,在二维图像30中包括封闭曲线301、封闭曲线302和封闭曲线303,则可以根据这些封闭曲线来生成浮雕模型,具体的生成方法将在稍后详述。Please refer to FIG. 3a, which shows a schematic diagram of the two-dimensional pattern of the present application in one embodiment. As shown in the figure, if the two-dimensional image 30 includes a closed curve 301, a closed curve 302 and a closed curve 303, the relief model can be generated according to these closed curves, and the specific generation method will be described in detail later.
在另一个示例性的实施例中,二维图案中也可能不包括封闭曲线,或者并非所有的线条都为封闭曲线。此时,还可根据二维图案中的非封闭线条确定二维图案的轮廓线。In another exemplary embodiment, the two-dimensional pattern may not include closed curves, or not all lines are closed curves. At this time, the outline of the two-dimensional pattern can also be determined according to the non-closed lines in the two-dimensional pattern.
请参阅图4a、图4b,其显示为本申请中的二维图案在另一实施方式中的示意图。请先参阅图4a,在二维图案40中仅包括非封闭线条401和非封闭线条402,则可以基于曲线的宽度形成的边缘线、以及曲线的两端形成轮廓线,呈如图4b所示,基于图4a中非封闭线条401和非封闭线条402的线宽所形成的边缘线以及曲线的端点位置,生成轮廓线401'和轮廓线402'。Please refer to FIG. 4a and FIG. 4b, which are schematic diagrams of the two-dimensional pattern in the present application in another embodiment. Please refer to FIG. 4a first, if the two-dimensional pattern 40 includes only the non-closed lines 401 and the non-closed lines 402, then the edge lines formed based on the width of the curve and the two ends of the curve can form contour lines, as shown in FIG. 4b , based on the edge lines formed by the line widths of the non-closed line 401 and the non-closed line 402 in FIG. 4a and the position of the end point of the curve, the contour line 401' and the contour line 402' are generated.
需要说明的是,虽然在本实施例中以二维图案中仅包括封闭曲线、以及仅包括非封闭线条来确定轮廓线,但在二维图案既包括非封闭线条也包括封闭曲线的实施例中,同样可以根据图3a所示的实施例结合图4a、图4b的实施例基于封闭曲线和非封闭线条均生成轮廓线。It should be noted that, although the two-dimensional pattern includes only closed curves and only non-closed lines to determine the contour line in this embodiment, in the embodiment in which the two-dimensional pattern includes both non-closed lines and closed curves , contour lines can also be generated based on both closed curves and non-closed lines according to the embodiment shown in FIG. 3a in combination with the embodiments of FIG. 4a and FIG. 4b.
在一些情况下,基于上述封闭曲线和/或非封闭线条确定轮廓线后,一些区域对应的结构部分在打印后会由于面积过小而造成应力不足的情况发生。例如在图3a中,封闭曲线303所构成的面积相对较小,在形成浮雕后对应该区域的部分可能会存在应力不足而断裂。因此,可对这些区域进行处理以增加其结构应 力强度,即二维图像中的目标区域。In some cases, after the contour lines are determined based on the above closed curves and/or non-closed lines, the structural parts corresponding to some regions may suffer from insufficient stress due to too small areas after printing. For example, in FIG. 3a, the area formed by the closed curve 303 is relatively small, and the part corresponding to this area may be broken due to insufficient stress after the relief is formed. Therefore, these regions can be processed to increase their structural stress intensity, i.e. target regions in a 2D image.
在一个示例性的实施例中,可基于各轮廓线所限定的区域面积来确定目标区域。应当理解,所述基于各轮廓线所限定的区域面积包括以各轮廓线的线条为边界所形成的内部区域面积。请参阅图3b,其显示为图3a的二维图案中各轮廓线所限定的区域面积示意图,如图所示,封闭曲线301所限定的区域面积包括以封闭曲线301的线条为边界在封闭曲线301内部的区域,即封闭曲线301内部的阴影部分面积;同理封闭曲线302和封闭曲线303所限定的区域面积即包括封闭曲线302和封闭曲线303内部的阴影部分面积。在本实施例中,可预先确定一面积阈值,再通过比较各轮廓线所限定的区域面积与面积阈值的大小,并将小于面积阈值的区域作为目标区域。在此,在二维图案中包括非封闭线条的实施例中,也可以将非封闭线条的轮廓线所形成的区域作为目标区域,例如通过非封闭线条的轮廓线所形成的区域面积与所述面积阈值进行比较以判断是否作为目标区域。In an exemplary embodiment, the target area may be determined based on the area of the area defined by each contour line. It should be understood that the area of the area defined based on each contour line includes the area of the inner area formed by the line of each contour line as a boundary. Please refer to FIG. 3b, which is a schematic diagram of the area of the area defined by each contour line in the two-dimensional pattern of FIG. 3a. As shown in the figure, the area of the area defined by the closed curve 301 includes the line of the closed curve 301 as the boundary between the closed curve The area inside the closed curve 301 is the area of the shaded part inside the closed curve 301 ; similarly, the area defined by the closed curve 302 and the closed curve 303 includes the area of the shadow part inside the closed curve 302 and the closed curve 303 . In this embodiment, an area threshold may be predetermined, and then the area of the area defined by each contour line is compared with the area threshold, and the area smaller than the area threshold is used as the target area. Here, in the embodiment where the two-dimensional pattern includes non-closed lines, the area formed by the contour lines of the non-closed lines can also be used as the target area, for example, the area of the area formed by the contour lines of the non-closed lines is the same as the The area threshold is compared to determine whether it is the target area.
应当理解,虽然在本实施例中以面积阈值为例,但是面积阈值仅为本申请中确定目标区域条件的举例,在实际的应用中,也可通过其他参数来确定,包括但不限于:长度阈值、宽度阈值、长宽比阈值等,例如在一些实施例中,对于细长形状的结构虽然面积可能达到阈值但也可能存在挠度不足的情况,因此也可通过轮廓线所限定的形状的长宽比来定义目标区域。It should be understood that although the area threshold is used as an example in this embodiment, the area threshold is only an example for determining the condition of the target area in this application. In practical applications, it can also be determined by other parameters, including but not limited to: length Threshold, width threshold, aspect ratio threshold, etc. For example, in some embodiments, although the area of the slender shape may reach the threshold, there may also be insufficient deflection, so the length of the shape defined by the contour line can also be used. Aspect ratio to define the target area.
在另一个示例性的实施例中,也可不考虑面积因素,将所有的封闭曲线和/或封闭曲线所限定的区域均作为目标区域。In another exemplary embodiment, regardless of the area factor, all closed curves and/or the regions defined by the closed curves are used as target regions.
在确定了目标区域后,在基于二维图案的轮廓线生成三维的浮雕模型的过程中,将浮雕模型中对应目标区域的外轮廓设计成在Z向具有过渡斜面的结构,从而增强打印成实物后的结构应力。其中,所述Z向即为浮雕模型的厚(高)度方向。After the target area is determined, in the process of generating a three-dimensional relief model based on the outline of the two-dimensional pattern, the outer contour of the corresponding target area in the relief model is designed to have a transitional slope in the Z direction, so as to enhance the printing of real objects. post-structural stress. Wherein, the Z direction is the thickness (height) direction of the relief model.
在此,所述浮雕模型中各区域的外轮廓包括对应于二维图案中的各轮廓线。应当理解,在二维图案生成三维的浮雕模型后,原位于二维图案中的轮廓线会形成浮雕模型的外轮廓形状。例如对二维的正方形生成正方体后,正方形的四个直角形成的轮廓线会形成正方体的棱角外轮廓形状。Here, the outer contours of each area in the relief model include contour lines corresponding to the two-dimensional patterns. It should be understood that after the two-dimensional pattern generates a three-dimensional relief model, the contour lines originally located in the two-dimensional pattern will form the outer contour shape of the relief model. For example, after generating a cube for a two-dimensional square, the contour lines formed by the four right angles of the square will form the angular outer contour shape of the cube.
在一实施方式中,所述浮雕模型以二维图案为其顶面和底面,且顶面的面积小于底面的面积,从而在顶面和底面之间形成过渡斜面。其中,该过渡斜面可以是逐渐渐变的,即从顶面的面积大小逐渐过渡到底面的面积大小的斜坡状;也可以是非逐渐渐变的,例如从顶面到底面分别包括斜率为X1、X2的斜面,X1≠X2,甚至从顶面到底面分别包括≥3个斜率不同的斜面从而从顶面过渡到底面,但可以预见的是,在过渡斜面为逐渐渐变的实施方式中具有更少的计算量且打印出的浮雕具有较高的应力强度。In one embodiment, the relief model has a top surface and a bottom surface in a two-dimensional pattern, and the area of the top surface is smaller than that of the bottom surface, thereby forming a transition slope between the top surface and the bottom surface. Wherein, the transition slope can be gradually gradual, that is, the area of the top surface gradually transitions from the area of the bottom surface to the slope shape of the area of the bottom surface; it can also be non-gradually gradual, for example, from the top surface to the bottom surface, the slopes are X1 and X2 respectively. The slope, X1≠X2, even includes ≥3 slopes with different slopes from the top to the bottom to transition from the top to the bottom, but it is foreseeable that there are fewer calculations in the embodiment where the transition slope is gradual and the printed relief has a high stress strength.
需要说明的是,对于浮雕模型来说,顶面与底面只是相对概念,例如将浮雕模型旋转180度后,原先的底面和顶面也相对变化,因此在一些实施方式中,基于浮雕模型的呈现方式,也可以是底面的面积小于顶面的面积,只要不影响打印件的正常使用即可。例如在浮雕为***的实施例中,只要其盖章面对应于浮 雕模型中的一面小于非盖章面对应于浮雕模型中的一面即可,而将浮雕模型的顶面还是底面作为盖章面,本领域技术人员可根据具体情况进行选择,不会对本申请中各步骤的实施产生实质影响,在以下的实施例中亦同理,虽然在本申请的各实施例中均以顶面小于底面为示例,但在实际的实现方式中,也可以是顶面大于底面。It should be noted that, for the relief model, the top surface and the bottom surface are only relative concepts. For example, after the relief model is rotated 180 degrees, the original bottom surface and top surface also change relatively. Therefore, in some embodiments, the presentation based on the relief model Alternatively, the area of the bottom surface may be smaller than the area of the top surface, as long as it does not affect the normal use of the print. For example, in the embodiment in which the embossing is a seal, as long as the stamped surface corresponds to one side in the embossed model than the non-stamped surface corresponds to one side in the embossed model, and the top surface of the embossed model or the bottom surface is used as the cover Chapter surface, those skilled in the art can choose according to the specific situation, it will not have a substantial impact on the implementation of each step in this application, and the same is true in the following embodiments, although in each embodiment of this application, the top surface is used. Being smaller than the bottom surface is an example, but in an actual implementation, the top surface may also be larger than the bottom surface.
在另一实施方式中,根据打印需求,所述浮雕模型也可以二维图案为其顶面,但底面不为二维图案。例如,当浮雕为***时,在盖章时只要求***表面几层为凹凸结构以形成对应于图案的轮廓,因此可在建模时仅在对应于盖章面的前几层采用二维图案,而远离盖章面的后几层则可配置为任意形状。在此,考虑到结构强度,使浮雕模型的底面为平面或其他面积大于顶面的图案,以形成从顶面过渡到底面的斜面。In another embodiment, according to printing requirements, the relief model may also have a two-dimensional pattern on its top surface, but its bottom surface is not a two-dimensional pattern. For example, when the relief is a stamp, only a few layers on the surface of the stamp are required to have a concave-convex structure to form the outline corresponding to the pattern, so only the first few layers corresponding to the stamp surface can use a two-dimensional pattern during modeling. , while the latter layers away from the stamp surface can be configured in any shape. Here, considering the structural strength, the bottom surface of the relief model is made to be a plane or other pattern with an area larger than that of the top surface, so as to form an inclined surface transitioning from the top surface to the bottom surface.
请参阅图5a~图5c,其显示为本申请中通过二维图案生成浮雕模型在一实施例中的示意图。请先参阅图5a,图5a显示为一幅二维图案,提取该二维图案中的封闭曲线后可得到如图5b所示的轮廓线51。在本实施例中,将二维图案中各轮廓线所形成的区域均作为目标区域,即对各轮廓线所对应于浮雕模型的外轮廓均设计为在Z向具有过渡斜面的结构,即如图5c所示,在浮雕模型各部分的外轮廓52处均在Z向具有过渡斜面。Please refer to FIGS. 5 a to 5 c , which are schematic diagrams of an embodiment of generating a relief model from a two-dimensional pattern in the present application. Please refer to FIG. 5a first. FIG. 5a shows a two-dimensional pattern. After extracting the closed curve in the two-dimensional pattern, a contour line 51 as shown in FIG. 5b can be obtained. In this embodiment, the area formed by each contour line in the two-dimensional pattern is used as the target area, that is, the outer contour of the relief model corresponding to each contour line is designed to have a transition slope in the Z direction, that is, as As shown in Fig. 5c, the outer contour 52 of each part of the relief model has a transition slope in the Z direction.
通过本实施例的方式形成的浮雕模型在打印为实体的浮雕物件时,凸出部分具有较高的应力,避免在表面受到压强时发生挠度不足的情况。本申请利用了3D打印逐层累积固化的特点,通过各切片层中切片图案的逐层渐变实现打印后实体外轮廓的过渡斜面。When the embossed model formed by the method of this embodiment is printed as a solid embossed object, the protruding part has a high stress, so as to avoid insufficient deflection when the surface is subjected to pressure. The present application utilizes the feature of layer-by-layer accumulation and solidification of 3D printing, and realizes the transition slope of the outer contour of the printed entity through the gradual gradual change of the slice pattern in each slice layer.
在一个示例性的实施例中,可基于二维图案中轮廓线的各轮廓节点以及预设的升维参数进行面片化处理,得到三维的浮雕模型。In an exemplary embodiment, a three-dimensional relief model can be obtained by performing faceting processing based on each contour node of the contour line in the two-dimensional pattern and preset dimension-raising parameters.
应当理解,线条或形状等可通过多个节点之间的线段连接来描述。例如,可通过若干节点围设出一圆形的形状,并连接各相邻节点从而形成圆形,圆形轮廓的平滑度可取决于这些节点的数量,节点数量越多则轮廓精度越高,节点数量越少则轮廓精度越低。同理,二维图案中的每一轮廓线也可基于各轮廓节点之间的连接来描述。轮廓节点的数量越多,则轮廓线的精度越高,浮雕模型的表面精度越高;轮廓节点的数量越少,则轮廓线的精度越低,浮雕模型的表面精度越低。It should be understood that a line or a shape, etc. can be described by connecting a line segment between a plurality of nodes. For example, a circular shape can be formed by several nodes, and adjacent nodes can be connected to form a circle. The smoothness of the circular contour can depend on the number of these nodes. The more the number of nodes, the higher the contour accuracy. The smaller the number of nodes, the lower the contour accuracy. Similarly, each contour line in the two-dimensional pattern can also be described based on the connection between each contour node. The greater the number of contour nodes, the higher the accuracy of the contour line and the higher the surface accuracy of the relief model; the smaller the number of contour nodes, the lower the accuracy of the contour line and the lower the surface accuracy of the relief model.
在此,所述升维参数包括从二维转换成三维时所需的参数,其包括但不限于斜面角度、拉伸厚度、切片层数、切片厚度等。其中,所述斜面角度包括浮雕模型外轮廓的过渡斜面所对应的倾斜角度;所述拉伸厚度包括三维模型的厚度即Z轴方向上的尺寸;所述切片层数包括浮雕模型的切片层数量;所述切片厚度包括浮雕模型的切片层厚度。Here, the dimension-raising parameters include parameters required when converting from two-dimensional to three-dimensional, including but not limited to slope angle, stretch thickness, slice layer number, slice thickness, and the like. Wherein, the slope angle includes the slope angle corresponding to the transition slope of the outer contour of the relief model; the stretch thickness includes the thickness of the three-dimensional model, that is, the dimension in the Z-axis direction; the slice layer number includes the number of slice layers of the relief model ; The slice thickness includes the slice layer thickness of the relief model.
在一实施方式中,所述升维参数包括斜面角度。例如,在浮雕模型以二维图案为其顶面和底面的示例中,所述切片数据处理***首先根据二维图案生成顶面和底面,然后以顶面为基准,在预设的斜面角度参数下,生成与顶面相对应的底面,其中底面和顶面中具有相对应的各轮廓节点。将顶面和底面的轮廓线中 相对应的轮廓节点连接,再将其面片化,从而得到对应浮雕模型的三维数据。其中,所述面片化即包括通过三角面片和/或其他网格结构来描述三维模型。In one embodiment, the upscaling parameter includes a ramp angle. For example, in the example in which the relief model uses a two-dimensional pattern as its top surface and bottom surface, the slice data processing system first generates the top surface and the bottom surface according to the two-dimensional pattern, and then uses the top surface as a reference to determine the slope angle parameter at a preset angle. Next, a bottom surface corresponding to the top surface is generated, wherein the bottom surface and the top surface have corresponding contour nodes. Connect the corresponding contour nodes in the contour lines of the top and bottom surfaces, and then slice them to obtain the 3D data of the corresponding relief model. Wherein, the meshing includes describing the three-dimensional model through triangular meshes and/or other mesh structures.
在另一实施方式中,所述升维参数包括拉伸厚度。例如,在浮雕模型以二维图案为其顶面和底面的示例中,所述切片数据处理***首先根据二维图案生成不同大小的顶面和底面,则可以在顶面与底面之间确定拉伸厚度,从而确定顶面与底面之间的间距即浮雕模型的厚度,由于顶面和底面的面积已知,因此可基于此生成顶面与底面之间的过渡斜面。In another embodiment, the dimensional scaling parameter includes stretch thickness. For example, in an example in which the relief model uses a two-dimensional pattern as its top surface and bottom surface, the slice data processing system first generates top and bottom surfaces of different sizes according to the two-dimensional pattern, and then the tension between the top surface and the bottom surface can be determined. To determine the distance between the top surface and the bottom surface, that is, the thickness of the relief model, since the areas of the top surface and the bottom surface are known, the transition slope between the top surface and the bottom surface can be generated based on this.
在又一实施方式中,所述升维参数包括斜面角度和拉伸厚度。例如,将二维图案作为浮雕模型的顶面后,根据二维图案轮廓线中的各轮廓节点,基于斜面角度和拉伸厚度,确定各轮廓节点映射于底面的位置,由此得到底面的图案。将底面中的各轮廓节点连接,以及将顶面和底面中相应轮廓节点连接,再将该模型面片化,从而得到对应浮雕模型的三维数据。In yet another embodiment, the dimensional scaling parameters include bevel angle and draw thickness. For example, after taking the two-dimensional pattern as the top surface of the relief model, according to each contour node in the contour line of the two-dimensional pattern, based on the angle of the bevel and the extruded thickness, determine the position where each contour node is mapped to the bottom surface, thereby obtaining the pattern of the bottom surface . The contour nodes in the bottom surface are connected, and the corresponding contour nodes in the top surface and the bottom surface are connected, and then the model is sliced to obtain the three-dimensional data of the corresponding relief model.
在本实施方式的一示例中,请参阅图6a~图6d,其显示为本申请中生成浮雕模型的过程在一实施例中的示意图。In an example of the present embodiment, please refer to FIGS. 6 a to 6 d , which are schematic diagrams of an embodiment of the process of generating a relief model in the present application.
图6a显示为一二维图案,二维图案中的轮廓线上包括如图6b所示的多个轮廓节点:轮廓节点a、轮廓节点b、轮廓节点c、轮廓节点d、轮廓节点e、轮廓节点f、轮廓节点g、轮廓节点h。在此,将该二维图案作为浮雕模型的顶面,针对每一轮廓节点,基于预设的斜面角度和拉伸厚度可计算出拉伸后底面中对应的轮廓节点的位置,再将顶面轮廓线与底面轮廓线中对应的轮廓节点连接。如图6c所示,以a点为例,基于斜面角度α以及拉伸厚度t,轮廓节点a可找到对应的轮廓节点a',如此遍历各轮廓节点后,即可得到顶面中的各轮廓节点对应于底面中各轮廓节点的位置。基于顶面中各轮廓节点的位置关系,将底面中的各轮廓节点对应连接,即可得到底面的图案。同时,将顶面与底面中相对应的各轮廓节点连接,例如连接轮廓节点a与轮廓节点a',并同理连接其他相应轮廓节点,最后进行面片化处理,如图6d所示,即可得到浮雕模型的三维数据。Fig. 6a shows a two-dimensional pattern, and the contour line in the two-dimensional pattern includes a plurality of contour nodes as shown in Fig. 6b: contour node a, contour node b, contour node c, contour node d, contour node e, contour node Node f, contour node g, contour node h. Here, the two-dimensional pattern is used as the top surface of the relief model. For each contour node, the position of the corresponding contour node in the bottom surface after stretching can be calculated based on the preset slope angle and the stretching thickness. The contour lines are connected with the corresponding contour nodes in the bottom surface contour lines. As shown in Figure 6c, taking point a as an example, based on the slope angle α and the stretching thickness t, the contour node a can find the corresponding contour node a'. After traversing the contour nodes, the contours on the top surface can be obtained. The nodes correspond to the positions of each contour node in the bottom surface. Based on the positional relationship of each contour node in the top surface, each contour node in the bottom surface is correspondingly connected to obtain the pattern of the bottom surface. At the same time, the corresponding contour nodes in the top surface and the bottom surface are connected, for example, the contour node a and the contour node a' are connected, and other corresponding contour nodes are connected in the same way, and finally the faceting process is performed, as shown in Figure 6d, that is, Three-dimensional data of the relief model can be obtained.
在再一实施方式中,一些三维软件中还可实现直接拉伸二维图案的方式形成三维模型。例如,在通过二维图案确定了浮雕模型的顶面后,通过向下拉伸顶面并设置底面的大小,从而形成外轮廓具有过渡斜面的浮雕模型。In yet another embodiment, some 3D software can also realize the way of directly stretching the 2D pattern to form the 3D model. For example, after the top surface of the relief model is determined by a two-dimensional pattern, the relief model with a transition slope in the outer contour is formed by stretching the top surface downward and setting the size of the bottom surface.
在一些情况下,对于二维图案中轮廓线接近的部分,在生成斜面时可能会发生结构拼接,影响浮雕的呈现效果。例如,请参阅图7,其显示为本申请中的二维图案在又一实施方式中的示意图。如图所示,在图7中包括两个位置相对接近的圆,虽然在二维图案中两个圆彼此不连接,但在通过该二维图案生成浮雕模型的过程中,为对两个圆的轮廓生成过渡斜面,二维图案中的轮廓会呈现逐渐变大的趋势,故在浮雕模型切片层中的后几层该两圆的外轮廓可能会发生拼接。In some cases, for the part of the two-dimensional pattern where the contour lines are close, structural splicing may occur when generating the bevel, which affects the rendering effect of the relief. For example, please refer to FIG. 7 , which shows a schematic diagram of the two-dimensional pattern in the present application in yet another embodiment. As shown in the figure, FIG. 7 includes two circles that are relatively close to each other. Although the two circles are not connected to each other in the two-dimensional pattern, in the process of generating the relief model from the two-dimensional pattern, the two circles are not connected to each other. The contour of the 2D pattern generates a transition slope, and the contour in the two-dimensional pattern will show a trend of gradually increasing, so the outer contours of the two circles may be spliced in the later layers of the embossed model slice layer.
故在一个示例性的实施例中,所述切片数据处理***还根据各轮廓线间的位置关系确定浮雕模型中对 应该轮廓线的位置处过渡斜面的斜率。Therefore, in an exemplary embodiment, the slice data processing system further determines the slope of the transition slope at the position corresponding to the contour line in the relief model according to the positional relationship between the contour lines.
在此,切片数据处理***基于二维图案中各轮廓线之间的位置关系,确定欲生成的浮雕模型中对应该轮廓线的位置处过渡斜面的斜率,以使位置相近的封闭曲线至少在浮雕模型的前几层中不会发生结构的拼接。例如,浮雕模型中具有对应于二维图案中多个封闭曲线的外轮廓,可对各外轮廓中相对距离小于一距离阈值的外轮廓进行过渡斜面斜率的调整,使得该外轮廓处的斜面至少在浮雕模型的前几层中与其他外轮廓的斜面不互相影响。或者,也可使该外轮廓中可能会与其他外轮廓发生拼接之处的斜率比其他部分的过渡斜面斜率低,而该外轮廓的其他部分斜率仍然不变,从而至少在浮雕模型的前几层中与其他外轮廓的斜面不互相影响。其中,所述斜率的调整包括将斜率调整为0,例如当认为该外轮廓可能与其他外轮廓互相影响时,切片数据处理***也可将浮雕模型对应该外轮廓处不设置过渡斜面,即斜率为0。Here, the slice data processing system determines the slope of the transition slope at the position corresponding to the contour line in the relief model to be generated based on the positional relationship between the contour lines in the two-dimensional pattern, so that closed curves with similar positions are at least in the relief model. Splicing of structures does not occur in the first few layers of the model. For example, the relief model has outer contours corresponding to multiple closed curves in the two-dimensional pattern, and the slope of the transition slope can be adjusted for the outer contour whose relative distance is less than a distance threshold in each outer contour, so that the slope at the outer contour is at least It does not interact with the bevels of other outer contours in the first layers of the relief model. Alternatively, the slope where the outer contour may be spliced with other outer contours can be made lower than the slope of the transition slope of other parts, while the slope of other parts of the outer contour remains unchanged, so that at least the first few parts of the relief model The bevels in the layer and other outer contours do not interact with each other. Wherein, the adjustment of the slope includes adjusting the slope to 0. For example, when it is considered that the outer contour may interact with other outer contours, the slice data processing system may also set the relief model corresponding to the outer contour without setting a transition slope, that is, the slope is 0.
在一个示例性的实施方式中,请继续参阅图1,在步骤S130中,对浮雕模型切片处理以得到对应于各切片层的切片数据。In an exemplary embodiment, please continue to refer to FIG. 1 , in step S130, the relief model is sliced to obtain slice data corresponding to each slice layer.
在此,对步骤S120中得到的浮雕模型依据设定的切片参数进行切片处理后,得到浮雕模型的切片数据。所述切片参数包括但不限于切片层数量、切片厚度等。所述切片数据中包括了各切片层中的切片图案,3D打印设备在打印过程中依据各切片图案打印出的打印层逐层固化累积后即可形成对应于浮雕模型的浮雕实体产品。Here, after slicing the relief model obtained in step S120 according to the set slicing parameters, slice data of the relief model is obtained. The slice parameters include, but are not limited to, the number of slice layers, slice thickness, and the like. The slicing data includes slicing patterns in each slicing layer, and the 3D printing equipment can form a relief entity product corresponding to the relief model after the printing layers printed according to each slicing pattern are solidified and accumulated layer by layer during the printing process.
其中,切片的方式可以是横向切片也可以是纵向切片,操作人员可根据实际需求而配置切片方式。The slicing method may be horizontal slicing or vertical slicing, and the operator can configure the slicing method according to actual needs.
在一些情况下,所需要的3D打印实体物件中除了基于浮雕模型打印后对应的浮雕构件外,还包括基座部分,一方面基座部分可作为浮雕构件的支撑底座,另一方面基座部分还可用于将浮雕构件安装到其他部件中或便于使用。例如,当浮雕模型为***时,在一些情况下,为便于***的使用,会将打印出的浮雕构件安装到***座中。在此,通过在浮雕构件上添加基座部分,可使具有基座的浮雕构件相对于仅有浮雕构件而言更易于被安装至***座中以便使用。In some cases, the required 3D printed solid object includes a base part in addition to the corresponding relief member after printing based on the relief model. On the one hand, the base part can be used as a support base for the relief member; on the other hand, the base part Can also be used to install relief components into other parts or for ease of use. For example, when the embossed model is a stamp, in some cases, in order to facilitate the use of the stamp, the printed embossed member is installed in the stamp holder. Here, by adding a base portion to the embossed member, the embossed member with the base can be made easier to fit into the stamp holder for use than the embossed member alone.
为此,在一实施例中,所述切片数据处理***还生成基座模型,该基座模型靠近浮雕模型中面积更大的一侧面。例如,在浮雕模型的顶面面积较小、底面面积较大的实施例中,基座模型靠近浮雕模型的底面。请参阅图5d,其显示为在本申请图5c的浮雕模型中添加基座模型在一实施例中的示意图,如图所示,在图5c生成的浮雕模型53的基础上,于浮雕模型的底面还添加有基座模型54。在另一实施例中,所述基座模型还可能预设在切片数据处理***中,切片数据处理***无需每次单独生成基座模型,只需通过选择性操作将基座模型添加于浮雕模型中。To this end, in one embodiment, the slicing data processing system further generates a pedestal model, the pedestal model being close to the side of the relief model with a larger area. For example, in embodiments where the top surface area of the relief model is smaller and the bottom surface area is larger, the base model is adjacent to the bottom surface of the relief model. Please refer to FIG. 5d, which is a schematic diagram of adding a base model to the relief model of FIG. 5c of the present application in one embodiment. As shown in the figure, on the basis of the relief model 53 generated in FIG. A base model 54 is also added to the underside. In another embodiment, the base model may also be preset in the slice data processing system. The slice data processing system does not need to generate the base model separately each time, but only needs to add the base model to the relief model through selective operations. middle.
其中,基座模型可在浮雕模型切片之前被添加到浮雕模型中,从而在切片时同时对基座模型和浮雕模型切片。或者,基座模型也可在浮雕模型切片之后生成,在对基座模型切片后,将基座模型的切片数据与浮雕模型的切片数据整合。Among them, the base model can be added to the relief model before the relief model is sliced, so that the base model and the relief model are sliced at the same time when slicing. Alternatively, the base model may also be generated after slicing the relief model, and after slicing the base model, the slice data of the base model and the slice data of the relief model are integrated.
在一个示例性的实施例中,请参阅图8,其显示为本申请中的切片数据处理***的功能模块在一实施例中的示意图。切片数据处理***80包括第一通信模块801和第一处理模块802,第一通信模块801用以获取浮雕模型对应的二维图案,第一处理模块802用以基于所述二维图案的轮廓线生成浮雕模型,其中,所述浮雕模型中各目标区域的外轮廓在Z向具有过渡斜面。并且,第一处理模块802对浮雕模型切片处理以得到对应于各切片层的切片数据。In an exemplary embodiment, please refer to FIG. 8 , which shows a schematic diagram of functional modules of the slice data processing system in the present application in an embodiment. The slice data processing system 80 includes a first communication module 801 and a first processing module 802. The first communication module 801 is used to obtain a two-dimensional pattern corresponding to the relief model, and the first processing module 802 is used to obtain a contour line based on the two-dimensional pattern. A relief model is generated, wherein the outer contour of each target area in the relief model has a transition slope in the Z direction. And, the first processing module 802 slices the relief model to obtain slice data corresponding to each slice layer.
在一实施方式中,在第一处理模块处理得到切片数据后,所述切片数据处理***还通过第一通信模块801将切片数据发送给3D设备。In one embodiment, after the first processing module processes and obtains the slice data, the slice data processing system further sends the slice data to the 3D device through the first communication module 801 .
示例性地,所述第一处理模块基于所述二维图案的轮廓线,生成浮雕模型的步骤包括:基于所述轮廓线中的轮廓节点以及预设的升维参数进行面片化处理,以得到所述浮雕模型。Exemplarily, the first processing module is based on the contour of the two-dimensional pattern, and the step of generating the relief model includes: performing faceting processing based on contour nodes in the contour and preset dimension-raising parameters to The relief model is obtained.
示例性地,所述升维参数包括斜面角度和拉伸厚度中的至少一个。Exemplarily, the dimension-raising parameter includes at least one of a bevel angle and a stretch thickness.
示例性地,所述轮廓节点是第一处理模块基于浮雕模型的表面精度而确定的。Exemplarily, the contour node is determined by the first processing module based on the surface accuracy of the relief model.
示例性地,还包括基座模型,所述第一处理模块对基座模型和浮雕模型切片处理得到分别对应于基座模型和浮雕模型各切片层的切片数据;其中,基座模型的切片层与浮雕模型底面的切片层相邻。Exemplarily, it also includes a base model, and the first processing module slices the base model and the relief model to obtain slice data corresponding to the slice layers of the base model and the relief model respectively; wherein, the slice layers of the base model are Adjacent to the slice layer on the underside of the embossed model.
示例性地,所述第一通信模块获取二维位图,所述第一处理模块将获取的二维位图转换为矢量格式的二维图案。Exemplarily, the first communication module acquires a two-dimensional bitmap, and the first processing module converts the acquired two-dimensional bitmap into a two-dimensional pattern in a vector format.
示例性地,所述第一处理模块基于所述二维图案中的各封闭曲线确定所述二维图案的轮廓线。Exemplarily, the first processing module determines the contour of the two-dimensional pattern based on each closed curve in the two-dimensional pattern.
示例性地,所述目标区域是基于各轮廓线所限定的区域面积来确定的。Exemplarily, the target area is determined based on the area of the area defined by each contour line.
示例性地,所述第一处理模块还根据各轮廓线之间的位置关系确定浮雕模型中对应该轮廓线的位置处过渡斜面的斜率。Exemplarily, the first processing module further determines the slope of the transition slope at the position corresponding to the contour line in the relief model according to the positional relationship between the contour lines.
需说明的是,所述切片数据处理***的原理与前述实施例中的切片数据处理方法基本相同,因此,前述实施例中的技术特征可应用在本实施例中,故不再对已描述的技术细节进行重复赘述。It should be noted that the principle of the slice data processing system is basically the same as that of the slice data processing method in the foregoing embodiment. Therefore, the technical features in the foregoing embodiment can be applied in this embodiment, so the description of the above-mentioned embodiments will not be described. The technical details are repeated.
在图1所示的实施例中,是通过先生成浮雕模型再切片的方式得到切片数据。在还有一些实施方式中,可直接通过二维图案生成切片数据。In the embodiment shown in FIG. 1 , slice data is obtained by first generating a relief model and then slicing. In still other embodiments, slice data can be generated directly from a two-dimensional pattern.
在一个示例性的实施例中,请参阅图2,其显示为本申请中的切片数据处理方法在另一实施例中的示意图。In an exemplary embodiment, please refer to FIG. 2 , which is a schematic diagram of another embodiment of the slice data processing method in the present application.
如图所示,在步骤S210中,获取浮雕模型对应的二维图案。As shown in the figure, in step S210, a two-dimensional pattern corresponding to the relief model is obtained.
在此,步骤S210与步骤S110中获取二维图案的方法相似,故在此不再赘述。Here, step S210 is similar to the method for acquiring a two-dimensional pattern in step S110, so it is not repeated here.
在步骤S220中,基于所述二维图案的轮廓线,生成多个切片层,并对各切片层赋值以得到对应于各切片层的切片数据;其中,所述多个切片层在Z向叠加后可形成所述浮雕模型,且所述浮雕模型中目标区域的外轮廓在Z向具有过渡斜面。In step S220, multiple slice layers are generated based on the outline of the two-dimensional pattern, and values are assigned to each slice layer to obtain slice data corresponding to each slice layer; wherein, the multiple slice layers are superimposed in the Z direction Then, the relief model can be formed, and the outer contour of the target area in the relief model has a transition slope in the Z direction.
在此,所述赋值包括但不限于切片层的厚度、切片层的序号、切片层的切片图案等。由于浮雕中目标区域的外轮廓在Z向具有过渡斜面,因此各切片层的切片图案可逐层渐变,为此,切片数据处理***基于二维图案生成多个切片层后,通过对各切片层赋值以确定各切片层的切片图案、层厚、位置等信息,以便3D打印设备基于此打印出对应的浮雕物件。Here, the assignment includes, but is not limited to, the thickness of the slicing layer, the serial number of the slicing layer, the slicing pattern of the slicing layer, and the like. Since the outer contour of the target area in the relief has a transition slope in the Z direction, the slicing pattern of each slicing layer can be gradually changed. Assign the value to determine the slice pattern, layer thickness, position and other information of each slice layer, so that the 3D printing device can print the corresponding relief object based on this.
其中,浮雕模型中轮廓线、目标区域等的确认方法亦与图1对应的各实施例中相似,在此不再赘述。The methods for confirming contour lines, target areas, etc. in the relief model are also similar to those in the embodiments corresponding to FIG. 1 , and will not be repeated here.
在一个示例性的实施方式中,所述对各切片层赋值的步骤包括:对每一切片层设置切片序号、切片厚度以及每一切片层的轮廓的偏移值。In an exemplary embodiment, the step of assigning value to each slice layer includes: setting a slice sequence number, slice thickness and an offset value of the contour of each slice layer for each slice layer.
其中,设置切片厚度后可基于切片厚度确定切片层的总数;设置切片序号包括对每一切片层确定相对的位置顺序;设置每一切片层的轮廓的偏移值包括定义每一切片层中轮廓所处的位置,应当理解,为达到浮雕中目标区域的外轮廓在Z向具有过渡斜面的效果,各切片层中二维图案的大小不同,相当于将二维图案中的各像素进行偏移,以使各切片层在Z向叠加后可形成所述浮雕模型,且所述浮雕模型中目标区域的外轮廓在Z向具有过渡斜面。Wherein, after setting the slice thickness, the total number of slice layers can be determined based on the slice thickness; setting the slice sequence number includes determining the relative position sequence for each slice layer; setting the offset value of the contour of each slice layer includes defining the contour in each slice layer It should be understood that in order to achieve the effect that the outer contour of the target area in the relief has a transition slope in the Z direction, the size of the two-dimensional pattern in each slice layer is different, which is equivalent to offsetting each pixel in the two-dimensional pattern. , so that the relief model can be formed after each slice layer is superimposed in the Z direction, and the outer contour of the target area in the relief model has a transition slope in the Z direction.
在一实施方式中,可先生成首尾切片层,再在首尾切片层之间生成其余切片层。例如,可根据所述二维图案的轮廓线生成首个切片层中的切片图案,然后基于预设的比例偏移首个切片层中各轮廓的像素以生成末尾切片层中的切片图案,再在首个切片层和末尾切片层之间添加若干切片层,以使各切片层的轮廓之间在Z向形成渐变的过渡斜面。请参阅图3c,其显示为本申请中基于二维图案的轮廓线生成各切片层在一实施方式中的示意图,在此,切片数据处理***基于图3a所示的二维图案生成首个切片层31后,基于预设的比例偏移首个切片层中各轮廓的像素以生成末尾切片层中的切片图案32,再在首个切片层和末尾切片层之间添加若干切片层,以使各切片层的轮廓之间在Z向形成渐变的过渡斜面。In one embodiment, the head and tail slice layers may be generated first, and then the remaining slice layers are generated between the head and tail slice layers. For example, the slicing pattern in the first slicing layer can be generated according to the contour line of the two-dimensional pattern, and then the pixels of each contour in the first slicing layer can be shifted based on a preset ratio to generate the slicing pattern in the last slicing layer, and then the slicing pattern in the last slicing layer can be generated. Add several slice layers between the first slice layer and the last slice layer, so that the outline of each slice layer forms a gradual transition slope in the Z direction. Please refer to FIG. 3c, which is a schematic diagram of generating each slice layer based on the contour lines of the two-dimensional pattern in the present application in one embodiment. Here, the slice data processing system generates the first slice based on the two-dimensional pattern shown in FIG. 3a. After layer 31, the pixels of each contour in the first slice layer are shifted based on the preset ratio to generate the slice pattern 32 in the last slice layer, and then several slice layers are added between the first slice layer and the last slice layer to make the slice pattern 32 in the last slice layer. A gradual transition slope is formed between the contours of each slice layer in the Z direction.
在另一实施方式中,还可先生成首个切片层,再由自上而下或自下而上的方式生成其余切片层。例如,可根据所述二维图案的轮廓线生成首个切片层,再根据预设的比例逐层偏移首个切片层中各轮廓的像素以生成其余切片层的切片层,以使各切片层的轮廓之间在Z向形成渐变的过渡斜面。In another embodiment, the first slicing layer may be generated first, and then the remaining slicing layers may be generated in a top-down or bottom-up manner. For example, the first slice layer can be generated according to the outline of the two-dimensional pattern, and then the pixels of each outline in the first slice layer can be shifted layer by layer according to a preset ratio to generate slice layers of the remaining slice layers, so that each slice The contours of the layers form gradual transition slopes in the Z direction.
在一些情况下,所需要的3D打印实体物件中除了基于浮雕模型打印后对应的浮雕构件外,还包括基座部分,一方面基座部分可作为浮雕构件的支撑底座,另一方面基座部分还可用于将浮雕构件安装到其他部件中或便于使用。例如,当浮雕模型为***时,在一些情况下,为便于***的使用,会将打印出的浮雕构件安装到***座中。在此,通过在浮雕构件上添加基座部分,可使具有基座的浮雕构件相对于仅有浮雕构件而言更易于被安装至***座中以便使用。In some cases, the required 3D printed solid object includes a base part in addition to the corresponding relief member after printing based on the relief model. On the one hand, the base part can be used as a support base for the relief member; on the other hand, the base part Can also be used to install relief components into other parts or for ease of use. For example, when the embossed model is a stamp, in some cases, in order to facilitate the use of the stamp, the printed embossed member is installed in the stamp holder. Here, by adding a base portion to the embossed member, the embossed member with the base can be made easier to fit into the stamp holder for use than the embossed member alone.
为此,在一实施例中,所述切片数据处理***还生成基座模型的切片层,所述基座模型的切片层与浮雕模型的切片层中切片图案面积最大的切片层相邻。To this end, in one embodiment, the slicing data processing system further generates a slicing layer of the base model, and the slicing layer of the base model is adjacent to the slicing layer with the largest slice pattern area among the slicing layers of the relief model.
需要说明的是,为便于描述,虽然在本发明的各实施例中均以***作为实施例,但本领域人员通过本 申请中的描述应当可以应用在其他的浮雕模型中,例如工艺雕刻品等,并同样能够实现增强工艺雕刻品结构应力的作用。It should be noted that, for the convenience of description, although a seal is used as an example in each embodiment of the present invention, those skilled in the art should be able to apply the description in this application to other relief models, such as craft sculptures, etc. , and can also achieve the effect of enhancing the structural stress of the craft sculpture.
在一个示例性的实施例中,请参阅图9,其显示为本申请中的切片数据处理***的功能模块在另一实施例中的示意图。切片数据处理***90包括第二通信模块901和第二处理模块902,第二通信模块901用以获取浮雕模型对应的二维图案,第二处理模块902用以基于所述二维图案的轮廓线,生成多个切片层,并对各切片层赋值以得到对应于各切片层的切片数据;其中,所述多个切片层在Z向叠加后可形成所述浮雕模型,且所述浮雕模型中目标区域的外轮廓在Z向具有过渡斜面。In an exemplary embodiment, please refer to FIG. 9 , which shows a schematic diagram of functional modules of the slice data processing system in the present application in another embodiment. The slice data processing system 90 includes a second communication module 901 and a second processing module 902. The second communication module 901 is used to obtain a two-dimensional pattern corresponding to the relief model, and the second processing module 902 is used to obtain a contour line based on the two-dimensional pattern. , generate multiple slice layers, and assign values to each slice layer to obtain slice data corresponding to each slice layer; wherein, the multiple slice layers can form the relief model after being superimposed in the Z direction, and in the relief model The outer contour of the target area has a transition slope in the Z direction.
在一实施方式中,在第二处理模块处理得到切片数据后,所述切片数据处理***还通过第二通信模块901将切片数据发送给3D设备。In one embodiment, after the slice data is obtained by the second processing module, the slice data processing system further sends the slice data to the 3D device through the second communication module 901 .
示例性地,所述第二处理模块对每一切片层设置切片序号、切片厚度以及每一切片层的轮廓的偏移值。Exemplarily, the second processing module sets a slice sequence number, slice thickness, and an offset value of the contour of each slice layer for each slice layer.
示例性地,所述第二通信模块获取二维位图,所述第二处理模块将获取的二维位图转换为矢量格式的二维图案。Exemplarily, the second communication module acquires a two-dimensional bitmap, and the second processing module converts the acquired two-dimensional bitmap into a two-dimensional pattern in a vector format.
示例性地,所述第二处理模块基于所述二维图案中的各封闭曲线确定所述二维图案的轮廓线。Exemplarily, the second processing module determines the contour of the two-dimensional pattern based on each closed curve in the two-dimensional pattern.
示例性地,所述目标区域是基于各轮廓线所限定的区域面积来确定的。Exemplarily, the target area is determined based on the area of the area defined by each contour line.
示例性地,所述第二处理模块还用以生成对应于基座模型的切片层的步骤。Exemplarily, the second processing module is further configured to generate a slice layer corresponding to the base model.
需说明的是,所述切片数据处理***的原理与前述图2对应的实施例中的切片数据处理方法基本相同,因此,前述实施例中的技术特征可应用在本实施例中,故不再对已描述的技术细节进行重复赘述。It should be noted that the principle of the slice data processing system is basically the same as the slice data processing method in the embodiment corresponding to FIG. 2 . Therefore, the technical features in the foregoing embodiment can be applied in this embodiment, so no The technical details already described are repeated.
本申请还提供一种浮雕模型的3D打印方法,所述3D打印方法通过3D打印设备来执行。具体地说,3D打印设备在获取了浮雕模型的打印数据后,基于所述打印数据,令3D打印设备逐层打印所述浮雕模型的各切片层,以得到对应于各切片层的固化层,并经由各所述固化层逐层累积后得到对应于所述浮雕模型的3D构件。其中,打印数据可根据图1或图2所对应的实施方式中的切片数据处理方法得到,因此基于该打印数据打印出的浮雕中各目标区域的外轮廓在Z向具有过渡斜面。在一些情况下,在三维模型中包括了浮雕模型和基座模型的实施例中,打印出的3D构件中除了浮雕部分外还包括基座部分。The present application also provides a 3D printing method of a relief model, the 3D printing method being performed by a 3D printing device. Specifically, after the 3D printing device obtains the printing data of the relief model, based on the printing data, the 3D printing device prints each sliced layer of the relief model layer by layer, so as to obtain a solidified layer corresponding to each sliced layer, And the 3D component corresponding to the relief model is obtained after each solidified layer is accumulated layer by layer. The print data can be obtained according to the slice data processing method in the embodiment corresponding to FIG. 1 or FIG. 2 , so the outer contour of each target area in the relief printed based on the print data has a transition slope in the Z direction. In some cases, in embodiments where a relief model and a base model are included in the three-dimensional model, the printed 3D component includes the base portion in addition to the relief portion.
所述3D打印设备可以是任意的打印设备,并基于生成的切片数据打印得到对应于浮雕模型的浮雕。例如,所述3D打印设备可以为SLA、DLP、SLS、SLM、FDM打印设备等。The 3D printing device may be any printing device, and prints the relief corresponding to the relief model based on the generated slice data. For example, the 3D printing equipment may be SLA, DLP, SLS, SLM, FDM printing equipment and the like.
在采用顶面曝光的3D打印中,通常打印面预设在待固化材料与空气的分界面,完成一层固化后由Z轴驱动机构带动构件平台和附着其上的固化层下降,以填充形成新的预打印层。以此类推,经过多次填充、照射,各固化层累积在构件板上以得到3D物件。以基于顶面曝光的SLA(Stereo lithography Apparatus,立体光固化成型)设备为例,其能量辐射装置其能量辐射装置包括激光发射器、位于所述激光发射器射出光路上的透镜组和位于所述透镜组出光侧的振镜组、以及控制振镜的电机等,其中,所述激光发射器受控 的调整输出激光束的能量,激光发射器可以受控地发射预设功率的激光束以及停止发射该激光束,所述激光发射器也可以受控地提高激光束的功率以及降低激光束的功率。所述透镜组用以调整激光束的聚焦位置,所述振镜组用以受控地将激光束在所述容器底面或顶面的二维空间内扫描,经所述光束扫描的光固化材料被固化成对应的图案固化层。In 3D printing using top surface exposure, the printing surface is usually preset at the interface between the material to be cured and the air. After a layer of curing is completed, the Z-axis drive mechanism drives the component platform and the cured layer attached to it to descend to fill the form. New pre-printed layers. By analogy, after multiple fillings and irradiations, each cured layer is accumulated on the component plate to obtain a 3D object. Taking the SLA (Stereo lithography Apparatus, stereo light curing molding) equipment based on top surface exposure as an example, its energy radiation device includes a laser transmitter, a lens group located on the outgoing light path of the laser transmitter, and a The galvanometer group on the light-emitting side of the lens group, and the motor that controls the galvanometer, etc., wherein the laser transmitter is controlled to adjust the energy of the output laser beam, and the laser transmitter can controllably emit a laser beam of preset power and stop Emitting the laser beam, the laser transmitter can also controllably increase the power of the laser beam and reduce the power of the laser beam. The lens group is used to adjust the focus position of the laser beam, and the galvanometer group is used to scan the laser beam in the two-dimensional space of the bottom or top surface of the container in a controlled manner, and the light-cured material scanned by the beam is cured into a corresponding pattern cured layer.
又如常见的采用顶面曝光DLP(Digital Light Procession,数字光处理,简称DLP)设备,其能量辐射装置位于容器上方并向容器内的待固化材料表面进行投影以形成相应图案的固化层。所述能量辐射装置包括DMD芯片、控制器和存储模块等。其中,所述存储模块中存储将3D物件模型分层的分层图像。所述DMD芯片在接受到控制器的控制信号后将对应分层图像上各像素的光源照射到待固化材料表面。其中,DMD芯片外观看起来只是一小片镜子,被封装在金属与玻璃组成的密闭空间内,事实上,这面镜子是由数十万乃至上百万个微镜所组成的,每一个微镜代表一个像素,所投影的图像就由这些像素所构成。DMD芯片可被简单描述成为对应像素点的半导体光开关和微镜片,所述控制器通过控制DMD芯片中各光开关来允许/禁止各微晶片反射光,由此将相应分层图像照射到光固化材料表面,使得对应图像形状的光固化材料被固化,以得到图案化的固化层。Another example is the common use of top surface exposure DLP (Digital Light Procession, digital light processing, DLP for short) equipment, and its energy radiation device is located above the container and projects the surface of the material to be cured in the container to form a corresponding pattern of cured layers. The energy radiation device includes a DMD chip, a controller, a storage module, and the like. Wherein, the storage module stores layered images of layered 3D object models. After the DMD chip receives the control signal from the controller, the light source corresponding to each pixel on the layered image is irradiated to the surface of the material to be cured. Among them, the appearance of the DMD chip is just a small mirror, which is encapsulated in a closed space composed of metal and glass. In fact, this mirror is composed of hundreds of thousands or even millions of micromirrors, each micromirror Represents a pixel from which the projected image is constructed. The DMD chip can be simply described as a semiconductor optical switch and a micro-mirror corresponding to a pixel point, the controller allows/forbids each micro-chip to reflect light by controlling each optical switch in the DMD chip, thereby irradiating the corresponding layered image to the light The surface of the material is cured so that the photo-curable material corresponding to the shape of the image is cured to obtain a patterned cured layer.
再如选择性激光烧结SLS,其是利用红外激光烧结粉末。计算机将物体的三维数据转化为一层层截面的2D数据并传输给打印机,打印机控制激光在铺设好的粉末上方选择性地对粉末进行照射,激光能量被选区内的粉末吸收并转换为热能,加热到烧结温度的粉末颗粒间接触界面扩大、气孔缩小、致密化程度提高,然后冷却凝固变成致密、坚硬的烧结体,加工成当前层。后续,将新的一层粉末铺撒在已烧结的当前层之上,设备调入新一层截面的数据进行加工,与前一层截面粘结,此程逐层循环直至整个物体成型。Another example is selective laser sintering SLS, which uses infrared lasers to sinter powder. The computer converts the 3D data of the object into 2D data of layer-by-layer cross-section and transmits it to the printer. The printer controls the laser to selectively irradiate the powder above the laid powder. The laser energy is absorbed by the powder in the selected area and converted into heat energy. The contact interface between the powder particles heated to the sintering temperature is enlarged, the pores are reduced, and the densification degree is increased, and then cooled and solidified into a dense and hard sintered body, which is processed into the current layer. Afterwards, a new layer of powder is spread on top of the sintered current layer, and the equipment transfers the data of the section of the new layer for processing, and bonds with the section of the previous layer. This process is cycled layer by layer until the entire object is formed.
当然,无论是哪种类型的打印设备,均需要依据前处理所获得的切片数据来执行打印任务。所述切片数据即包括对打印物件所对应的三维模型切片后各切片层的数据,3D打印设备在逐层打印的过程中,分别读取各切片层对应的切片数据,控制光机、构件平台等机构协同工作,以得到逐层累积固化后的打印物件。Of course, no matter what type of printing device it is, the printing task needs to be executed according to the slice data obtained by the preprocessing. The slice data includes the data of each slice layer after slicing the 3D model corresponding to the printed object. In the process of layer-by-layer printing, the 3D printing device reads the slice data corresponding to each slice layer, and controls the optical machine and component platform. And other institutions work together to obtain printed objects that are accumulated and cured layer by layer.
另外,本申请中的切片数据处理方法如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。In addition, if the slice data processing method in the present application is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
于本申请提供的实施例中,所述计算机可读写存储介质可以包括只读存储器、随机存取存储器、EEPROM、CD-ROM或其它光盘存储装置、磁盘存储装置或其它磁存储设备、闪存、U盘、移动硬盘、或者能够用于存储具有指令或数据结构形式的期望的程序代码并能够由计算机进行存取的任何其它介质。另外,任何连接都可以适当地称为计算机可读介质。例如,如果指令是使用同轴电缆、光纤光缆、双绞线、数字订户线(DSL)或者诸如红外线、无线电和微波之类的无线技术,从网站、服务器或其它远程源发送的,则所述同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线电和微波之类的无线技术包括在所 述介质的定义中。然而,应当理解的是,计算机可读写存储介质和数据存储介质不包括连接、载波、信号或者其它暂时性介质,而是旨在针对于非暂时性、有形的存储介质。如申请中所使用的磁盘和光盘包括压缩光盘(CD)、激光光盘、光盘、数字多功能光盘(DVD)、软盘和蓝光光盘,其中,磁盘通常磁性地复制数据,而光盘则用激光来光学地复制数据。In the embodiments provided in this application, the computer readable and writable storage medium may include read-only memory, random access memory, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory, A USB stick, a removable hard disk, or any other medium that can be used to store the desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the instructions are sent from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave Coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are instead intended to be non-transitory, tangible storage media. Disk and disc, as used in the application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and blu-ray disc, where disks usually reproduce data magnetically, while discs use lasers to optically reproduce data replicate the data.
在一个或多个示例性方面,本申请所述方法的计算机程序所描述的功能可以用硬件、软件、固件或其任意组合的方式来实现。当用软件实现时,可以将这些功能作为一个或多个指令或代码存储或传送到计算机可读介质上。本申请所公开的方法或算法的步骤可以用处理器可执行软件模块来体现,其中处理器可执行软件模块可以位于有形、非临时性计算机可读写存储介质上。有形、非临时性计算机可读写存储介质可以是计算机能够存取的任何可用介质。In one or more exemplary aspects, the functions described by the computer programs of the methods described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. The steps of the methods or algorithms disclosed herein may be embodied in processor-executable software modules, where the processor-executable software modules may reside on a tangible, non-transitory computer readable and writable storage medium. Tangible, non-transitory computer-readable storage media can be any available media that can be accessed by a computer.
本申请上述的附图中的流程图和框图,图示了按照本申请各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。基于此,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这根据所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以通过执行规定的功能或操作的专用的基于硬件的***来实现,或者可以通过专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the above-described figures of the present application illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Based on this, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which contains one or more possible functions for implementing the specified logical function(s) Execute the instruction. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by dedicated hardware-based systems that perform the specified functions or operations , or can be implemented by a combination of dedicated hardware and computer instructions.
上述实施例仅例示性说明本申请的原理及其功效,而非用于限制本申请。任何熟悉此技术的人士皆可在不违背本申请的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本申请所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本申请的权利要求所涵盖。The above-mentioned embodiments merely illustrate the principles and effects of the present application, but are not intended to limit the present application. Anyone skilled in the art can make modifications or changes to the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed in this application should still be covered by the claims of this application.

Claims (26)

  1. 一种浮雕模型的切片数据处理方法,其特征在于,包括以下步骤:A method for processing slice data of a relief model, comprising the following steps:
    获取浮雕模型对应的二维图案;Obtain the two-dimensional pattern corresponding to the relief model;
    基于所述二维图案的轮廓线,生成浮雕模型;其中,所述浮雕模型中各目标区域的外轮廓在Z向具有过渡斜面;Based on the outline of the two-dimensional pattern, a relief model is generated; wherein, the outer contour of each target area in the relief model has a transition slope in the Z direction;
    对浮雕模型切片处理以得到对应于各切片层的切片数据。The relief model is sliced to obtain slice data corresponding to each slice layer.
  2. 根据权利要求1所述的浮雕模型的切片数据处理方法,其特征在于,所述基于所述二维图案的轮廓线,生成浮雕模型的步骤包括:基于所述轮廓线中的轮廓节点以及预设的升维参数进行面片化处理,以得到所述浮雕模型。The method for processing slice data of a relief model according to claim 1, wherein the step of generating the relief model based on the outline of the two-dimensional pattern comprises: based on the outline nodes in the outline and a preset The ascending dimension parameters of , are faceted to obtain the relief model.
  3. 根据权利要求2所述的浮雕模型的切片数据处理方法,其特征在于,所述升维参数包括斜面角度和拉伸厚度中的至少一个。The method for processing slice data of a relief model according to claim 2, wherein the dimension-raising parameter includes at least one of a bevel angle and an extruded thickness.
  4. 根据权利要求2所述的浮雕模型的切片数据处理方法,其特征在于,所述轮廓节点是基于浮雕模型的表面精度而确定的。The method for processing slice data of a relief model according to claim 2, wherein the contour nodes are determined based on the surface accuracy of the relief model.
  5. 根据权利要求1~4任一所述的浮雕模型的切片数据处理方法,其特征在于,还包括基座模型,以对基座模型和浮雕模型切片处理得到分别对应于基座模型和浮雕模型各切片层的切片数据;其中,基座模型的切片层与浮雕模型底面的切片层相邻。The method for processing slice data of a relief model according to any one of claims 1 to 4, characterized in that it further comprises a base model, so that slices of the base model and the relief model are processed to obtain the corresponding parts of the base model and the relief model respectively. The slice data of the slice layer; wherein, the slice layer of the base model is adjacent to the slice layer of the bottom surface of the relief model.
  6. 根据权利要求1所述的浮雕模型的切片数据处理方法,其特征在于,所述获取浮雕模型对应的二维图案的步骤包括:The slice data processing method of the relief model according to claim 1, wherein the step of obtaining the two-dimensional pattern corresponding to the relief model comprises:
    获取二维位图;Get a 2D bitmap;
    将获取的二维位图转换为矢量格式的二维图案。Convert the acquired 2D bitmap to a 2D pattern in vector format.
  7. 根据权利要求1或6所述的浮雕模型的切片数据处理方法,其特征在于,基于所述二维图案中的各封闭曲线确定所述二维图案的轮廓线。The method for processing slice data of a relief model according to claim 1 or 6, wherein the outline of the two-dimensional pattern is determined based on each closed curve in the two-dimensional pattern.
  8. 根据权利要求1所述的浮雕模型的切片数据处理方法,其特征在于,所述目标区域是基于各轮廓线所限定的区域面积来确定的。The method for processing slice data of a relief model according to claim 1, wherein the target area is determined based on the area of the area defined by each contour line.
  9. 根据权利要求1所述的浮雕模型的切片数据处理方法,其特征在于,还包括根据各轮廓线之间的位置关系确定浮雕模型中对应该轮廓线的位置处过渡斜面的斜率。The method for processing slice data of an embossed model according to claim 1, further comprising determining the slope of the transition slope at the position corresponding to the contour line in the embossed model according to the positional relationship between the contour lines.
  10. 根据权利要求1所述的浮雕模型的切片数据处理方法,其特征在于,所述浮雕模型为***模型。The method for processing slice data of a relief model according to claim 1, wherein the relief model is a seal model.
  11. 一种浮雕模型的切片数据处理方法,其特征在于,包括以下步骤:A method for processing slice data of a relief model, comprising the following steps:
    获取浮雕模型对应的二维图案;Obtain the two-dimensional pattern corresponding to the relief model;
    基于所述二维图案的轮廓线,生成多个切片层,并对各切片层赋值以得到对应于各切片层的切片数据;其中,所述多个切片层在Z向叠加后可形成所述浮雕模型,且所述浮雕模型中目标区域的外轮 廓在Z向具有过渡斜面。Based on the contour lines of the two-dimensional pattern, multiple slice layers are generated, and values are assigned to each slice layer to obtain slice data corresponding to each slice layer; wherein, the multiple slice layers can be superimposed in the Z direction to form the The relief model, and the outer contour of the target area in the relief model has a transition slope in the Z direction.
  12. 根据权利要求11所述的浮雕模型的切片数据处理方法,其特征在于,所述对各切片层赋值的步骤包括:The slice data processing method of the relief model according to claim 11, wherein the step of assigning value to each slice layer comprises:
    对每一切片层设置切片序号、切片厚度以及每一切片层的轮廓的偏移值。Set the slice number, slice thickness, and offset value of the outline of each slice layer for each slice layer.
  13. 根据权利要求11所述的浮雕模型的切片数据处理方法,其特征在于,所述获取浮雕模型对应的二维图案的步骤包括:The slice data processing method of the relief model according to claim 11, wherein the step of obtaining the two-dimensional pattern corresponding to the relief model comprises:
    获取二维位图;Get a 2D bitmap;
    将获取的二维位图转换为矢量格式的二维图案。Convert the acquired 2D bitmap to a 2D pattern in vector format.
  14. 根据权利要求11或13所述的浮雕模型的切片数据处理方法,其特征在于,基于所述二维图案中的各封闭曲线确定所述二维图案的轮廓线。The method for processing slice data of a relief model according to claim 11 or 13, wherein the outline of the two-dimensional pattern is determined based on each closed curve in the two-dimensional pattern.
  15. 根据权利要求11所述的浮雕模型的切片数据处理方法,其特征在于,所述目标区域是基于各轮廓线所限定的区域面积来确定的。The method for processing slice data of a relief model according to claim 11, wherein the target area is determined based on the area of the area defined by each contour line.
  16. 根据权利要求11所述的浮雕模型的切片数据处理方法,其特征在于,还包括生成对应于基座模型的切片层的步骤。The method for processing slice data of a relief model according to claim 11, further comprising the step of generating slice layers corresponding to the base model.
  17. 根据权利要求11所述的浮雕模型的切片数据处理方法,其特征在于,所述浮雕模型为***模型。The method for processing slice data of a relief model according to claim 11, wherein the relief model is a seal model.
  18. 一种浮雕模型的3D打印方法,其特征在于,包括以下步骤:A 3D printing method for a relief model, characterized in that it comprises the following steps:
    获取所述浮雕模型的打印数据;其中,所述打印数据中包括根据权利要求1~10或11~17任一所述的浮雕模型的切片数据处理方法所得到的切片数据;Acquiring print data of the relief model; wherein, the print data includes slice data obtained by the method for processing slice data of the relief model according to any one of claims 1-10 or 11-17;
    基于所述打印数据,令3D打印设备逐层打印所述浮雕模型的各切片层,以得到对应于各切片层的固化层,并经由各所述固化层逐层累积后得到对应于所述浮雕模型的3D构件;其中,所述3D构件中各目标区域的外轮廓在Z向具有过渡斜面。Based on the printing data, the 3D printing device is made to print each slice layer of the relief model layer by layer to obtain a solidified layer corresponding to each slice layer, and after each solidified layer is accumulated layer by layer, a corresponding layer of the relief is obtained. A 3D component of the model; wherein, the outer contour of each target area in the 3D component has a transition slope in the Z direction.
  19. 一种3D构件,其特征在于,通过如权利要求18所述的浮雕模型的3D打印方法得到,所述3D构件中各目标区域的外轮廓在Z向具有过渡斜面。A 3D component, characterized in that, obtained by the 3D printing method of the relief model as claimed in claim 18, the outer contour of each target area in the 3D component has a transition slope in the Z direction.
  20. 根据权利要求19所述的3D构件,其特征在于,所述3D构件中还包括基座。The 3D component according to claim 19, wherein the 3D component further comprises a base.
  21. 根据权利要求19或20所述的3D构件,其特征在于,所述3D构件为***。The 3D component according to claim 19 or 20, wherein the 3D component is a seal.
  22. 一种浮雕模型的切片数据处理***,其特征在于,包括:A slice data processing system for a relief model, comprising:
    第一通信模块,用以获取浮雕模型对应的二维图案;a first communication module for obtaining a two-dimensional pattern corresponding to the relief model;
    第一处理模块,用以基于所述二维图案的轮廓线生成浮雕模型,其中,所述浮雕模型中各目标区域的外轮廓在Z向具有过渡斜面;以及对浮雕模型切片处理以得到对应于各切片层的切片数据。The first processing module is used to generate a relief model based on the outline of the two-dimensional pattern, wherein the outer contour of each target area in the relief model has a transition slope in the Z direction; Slice data for each slice layer.
  23. 根据权利要求22所述的浮雕模型的切片数据处理***,其特征在于,所述第一通信模块还用以将第 一处理模块生成的切片数据发送给3D打印设备。The slice data processing system of the relief model according to claim 22, wherein the first communication module is further configured to send the slice data generated by the first processing module to a 3D printing device.
  24. 一种浮雕模型的切片数据处理***,其特征在于,包括:A slice data processing system for a relief model, comprising:
    第二通信模块,用以获取浮雕模型对应的二维图案;The second communication module is used to obtain the two-dimensional pattern corresponding to the relief model;
    第二处理模块,用以基于所述二维图案的轮廓线,生成多个切片层,并对各切片层赋值以得到对应于各切片层的切片数据;其中,所述多个切片层在Z向叠加后可形成所述浮雕模型,且所述浮雕模型中目标区域的外轮廓在Z向具有过渡斜面。The second processing module is used for generating a plurality of slice layers based on the outline of the two-dimensional pattern, and assigning values to each slice layer to obtain slice data corresponding to each slice layer; wherein, the plurality of slice layers are in Z The relief model can be formed after being superimposed, and the outer contour of the target area in the relief model has a transition slope in the Z direction.
  25. 根据权利要求24所述的浮雕模型的切片数据处理***,其特征在于,所述第二通信模块还用以将第二处理模块生成的切片数据发送给3D打印设备。The slicing data processing system of the relief model according to claim 24, wherein the second communication module is further configured to send the slicing data generated by the second processing module to a 3D printing device.
  26. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序被处理器运行时控制所述存储介质所在设备执行权利要求1~10或11~17中任一所述的浮雕模型的切片数据处理方法。A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored computer program, wherein when the computer program is run by a processor, the device where the storage medium is located is controlled to execute claims 1 to 10 Or the slice data processing method of the relief model described in any one of 11-17.
PCT/CN2020/133043 2020-11-27 2020-12-01 Slice data processing method and system for relief model, and 3d printing method WO2022110255A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011360195.2A CN112477486B (en) 2020-11-27 2020-11-27 Slice data processing method and system of relief model and 3D printing method
CN202011360195.2 2020-11-27

Publications (1)

Publication Number Publication Date
WO2022110255A1 true WO2022110255A1 (en) 2022-06-02

Family

ID=74936243

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/133043 WO2022110255A1 (en) 2020-11-27 2020-12-01 Slice data processing method and system for relief model, and 3d printing method

Country Status (2)

Country Link
CN (1) CN112477486B (en)
WO (1) WO2022110255A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113591300B (en) * 2021-07-29 2024-03-15 深圳市创想三维科技股份有限公司 Method, device, computer equipment and storage medium for generating 3D printing file

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103143706A (en) * 2013-03-07 2013-06-12 无锡安迪利捷贸易有限公司 3D (three dimensional) printing manufacturing method of seal
US20130337386A1 (en) * 2012-06-14 2013-12-19 Dirk De Rauw Processing apparatus for processing a flexographic plate, a method and a computer program product
US20140253549A1 (en) * 2013-03-11 2014-09-11 Autodesk, Inc. Techniques for slicing a 3d model for manufacturing
CN105881917A (en) * 2016-06-27 2016-08-24 苏州大学 3D (three-dimensional) printing slicing method
CN106273444A (en) * 2015-06-02 2017-01-04 北京大业三维科技有限公司 The demoulding control method of a kind of 3D print system and device
CN108995219A (en) * 2018-05-31 2018-12-14 共享智能铸造产业创新中心有限公司 A kind of dicing method, 3D printing method and product of 3D printing that thickness is variable

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105904729B (en) * 2016-04-22 2018-04-06 浙江大学 It is a kind of based on incline cut and fill stoping without support 3 D-printing method
CN106683550A (en) * 2017-01-10 2017-05-17 首都医科大学附属北京友谊医院 Ear structure model manufacturing method and device thereof
CN108297395A (en) * 2017-11-07 2018-07-20 杭州先临三维云打印技术有限公司 A kind of model production method based on 3D printing
CN109226759B (en) * 2018-10-23 2020-07-10 大族激光科技产业集团股份有限公司 Scanning path setting method and device for powder-spreading type laser 3D printing and control equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130337386A1 (en) * 2012-06-14 2013-12-19 Dirk De Rauw Processing apparatus for processing a flexographic plate, a method and a computer program product
CN103143706A (en) * 2013-03-07 2013-06-12 无锡安迪利捷贸易有限公司 3D (three dimensional) printing manufacturing method of seal
US20140253549A1 (en) * 2013-03-11 2014-09-11 Autodesk, Inc. Techniques for slicing a 3d model for manufacturing
CN106273444A (en) * 2015-06-02 2017-01-04 北京大业三维科技有限公司 The demoulding control method of a kind of 3D print system and device
CN105881917A (en) * 2016-06-27 2016-08-24 苏州大学 3D (three-dimensional) printing slicing method
CN108995219A (en) * 2018-05-31 2018-12-14 共享智能铸造产业创新中心有限公司 A kind of dicing method, 3D printing method and product of 3D printing that thickness is variable

Also Published As

Publication number Publication date
CN112477486A (en) 2021-03-12
CN112477486B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
US10513108B2 (en) Method for concurrently making multiple three-dimensional objects from multiple solidifiable materials
JP4937044B2 (en) Method of forming a three-dimensional object layer by layer
US20160129631A1 (en) Three dimensional printing apparatus
US10509559B2 (en) Micro-pillar methods and apparatus
WO2018090297A1 (en) Light homogenization method for multi-source large-scale surface exposure 3d printing
US20150045924A1 (en) Data processing
CN113334767B (en) 3D printing method, device, data processing method, system and storage medium
US11126801B2 (en) 3D printed identification labels
CN112677487B (en) Control method and control system for 3D printing and 3D printing equipment
WO2017114412A1 (en) Enhanced digital light processing mask projection stereolithography method and apparatus
CN110341193B (en) Apparatus, system, method and storage medium for editing and forming three-dimensional shape data
JP2009298023A (en) Optical stereo lithographic method, optical stereo lithographic apparatus and computer program for optical stereo lithography applied to optical stereo lithographic apparatus
US20180243991A1 (en) System and method of providing force compensation points on models during 3d printing
WO2022110255A1 (en) Slice data processing method and system for relief model, and 3d printing method
EP3560712B1 (en) Three-dimensional printing system
CN106696296A (en) Rapid lifting and pulling forming 3D printing system and printing method thereof
CN114474732A (en) Data processing method, system, 3D printing method, device and storage medium
US11597157B2 (en) Methods of representing three dimensional articles to be produced using additive manufacturing processes in digital file formats
CN113103587B (en) Control method and control system for 3D printing and 3D printing equipment
KR102045213B1 (en) Three dimensional printing apparatus and printing method thereof
WO2022003661A1 (en) A system and method for three-dimensional (3d) printing
JP2004155156A (en) Three-dimensionally shaping method and device
CN105904727A (en) DLP-based photocuring 3D printing forming method, system and device
WO2022074641A1 (en) A system and method for three-dimensional (3d) printing
CN114905748B (en) Data processing method, 3D printing method, system, equipment and storage medium

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: 20963143

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20963143

Country of ref document: EP

Kind code of ref document: A1