Using Alibre Design for Multi-color and Multi-material 3D Printing
When you wish to print out a part on a 3D printer the workflow is simple – design the part, export to STL and print it. This is fine when you are only printing with a single material or color. Becoming increasingly popular and affordable are 3D printers that support printing with two or three colors/materials at once, such as the Prusa Mendel from RepRapPro. How can Alibre Design be used for this scenario?
In general the easiest way to allocate different colors/materials to a part is to design that part using multiple smaller pieces. Each piece is assigned a color/material for printing. Alibre Design has a very flexible and easy to use way of grouping parts together called an assembly. What we would need therefore is a way of exporting multiple STLs from an assembly preserving their relationships to one another.
For example, suppose we have a cube and a pyramid and we wanted to place the pyramid on top of the cube and print it in a different color to the cube. We would design the cube and pyramid as two parts then use an assembly to stack the pyramid on top of the cube. Now we need to export the two STLs preserving their position relative to the same origin. This would allow the 3D slicing software to know to stack the pyramid on top of the cube. This is where the problems start.
Alibre Design supports exporting an assembly to a single STL. It merges all the parts together and produces a single object. Information about the individual parts is lost, so this is not usable for our purposes. If you export an individual part or you hide/suppress parts in an assembly then Alibre Design exports the STL using the position and origin in the part file not the assembly, causing the position information to be lost.
An additional problem is the units used in STL files are not defined. If you create a part using centimeters then Alibre Design exports an STL that uses centimeters. Likewise if you create a part using inches then the STL uses inches. The problem is that most, if not all, 3D slicing software assumes the units are millimeters. Solving this for a single part is easy – simply change the units used to millimeters before exporting. However an assembly can be made from multiple parts that all use different units. Regardless of the units chosen for the assembly the STL export will always use the units the part was designed with.
There is one more issue that needs to be addressed. When creating an assembly parts become rotated but the final positions may not be the best for 3D printing. Consider the lid for a box. When creating the assembly it will be rotated so the top is facing upwards but the optimal orientation for printing is probably for the top to be facing downwards onto the build surface. Currently the easiest way to rotate an assembly is to place it into a new assembly as a sub-assembly. This creates an unnecessary extra file and step to perform.
Fortunately Alibre Design has an easy to use API that allows these problems to be solved and I present here my free utility with an exciting name: AD Assembly Exporter.
To use start the application and Alibre Design and open an assembly. In the assembly you can optionally hide/suppress parts you do not want to export. The name of the assembly will be shown in the title bar of the AD Assembly Exporter application. Enter the desired settings and click on the Generate STLs button.
The utility supports forcing the units in STLs to millimeters and rotation around an axis. The STL export options match those found in Alibre Design so please see the Alibre Design manual for a description of what they do. Sub-assembly nesting is supported.
Only open one assembly at a time when using the utility. It will export the first assembly found from your open Alibre Design sessions.
Please note that this software is provided “as-is”. More details can be found in the license shown during installation.
|Print article||This entry was posted by Andy on February 14, 2013 at 7:28 pm, and is filed under 3D Printing, Software Engineering, Windows. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site.|
No comments yet.
about 1 year ago - No comments
Measuring the tension on the head of a drum or banjo is important in order to be able to determine if the head is the right tension for your needs. It’s also useful to measure tension that gives a particular tone you like, ensuring you can always get back to the same tension after swapping…
about 2 years ago - 3 comments
Introduction This tutorial demonstrates how to create a library of parts in a CAD neutral format based on a single template part. It takes advantage of parameterization in Geomagic Design. We will start by creating the base part that we will use to create the library. This will be a simple cap head bolt. Next…
about 3 years ago - No comments
Rendering models using a variety of materials allows a finished object to be viewed and analyzed before committing to cutting wood or printing plastic. SimLab Composer works very well with Alibre Design. Here is an example showing my fan mount for the current RepRapPro Mendel design: The nozzle mount is an STL from RepRapPro. The…
about 3 years ago - No comments
The most common type of gear is the involute gear, which provides smooth and efficient operation. A gear is defined by the following parameters: Pitch diameter (diameter of gear) Diametral pitch (tooth size) Number of teeth Pressure angle (commonly 14.5, 20 or 25 degrees) The pressure angle defines the shape of a tooth. For two…
about 3 years ago - 2 comments
Creating screws is tedious. There are lots of diameter and length combinations and there is more to a screw than first meets the eye. Creating a parts library containing lots of variations is a perfect use for ADScript. Here is a M3 x 20mm socket cap screw generated from the script below. This screw is…
about 3 years ago - 1 comment
3D printing by using layers of melted plastic filament, such as used by RepRap printers, causes small holes (less than 15mm in diameter) to end up smaller than the designed size. To compensate for this people create designs with larger holes so they shrink to the right size. It’s not an ideal solution – how…
about 3 years ago - 4 comments
ADScript makes it easy to use Alibre Design with Python scripting. For example creating a new part: We can get access to planes in the design workspace, for example: Once we have a part and plane we can create a sketch on the plane: Adding to the sketch is easy: Now we can extrude it:…
about 4 years ago - No comments
The easiest way to design projects that involve multiple parts in Alibre Design is to create and edit parts inside an assembly workspace. This allows the edges and cross-sections of one part to be reused in another part which is very useful. However for 3D printing there is a downside – creating a part inside…
about 4 years ago - 1 comment
Previously I wrote about my little utility that allows exporting properly positioned STLs from Alibre Design so they can be imported into a slicing program for multi-color printing. This is fine for use with the RepRapPro slicer but perhaps not with other slicers. Slic3r is a very popular, fast and flexible slicing program and now…
about 4 years ago - No comments
The Professional and Expert versions of Alibre Design come with a ray tracer called Keyshot but the Personal Edition of Alibre Design does not. However it is easily possible to use the free and very powerful Blender to generate ray traces of your 3D models. First you must design the parts in Alibre Design and…