SURFACE GRAPHICS FOR EXTRUSION ADDITIVE MANUFACTURING
In the formation of a solid object by progressively depositing extruded materials accordance with a data model for shape of the object, a mechanism is disclosed for combining shape-related data with one or more sets of graphics data to produce alternative perimeter toolpaths that, when followed by an extrusion deposition system, both build the modeled shape and render the pattern content of the graphics data on an outer surface of the object. The disclosed teachings provide ways for a user to select a shape model from a first source and a surface graphic effect from a different second source and readily create a solid object having the arbitrarily chosen graphic content applied. In accordance with some embodiments, the shape-determined toolpaths may be directly combined with graphics data without returning to a shape modeling environment or requiring recalculation by a slicing engine.
The present application is a continuation-in-part of U.S. patent application Ser. No. 18/314,582, filed May 9, 2023, which is a continuation of U.S. patent application Ser. No. 17/645,743, now issued as U.S. Pat. No. 11,685,109, which is a continuation of U.S. patent application Ser. No. 17/322,716, now abandoned, which is a divisional of U.S. patent application Ser. No. 15/358,588, now issued as U.S. Pat. No. 11,059,217, which claims the benefit under 35 U.S.C. 119(e) of provisional application No. 62/258,974 filed on Nov. 23, 2015, all of which are incorporated by reference herein.
TECHNICAL FIELDThe present disclosure pertains to additive manufacturing by extrusion deposition and, more particularly, to incorporating surface graphics during an additive build process.
BACKGROUNDIn the field of three-dimensional printing (3D printing), solid objects are formed by additive processes such as the cumulative fusing of powdered materials or polymerization of liquid monomers. Printed objects are generally constructed layer-by-layer by causing solidification to occur in a particular pattern as each layer is formed. Another popular additive process, known as fused filament fabrication, involves melting and extruding a filament of an already solid material, such as a thermoplastic, and bringing it into contact with a gradually enlarging workpiece formed from previous melt deposition. The most common materials used for 3D printing are ABS (acrylonitrile-butadiene-styrene) and PLA (polylactic acid), although other thermoplastics, resins, solutions, slurries and even food materials have been used.
In typical fused filament systems, a thermoplastic filament of about 1 mm to 3 mm in diameter is forcefully driven into one port of a small heating block and melted plastic is forced out of a small nozzle coupled to a second port of the heater. The nozzle opening may be, for example, 0.5 mm in diameter. As plastic flows out of the nozzle, the motion of the nozzle relative to a substrate or so-called ‘build plate’ is mechanically effected using computer-controlled motors. Heated plastic from the nozzle comes into contact with the build plate, or with a specific spot on previously deposited plastic forming a composite workpiece, where it adheres and then cools and hardens. By depositing extruded material, initially to a bare build plate and then to a workpiece that is progressively formed thereon, a finished object having specific dimensions and contours may be formed.
As used herein, the term ‘molten’ is loosely applied to any state of a material when it is heated or otherwise softened and is of sufficiently low viscosity to flow through a small nozzle under pressure. It is recognized that for some materials a more precise terminology, such as a ‘plastic’ or ‘amorphous’ state, may be more commonly used and the term ‘molten’ is intended to encompass these situations.
Through careful control of the nozzle under software control, objects of a wide variety of shapes and complexity can be can progressively formed depending on the instructions set forth in the software or scripted directions that control the motors. In many typical systems, the driving of the filament into the heater block is also motor-driven in coordination with the X-Y-Z motion of the nozzle relative to the workpiece or build surface. Motor-controlled extrusion assures a specific rate of deposition and a uniform profile of the extrudate as it contacts and deforms against the existing workpiece. Furthermore, the extruder drive motor allows for relieving pressure and momentarily ceasing extrusion, as is desirable for some objects being constructed.
Some 3D printers that operate in the fashion just described are capable of ‘dual extrusion’. By using two complete sets of nozzles, heating blocks and drive motors, the twin extruders can alternately deposit two different materials, or two different colors of the same material, in the course of constructing a given workpiece. (Higher numbers of extruders can be implemented but, at present, these add considerable expense and complexity.) In dual extrusion, the two nozzles are generally attached to a common carriage and move in concert, driven by the same motion stage. Only one extruder is actively emitting material and contacting the workpiece at any given time. The inactive nozzle remains on ‘standby’, meaning that it is kept at or near extruding temperature and maintains some molten material inside the heater block ready to be pressed out. Changing from one extruder to another involves activating a first extruder and placing a second one on standby, and vice-versa.
One technique used to change an extruder from a pressurized, actively-extruding state to a standby state is to retract the filament that goes into the heater. This is done by driving the corresponding extrusion feed motor in the reverse direction compared to the normal, forward-feeding direction. When the same extruder is to later resume its output of molten material, the feed motor must advance the filament and again build pressure to force plastic out of the nozzle. This action of the feed motor as the sole means of controlling extrusion from a nozzle creates a number of complications. For example, when an extruder is transitioned from a standby state to an active state, there is a delay before molten plastic is flowing out of the nozzle at an established rate. Consequently, a recently activated extruder cannot be immediately applied to a workpiece with the expectation that steady flow will have been achieved.
This delay occurs partly because retracting the filament to idle the extruder can cause a void or pocket to be formed inside the chamber of the heating block as air is drawn in through the nozzle. During the transition to an active state, this void must be again replaced with molten material and then additional feed is required before the chamber pressure stabilizes at a desired level and discharge rate. The changing thermal load and possibility of localized hot spots within the heating chamber further contribute to variability in discharge when extrusion is resumed from standby. Where dual extruders are used, designers often provide a practical structure, such as a separate wall, tower or ‘on ramp’ progressively constructed alongside the actual workpiece, where a recently energized extruder can build pressure and discharge some extrudate on a disposable side piece just before moving to the actual workpiece. Failure to establish steady flow before contacting a workpiece results in voids, unpredictable weaknesses and surface aberrations in the finished structure. Unfortunately, the need to achieve steady extrusion just as the nozzle engages the workpiece also creates extraneous threads of plastic or traces that protrude from the workpiece and often must be removed from the finished object after printing.
After a nozzle has been in use, the act of abruptly ceasing extrusion from the nozzle gives rise to another complication. The process of retracting the filament from the inlet to the heating block relieves pressure feeding the nozzle, but this pressure can rebuild as the heating block temperature may rise and plastic expansion can occur. The heating block temperature is thermostatically controlled but can nevertheless rise when the thermal load of constantly adding ‘cold’ filament during extrusion is suddenly halted. Furthermore, molten plastic lining the walls of the heating block and nozzle continues to slowly flow under gravity and drip out of the nozzle at a very slow rate. This problem is exacerbated by the tendency for some extrusion materials to chemically change or loose viscosity if held at the melt temperature for a prolonged time. The melted material within an idled nozzle can gradually become less viscous and begin to dribble out at an inopportune time, especially as the idled nozzle hovers over the workpiece in tandem with the other, actively-extruding nozzle. To combat this effect, some designers of 3D printing software provide for simultaneous building of a so-called ‘ooze shield’ or ‘touch-off zone’ that a standby nozzle can occasionally strike against and wipe off any dribbling material that happens to be hanging from the nozzle. Failure to address this issue can result in strings or blobs of one extrudate being connected to, or folded into, the workpiece in an unpredictable and undesirable fashion. This is especially noticeable when dual extruders are used to print in dramatically contrasting colors. Another solution to this issue involves shutoff valves or the like to more positively assure cutoff of extrusion flow. Nevertheless, due to delay in pressurization and the risk of fine plastic strings formed by pulling away from a workpiece, it is still desirable to minimize the number of extruder switch-overs executed per layer of the build.
Compared to subtractive processes (sawing, drilling, milling, turning, stamping, etc.), the additive processes of 3D printing are generally very slow, especially when rendering high-resolution or highly detailed workpieces. Traditional processes tend to use raw material less efficiently and processing time increases with complexity, but simple operations on even large objects (such as milling and boring engine blocks) can be accomplished fairly rapidly. In contrast, additive processes efficiently place material specifically where it is needed but processing times are dramatically affected by workpiece volume rather than workpiece complexity.) An additively built workpiece often requires hundreds of thin layers of printing. Any step that adds delay at each layer is multiplied many-fold. For an average 3D printed object ranging in size from palm-sized to brick-sized objects, build times can range from 20 minutes to a full day or more. Because of the delays involved and the need to mitigate unwanted effects when changing from one extruder to another, it is desirable to minimize switching between extruders while making a given 3D printed object.
This consideration makes intricate patterns of two or more colors overwhelmingly difficult to achieve in common filament-fusing 3D printers. When two-color designs are used, these generally apply to printing coarse features or to layers of different colors rather than having fine (such as 1 mm sized) features of different colors closely interleaved on a common surface, for example. In the conventional practice for controlling such 3D printers, labels, markings, insignia or decorative patterns that are roughly flush with an object's outer surface are difficult to render without extensive extruder switching and the attendant delays and extraneous stringing of material.
There is a need to enable continuously-extruding additive manufacturing machines, such as fused filament printers, to render surface appearance features, such as graphics, lettering or decorative finishing as part of printing a 3D object in a manner that is efficient in terms of time and material and does not undermine the quality, strength or appearance of the finished object.
Various exemplary embodiments are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which like reference numerals refer to similar elements and in which:
A preferred method and apparatus for achieving a patterned surface feature on a 3D printed object are described. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the preferred embodiments of the invention. It is apparent, however, that the preferred embodiments may be practiced without these specific details or with alternative, equivalent arrangements. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the preferred embodiments of the invention.
Although various exemplary embodiments are described with respect to forming a pattern of contrasting colors on the surface of an object, it is contemplated that various exemplary embodiments are also applicable to achieving variable textures, contours, translucencies or material properties across a given surface.
In accordance with a preferred embodiment of the present teachings, a multiple-extrusion filament fusion printer achieves finely interleaved placement of material from different extruders at the surface of an object in an efficient manner, which, in comparison to previously known approaches, results in faster printing, fewer extruder changes and fewer side effects from idled nozzles. Additionally, the present teachings allow for a selected extrusion material, such as an expensive metallic, electrically conductive or thermochromic filament, to be used sparingly in a pattern on the surface of an object.
More particularly, a first extrudate is deposited to roughly parallel an object's surface but the exact path of depositing the extrudate is controlled to occur in a roughly serpentine pattern. At points on the object's surface where a first extrudate is to appear, the nozzle's toolpath follows alongside the designed contour of the object and forms the object's surface. At this point, the extrudate trace may be said to have ‘surfaced’ with respect to defining the object's outer shape and appearance. At places on the object's surface where a second, subsequently applied extrudate is expected to appear, the first extrudate is laid down slightly away from the object surface, set back inwardly by approximately the width of an extrusion trace. The first extrudate may be described as ‘submerged’ at these positions along the surface. To complete the object's surface, a second extrudate is then deposited from a second nozzle approximately paralleling the path of the first extrudate, but shifting course in exact complement to the pattern of surfacing and submerging established by the first extrudate. The finished product exhibits a substantially smooth surface having thereon any desired pattern of alternate colors or materials from the two extruders, while also only requiring the printer to execute one or two extruder changes per printed layer.
In contradiction to established practice in this art, the second pass is performed at substantially the same Z-height—the same layer elevation—as the first pass. The conventional wisdom would hold that driving the second nozzle with little to no clearance into a pre-existing trace is inadvisable, has no useful effect and could create squashed or sprayed extrudate, if any at all. In contrast, the present teachings encourage crossing of extruded traces within a single build layer because it is discovered that very brief crossing of one trace over another, even if it results in momentarily blocking an active nozzle, has no detrimental effects and any pressure buildup caused by blocking the nozzle is quickly equalized by reaching an opening or void within milliseconds after being blocked. (In fact, any brief pressure buildup that could occur at low feed rates would only help resume flow when a subsequent void is encountered and aids in void filling even in the opposite direction of nozzle travel.) As will be explained, driving the nozzle into a pre-existing trace also secures bonding between the traces. This effect is especially useful where, due to operating principles described herein, a small isolated blob of one extrudate must adhere to the workpiece despite being cut off, in a sense, from the remainder of the trace or extrusion flow from which it was formed.
It is a feature of these teachings that, as a second nozzle crisscrosses over a trace previously deposited by a first nozzle at the same layer height, fillable voids to accept extrudate are encountered so reliably and repeatably during printing that the second pass nozzle persistently creates substantially the same flush extrudate profile as it would during normal printing on a flat surface.
Creating the finished surface may be simply described as follows: At any given point along the surface of an object, a first extrudate is at the surface and a second extrudate is hidden behind the first. At a different place, where the second extrudate needs to be presented at the surface, the positions of these two extrudates are swapped. (In the case of three or more traces shown below, ‘surfaced’ versus ‘submerged’ traces may have to deviate from their nominal paths by a somewhat greater amount.) The present teachings result in a fast, efficient, continuously-flowing technique. All surface points that need to present a given material or color of extrudate are completed in one long trace rather than in a piecemeal fashion.
The selection of which of the two or more extrudates is to be outermost at a given portion of a printed surface may be controlled by an established pattern. This pattern may be specified by an object's designer and may correspond to a 2D graphic pattern such as an image, a logo, a line drawing, text, photographic images, or the like. The pattern may also be algorithmic in nature such that the choice of extrudates to appear at any portion of the surface may be decided by performing a calculation or executing programmed logic. Some patterns that are readily in this latter fashion are spirals, honeycombs, basket weave patterns, checkered patterns, plaid, etc. Additionally, some computations can mimic seemingly random effects on the surface of an object even though the decision of one extrudate versus the other is, in fact, determinate. Even truly random data may be sampled to establish a specific pattern of switched extrudates. For simplicity in the current description, arbitrarily chosen images of the first type mentioned above will be assumed as the source pattern. The algorithmically-derived or sampled patterns may always be converted to a rasterized form that comports with the description below, but might also be calculated ‘on the fly’ only as each pixel value needs to be evaluated. Either implementation in the motion-determining software is equally suitable for implementing the teachings described herein.
One method of expressing a pattern desired to appear on a surface of an object is through raster image data such as a bitmap file. A bitmap file is usually used to represent image to be displayed or printed, but essentially describes a two-dimensional pattern of pixel values (pattern data) that can be interpreted and rendered in other ways. A convention may be adopted, for example, in which darkened pixels in the bitmap represent points at which a first extrudate is to ‘surface’, or to indeed form the surface of, a 3D printed object. Lighter pixels may represent points at which a second extrudate, rather than the first extrudate, is to be present at the surface of the object. (Of course, the choice of how a given pixel value corresponds to using one extruded color or another is entirely arbitrary.) Thus, at each point where an extruded material defines the surface of the object, that point will be formed by either the first extrudate or the second extrudate. Wherever one extrudate is at the surface, the other extrudate is obscured or ‘submerged’, preferably hidden immediately behind (inwardly displaced along a direction normal to the surface) the prominent extrudate trace. The first and second traces are preferably kept in close proximity so that a rapid switching is achievable with minimal tool movement and so that the pattern-depicting composite of the two traces is kept relatively narrow, such as within the combined width of the two traces.
Stated in another way, two tentative nozzle paths are calculated. The first path is designed so that an extruded trace will conform to the designed contour of the object's outer surface. A second path, paralleling the first path, is preferably calculated to be alongside and displaced from the first path by approximately the width of an extruded trace. At any point along the object's surface, one extruded trace will conform to the first path while, in complement, the other extruded trace will conform to the second path. At points where the object surface is to be represented by the second trace rather than the first, actual toolpaths of the respective extruders are transposed between the two possible nozzle paths, essentially swapping places to submerge the formerly prominent trace and to surface the previously hidden trace.
This swapping of trace paths can take place for even a brief interval across the surface being formed. This means that the width of a graphic feature on the surface of the object formed by this swap can be on the order of the width of an extruded trace. For example, where an extrusion flow coming out of a 0.5 mm nozzle flattens as it meets the workpiece, it may result in an extruded trace that is 0.55 mm wide but only 0.2 mm tall. (The Z-direction thickness is determined by the overall per-layer print thickness selected for the build.) Under these conditions, the present technique can achieve minimum ‘pixel’ widths on the order of 0.6 mm wide. Alternative extrudates can surface and submerge at fairly high spatial frequency and allow text or graphics to appear on the surface of the final object. This technique has the additional advantage of eliminating separate post-printing steps and of creating a pattern that is effectively indelible by being, in a sense, imbedded deeply (at least by one extrusion width) into the object's surface. It is further possible to label surfaces and contours of an object (even interior-facing, concave or irregular surfaces) that would be difficult to reach or print in a conventional manner after the object was printed. It is well known that, even for outwardly accessible surfaces, the fused filament process typically produces a ribbed surface that can be difficult to paint or screen print upon. The presently taught technique avoids the need to address this challenge.
In contrast to traditional injection molding, 3D printing does not require a hardened mold and is particularly suited for producing one-of-a-kind or short run objects. This attribute, in conjunction with the presently introduced technique for controlling the appearance or differentiating the surface of an object, makes it possible to create, for example, personalized bracelets, labels, tags or other items. Software processes operating according to the present teachings can combine 3D object designs and graphic patterns to rapidly create new machine control instructions for building an object that includes the graphic features in its construction.
Raised printing may also be achieved by causing one trace to move outward more so than the other trace when it is to surface. For example, one trace may shift outward by the width of two extrusion traces and the other trace may deviate more mildly or not at all. (This effect is depicted in
A significant advantage of the presently taught approach is the ability to more readily create markings along the more-or-less vertical sides of a workpiece rather than just on the topmost surface. A round or ring-shaped object, such as a vase, bracelet or napkin ring having finely detailed graphics depicted, may be readily formed with minimal extruder changes and minimal formation of extraneous ‘strings’. The graphic features may wrap around on all sides of the object, continuously so, if needed, by selectively transposing two or more extrusion traces at each build layer.
Integrating the heater control function into controller 130 makes it possible for the heater block temperatures to be programmatically controlled within the same software or script that controls the extruder and nozzle motion motors. During authoring of the machine instructions, control of heater block temperatures is thus made available to the designer of a workpiece being constructed. This setting may be optimized for different materials, flow rates and desired physical characteristics of the finished object.
The output of heater block 106a is at the tip of nozzle 110a. Heater block 106b ejects extrudate from the tip of nozzle 110b. In the configuration shown, both nozzles 110a and 110b move horizontally in tandem as driven by X-axis motor 112a and Y-axis motor 112b acting upon respective lead screws 114a and 114b. (For simplicity, the lead screw threads are not explicitly drawn.) In the arrangement shown in
Z-axis motor 112c may be controlled to turn lead screw 114c so that it can, in turn, control the elevation of a work surface or “build plate” 120 relative to the nozzles 110a, 110b. A workpiece 125, which is an object being constructed progressively by addition of materials from either or both of spools 102a, 102b, is shown on build plate 120, though it should be understood that just before a construction begins the build plate will generally be blank until the extruders deposit the first layer of traces. In the arrangement shown in
For clarity and simplicity,
One commercially available 3D printer that operates in roughly the manner just described is the ‘Ultimaker Original’ manufactured by Ultimaker BV headquartered in Geldermalsen, Netherlands. (The X-Y motion on this model is accomplished using belts and pulleys rather than lead screws, but the relevant operating principles remain the same.) This printer is available with a real-time controller that uses the Marlin open source firmware hosted on an ATmega™ microcontroller from Atmel Corporation. This model of 3D printer, when equipped with the available dual extruders, is one suitable platform for implementing the techniques described elsewhere herein.
In
Controller 130 also controls heater blocks 108a and 108b and may also receive input from a thermocouple for each one of the heater blocks, so controller 130 can be involved in establishing a fixed temperature for each heater block which, as mentioned before, can be subject to software control. In some implementations, the build plate 120 is also heated and the controller 130 controls the heating of the build plate. If this is used, controller 130 receives temperature readings from a thermocouple from the heated build plate and sets the build plate temperature based on instructions received via G-code instructions, which are described below.
There may also be other peripheral devices that are controlled by the controller. For example, it is common for a cooling fan to be attached somewhere in the vicinity of heating blocks 100a, 100b. The optional cooling fan moves in conjunction with the nozzles and hastens the cooling of the newly deposited extruded filament, as is desirable for some builds.
Controller 130 generally implements ‘real-time’ control over the motors and other components, meaning that where specific timings and speeds are called for to deposit extrudate in a desired pattern, the firmware in the controller is dedicated to adhering to the specific timings to achieve consistent results. This is very important given the speed with which the nozzles must move for some projects and the fact that the extruded filament is emitted from the nozzles more or less continuously. It is important that the controller 130 not hesitate at inopportune times which could cause because extruded material to build up in some places in an undesirable fashion or cause other anomalies or interruptions that would be apparent in the finished object being built.
Accordingly, controller 130 generally does not make calculations as to how to build a certain object but instead accepts fairly simple, sequential instructions in the form of so-called “G-code” instructions. (G-code programming is best known in the context of automated or so-called CNC (Computer Numerical Control) machining and is described in EIA Standard RS-274.) The detailed instructions of how the motors and extruder drives must be coordinated to build a given object are calculated by a separate computer before the time that the object is actually built on the platform 120. These calculations are reduced to discrete commands of positions and speeds for operating the various motors. To ensure timely control of the various moving parts, real-time controller 130 acts as a ‘slave’ processor that simply reads and acts upon the sequence of relatively simple motor control instructions that have been prepared beforehand by a separate ‘master’ processor.
A master processor may determine, for example, that part of an object build requires a circular arc to be printed and may apply trigonometric functions to calculate a series of short segments to form the arc. As each segment involves moving the nozzles in a straight line from a first X-Y position to a second X-Y position, these beginning and ending coordinates are each listed as a single line of G-code instruction along with the rate at which the movement is to occur. The same G-code instruction may also instruct that, during the movement, an extruder motor is to drive a filament forward by a given amount.
The desired motion is called for by the instructions regardless of whether the actual motors of the 3D print mechanism are stepper motors or DC servos and regardless of how many turns of a shaft, pulley or lead screw are needed to accomplish the displacements specified in the G-code instruction. It is the job of the real-time controller 130 to determine, for example in the case of stepping motors, the quantity and timing of current pulses that must be applied to one or more motor windings to accomplish the motion called for in the G-code instructions. It may be said that the G-code instructions are largely independent of the specific 3D print mechanism being used and that the G-code instructions are therefore fairly portable to any printer (subject to maximum print size, of course.) The real-time controller associated with a given 3D printer mechanism interprets the G-code commands and determines how to accomplish the specified motions in the context of that particular mechanism.
In
Non-volatile storage 146 corresponds to the typical so-called ‘hard drive’ commonly found in personal computers. Non-volatile storage 146 typically contains boot information, operating system executables, and applications that the computer can load into memory 152 and execute. Non-volatile storage 146 also provides a persistent store for user data files, such as STL files (which describe 3D surfaces), G-code files and pattern data files. Memory 152 serves to temporarily store instructions for CPU 142, as well as data including operating system components, applications, and data used by applications. Of particular note, memory 152 is shown to contain a body of pattern data 154 that may be accessed by CPU 142 in a manner that will be described further below.
One typical way in which users employ the overall system shown in
The next step in the typical process is for the user to invoke another application, known as a “slicer”, which receives the STL file and converts it into a series of commands motion control commands appropriate for building each thin layer or slice of the finished object that has been described in the STL file. One well known slicer application is called ‘Curs’ and is developed and maintained by Ultimaker BV. The slicer generates the G-code file as raw instructions for controlling the motors of the 3-D printer and this is the set of G-code instructions 132 that are conveyed to controller 130. To generalize, additive manufacturing systems fabricate an object according to a design description of the object that describes which portions of a build space are to be occupied by the object once it has been completely fabricated. In the course of converting a design description to layer-by-layer instructions, the intersection of a plane (generally parallel to the build plate surface) and the design description is calculated and yields one or more designed surface contours that describe the shape of what will become the surface of the printed object for a given layer of the build. In the case of extruding machines, slicing software applications generally create instructions that direct the nozzle(s) to follow this contour smoothly to form the outer surface or wall and then to fill the contained internal spaces, either solidly or more sparsely using arbitrary mesh-like fill patterns.
It is important to note that, while 3D modeling applications and slicers are the typical way in which a user envisions and describes an object and their description becomes converted into motor control commands, this is not the only way to produce G-code for producing 3D print objects. Other techniques are known for more efficiently describing objects or generating the G-code in certain circumstances. For example, some shapes, such as a geodesic dome or a spiraling seashell, are much more easily described in mathematical terms rather than tedious manual placement of carefully sized blocks, spheres, cylinders or other primitives. Therefore, there are other tools that generate either STL files or G-code based on mathematical formulas and such—more directly than operating the way that most 3D modeling tools do. Of course, employing the latter approach requires more advanced mathematics and visualization skills from a designer compared to the manipulative user interfaces presented by the 3D modeling tools. On the other hand, however, organic shapes, such as human hands, faces, plants, animal bodies or intricate combinations of basic shapes (such as a train engine) might be better assembled using one of the 3D modeling tools.
One of the previously known manners in which existing user applications have been able to create graphics or lettering on a finished 3D printed product is to include such shapes as protrusions on the surface. For example, if one desires to make a tag with lettering, then the tag ‘substrate’ or ‘body’ is formed more or less flat against the build plate. A number of layers of extrusion are deposited to form the tag itself and then a number of subsequent layers are deposited stacked on top of the initial layers to form raised letters. This form of construction is depicted in
Representing a prior art approach,
Consequently, graphics and features that need to be depicted in relief, especially relief with contrasting color, present a significant challenge for extrusion-type printers if they are to be exhibited on more or less vertical portions of a workpiece. This attribute limits the ability of such printers to depict high-resolution graphics or lettering on anything but a topmost surface of an object being built.
For convenience, reference is often made herein to an ‘outer’ surface of an object, but it should be apparent that any portion of an object may be formed in the manner described so that a pattern of high spatial frequency may be made of traces from multiple extrusion sources. Even where the present teachings are applied to varying the composition on a surface of an object that is observable, topologically exterior or open to the ambient atmosphere, that surface may be inwardly facing, such as when a picture or text is to appear on the inside walls of a drinking vessel or on the inside surface of a so-called ‘enchanted egg’ which is only observable through a tiny hole. Graphic features may even be formed on surfaces disposed completely inside of an object which are not observable until a part of the finished workpiece is removed, peeled back, machined away, cut open or broken off.
In
The disposition of these remaining open spaces is explained in
In
In
Although
For illustrative purposes, a particular horizontal row 502 of pixels through the image 506 is shown to be analyzed within the image and interpreted for controlling a layer of extrusion in the course of forming a 3D printed workpiece. What is next described will be repeated for other rows of the image as applied to other layers of the build, resulting in the complete image 506 affecting the appearance of the surface of the finished workpiece.
A further subset of data taken from row of pixels 502 is depicted in pattern data subset 508 wherein a series of sequential pixels 509a-509f are shown to have values either “FF”, representing a white pixel, or “00”, representing a dark pixel. Of course, this is a very simple single-byte-per-pixel example for illustrative purposes only, and bitmap pixel values are often represented as multi-byte RGB values, palette indices or in other forms. Furthermore, there are any number of ways to convert arbitrary pixel values to a determination as to whether one or the other of the extrude traces should surface on the workpiece at the position that corresponds to the pixel location in the graphic. The determination may be based on any aspect of pixel data values, such as the state of a single bit, specific values or thresholds applied to integer values, calculations of brightness or color attributes (hue, tint, saturation) from multiple values (RGB or CMYK), level of a particular color component, an alpha or transparency value, etc.
For forming the machine commands that will be instructing a 3D printer to build the object, it is often necessary for a designer to understand how each pixel in raster image 506 corresponds to a location on the surface of the 3D object that is being constructed. This correspondence may be established by program logic in the course of assembling G-code instructions or may be set more interactively by an end user using a 3D modeling or visualization application (if adapted in view of the present teachings) running on computer 140. Where a raster image is to be rendered as a feature on a particular portion of an object, such as a designated multiple extrusion surface region, several points of correspondence may be needed to unambiguously establish the position, orientation and scaling of the graphically-controlled feature on the object's surface. For relatively simple shapes, such as a cylindrical shape completely wrapped by a graphic feature or a flat rectangular surface, relatively few points are needed to enable mapping from pattern data to point-in-build or point-along-contour. The correspondence between an pattern data value and a position on an object's surface may or may not be explicitly selected by, or known to, a designer. The correspondence may be inherent, implied or even completely arbitrary, particularly where an object's entire surface is a multiple extrusion surface region and the graphic pattern need only be self-consistent within the build but otherwise has no required orientation relative to the object. An example would be a basket-weave pattern applied to the surface of pail.
Accordingly, in
Traces that may have already been printed just prior to printing the outside surface are represented by trace layers 511 and 513 (shown crosshatched). In practice, there may be considerably more underlying trace layers to build a thicker wall or to even build a fully solid object. Alternatively, the entire object wall can be formed thinly by just traces 530, 532 (introduced below), optionally excluding trace layers 511 and 513. The other dotted lines in the lower part of
The allocated widths of lanes 520, 522 correspond to the nominal width of the extrusion traces deposited by the extrusion nozzles. A typical overall trace width for a 0.4 mm nozzle is about around 0.6 mm when the height for each build layer is set to 0.2 mm and the extrusion rate (amount of material discharged per linear distance travelled) is properly adjusted. Thus, in cross-section, a typical extruded trace is flattened out to about a 3:1 aspect ratio and has somewhat rounded or bulging sides. To assure good fusing between traces deposited side-by-side, the toolpaths of the depositing nozzle(s) may be offset by somewhat less than 0.6 mm—such as 0.55 mm—to assure that the bulging side parts meld together, but not so much as to exceed the volume available for the trace. The nominal trace width (or trace spacing) is said to be around 0.55 mm in this instance—roughly equal to or slightly less than a measured overall trace width—and would likely be similar among multiple nozzles on the same machine operating under a similar set of parameters. The nominal trace width may also be considered as an approximate, average or estimated trace width, considering that actual depositing trace width and geometry may vary somewhat with conditions such as filament variations, ambient temperatures, heating block temperature swings, workpiece thermal expansion, etc.
The value of pixel pattern data element 509b will determine which of the two traces from the extruders will be present at the surface of the object at the location on the surface of the object 515b. Likewise, data for pixels 509c-509f correspond to positions on the surface of the object, 515c through 515f. Where the pattern data for a pixel represents a first color or a first extrusion material, the corresponding nozzle for the first extrusion material will be directed to follow along lane 520 and as it passes over that portion of the surface 515a. This will be made more clear with reference to
In
In
Referring to
It should be evident from the depictions in
Process 600 may be expressed or implemented in G-code and may be simulated or modeled in a master computer 140 beforehand for the purpose of generating G-code instructions that cause a 3D printer to execute the recited steps at build time. Where the steps described below refer to acts such as printing or switching extruders, this is equivalent to creating a series of G-code instructions that express those specific actions and appending them to a cumulative file of such G-code instructions. That is why the steps in process 600 read as if they were being executed by the 3D printer itself when in fact process 600 is more likely executed in master computer 140 in advance of the actual build.
Although pixel values in rasterized image data are shown by way of example, the determination as to whether some portion of the surface of an object is to be formed by either one or the other of the extruders may be determined algorithmically or in some manner other than working purely from a rasterized image. All that is needed is some way of making a distinct determination as to use one nozzle or another for any given point on the graphic area on a surface of a workpiece object where this technique is to be applied. The present teachings are not limited to patterns expressed as purely rasterized image data. As described herein, pattern data can encompass any way of calculating a binary value based on position in the workpiece, such as by modulo operations or other mathematical functions applied to the 3D coordinates of the given point or to related positional variables. Any other means may be used for arriving at a determination of whether one or the other nozzle should conform to the contour of the finished object at any given point on the surface.
Flowchart 600 commences in step 602 upon the beginning of at least a portion of the construction of an object upon which the present teachings may be used. It is acknowledged that there may be many other well-known preparatory steps implied by step 602, such as warming the build plate or the heating blocks to temperature and otherwise getting the machine ready for building the workpiece. There may also be portions of the workpiece below a point where the present teachings are applicable, such as the lower layers of a coffee cup below where a graphic feature is to appear on the side of the cup.
Following the commencement of this process in step 602 and completion of the above acknowledged peripheral activities or previous build layers, step 604 is undertaken to activate the first of the two extruders, if it does not happen to be already active in the course of the build. Step 604 involves driving extruder drive 104a to feed nozzle 110a and printing any other portions of the workpiece that are designed to be performed with this nozzle while the workpiece is at the current Z-axis elevation or build layer.
This preparatory printing could include, for example, any deeper walls of extrusion traces behind the two outer traces, such as trace layers 511,513 shown in
With properly designed sequencing of instructions (as a variation on process 600) it may be possible to act in an efficient alternating fashion as follows. A first extruder nozzle performs all of its non-contour-following structural builds for a given first layer and then lays down an outer trace such as trace 306 for that same build layer. After this, the printer may switch to a second extruder so that it deposits all of its traces necessary for that same first layer, including laying down a complementary outer trace analogous to trace 316. The workpiece elevation is then incremented to a second build layer. At that second layer, the still-active second extruder performs all requisite printing, including its outer trace 316 for that second layer. While remaining at the second build layer, the printer then switches back to the first nozzle, prints the remainder of the layer, and then the Z-axis elevation is again changed to reach a third build layer. The first nozzle continues to print all that is required of it for the third layer, including an outer trace 316, and the above process repeats. By coordinating in this manner, the 3D printer need only switch extruders once per build layer, even though each layer comprises traces from both extruders. In other words, the extruder switching occurs once per elevation change, rather than twice.
Returning to
In practice, this mapping is the responsibility of the designer of the object being printed. For example, a designer must decide where a graphic feature is to be rendered on the surface of an object being built, such as a coffee cup. In such an example, there would necessarily be an aspect of the design that determines how many layers are printed before reaching the start of the graphic feature, how large the graphic feature should appear and where the graphic feature is aligned radially around the surface of the cup, such as at a particular angular displacement from where the handle might be. This is entirely up to a designer or a programmer to establish. Whether by using interactive design tools or by writing software, it is necessary, when printing a graphic at a specific position on an object, for there to be some established correspondence between a pixel in the pattern data and what portion of an object's final surface will be affected by the value of the pixel at that location in the pattern data.
Step 608 may correspond to simply a ‘look up’ of data by, for example, subdividing the outer surface of the desired finished object contour into equal linear or angular measures, and simply counting those to index into the raster pattern data. As a simple example, suppose that the raster pattern data is to wrap completely around a cylindrical object such as a coffee cup. In this case, the pattern data accounts for the surface appearance across the entire circumference of the object. If the raster pattern data is 360 pixels wide, then each pixel would represent one degree of angular measure along the outside of the cylindrical object. In software then, a loop may be coded that increases an angle variable in one degree increments while also incrementing a column number by which to look up a pixel value in the raster image. At each increment, the motor movements will be directed to travel one degree further along the arc of the workpiece contour and at the same time a corresponding pixel in a row of the raster image will be selected as the determining value as to whether a given extruder needs to travel the outer lane 520 or the inner lane 522 while passing along that arc.
Once the appropriate pixel defining a printed surface of the object is identified in step 608, the specific value of that pixel in the raster image is assessed in step 610. If, in step 610, it is determined that the pixel value corresponds to having the first extruder's output present at the surface of the object, then step 614 is undertaken to position the first extrusion trace at the surface of the object over that interval. This corresponds to what was described in
Regardless of whether step 612 or 614 has been performed, execution then moves to step 616 to determine whether all the pixels from the row of raster pattern data have been read for that given layer of the build. In practice, this step may not necessarily take the form of an ‘if-then’ statement. In software, it may also be effectively executed by a ‘for-next’ loop or ‘do-while’ loop as is well-known. If, in step 616, it is determined that all pixels for the currently printing layer and involving the first extruder have not yet been printed, then execution moves to step 618 to examine the next interval that needs to be printed, to look up the corresponding pixel position in the graphic pattern data and to extract the value of that pixel data to again determine whether step 612 or 614 are to be executed over that portion of the extrusion process. Referring to the earlier example of angular intervals along a cylindrical object, this would correspond to incrementing to the next one degree interval and also incrementing to the next adjacent column in the graphic pattern data to extract its pixel value.
Steps 608 through 618 are executed until the first extruder has performed all of the outer-surface-defining printing that is called for in accordance with the present technique.
When, in step 616, it is determined that all of the first extruder's graphic feature pixels have been rendered for this layer, then a switch to activate the second extruder is performed in step 620. This may involve inactivating the first extruder, such as by retracting the filament or performing other steps depending on the model of the unit. It is conceivable that some models of fuse filament printers might employ a mechanism of parking print nozzles that are not in use such that they do not move in tandem. If that is the case, in step 620 corresponds to docking the first extruder nozzle and moving to engage the second extruder nozzle and bring it in contact with the workpiece. Step 620 also involves performing any other printing required from the second extruder for that build layer prior to performing the outer-contour-defining portion of the print in accordance with the present teachings. After these other steps are performed in step 620, then execution moves to step 622 to correlate the interval on the surface of the object with the position of the pixel in the graphic pattern data. This takes place as was described for step 608 above.
Once this correlation has been made, then execution proceeds to step 624 to determine whether the value of the corresponding pixel indicates whether the second extruder or the first extruder is to conform to the contour of the finished object along that portion of the surface of the workpiece. If it is determined that the presently printing extruder, namely the second extruder, is to form the outer surface of the workpiece, then execution proceeds to set 628 and the second extrusion trace is printed as the surface of the object over the given interval. This is analogous to the manner which trace 532 in
Regardless of whether step 626 or step 628 has been performed, the process continues on to step 630 wherein, analogously to step 616, it is determined whether all the pixels have been read for the current layer. If not, then execution proceeds to step 632 (analogous to step 618) to move further along the surface of the object, to determine a corresponding pixel in the graphic pattern data, and to process the path of the second extruder accordingly by the action of steps 624 and either 626 or 628. In other words, steps 622 through 632 are iterated until all the pixels in the graphic pattern data have been processed by the second extruder. In step 634, a determination is made as to whether all of the layers of the object in the workpiece have been printed (or at least all the layers that employ graphic feature rendering in accordance the present teachings.) If not, then execution proceeds to step 636 to adjust the height of the workpiece, such as by causing Z-axis motor 112c to turn lead screw 114c and cause build plate 120 to move one increment further away from nozzles 110a and 110b. Then the majority of process 600 is again executed so that both the first and second extruders perform their desired actions for the next layer of the build. If, in step 634, it is determined that all layers have been printed, then the printing process (or at least the graphic feature portion) concludes in step 640. At this point, the graphic-depicting layers in accordance with the present teachings have been incorporated in the workpiece.
In
It should be kept in mind that
As one example, a solid colored circle may be depicted graphically on the surface of the workpiece and the edges of the circle may be very smooth and precisely placed, rather than jagged, effectively with at least the same finesse that would be achievable with a symmetrical 125 dpi resolution. If the circle needed to be drawn as an outline only, the minimum line thickness for the outline would be around 0.6 mm, but its contour could still be rendered quite smoothly.
In accordance with an exemplary embodiment of the present teachings, a method for creating the G-code based on input from graphic pattern data is to read the graphic pattern data, or calculate the graphic pattern data algorithmically, in a software executable such as an application written in ‘C’ source language and executing on the master computer 140, such as a PC. The executable may directly generate G-code that, in turn, specifies the motor control commands for creating finished objects. This approach makes it fairly simple to incorporate text or graphics into the surface of an object especially where the remainder of the object is also being produced directly in this manner rather than through the typical process of using a 3-D modeling application and a slicer application.
Nonetheless, it is contemplated that existing modeling and slicing software tools could be modified to allow an end-user to project or superimpose any desired bitmap or raster, including text that could be freely typed in from the application's interface, onto the surface of an object that is being designed. In accordance with the present teachings, it may be unnecessary to form or manipulate text or graphic objects in a 3D modeling environment in the course of defining and building an object with multi-extrusion surface features. Furthermore, in accordance with the present teachings, it may be unnecessary to depict text or graphic objects in a tessellated description of the surface of an object in the course of defining and building an object having multi-extrusion surface features. Some forms of object surface description are known which include surface color or texture, including Virtual Reality Markup Language (VRML) and so-called PLY, 3DS and ZPR file formats. A software tool may be adapted to extract the surface appearance information from such descriptions and generate toolpath commands that cause multiple extruders to vary the surface appearance of a constructed object as described herein. In other words, a toolpath computer, such as computer 140, may receive as input a design description of an object's shape and separately receive or apply pattern data to the designed object without reverting to the tool or modeling environment that created the design description. This practice may be referred to as a ‘late binding’ of surface features to otherwise already complete design descriptions, offering a user the ability to freely change surface graphics or textures as superimposed on an existing design. The toolpath computer will generate G-code commands implementing the overall shape of the designed object while injecting the necessary toolpath nuances to render the pattern on the surface of the object. In contrast to conventional approaches, the present teachings allow for the overall design of the shape of an object to originate from a different source than a patterned texture or graphic feature to be applied to the surface of the object. For example, a user may download from a website the general shape of a tea pot in the form of an STL or SCAD file and then select a decorative pattern from a different site (or create their own) and have the toolpath computer generate an altered sequence of motion control commands that reflect the influence of both inputs.
In scenario (b), nozzle 822 is slightly higher in the Z-direction than the tip of nozzle 820. As evident in picture 831, that portion 841 of trace 812 that corresponds to nozzle 822 crossing over tray existing trace 810 allows for some residual thickness of trace 812 to connect between the leftward and rightward lobes as shown in this view. This simply means that the outermost portion of trace 812 that conforms to the surface contour of the object remains connected to the remainder of trace 812 by a thin sheet of material. This may be beneficial to keeping the rightward lobe of trace 812 connected although, as noted before, there are other points of adhesion between this part of the trace and the remainder of the build.
Finally, in scenario (c) a larger offset between the nozzle tips of 820 and 822 are is observed, leading to an even larger margin by which nozzle 822 clears the existing trace 810 and allows for continuity of extruded trace 812 as it crosses over trace 810.
In
In
Continuing on from left to right along
A greater number of traces, perhaps exhibiting different colors or other characteristics, could be interlaced in this fashion to present readily changing colors on the surface of the 3D printed object at relatively high spatial frequency and with minimal extruder switching at each layer. Yet another variation in the context of
Another characteristic of system 1100 is the decoupling of the motion of two or more extrusion nozzles. In system 100 described earlier, the two extruders were described as moving in concert at all times and remaining in a fixed orientation with respect to one another. Even though the three orthogonal axes of motion provided by earlier system 100 can, with the proper instructions, achieve circular motion of the nozzles over the build plate, the arrangement of system 1100 offers certain advantages in printing speed and simplicity for objects that are roughly cylindrical, exhibit radial symmetry or are otherwise easily described in polar, cylindrical or spherical coordinates. Examples of such objects include bracelets, napkin rings, collars, gears, bushings, bearings, wheels, jar lids, vases, etc. With certain classes of objects upon which surface features are desired to be formed from two or more extruded traces in accordance with the present teachings, especially cylindrical, toroidal or conical objects, or more complex surfaces of rotation (for example, a vase or urn), the system 1100 may allow for multiple extruders to deposit material onto a rotating workpiece simultaneously, albeit at different locations on the workpiece at any given time. This attribute can reduce or eliminate the need for any extruder switching and the various related measures that must normally be exercised to prevent dribbling from an idle extruder from spoiling a workpiece. In addition to improved speed and ‘clean’ formation of a workpiece, system 1100 enables some workpieces to be constructed spirally, that is, by gradually incrementing the Z-axis elevation of the nozzles over the course of a rotation of the build plate rather than abruptly incrementing the elevation at a particular angle in the rotation. Thus, for many objects fabricated in a dual extruder system constructed as in
In particular, it is advantageous to dispose multiple, independently-controlled extruder nozzles around the center of rotation of the build plate and to arrange the linear axis of motion for each nozzle to align with the rotational axis. (See inset labeled ‘overhead view’.) In this manner, if a toolpath for an object is readily describable in terms of a distance ‘IR’ from center of the build plate as a function of angle of rotation ‘theta’ of the build plate, the action of the motor rotating the build plate can be mapped to angle ‘theta’ and the motor controlling the nozzle can simply move in response to the value ‘IR’ at the given angle. As the rotating workpiece passes under the respective nozzles each nozzle may independently move to a position where the specific extruded trace from that nozzle needs to be applied.
Referring to
To accomplish the placement of a complementary trace such as trace 532 as shown in
In
In the case of filamentous raw materials, such as plastics, filament from spool 1102a is fed into a first motor-driven extruder 1104a. Likewise, in a dual extruder system, filament from spool 1102b is fed into a second motor-driven extruder 1104b. Under control of a motion control computer, such as real-time motion controller 1130, extruders 1104a and 1104b push the filaments through flexible tubes 1106a and 1106b, respectively. Each filament is forcefully fed into its respective heater block 1108a and 1108b. Each of the heater blocks comprises a heating element and a temperature sensing element, such as a thermocouple. As connected to real-time motion controller 130 or a separate temperature controller, heating block temperature may be controlled by sensing actual heating block temperature and sending controlled electrical current through the heating elements to achieve a desired temperature. When driven by force on the filament entering from the top, heater block 1106a discharges material from the bottom at the tip of nozzle 1110a. Likewise, heater block 1106b can extrude material from the tip of nozzle 1110b.
The position of nozzle 1110a relative to the build plate center of rotation 1165 is adjusted by first nozzle position motor 1112a responsive to control signal ‘N1’ from real-time motion controller 1130. First nozzle position motor 1112a acts upon leadscrew 1114a to cause block 1108a to be driven inward or outward relative to the build plate center of rotation. First nozzle position motor 1112a may be coupled to block 1108a via belts, pulleys, gears, linkages or other means, resulting in substantially inward and outward motion. First nozzle position motor 1112a may be a rotary stepping motor, DC servo, phase resolver or may be a linear motor or galvanometer. Similarly, second nozzle position motor 1112b may move block 1108b inward and outward relative to the build plate center of rotation and is subject to the same description for motor 1112a above.
Build plate elevation motor 1170 may be control the elevation (or Z-axis clearance) of the build plate relative to the nozzles. Although
A workpiece 1125, which is an object being constructed progressively by addition of materials from either or both of spools 102a, 102b, is shown on build plate 1120, though it should be understood that, just before a construction begins, the build plate will generally be blank until the extruders deposit the first layer of traces. In the arrangement shown in
Build plate rotation need not be unidirectional or of constant rate. Indeed, shapes resembling flower petals, undulating patterns, Lissajous figures and circular saw blades may be readily achieved by careful control of rotation in coordination with the inward-outward positioning of one or more extruder nozzles. Furthermore, a hybrid type of machine may be constructed that uses build plate rotation as in system 1100 while preserving the Cartesian coordinate control of nozzle positions as set forth in system 100. Of course, a toolpath calculating computer would likely need to take into account which machine geometry the G-code instructions were intended for, be it system 100, system 1100 or a hybrid thereof. Most conventional machines receive instructions for moving in three orthogonal directions and accommodate for machine-specific parameters, but a rotary-based system may require earlier consideration in calculating toolpaths.
Once an initial layer of material has been deposited in this fashion, then Z-axis motor 112 C will generally be directed to turn lead screw 114 C slightly so that build plate 120 moves downward and further away from the plane in which nozzles 108a, 108b are moving. At this point, the apparatus is prepared to lay down a second layer of material upon the initial layer that is contacting build plate 120. The remainder of the workpiece is constructed by iteratively lowering the build plate using Z-axis motor 112c and then coordinating the motion of nozzles 110a,110 b to deposit extruded filament under the control of X-axis motor 112a, Y-axis motor 112 b, and either or both of extruder drives 104a and 104b. This process is repeated until all layers have been deposited and the workpiece is completed.
For clarity and simplicity,
A first nozzle position motor 1112a acts to control axial displacement of nozzle 1110a relative to the build plate's center of rotation 1165. For example, motor 1112a may turn a leadscrew 114a which drives block 1108a inward toward the center of rotation 1165 or outward way from center of rotation 1165. Alternatively, motor 112a may act upon pulleys, belts, cams, gears or other well-known elements to effect fine control over the positioning of nozzle 1110a towards and away from the center of rotation of the build plate. In similar fashion, a second nozzle position motor 1112b may control the positioning of nozzle 1110b, coupled through elements such as leadscrew 1114b. For simplicity in the diagram, leadscrew threads are not shown but it is implied that motors 1112a, 1112b may contain thrust bearings or be coupled to a leadscrews assemblies that include thrust bearings coupled to a stationary frame of the overall machine that the motive force against block 1108a may bear against. Block 1108a,b may contain a complementary nut or threaded member that couples to the leadscrew threads. Furthermore, blocks 1108a,b may be coupled to linear bearings, lubricated slides, Peaucellier linkages or the like which allow for linear motion in the desired axis as driven by the leadscrew but which also prevent the block from turning in the same direction that the corresponding leadscrew turns. The real-time motion controller controls the first and second nozzle position motors by conducting motor drive signals through connections N1 and N2.
In
To highlight advantages realized by various implementations of the present teachings,
To complement the space that letter model 1210 will occupy when printed by one nozzle, the cylindrical shape model 1220 must have also have letter model 1210 subtracted from its 3D shape by a differencing CSG operation. (Note the letter-shaped voids 1222.) These procedures create two separate models, 1210 and 1220, designed to occupy complementary portions of the build volume and to be printed by two different extruders to create the desired surface appearance.
In a conventional process, these two models must be separately loaded into a ‘slicer’ application in a computing environment and then be ‘merged’ to form a combined model 1230. The slicer's ‘merge’ feature will generate numerical G-code instructions directing the 3D printer to build the composite part by switching among the two nozzles and depositing materials from each nozzle at specific locations, effectively forming both the letter model 1210 (at full depth) and the cylindrical mode 1220 out of their respective materials and with an interlaced fit as shown in combined as-printed model 1230.
This prior art approach is cumbersome and overly complex in several ways. Because each model 1210 and 1220 are, in a sense, treated as separate printed objects being modeled and sliced, the respective surfaces of these models will be formed of a set of one or more outer perimeters and separate interior fill patterns. To emphasize this aspect,
Furthermore, if a designer wishes to change an aspect of the graphic feature on the surface of the cylindrical object, like switching to a lower case ‘abc’ graphic, the designer using this technique must return to the modeling environment and basically start over with forming a new model of the ‘abc’ graphic and repeat all of the CSG operations and in-slicer merging of the components listed above. This complexity hinders the agile replacement of surface graphics applied to an object, as is especially important in creating a series of identically shaped objects having unique graphic features on each, such as personalized or serialized items.
As another disadvantage of the conventional treatment of graphics as a separate embedded model as shown in
Another significant disadvantage of treating the graphics elements as separate models is that when forming isolated elements (for example, note the space between each of the letters ‘A’, ‘B’ and ‘C’) a nozzle depositing the contrasting color to form these letters must jump between these separate ‘islands’ of deposits and will likely perform a momentary extruder retraction, Z-elevation, travel and extruder advance for each jump. As explained earlier, this abrupt starting and stopping of a nozzle many times per layer undermines quality and efficiency and is preferably avoided. Even if this jumping behavior can be suppressed in a given slicer application, then extraneous fine strings of build material may be formed between these islands and may be placed indiscriminately by a slicer, even visibly breaching the object's surface where concave shapes are present.
Resembling view 1410, view 1420 shows the planned toolpaths of a cylindrical shape upon which a surface graphic feature 1411 has been applied. The toolpaths shown in view 1420 may well be derived from the same infill traces 1423 and perimeter traces 1425 shown in view 1410 and may have been modified or diverted slightly to implement the surface graphic 1411 by applying the present teachings.
In
It is important to note that to change surface graphic 1411, the toolpaths 1425 could simply be again modified from what was shown in view 1410, just as they were modified in view 1420, without having to revisit the slicing procedure that created toolpaths 1423 and 1425 from a cylindrical shape model. The remaining perimeter traces 1441c, 1441d could be deposited by either of the same nozzles that produced traces 1441a and 1441d or by yet other deposition sources. The use of numerous perimeters is fairly common and may be primarily driven by requirements for part strength or opacity, but some surface graphics implementations set forth herein may also require multiple perimeters.
In this subtexturing technique, an outer extruded trace 1510a is preferably made of a transparent or translucent material, such as a clear red tinted polylactic acid (PLA). Trace 1510a persists as an outer surface or window across a zone over which the effect is to be rendered. This presents a smooth, uninterrupted surface while a second, underlying trace 1510b moves between two positions that cause some locations underneath trace 1510a to appear lighter or darker, as may be modulated by image data analogous to how image data 508 affected surface appearance in
Over a first interval 1508a across the surface, the second trace 1510b follows toolpath 1502c, leaving an unfilled region 1503 where toolpath 1502b is shown. In practice, trace 1502a is deposited from a round nozzle and is deposited in the shape of an elongated bead or strand having smooth, rounded sides. Due to its transparency and smooth rounded features, trace 1501a creates an optically reflective or lenticular effect, when deposited in a single thickness, and tends to reflect ambient light incident on the object.
However, over a second interval 1508b, second trace 1510b is shown to switch from following toolpath 1502c to following toolpath 1502b, which causes trace 1510b to meet and fuse with trace 1510a. (Alternatively, the deposit order could be reversed and trace 1510a would meet and fuse with previously deposited trace 1510b wherever the latter had shifted outward to toolpath 1502b. Unless specified, any of the prescribed trace configurations shown herein yield the same desired effects regardless of deposit sequence, leaving other practical factors to influence the deposit sequence.)
The fusion between trace 1510a and 1510b over interval 1508b changes trace 1510a from being an efficient internal light reflector to a light-absorbing tunnel. Light striking the surface of the object at a location where traces 1510a and underlying trace 1510b are fused together is partially deflected away from the surface and effectively absorbed, resulting in a relative dark area on the surface.
Using image data to modulate between areas where traces 1510a and 1510b are either fused together or separated by a gap, it is possible to create a pattern of lightness and darkness that appears just under the surface of the object even though, to the touch, the surface of the object is smooth and continuous.
The structure shown in
Over interval 1508g, single trace 1510a takes a different course, alternately diverting away from, and then returning to, toolpath 1502a in closely space ripples that are normal to the designed contour. (Although the trace is shown with distinct edges to outline the extruder path, the deposited material actually fuses to form a more-or-less solid block over interval 1508g.) This pattern of deposition is unlike the shallow reflective form of trace over interval 1508f and instead creates a deeper optical tunnel over interval 1508g that is less reflective and may appear to be darker or more densely colored than the single trace. Image data describing a pattern of light and dark areas may be used to control where a trace is deposited along a contour toolpath as shown over interval 1508f and where a trace engages in bursts of lateral dithering as shown over interval 1508g. An optional trace 1508b may also be deposited to lend strength.
While the technique shown in
Note that where already-calculated endpoint coordinates for infill traces 1612 previously contacted perimeter 1610c at contact point 1614, an efficient way to slightly modify the infill paths, rather than recalculate them entirely, is to shorten the infill traces and, for example where a grid or similar infill pattern is used, truncate each turning point as shown, effectively replacing each single contacting point 1614 with two waypoints 1615 and 1616.
Graphic pattern 1720 may be in one of several formats of digital image data representing a two-dimensional image such as a raster bitmap, a vector graphic or a compressed image using a discrete cosine transform, to name a few. Graphic pattern 1720 may also be obtained using a function that defines an image element value as a function of coordinates in three-dimensional space and by sampling the function at specific coordinates, such as those making up a planar surface or those that intersect a shape model, to provide a determinate value for each of many adjoining sampling points over a planar or non-planar mesh.
Graphic pattern 1720 may be created by a designer who has prepared 3D model 1710 or may be obtained from a different designer. Each of graphic pattern 1720 and 3D model 1710 may have been created in any sequence and without forehand knowledge or regard for the existence of the other. A wide variety of different graphic patterns 1720 might be combined with 3D model 1710 to yield items that are of the same 3D shape but have different surface appearances. Likewise, a single graphic pattern 1720 may be applied to a wide variety of 3D models 1710 to create various shapes that bear the same graphic feature.
The selection of a 3D model 1710 from among multiple different models, and of a graphic pattern 1720 from among many candidates, may be made by a third user who is not the creator of either the model 1710 or pattern 1720. The third user may, for example, select a model from a publicly accessible repository such as Thingiverse (an internet website having a URL of www.thingiverse.com and operated by Makerbot Industries, LLC, NY, NY) and separately source graphic pattern data from a vendor offered through Etsy (an internet website at www.etsy.com operated by Etsy, Inc. of Brooklyn, New York.)
A user who either creates or obtains model 1710 and either creates or obtains pattern 1720 may use application software on a computing workstation 1730 (such as a desktop computer, laptop computer, cloud-hosted service, tablet or smart phone) to present the model and graphic in juxtaposition so that the user can preview the appearance of the combination and preferably adjust the relative location and size of the graphic feature on the model to simulate the appearance that will result after the build. Preferably, the user may select colors or other attributes of the materials that will be used during the build process and view a rendering that closely simulates the appearance of the finished article if the selected model, pattern and materials are used.
When a user has selected model 1710 along with pattern 1720 and has viewed and adjusted the size and location of the graphic feature on the model, then a process within workstation 1730 (or otherwise hosted on some computing platform) calculates nozzle toolpaths, using processes described elsewhere herein, to cause pattern 1720 to be formed as the object is being constructed by extrusion deposition. The resulting toolpath instructions are conveyed by data communications (see arrow 1735) over a data network, by recording upon a portable non-volatile computer readable medium or otherwise providing a data file to an extrusion-based additive manufacturing system 1740 which creates a solid object with the chosen graphic feature.
Note that, despite
As yet another alternative contemplated, the model may come with or have embedded a preferred or allowed location for graphic content. Model 1210 may have embedded, affiliated or attached mask data that controls or advises where graphic content may be applied.
Extending upon
As with
Note that, despite
In contrast to
The advantage of using the approach depicted in
A first plot 2010 represents the state of graphical pattern 2012 as a function of circumferential progress (represented by arrow 2002) along the designed contour of an object's surface. This progress axis mainly pertains to graphics that conform to an object's surface, even if not flat. It should be noted that, alternatively, a progress axis may simply be positioned along a linear axis as when a surface to receive a graphic treatment is comparatively flat or when a collimated image is projected from a given direction towards an object without distorting to accommodate the object's shape. In general, the progress axis represents the establishment of a monotonic mathematical relationship, such as a linear proportional relationship, between two scalar-valued ranges, the first range being a spatial range of values assigned to points that lie along a toolpath and the a second range of values being a graphical range of values of coordinate along at least one dimension by which graphic data values may be indexed in a graphical pattern data set.
With brief reference to
An end user or designer may, depending on circumstances and desired effect, select any of the above approaches or yet other approaches for coordinating contour-wise progress to image-wise progress. The present invention is not limited to reliance on any specific one of these mappings.
Returning to
Plot 2010 corresponds to the variation between these graphic states, for example, as graphic pattern 2012 is scanned left-to-right along one raster ‘row’ 2014. Of course, pattern 2012 may be two-dimensional (2D) and represented by a raster graphic data set (bitmap), a vector graphic data set or other format as long as the state or value at any addressable location within the image can be unambiguously determined. In accordance with preferred embodiments, two-dimensional pattern data may be encoded in manner having a finite integer number of ‘vertical’ rows, while representing ‘horizontal’ locations of transitions between states using a high-resolution representation such as a floating point data value encoded according to IEEE Standard 754. Preferably, two-dimensional pattern data is encoded in a manner with highly asymmetric resolutions, such that the number of distinct values that may be represented in a first dimension, such as a relative ‘horizontal’ axis, may be more than one thousand times greater than the number of values that are representable, or are actually represented within a given data set, along a second dimension, or a relative ‘vertical’ axis.
It is also possible to express a graphic pattern in 3D space and to either obtain a 2D slice of the 3D pattern to use as pattern 2012 in a flattened sense or to determine the graphic values at any given point on the object's' surface contour by calculating the value of the 3D graphic pattern using the 3D coordinates of the object model.
Although depicted here as having binary states, some forms of data for graphic pattern 2012 may have indicate higher numbers of pixel values, may comprise multiple separate ‘channels’ affecting surface appearance or may be continuously valued or presented in high resolution.
In simple terms, plot 2010 may be viewed as a ‘slice’ through pattern 2012 showing the changes between light and dark along the slice line 2014. In this example, pattern 2012 is a generalized texture devoid of any particular shape or outer boundaries. Alternatively, some patterns may have a bounding shape, presenting patterned variation in some regions, surrounded by a solid ‘background’ or a field of fixed state graphics values.
Similarly, a masking graphic pattern 2022 is shown to exhibit changes between two different graphical states, represented here as light and dark portions. As sampled along row-wise line 2024, these changes among graphic values are presented as plot 2020 as a function of progress from left-to-right across pattern 2022. Again, this progress axis may indicate both progress across pattern 2022 and corresponding circumferential progress across the surface of the object.
The left-to-right aspect of this conceptual explanation should not be construed as determining or implying a limitation to the actual printing sequencing or direction. Actual printing may be in either direction and deposited traces may be printed in any combination of directions and in any sequence.
Masking graphic pattern 2022 serves to confine or define specific regions where graphics pattern 2012 may have an effect on the surface appearance of the object being formed. As shown
Whereas plots 2010 and 2020 pertained to graphics data, plot 2030 represents polyline vertices for several perimeter toolpaths that follow the object's design contour at a given build layer (over just a tiny portion shown here) and have been calculated by mathematically ‘slicing’ the 3D model 2032 for the object to be constructed, such as by intersecting the object model along a plane at a height indicated by line 2034. As shown in a somewhat exaggerated fashion for explanatory purposes, each perimeter toolpath 2031a-e is represented by a series of line segments extending the between the coordinate locations or ‘waypoints’ that a 3D printer will be instructed to move between while depositing material. In a similar convention as
It should be noted that when curved surfaces are to be formed by numerical controlled 3D printers and conventional CNC cutting machines the movements are often encoded as many minute straight line movements in this manner of plot 2030. Relatively few polyline points are shown here for simplicity but curves are often represented by more frequently spaced points to better represent curved features at high resolution and avoid the appearance of discernable flat facets on an object's surface.
Most significantly, the present teachings enable the combining of the shape information exemplified by plot 2030 with the graphics effects specified by graphic pattern plot 2010 and optionally a mask pattern 2020. Plot 2040 shows a desired final placement of extruded traces resulting from the combination of these example patterns.
In plot 2040, an outer surface of the object is generally formed by an extruded trace 2041a that follows the designed outer contour of the object's shape as defined by model 2032. In this example, most of the object's surface will have an appearance based on the material used in depositing extruded trace 2041a. If the extruded material used for this trace is opaque and white in color, then the majority of finished object 2042 will be white, except where a graphic feature 2043 is to be formed among the extruded perimeters.
Referring to plot 2040 and following along extruder trace 2041a from left to right, trace 2041a is initially seen as the outer most trace, consistent with this material being the predominant default material that determines the overall color for most of the object's surface. Where a location of a graphic feature 2043 is encountered, trace 2041a is shown to submerge behind other traces beginning at location 2050, yielding the surface contour to be defined by other traces coming to the fore. In this example, this transition at location 2050 from a background color to the beginning of a surface graphics feature corresponds to a mask pattern, shown by plot 2020, having transitioned from a light region to a dark region. The change of state shown by plot 2020 signifies that the routing of traces to form the outer wall of the object transitions from a first state, wherein trace 2041a solely forms the outermost surface, changes to a second state wherein other traces, as well as patterned effects formed therein, are allowed to influence the visual appearance at the surface of the object.
After submerging to make way for other traces, extruded trace 2041a turns at point 2051 to follow an inward candidate toolpath paralleling perimeter toolpath 2031d. At the same juncture, location 2050, a previously submerged second trace 2041b may emerge and beginning following along outermost perimeter toolpath 2031a. Second trace 2041b may be, for example, of a translucent green colored material, so that a sharp visual demarcation is formed on the object surface corresponding to location 2050. To implement a subtexture graphical effect explained earlier in
It is over the interval 2004, determined by the affirmative state of mask pattern as a function of lateral progress as shown by plot 2020, that a graphic pattern 2012 is permitted to be expressed by the transitioning or transposing of traces 2041a-c.
For practical reasons, it is recommended that an innermost perimeter trace 2041d, which can be printed by any available extruder nozzle, is present in addition to the graphics-implementing traces 2041a-c. This constant ‘backstop’ trace having a fixed depth provides a consistent attachment location for infill traces, regardless of surface graphics, and provides an important mechanical attachment for trace 2041c when it is oscillating and not being used within an active graphics interval.
The right end of interval 2004, which maps to location 2053 on the surface of the object, signifies the end of the subtexture graphics effect and a return to presenting the background color of the object. Accordingly, extruded trace 2041a turns at location 2052 and reemerges at location 2053. In complementary way, trace 2041b submerges behind trace 2041a and returns to following along toolpath 2031b unless and until another graphics region is encountered within the same build layer.
Upon reaching the end of interval 2004, trace 2041c also submerges behind trace 2041a and resumes its oscillating behavior between toolpaths 2031c and 2031d, alternately fusing between traces 2041b and 2041d.
As shown for one example build layer, plots 2010 and 2020, and the resultant routing of extruded traces in plot 2040, are applicable for the particular vertical elevations or raster rows 2014 and 2024 at which patterns 2012 and 2022 are sampled and pertain to a specific deposition layer in building the specified object. Typically, the continuation of these graphics onto a subsequent build layer will involve shifting slice lines 2014 and 2024 upward, reassessing state changes in each as a function of lateral progress and combining these in a similar fashion with the shape-determining perimeter toolpaths 2031a-e for that next build layer. By continuing to sample and apply the graphics and mask patterns as each build layer is formed, a finished object 2042 will be constructed having the specified graphics shape and texture applied.
In
While shape 2202 is depicted as having smooth continuous edges, it is important to consider how the integrity of this image degrades when the image is divided into a finite grid pattern of pixels that are assigned light/dark values. The vertical resolution is practically limited by the thickness of each deposited layer. Briefly referring to
Outline version 2310 may either be a very large pixel array as a raster image or outline version 2310 may be a vector description comprising curve equations or polylines.
If printed at a 0.2 mm layer height and assuming each raster row in the image data maps to a layer in the build process, this image would be rendered at approximately 12 mm in height. Scaling up the overall rendering size, such as by having each image row control two adjacent printed layers, does nothing to alleviate the rough edges caused by limited discrete coordinate values along the horizontal direction. The jaggedness seen in image 2320 would be very pronounced and of low fidelity in comparison to the source image edges represented by outline version 2310.
Given that, by employing the present teachings, a shape 2202 will be realized by the patterned depositing of extruded layers that are, for example, 0.2 mm high it is apparent that the vertical resolution of the printing process is effectively limited to 0.2 mm without extraordinary measures. At first, it may seem that the horizontal resolution should be deemed to about the same as this value and that, given a limitation in the vertical axis, there may not be a significant advantage to rendering graphics elements like shape 2202 using a much finer resolution for representing edge location along the horizontal axis.
Surprisingly, as will be explained, considerable image edge quality can be preserved by enhancing horizontal resolution even ff vertical resolution remains constrained. An alternative and efficient technique for encoding image data is set forth below that is particularly applicable and beneficial in the context of the present teachings.
For a graphic pattern that is to be applied in a horizontally elongated manner, such as when wrapping around the entire circumference of an object, a rasterized representation quickly becomes unwieldy. For example, if an object such as a bowl or a bracelet having a diameter of 100 mm is to be formed with a graphic element that is 12 mm tall and pi*100 mm=314 mm wide, a straightforward raster image, such as a bitmap, would require 60 rows and 1582 columns or 60×1582 pixels. Even using this number of raster columns to index pixel values, a graphic edge with a slope greater than 1 would show jaggedness or a stairstep effect, significantly detracting from the graphics quality. If the horizontal axis were to use, say, five times as many columns, the jaggedness effect would only be partially diminished and yet the aspect ratio of the raster image data would be increased to 131:1 (width to height), making the source graphic difficult to produce or display using most common graphics manipulating tools. Maintaining a more reasonable aspect ratio, such as 4:3, would force a designer or user to obtain and represent graphic images in a large format, like 7910×5932 (or nearly a 50 megapixel image), even though the 5932 rows would degenerate into only 60 rows that actually get printed. Even if this avenue is chosen for handling source graphic images, jaggedness will still be evident on some edges and this effect will be pronounced on large objects, such as object that are several hundred millimeters to several meters in linear dimension or in circumference. In practice, it has been discovered that even a comparatively high-resolution raster image leaves a residual jagged-edged appearance on curves and inclined edges.
In accordance with preferred embodiments, an alternative representation of a graphic element is used wherein the graphics-describing data is arranged into an integer number of rows that are the same as, or comparable in magnitude to, the integer number of printed layers over which the graphics will be formed while printing an object. An exact one-to-one correspondence between graphic rows and printed layers is useful but not essential as some interpolation techniques can derive a virtual row from two adjacent rows of raster data. Nevertheless, it is advantageous for image data to map directly in the vertical direction and this is more readily accomplished where graphics image data is originally obtained in a vector format without inherently having a finite row count. In a preferred method, each row of graphic data will comprise a sequence of locations at which transitions occur, such as between light and dark graphic states. Unlike row numbers, that may be indexed using, for example, a 16-bit integer value, the locations of transitions within a row may be encoded using high precision floating point values. Using the conventions set forth in IEEE Standard 754, for example, a 32-bit single precision value may represent the location of a graphics location to around 7 decimal places meaning that the location of a transition may be located within one ten-millionth of a normalized value. If the image data were in raster format and expected to express locations to this degree of precision, then the raster would have to have 10 million columns or use a run length coding technique. For even more precision, a 64-bit double precision value may represent a transition location to around 14 decimal places. Thus, horizontal resolution may be several orders of magnitude greater than vertical (row-counting) resolution. Encoding of only state transition locations is also far more compact for most simple graphics compared to full-width rows of pixels that undergo infrequent value changes along a row or scan line.
To illustrate the presently recommended method of encoding each scan line as an ordered list of transition locations,
In
Assume that each segment defining the edges of shape 2202 is described by two ordered pairs of coordinates (X0, Y0) and (X1, Y1) in a Cartesian coordinate system of pattern 2200.
To build a list of high-resolution locations of transition points, which may be sorted in left-to-right order, for example, the Y value of the scan line (Yscan) within the same coordinate system is compared against the Y0 and Y1 values of every segment that delineates light from dark within the entire pattern 2200. Any segments for which the value of Yscan lies on or between the Y0 or Y1 values are noted, and each segment is evaluated in terms of an X location 2213 at which the segment exactly meets the Yscan value. This may be calculated by linear interpolation and yields a high-resolution value. If a given scan line value identifies multiple intersecting segments across a graphic pattern, the segments are sorted in order of increasing X intersection value. This sequence of normalized edge locations produced for each scan row yields an image presentation that efficiently expresses graphics patterns that are of comparatively low resolution in a vertical axis but support exceedingly precise location along a horizontal axis.
Returning to the example of
Along an adjacent scan line 2210b, a different Yscan value is applied and the edge intersections detected may occur, for example, at locations 0.3859874 and 0.4991323.
These values may be encoded within a data file that may be stored or transmitted. Within a computing environment, these values may also be listed in an internal data structure in memory, such as a row-wise array of linked lists, with each linked list accommodating the variable quantity of transitions that may occur along a given scan line. In either case, the values may be organized as follows and may include initial state and transition type or sense as follows:
Row 88:
-
- Initial state: Light
- Transition Location: 0.4785372
- Transition Type: Light-to-Dark
- Transition Location: 0.5783232.
- Transition Type: Dark-to-Light
Row: 89
-
- Initial state: Light
- Transition Location: 0.3859874
- Transition Type: Light-to-Dark
- Transition Location: 0.4991323
- Transition Type: Dark-to-Light
A detailed process for accepting image data in this form and combining this data with shape-defining polylines so that the desired graphic effect is applied to a constructed object is described in
First, to conceptually describe how 2D image data encoded with such highly asymmetric resolution is combined with shaped toolpaths calculated from an object's design model,
Each toolpath 2410 and 2412 is shown to comprise a respective set of waypoints 2411a-d and 2413a-d. Each waypoint is at a unique XY coordinate location within the slicing plane. Extrusion along toolpaths 2410 and 2412 may occur in any order, which may be user selectable. To form an object's surface in the conventional way, without the graphics features of the present teachings, an extrusion nozzle would simply deposit material while moving to each waypoint 2411a-d in sequence along toolpath 2410 and while moving to each waypoint 2413a-d in sequence along toolpath 2412.
To signify a convention for progressing in horizontal position as both a toolpath and graphic row are traversed, a ‘lateral progress’ legend 2415 indicates progression from left-to-right in
For every XY waypoint 2411a-d and 2413a-d, an additional numerical value is assigned that expresses the location of the point in terms of lateral progress. This value is preferably of high resolution to properly complement the high-resolution transition locations encoded in image data. In a scheme based on circumferential lateral progress (as in
Though a surface or circumferential form of progress measurement has been thoroughly described thus far, it is possible to measure progress along a line in the XY plane (as in
Other forms of progress measurement may be angular in nature, such as using cylindrical coordinates based on an axis at the center of an object. As shown in
Note that, in
In the example of
In
Plotted in terms of lateral progress, line 2419 shows where, in relation to the waypoints of toolpath 2410, the transition should appear on the surface of the object. In preparation for planning the transposition of extruded traces to create this effect, the nominal location of the transition is first split into two separate events located on either side of the nominal location. This provides turning points (see turning points 2015 and 2052 in
Next, as shown in
Waypoints and cumulative circumferential distances along toolpath 2412 might not be the same as for a directly-above points along toolpath 2410. For each interpolated waypoint 2431a and 2431b, a nearest perpendicular point is calculated along toolpath 2412. As seen here, the nearest perpendicular point along toolpath 2412 ‘underneath’ waypoint 2431a, is where a third waypoint 2432a is located. (Note that that nearest point on the adjacent toolpath does not fall between waypoints 2413b and 2413c but rather within the previous segment.) A similar process is used to calculate the XY coordinates of a fourth waypoint 2432b as the nearest corresponding point to waypoint 2431b.
At this point, XY coordinates for all four of the required turning points have been determined. However, one additional measure must be exercised. As a result of the trace-swapping transition being planned, one extruded trace must follow a waypoint sequence of 2411a, 2411b, 2431a, 2432b, 2413c, 2413d, etc. and a second extruded trace will be directed along a complementary sequence of 2413a, 2432a, 2431b, 2411c, 2411d, etc. Waypoint 2413b, which would normally be appropriate for a trace continuing along toolpath 2412 in a build without graphics effects, becomes extraneous and would only create problems if included in either of the extrusion paths. In general, any waypoints that were in the original shape-defining toolpaths but which fall within a transition zone (between lines 2423 and 2425) may simply be discarded. This is true for waypoints along any of the graphics-involved perimeters, not just the outermost perimeter.
Interval 2460 over which the graphic pattern data 2450 is in the dark state, may be described as a graphically defined interval of coordinate values over which the graphical pattern data values correspond to the dark state. Based upon locations of the transitions that bound this interval (see lines 2455a, 2455b), a corresponding interval 2462 expressed in perimeter waypoint positional values can be calculated and may be referred to as a ‘toolpath diversion range’ as this is the vicinity at which waypoints within a toolpath are not included in a final toolpath and, instead, alternative waypoints are introduced that cause the nozzle to markedly deviate from an original perimeter toolpath, such as toolpath 2410. The numerical values expressing the locations of transitions (lines 2455a, 2455b) may be encoded as high-resolution values. As described earlier, graphical pattern 2450 may be expressed, encoded or received in terms of a finite number of row-wise lists, each list describing a series of transition locations using a notation capable of representing a far greater number of possible values than needed to address the finite row count along an orthogonal dimension of the graphical pattern data.
The act of including, within a final nozzle toolpath, one or more waypoints from a first perimeter toolpath that have positional values falling outside of a toolpath diversion range, as well as alternative waypoints that did not lie along the first perimeter toolpath and are at locations that would correspond to positional values within the toolpath diversion range, is apparent in
Returning to
A similar effect is evident in
There may be wide variability in distances between successive waypoints, even within a single given perimeter toolpath. In some instances, there may be multiple graphics transitions mapping within single segment between shape-template waypoints or there may be many waypoints over a range of progress in which a graphic effect remains in a fixed state. The processes described in
Using as a context the specific segment or pair of waypoints selected in step 2504, step 2506 is carried out to identify the lowest and highest progress values encompassed by the segment. A first-encountered waypoint will have already been encoded with a normalized progress value that will represent the low limit of the range, assuming that segments are being processed in order of increasing progress values. Likewise, the very next waypoint should have a higher progress value that establishes the highest progress value encompassed by the chosen segment.
Having determined the range of progress values currently under consideration, step 2508 is performed to search the transition locations listed for a row of image data and determine if any transition locations listed for the row fall within the low and high values obtained in step 2508. Using the earlier example, this action corresponds to detecting that transition 2418 had a location value between the respective location values of waypoints 2411b and 2411c (or within segment 2428 defined by these waypoints).
If, in step 2508, it is found that at least one transition location falls within the established range, then step 2510 is next performed to add waypoints, where needed, which may be offset on either side of the nominal location as indicated by lines 2423 and 2425. (A new waypoint may not be needed if an existing waypoint is already at the right location to serve as a turning point.)
Following step 2510, step 2512 is undertaken to delete any extraneous waypoints that fall within a transition zone, such as the zone between lines 2423 and 2425 in
After step 2512, step 2514 is performed to increase the low limit of the range of considered progress values up to equal the transition location identified in step 2508. This effectively allows the search for graphical transitions occurring within the segment to be reiterated while disregarding the one or more transitions that have already been noted and processed. Repeating the search for next transitions by returning the flow of execution to step 2508, while also shifting the low range upward as transitions are found, ensures that multiple transitions within a single segment range are detected and are processed in correct order. This looping continues until all transitions within the span of a segment have been processed and step 2508 becomes a false condition.
When the determination of step 2508 is negative, then execution proceeds to step 2516, where it is determined whether all segments in the outer toolpath (or at least all within a designated graphics-applicable range) have been processed as needed to create graphic features by rerouting of extrusion paths. If all appropriate segments have not been processed, then execution continues with step 2504 to select a next segment as a context for steps 2504 through 2514, already described. Alternatively, if, in step 2516, it is found that all segments have been processed, process 2500 is concluded in step 2518. Once process 2500 has acted upon sets of toolpath waypoints in combination with image transition data, then, in generating output movement commands for controlling extruder nozzles, any nozzle that moves from left to right along waypoint 2411a will execute the inward transition shown in
As described above, a graphic feature may be described in terms of finite rows of data, each row comprising an ordered listing of transitions along the row with locations indicated using a high precision digital representation. The breadth of an image, such as graphic pattern 4400 shown earlier, maybe indexed by a normalized value ranging from 0.00 on the leftward extreme to 1.00 on the rightward extreme. This may be regarded as a measure of horizontal progress as one coordinate to describe the location of an edge feature within the graphic pattern.
The surface of an object being constructed may also have, for example, a form of lateral progress measurement. One form of referencing location across an object may be a normalized circumference value described earlier. It is important to acknowledge that the traversal in progress from 0.00 to 1.00 within image data may or may not correspond to full traversal of the circumference of the object. If a graphic feature is intended to fully wrap the circumference of the object, then a direct mapping is workable. For example, an edge in the image data that is at a normalized location of 0.25000 will appear at a point that is one quarter of the way around the perimeter of the object.
Alternatively, a graphic pattern may be scaled and offset so that only affects a portion of the object's surface, such as a 25 mm square logo might be applied to the side of a cylindrical canister that is 300 mm in circumference. The canister may have a seam or side handle where graphics are unnecessary and these features may correspond to reference starting and ending points for a circular toolpath forming the walls of the canister. Assuming that the graphic is to appear exactly opposite the seam or handle, then the logo's horizontal progress might be ‘re-normalized’ to span from 0.458 as the far left coordinate and 0.542 for the far right. The logo graphic pattern will effectively have been horizontally scaled by to fit within 25 mm, or 0.083 times the overall object circumference, and to be positioned to start at 0.458 times the object circumference, causing the center of the logo to occur midway around the object.
Vertical positioning and scaling may also be applied but are implemented differently. The lowest point on an object's surface at which a graphic effect begins to appear is simply controlled by how many layers are printed before beginning to apply the lowest row of image data to the diverting of extruded traces. This amounts to controlling vertical offset. Where a graphic pattern is presented in a vector format, the graphic may simply be scaled to match its final size before it is sampled by horizontal scan lines that each correspond to a vertical increment or build layer.
In all of the examples presented herein, a combination of scaling and offsetting may be applied to control where a graphic effect is applied to an object's surface. Where a 1:1 proportioning between fully traversing the width of an image and fully circumnavigating an object's surface at a given build height has been shown for simplicity, this should not be construed to limit implementations of the present teachings to a 1:1 proportioning.
As the comparison of lateral progress values between graphics data and object toolpaths occurs (as in step 2508) scaling and offsetting may be applied.
Process 2600 commences with step 2602 upon the need to create toolpath instructions for forming an object with included surface graphics effects. Execution then proceeds directly to obtaining shape-descriptive data, in step 2604, and pattern-descriptive data, in step 2606. The shape-descriptive file may be in the form of, for example, an STL data file or the like. The pattern-descriptive data may be in the form of, for example, a bitmap file, a vector graphics file or an alternative form having high horizontal resolution as was described earlier in connection with
Shown by way of example to be next in execution, step 2608 relates to selecting from among different types of surface graphics effects, such as the effects depicted in
Step 2612 pertains to establishing a position and scaling of the pattern graphics and applicable masks relative to the object model. (Refer to the view shown on workstation 1730 shown earlier.) This establishes a graphics-implementing region or ‘multiple extrusion region’ as described earlier. In some implementations, the requirement for sufficient perimeter count and provision for graphics features may only be applicable over a limited region of the object surface. Alternatively, the entire object surface may be graphics-defined, though the outer surface may be largely unaffected while the graphic pattern data remains in a single state. In the case of a trace-swapping graphics technique shown in
Shown next in execution order, step 2614 may be performed to slice the model file in a conventional manner, with consideration for the minimum number of outer perimeters determined in step 2606. An outer wall perimeter count is a user-selectable parameter in many existing slicer applications. Step 2614 is shown to be performed after step 2612 but could be performed before then, at any time after the required perimeter count has been established as in step 2610.
Step 2614 preferably produces raw candidate toolpaths comparable to those shown in
Shown by way of example to be executed next, step 2616 involves assigning specific ones of the extruded traces from multiple extrusion nozzles to specific roles in whichever graphics-rendering scheme was selected in step 2608. For example, where a trace-swapping surface graphics effect as in
Upon completing step 2616, step 2618 is undertaken, involving a process such as that shown in
The final substantive step 2622 represents providing the instructions from step 2620 to an additive manufacturing device and performing a build process to create the solid object based on the shape-describing data, the image data and the settings determined in step 2608, 2612 and 2616. The instructions may be provided to a point of manufacture directly and immediately or they may be communicated remotely or stored. The complement of instructions may be distributed to multiple machines or may be provided to a given machine in multiple instances over time. After preparing the instructions in steps 2604-2620 and optionally transmitting or storing the instructions, process 2600 concludes in step 2624.
Process 2700 begins, as signified by step 2702, upon the need to apply a graphics effect to a body of data comprising toolpaths by which an additive process will form a three-dimensional object. Execution proceeds immediately to step 2704 to obtain the toolpath data, such as in the form of a G-code file that has been produced, for example, by slicer application 1930 in
Step 2706 represents obtaining one or more image-descriptive graphics files which may serve as a complete self-contained images to appear on the object's surface or may comprise textural and mask image components to be combined as described in FIG. XXX.
In step 2708, a particular graphics effect is selected from among, for example, the perimeter transposing effect of
Although steps 2704, 2706 and 2708 may be depicted in one possible sequence as shown in
Step 2710 corresponds to establishing a position and scaling factor to control where a graphic effect will appear relative to the object model. This may be adjusted by use of a user interface as depicted in
Step 2712 pertains to dividing the G-code instruction data from step 2704, which is organized in a sequence of layers from bottom-to-top, into separate layers and, for the toolpaths within each layer, identifying those toolpaths that form outer wall perimeters. The quantity of outer wall perimeters is either determined or, if already known, is provided as input to process 2700.
Depicted next, step 2714 pertains to determining the number of perimeters required to implement the graphics effect types that was selected in step 2708. As evident in
Once an adequate number of perimeters are present, either as deemed initially by step 2716 or by the adding of perimeters in step 2718, then execution continues with step 2720, as necessary to configure how data values image data will be mapped to different possible perimeter manipulations. For example, if a graphic effect is involves transposing traces as depicted in
Performed next, step 2722 involves modifying the toolpaths followed by extruded traces as was explained in
In step 2724, processing each layer-wise set of toolpath points for the outer perimeters and infill as just described creates a derivative set of G-code XY coordinates to replace the original ones. The layer height and extrusion rates in the original G-code (step 2704) can be carried over in the replacement G-code, whereas the incremental extruder position values must generally be recalculated based on the newly generated XY movement commands.
Next, in step 2726, the replacement G-code sets are assembled into a complete bottom-to-top command sequence capable of directing an extrusion 3D printer to build the object with the graphics effects included. This is generally just an in-order concatenation of the layer-wise G-code commands processed in step 2724 but with extruder change commands, extruder re-initialization and feed rates added where necessary.
Finally, step 2728 represents providing the instructions from step 2726 to an additive manufacturing device and performing a build process to create the solid object based on the shape-describing data, the image data and the settings determined in step 2708, 2710 and 2720. The instructions may be provided immediately or may be communicated or stored. The complement of instructions may be distributed to multiple machines may be provided to a given machine in multiple instances over time. After preparing the instructions in steps 2704-2726 and optionally transmitting or storing the instructions, process 2700 concludes in step 2730.
Turning to
Similar to process 2600, process 2800 is initiated at step 2802 upon the need to create toolpath instructions for forming an object with included surface graphics effects. Execution immediately continues with step 2804 to obtain, as a first data set, shape data, such as an STL file or other digital data model describing the shape of the object in three dimensions. Step 2804 also involves obtaining graphical pattern data as a second data set to be processed.
Next, in step 2806, a slicing software application in a computing environment may be used to perform a slicing operation upon the first data set to calculate, for a build layer, one or more perimeter toolpaths paralleling an outer contour according to the shape information represented in the first data set, each perimeter toolpath comprising an ordered set of waypoints, and segments defined therebetween, arranged for moving an extrusion nozzle to deposit material in compliance with the shape information. In an alternative implementation, the calculation of perimeter toolpaths may take place externally to process 2800 and step 2806 may represent the act of receiving the perimeter toolpaths, such as in the form of G-code instructions or the like.
Once perimeter toolpaths have been calculated, extracted from a G-code list, or otherwise obtained, step 2808 is executed to assign unique positional values to perimeter toolpath waypoints. As mentioned previously, one way to assign a positional value to a given waypoint is to maintain a cumulative sum of the lengths of segments traversed in moving sequentially through previous waypoints along the toolpath. In this manner, the positional value relates to a circumferential progress in following the contour of the object. Consequently, a positional value does not necessarily equate to either the X or Y build space coordinate for a given waypoint and should not be confused as such.
Executed next, step 2810 involves establishing a mathematical relationship between toolpath positional values assigned in step 2808 and addressable coordinate values in along at least one addressing dimension of the graphical pattern data. For example, a range of normalized positions along a horizontal dimension of a graph pattern spanning from 0.2500 to 0.7500 may be mapped to a portion of a perimeter toolpath bounded by positional values spanning from 0.4620 to 0.5632. Upon setting up a linear, monotonic relationship between these two ranges (one spatial and one graphical), a transition in the graphical pattern data that is located at 0.5000 horizontal position (halfway between 0.2500 and 0.7500) may be determined, by proportioning or interpolation, as uniquely corresponding to 0.5126 in positional value (halfway between 0.4620 and 0.5632) measured along the toolpath.
Establishing a mathematical relationship is significant because the graphic file coordinates and perimeter toolpath positional values are not inherently coordinated or predictably related. These data sets are of divergent types, and likely from different sources and times of creation. Furthermore, circumferential-type positional values may start at an arbitrary location on an object and are generally selected by an end user or designer upon matching a graphical pattern to a shape. A user or designer may, by placing and scaling a graphic onto an object as shown in
Once a mathematical relationship allows for conversion between graphical transition location and perimeter toolpath positional values, then step 2812 is performed (and possibly repeated within a row as a graphical pattern data changes states numerous times) to detect transitions among first and second states of graphical data and more particular to identify intervals over which the graphical data is in a second state. Where a graphical pattern depicts binary data values arranged to be addressable in two dimensions (such as pixel values are arranged in a 2-color bitmap), a first state may simply correspond to a data value of false and a second state may correspond to a data value of true. However, not all graphical patterns hold simple binary values. If a graphical pattern encodes data values as 8-bit numerical values, a range of data values, such as 0-127 decimal may be interpreted as a first state whereas values of 128-255 decimal may indicate the second state. The threshold between a first state and a second state may be arbitrarily set by a user and may even be reversed in sense. A graphical pattern may be provided as an 8-bit grayscale image and the user may adjust the threshold that distinguishes first and second states to achieve a desired visual effect. Still other schemes are possible for defining state transitions based on graphical pattern data values, such as interpreting transitions from only one 8-bit color ‘channel’ within a 24-bit RGB color representation. Thus, transitions in graphical data detected in step 2812 are not limited to being just any change in numerical data values nor are the first and second states limited to being represented by two specific numerical values in graphical pattern data. The result of performing step 2812 is determining, within the graphical range of values, at least one first graphical pattern transition location as a coordinate value at which data values transition from a first state to a second state and at least one second graphical pattern transition location as a coordinate value at which data values transition from the second state to the first state, the first and second graphical pattern transition locations defining the endpoints of a graphically-defined interval of coordinate values over which the graphical pattern data values correspond to the second state.
In step 2814, the transition locations defining the graphically-defined interval of coordinate values as determined in step 2812 are mapped to positional values based upon the mathematical relationship that was established or made calculable in step 2810. In other words, step 2814 involves applying the monotonic mathematical relationship to determine what may be termed a ‘toolpath diversion range’ as a range of positional values along the spatial range that correspond to the graphically-defined interval that was determined in step 2812.
Depicted next, step 2816 relates to assembling a composite toolpath, as build instructions to be dispatched to an extrusion deposition machine, that comprises a plurality of points that lie along a first perimeter toolpath (see step 2808) and have positional values outside of the toolpath diversion range, and, for positional values that fall within the toolpath diversion range, comprises at least one first alternative waypoint that does not lie along the first perimeter toolpath. The earlier discussion of
In the preceding description, various exemplary embodiments have been described with reference to the accompanying drawings. It will be evident, however, that various modifications and changes may be made thereto, and additional embodiments may be implemented, without departing from the scope of the invention as set forth in the claims that follow. For example, certain features of one embodiment described herein may be combined with or substituted for features of another embodiment described herein. The description and drawings are accordingly to be regarded in an illustrative rather than a restrictive sense.
Claims
1. In an extrusion deposition modeling process for constructing a solid object by depositing successive layers of material upon a build plate, performed by a system comprising at least one extrusion nozzle for extruding the material and a plurality of motors for creating relative motion between the extrusion nozzle and the build plate, a method comprising the steps of:
- obtaining, as a first data set, motion instructions, calculated from shape data about the object and comprising, for at least one layer to be deposited, one or more perimeter toolpaths paralleling an outer contour according to the shape information, the perimeter toolpaths comprising an ordered set of waypoints, and segments defined therebetween, arranged for moving an extrusion nozzle to deposit material in compliance with the shape information for the object;
- obtaining a second data set describing a graphical pattern of data values as a function of at least two dimensions;
- establishing a unique positional value for at least two points that lie along at least one perimeter toolpath;
- establishing a monotonic mathematical relationship between a spatial range of positional values of points that lie along the first perimeter toolpath and a graphical range of values of a coordinate along at least one dimension of the graphical pattern;
- determining, within the graphical range of values, at least one first graphical pattern transition location as a coordinate value at which data values transition from a first state to a second state and at least one second graphical pattern transition location as a coordinate value at which data values transition from the second state to the first state, the first and second graphical pattern transition locations defining the endpoints of a graphically-defined interval of coordinate values over which the graphical pattern data values correspond to the second state;
- applying the monotonic mathematical relationship to determine a toolpath diversion range as a range of positional values along the spatial range that correspond to the graphically defined interval within the graphical range;
- assembling a finalized toolpath that comprises a plurality of points that lie along the first perimeter toolpath and have positional values outside of the toolpath diversion range, and, for positional values that fall within the toolpath diversion range, comprises at least one alternative waypoint that does not lie along the first perimeter toolpath; and
- outputting a third data set comprising motion instructions for building the object according to the shape information in the first data set and including the finalized toolpath.
2. The method of claim 1 further comprising:
- assembling a second finalized toolpath that comprises a plurality of points that lie along a second perimeter toolpath calculated during the slicing operation and that have positional values outside of the toolpath diversion range, and, for positional values that fall within the toolpath diversion range, comprises at least one second alternative waypoint that does not lie along the second perimeter toolpath; and
- including the second finalized toolpath in the third data set.
3. The method of claim 2 wherein the first alternative waypoint lies along the second perimeter toolpath and the second alternative waypoint lies along the first perimeter toolpath.
4. The method of claim 2 wherein the first finalized toolpath pertains to controlling motion of a first extrusion nozzle and the second finalized toolpath pertains to controlling motion of a second extrusion nozzle.
5. The method of claim 1 wherein the inclusion of the first alternate waypoint in accordance with the second data file results in a portion of the graphical pattern being visually apparent at the surface of the object when the object has been completely formed.
6. The method of claim 1 wherein the first data set and the second data set are provided in separate data files obtained from different sources.
7. The method of claim 1 wherein at least one of the first and second data sets is obtained from a publicly accessible internet repository.
8. The method of claim 1 wherein the first data file includes information describing the shape of the object and is devoid of information pertaining to the surface graphic.
9. The method of claim 1 wherein the second file includes information describing the surface graphic but is devoid of any object-specific shape information.
10. The method of claim 1 wherein the positional values of points that lie along the first perimeter toolpath are calculated as a cumulative sum of traversal distances along the segments defined by the ordered waypoints.
11. The method of claim 1 wherein the positional value for a point is calculated as a projected position along a line.
12. The method of claim 1 wherein the positional values of points that lie along the first perimeter toolpath are calculated as relative angular positions with respect to an axis that is non-coplanar with any subset of two or more of the points.
13. The method of claim 1 wherein the alternative waypoint causes a diversion of the direction of the extrusion nozzle motion away from first perimeter toolpath by at least half of an exit diameter of the extrusion nozzle.
14. The method of claim 1 wherein the alternative waypoint lies along a second perimeter toolpath.
15. The method of claim 1 wherein the second data set comprises a plurality of transition lists, with at least one specific transition list being addressable by an index value along a first dimension of the graphical pattern and said transition list representing zero or more locations at which transitions among data values within the graphical pattern, with the location of each transition expressed as a high-resolution value normalized to a range of coordinate values along a second dimension of the graphical pattern.
16. The method of claim 15 wherein the number of possible values that can be represented by the high-resolution value is greater than one thousand times a maximum value of the index value for a given graphical pattern.
17. The method of claim 1 wherein the first data file describes at least three perimeter toolpaths forming an outer wall of the object, enumerable as an outermost first toolpath conforming to the outer contour of the object, a second toolpath paralleling the first toolpath but offset inwardly towards an interior of the object, a third toolpath paralleling the second toolpath but further offset inwardly towards the interior of the object and the method further comprises:
- generating a composite toolpath that follows the former second toolpath responsive to the data location in the second data file equaling a first value and follows the former third toolpath responsive to the data location in the second data file equaling the second value; and
- including the first toolpath and the composite toolpath in the third data set.
18. The method of claim 1 further comprising:
- providing, as a fourth data set, a digital data model describing shape information for the object to be constructed;
- performing a slicing operation upon the fourth digital data set to obtain the first data set.
19. The method of claim 18 wherein the data for the fourth data set and the second data set are provided in a common file and the second data set is obtained from surface-descriptive data within the common file.
Type: Application
Filed: Dec 14, 2023
Publication Date: Apr 4, 2024
Inventor: Frank McKiel (Colorado Springs, CO)
Application Number: 18/540,561