Concatenate the array of points (line 10) and put the paths into an array of arrays (line 11). Then you have a path for each object (lines 2, 5, and 8). You have each object ( facade, window, and door) as an array of points (lines 1, 4, and 7). The usefulness of paths() becomes clear when you need to cut holes in your 2D object.Ĭonsider, for example, Listing 1. It is the paths() parameter that tells OpenSCAD in which order to draw the shape. The line polygon(points=,, ,, ], paths=]) Īlso draws a house-like polygon, but the points are not in the given order. You can also use the paths() parameter for more complex polygons. OpenSCAD will draw from to, then from to, and so on and will finish by closing the polygon, joining with the starting point at. The renderer then draws the polygon, in this case, a house-like shape. In its simplest form, you pass it a list of vertices that are in the order in which you want to draw the polygon itself: polygon(,, ,, ]) You create polygons by using the (unsurprisingly) inbuilt polygon() function. Once adjusted, you use a screw-like bit ( Figure 2, bottom right) to tighten the pieces to make sure they don't move.įigure 4: A 2D projection of what your 3D arm will look like.įigure 4 shows an OpenSCAD polygon. You slot a piece with two prongs into a piece with three prongs, and, thanks to the fact that the prongs are curved, you can adjust the angle to your liking. They usually end in two or three semicircular prongs (see Figure 2). Most sports camera accessories have a pretty standard way of connecting one with another. It would also have to bend upwards at some point, so the camera had a good view of what was happening on the bed otherwise, it would be too low. To clear the hotbed and allow the camera to focus properly, the arm would have to be relatively long, at least 10cm. In addition, by affixing the arm to a corner and threading the screw used for leveling the bed through it, the arm has extra grip and doesn't fall off.
It doesn't get hot down there, so there is no danger of the plastic getting soft or melting. Anatomy of an Armīy studying my own printer (a Creality 3D Ender 3), I concluded that the best place to affix the arm would be to the hotbed's undercarriage.
You will also be able to make cool, if slightly dizzying, time-lapse photographs of the proceedings. An easy to use parametric M.2 mockup generator.Figure 1: An arm for holding a sports camera helps you film your prints. and related or neighboring rights to M.2 Mockup Generator. To the extent possible under law, Nirav Patel has waived all copyright Sharing knowledge isn’t zero-sum it’s exponential (though maybe not in this specific instance). Even if only one person happens upon this years down the road and it saves them a few hours or gives them the reference point they needed, it was worth sharing.
I can’t imagine this is useful to many people, but the beauty of open source software and hardware is that it doesn’t have to be.
This is a parametric generator for M.2 expansion card mockups in OpenSCAD. The thing I’m sharing today is a very early and very small slice of the project that is likely going to consume the next few years of my life.