Thursday 25 July 2013

My First Dabble With 3D Printing

Freshwater station only has one platform, but it was extended at various times over the years. The first section by the buffers where the locomotive would stand is very low with plain brick facing. It then ramps up to a more normal height. The next section is typical Southern Railway concrete panels from the Exmouth Junction concrete works, while the latest extension used the Southern Railway lightweight concrete trestles, more standard components from Exmouth Junction.

Modelling the brick faced platform should be fairly simple using plastic and printed paper. I bought some Peco concrete platform facing for the next section, but it needed cutting down to the correct height, and it appears to be absolutely nothing like typical Southern Railway platforms. It might be based on a foreign prototype, or possibly just the imagination of somebody at Peco. I added some Milliput to fill the vertical channels and add the curved supports at the top of each column. It might have been better to completely scratchbuild some instead.

That leaves the trestle platforms. Nobody manufactures it in 2mm scale, so I had to make it myself. I could have formed each pair of legs separately, but would probably have given up through boredom before completing them all. Also, I knew they would vary too much and would not produce the neat, regimented rows that are such a feature of this type of platform. I had dabbled with resin moulding some years ago, so I filed a trestle from perspex and formed Plasticine moulds with it, and filled them with epoxy resin glue. This experiment was not a great success, the results being too fragile and varying in quality. I decided it was not worth trying with rubber moulds and polyurethane resin.

My next option was to try etching in fairly thick brass. This would still have required sweating two layers together to get the right thickness, but would produce a very strong result. However, I decided to try my third option - 3D printing - instead. Many people have been trying out 3D printing with varying success. However, the technology seems to be improving daily, and I figured a simple scenic item might turn out better than some of the more ambitious projects some people were attempting.

I had previously done quite a bit of 3D modelling on the computer, producing models for use in Microsoft Train Simulator that I made available on uktrainsim.com, so creating the 3D models for printing did not seem too daunting. However, the software I used to use appears to be no longer supported, and did not create files of the required format, so I downloaded the free 3D model editing software called Blender. I know some people swear by Google Sketchup, but I had tinkered with it once and found it confusingly different to what I had used before. Blender is open source, supported by lots of programmers and contributors, and there are lots of tutorials available for it on the Internet.

A 3D model is made up from a series of points, each of which has an X, Y and Z coordinate specifying its position in 3D space. A pair of points can be joined by a line, or an 'edge' and the edges joining three or more points can form a 'face'. A face can be double-sided, but usually only has one side. It cannot be seen from the other side. A simple cube has six faces and eight points - one at each corner - and twelve edges. Spheres, cylinders and circles are not actually possible to create faithfully in this type of 3D model. Instead, a circle is formed from a large number of points, each linked by a straight edge. With enough points, the resulting polygon can start to resemble a circle. Similarly, cylinders and spheres can be portrayed using lots of small, flat faces.

This is where creating models for use in a real-time computer game differs from creating models for 3D printing. In order for a computer to create the displayed images of the game fast enough for smooth, realistic animated motion, the models need the minimum number of points and faces possible. You can play with things called 'normals' on the faces to create the illusion of curved faces, but you would also leave out any unnecessary faces, such as the underside of vehicles which would not normally be seen. However, for 3D printing, we want lots of faces to produce fine curved surfaces, and most important, the models must be 'watertight'. That is, there should be no missing faces, or inward facing surfaces. So, a cube must have all six faces, and all must face outward.

Having grasped these basic premises, model making is rather like modelling in clay. You can grab a bit and pull it out (called extrusion) or you can add more bits of clay. Most software allows you add cubes, cylinders, spheres or toroids (ring donuts). You then deform these objects, divide faces and edges, and extrude parts to get to the required shape. There are other useful tools that can be employed, such as the lathing tool. This can be used to transform a set of lines drawing the outline of one side of, say, a vase, for example, and spin it round to create a 3D vase shape. It is also possible to merge shapes, and use logical unions, intersections or differences to add or subtract shapes from each other. Subtracting a small cylinder from a large cube is like drilling a hole in the cube, for instance.

For my first 3D print model, I used the drawings of Southern Railway trestle platform components from the useful book 'Southern Nouveau - an essay in Concrete'. I converted all the measurements from inches to millimeters, and divided by 152 for the correct scale. Blender uses unspecified measurement units, so I chose to use 1 unit = 1mm in Blender. I then created models of a pair of legs, and a platform section, starting each from a cube, deforming, dividing and extruding until the correct shape and dimensions were achieved. I also 'drilled' holes in the rear posts for the hand rail and fence wires.


 I then duplicated these shapes thirty or so times, stacked up close to each other, but not touching, and then exported the complete set to a single .stl format file.

3D printers are improving in quality, and the cost is falling rapidly, but the affordable ones are still limited in quality and ability. Although they may be fun to experiment with, for now, it makes more economic sense to make use of online 3D printing services, such as Shapeways, to do the 3D printing. Having registered as a user, I uploaded the .stl file, specifying that 1 measurement unit represents 1mm. Some automated checks are carried out on the file, and a few minutes later, I received an email telling me that my file should probably print OK. I was then able to choose what material should be used for the printing, and the price for printing my model in each material could then be seen. Shapeways have a simple pricing scheme, you pay for the volume of material used, each material type having a cost per cubic measure. Therefore, a hollow model will cost less than a solid model of the same size.

Frosted Ultra Detail (FUD) is the plastic most modellers use as it has the finest resolution (0.2mm) but it is far from the cheapest material. My model, enough components for about 12 inches length of platform, cost €23 plus postage. So, not as cheap as a mass produced kit would be (if available), but not prohibitively expensive. I uploaded the file on the Monday evening, and a box with the components in came through my letterbox on the Friday. I was very impressed.


The FUD material is quite transparent, so you can see the surface irregularities on both sides and an initial look gives the impression that they are a bit rough. The legs with the taller rear post will be used to form a lamp post, with a swan neck formed from .3mm wire. This swan neck would have been too fine for 3D printing.

I cleaned the components, removing traces of the wax used in the printing process, most of which has already been removed before delivery. I was not surprised that the .3mm holes for the handrail were not properly formed, but there was enough to guide a drill through in the correct position. I used superglue to fix the components to each other and roughly painted them with a concrete-ish colour and fitted it to a small board with a length of track to see how it looked. The hand rail is formed from 0.3mm nickel silver straight wire.






I have also added some static grass and some bushes, and formed a wire swan-neck lamp. The lamp head was also 3D printed, making good use of the transparency of the FUD for the bowl of the lamp.

I was quite pleased with the results, but gluing all the components together was quite fiddly, and there is quite some uneveness in the platform surface as a result. I therefore went back to the 3D model and started to combine the components so that they would be printed in units of two or three pairs of legs with platforms. I also created the end ramps as single units, and a single unit to include the station nameboard. I kept to smallish units because the platform for Freshwater is curved, not straight. Below you see the duplicated sections in Blender. You can also see some lamp heads underneath the platforms.






And again, a week later, the new components came through my letterbox:

So, now I have no excuse not to get on and create the platform for Freshwater.



1 comment:

Unknown said...

Ian,

I found this only yesterday and am hoping you can help me. I am recreating Tunbridge Wells West in N and have a need for 4 platform supports. Like you I have attempted to make them but they are too small. It is not for a platform but a coaling stage made up of 4 supports on stilts. I have a picture but not sure how to get it to you using this route. If you have any spare supports that I could buy or if you have a way of getting more made please advise.

Thanks.
Bernie Oliver