Showing posts with label Machining. Show all posts
Showing posts with label Machining. Show all posts

2018-08-26

Vinyl Stickers with a 1610 CNC Mill/Engraver

The process for cutting out vinyl stickers with one of these cheap CNC mill/engravers involves mounting a drag-knife and figuring out the software.  It's not particularly hard.  I did it and it works surprisingly well. Of course, I do have a 3D printer to make the parts I needed.

A Drag-Knife is a cutting blade mounted in a holder such that it can freely rotate to follow the cut line.  The knife does not spin under power, it just turns to follow the cut. They go from big to very small. For vinyl stickers, you want the small ones.  With these, the knife is mounted in a bearing so it can rotate and is held in place with just a magnet.  The holder needs to be mounted in such a way that it can spring in the Z axis while being rigid in the X/Y plane.  The holder tip is designed to rest directly on the vinyl under the spring pressure that your mount provides.  The depth of cut is set by the knife stick-out which is set by the holder using a screw assembly.

I picked up a holder and 15 knives for $11 off Ebay (they're even cheaper now... search for vinyl cutter).  While you're ordering this, pick up some vinyl sticker as well.  As a hint, it turns out that people like sticking strips of vinyl at the top of their windshields and those strips are about the right width and very cheap too.


Anyway, about that mount and spring pressure.  There are various designs, some even involving linear bearings, but I decided to try out what's called a "Diaphragm Flexure" that I can 3D print.  It's a very interesting concept I came across looking for something else... such is life in the Information Age.

He're a youtube video of the basic concept:


Here's an academic paper on why it works:
http://www-personal.umich.edu/~awtar/PHD/Diaphragm.pdf

What we're aiming for is a 3D-printed precision linear bearing where the reciprocator is our drag-knife holder and the whole thing mounts in the CNC Z-axis carriage where the spindle motor usually goes.  Yes, a lot of constraints:  The drag-knife holder sets the internal bore, the motor mount sets the outer diameter, we need about 2mm of easy Z-axis movement, and it needs to be as rigid as possible in the X/Y plane.  Took me all of 8 prints to get it right.





The STLs are up on PinShape, there are Fusion 360 project files for the Diaphragm and Housing on A360, and you can download them all for free... though you're more than welcome to buy me a cup of coffee for my efforts.  The Fusion files use parameters for bar width and thickness and also the cut width.  With those, you can alter the springiness and rigidity easily (Modify - Change Parameters).  I started out prototyping in PLA, with surprisingly good results, then switched to nylon figuring it would give better life while springing.  However, given the space constraints, the nylon proved much too flexible.  I couldn't get enough rigidity in the X/Y plane without losing all flexibility in Z.  I considered going with ABS, but the PLA worked so I just went with that.  It's a very small amount of plastic and an easy assembly.  If it ever breaks, I'll just print another.  The 0.5mm test flexure took a surprising amount of abuse before it started breaking.

3D printing these diaphragm flexures is not hard but requires much attention to detail:
  • Print on blue painters tape wiped with alcohol.  You'll never get the part off of glass or another solid surface without breaking the flexure bands.  Print, then peel the tape off the bed, part and all, then carefully peel the tape off the part.
  • I use Cura and had to turn on quite a few advanced settings to make this work.  Realise that the springs in this are printed plastic bands only 0.9mm thick.  It takes a lot of slicer settings to get this right.
  • The cut between these bands is very small, only 0.6mm and it can't be fouled with plastic or the spring won't work.  The model has a filet on the underside of each spring but you must still adjust how your printer lays down that first layer.  Too little clearance and the plastic will mush out and the cut will foul.  Too much clearance and the part won't stick to the bed.  Even with everything as good as I could get it, I still had to clear out some extra plastic under a magnifying glass while using a tiny scraper (an engraver bit actually).
  • Make sure there is only one "body" in the STL and then print the top and bottom layers 'concentric' for maximum strength.  I went with a triangle fill pattern, but I doubt that matters much.
  • I went with a layer height of 0.0875mm, which happens to match the step ratio on my printer, with an initial layer height of double that.  I did try an earlier one with a layer height of 0.04375mm (one step on my printer Z axis) but it doesn't seem to be needed.
  • Set the top and bottom layer count to 2 each.
  • I had to set my 'flow' to 85% (not fill, flow).  You will need to experiment with this to get the right amount of plastic laying down.
  • Fill was also in the 85% range but I doubt it matters much.  Between that thicker first layer and then the top and bottom layers, there is very little room for fill in the spring bands.  The inner and outer bores are not particular.  It's the spring part that is important.
  • The mount itself is not critical, just make sure the flexures tightly fit in the bore or you will need to glue.  Also, measure the distance between the 2 flexures when test fit on the holder and make sure this matches the length of the step inside the mount.  Your drag-knife holder may be a different length.  Note that the bottom step is actually a chamfer such that no support is required.
Print 2 diaphragm flexures and 1 mount.  To assemble: 
  • Scrape/sand out the inner bore of one flexure until it just presses on the nose of the drag-knife holder.  It needs a decent interference fit, or you will have to glue.  I would avoid glue if I could, preferring to print again.  These diaphragm flexures can't last forever and glue will make replacement a lot harder.
  • Do the same for the other flexure, sizing to match the other end of the drag-knife holder, but don't assemble this end yet. Yes, you will have to remove the drag-knife internals and locking nut.
  • Verify that the mount internal spacer matches the distance between the flexures.  
  • Press the drag-knife holder into the mount, seating the flexure that's around the nose.  Slide the second flexure down inside the mount from the other end until it seats on the other end of the drag-knife holder.
  • If you've done everything right then you should have your mount.  The flexures should both be at about neutral, in the middle of their movement, and the drag-knife should easily slide up and down the bore a couple of millimetres each way while not moving side to side.  Put the drag-knife holder back together, insert a knife, and set your initial depth of cut.
  • After that, pull the spindle motor out of the Z-axis of the CNC and slide this mount in.  It should be flush with the top and hang below the mount.  The bottom of the drag-knife holder must be lower than the lowest part of the Z-axis assembly.
  • Block up the CNC table until you can get the label within range of the drag-knife.


To use:
  • Make the top layer of the bed something that won't wreck your knife if the depth of cut is wrong.
  • Tape some vinyl sticker down on the bed, masking tape along the edges works well.
  • Pull the knife out of the holder.
  • Lower your Z-axis until it just touches the vinyl, then another 1mm.  You should see the diaphragm flex a bit.  Set your zero.
  • Raise the Z-axis and install the knife.
  • Cut your sticker.  Make sure there's no spindle-on in the gcode, unless you've disconnected your motor entirely.  I just made a cradle to hold it on the top rail.
  • It will take some experimenting to get the right depth of cut and adjusting said depth is not particularly easy with this setup, what with the adjuster and lock-ring down inside the mount.  But, it's a cheap conversion of a cheap mill.  Get over it.
Some random tips:
  • The Fusion 360 '2D trace' toolpath works.  In the CAM setup, set your cut to zero, at the model top.
  • Some fonts in Fusion 360 will generate 2 traces, both sides of each line.  Good for pocket milling out letters but very bad for cutting vinyl.  You can right-click on lettering and 'Explode Text'.  After that, you can easily delete one of the lines.
  • Set multiple toolpaths if there's a cut inside another cut, as is typical in letters.  The first toolpath cuts the inside, then the next toolpath cuts the outside.  That way, if the depth of cut is too deep and the backing lets go, the inside will already be cut.
  • Once cut, if the sticker is multi-part:
  1. If the depth is off and the backing is partially cut then put some masking tape on the backside to hold things in place.
  2. Then, peel off the waste vinyl from the backing (the part you don't want to be part of the sticker).
  3. Then, take more masking tape but foul it up a bit first by tacking it on your pant leg or something.  It's an old painter's trick to stop strong tape from wrecking the work.  It only has to just hold things in place.  Put the tape on the front of the sticker in overlapping rows such that they go across parts of each sticker element.
  4. Then, when you're ready to place the sticker, peel off the backing and any masking tape there.
  5. Apply the sticker.
  6. Remove the front masking tape, peeling row by row while holding the sticker parts in place.

2017-01-06

Getting Started with a MonoPrice Select Mini 3D Printer

This post documents my entry into 3D printing via Linux. Obviously, I'm no expert. Rather, this is where I'm recording what I learn along the way. The intent is, more or less, just sharing my study notes. I needed a place to write things down... might as well share. Nothing original here, no great insights, just organising information in a way I find useful so I can find it again. That's all. If you find it useful then buy me a cup of coffee.

This is a living document... Still printing, and starting to figure out the Cura settings. Now experimenting with TPE-80A filament.

I decided to get into 3D printing with a MonoPrice Select Mini 3D Printer. Why? Because it's cheap, because it's getting rave reviews, and because there seems to already be a great community building up around it.

Background Info:

The Tools:

The slicer: Cura  This is the part that takes the model and converts it to printer-specific gcode.
  • Install under linux via custom PPA:
    sudo add-apt-repository ppa:thopiekar/cura
  • Update and then sudo apt-get install cura
  • Add custom printer to Cura with settings from Tyler Gibson's blog (above).
  • Add your material(s) with specifications.
  • Apparently, it's possible to import settings from a demo gcode file supplied with the printer. (never bothered). I've learned that it will only do this if the gcode was created by Cura and the versions are compatible.
  • Cura's interface is a bit odd and takes some figuring to get the profile info to stick. It also updates daily via the PPA, or so it seems so far. But, it seems to do well as a slicer.
The graphics gcode terminal: Pronterface.py from Printrun. This is used to set some parameters, upload gcode files to the SD card via USB, and can directly print a gcode file as well.
  • Linux prep:
    sudo apt-get install python python-serial python-wxgtk3.0 python-tk git-core python-pyglet python-psutil python-numpy
  • Use GIT to get the scripted app:
    git clone https://github.com/kliment/Printrun.git
  • Running via commandline: (seems to require admin privs)
    cd Printrun
    sudo ./pronterface.py
Inventor: The very expensive CAD to gcode option. (I can use it at work)
  • Adding a 3D printer model involves going into the 3D Print environment, Other printers, and making some change to any existing printer (like setting it to default). This creates an xml file under %appdata%\Autodesk\Inventor 2017\3DprinterDescriptions.xml. Manually edit that file, duplicating a line, and setting a random GUID and other values as appropriate.
  • Download and install Print Studio (a free Autodesk add-on)
  • Restart
  • At that point, using the 3D Print environment and from there running Print Studio gives various options under the media type (advanced tab).
  • Settings do not seem to be quite as fine as with Cura, but there are more options for editing supports.
Fusion 360: The free for hobby/student CAD to gcode option.
  • Starting to use this for a variety of reasons. I quite like it actually. It uses the same Print Studio that Inventor does, and I've still not figured it out. Still using Cura.
  • I am starting to really like Fusion 360. Even the Render environment is a lot of fun.

Things to do after unpacking the box:

  1. Update firmware (seems to be 2 halves). Mine is 24.42, newer than the blogs say.
  2. Enable and configure the WIFI settings. Not yet.
  3. Change PID setting for printhead temp regulation and, optionally, the table heater regulation. Used Printrun's pronterface to set them to values in Tyler Gibson's blog.
  4. Apply table covering of choice. (I've bought tape but it appears tablet screen glass protectors are now the rage). Mine came with tape, so I left it. Had to trim off the corners to get at the levelling screws.
  5. Level table and set print height. Uses the same 4 screws. Mine appears to be slightly crowned, so I set it for the middle. Note that using pronterface to move the table around is way easier than the printer menu and jog wheel.
  6. Lots of reports of loose screws and connectors, so a once-over may be in order. Didn't bother, feels nice, no odd noises.
  7. Set up the printer and filament in Cura, mostly as per Tyler Gibson's blog.
  8. Print the first demo (as specified in the manual) and adjust the print height accordingly. Didn't bother, went straight to printing a token I made in TinkerCAD, exported as an STL, sliced with Cura to gcode, then loaded the gcode into pronterface and told it to print. Came out well. Once it was finished, I raised the bed temperature to 70deg and popped the trinket off. Pictures in a bit.
So, all things considered, it works way easier and better than I had expected. It was, as intended a very easy first print, but still... 

I think I'm going to have a lot of fun with this.

Second Print

Feeling lucky, I decided to print a bigger file that I downloaded. A smartphone stand: (3.5 hr print)
  1. I uncompressed the ZIP.
  2. Loaded the STL into Cura.
  3. Rotated to print it on its side.
  4. Chose a "grid" fill for this print as it seemed more sensible.
  5. Cura said it was nearly a 3hr print. Good enough as a real test.
  6. Saved the gcode file.
  7. Loaded the gcode file into Pronterface.
  8. Connected the printer (in menu - printer was already connected via USB)
  9. Chose SD from the bar above the model pane.
  10. Chose to Upload (note the status bar at the bottom that shows progress).
  11. When done, I used the printer menu to print it.
  12. I disconnected Pronterface during the print. No untoward effect on the printer.
  13. The printer is not that noisy, though it gets annoying when everything else is quiet. I actually find it very difficult to sleep with, even in the next room. Just something about the non-regular whistling and lower tones mixing together... no more overnight printing for me.

More Prints

Going great. I'm still printing at what I've found is "medium" resolution, with a layer height of 0.175. No issues with adhesion at the start, and all the prints are turning out better than I had expected. Settings as follows:
  • Bed temp of 50deg to print, cranking up to 60deg to separate when done.
  • Layer height of 0.175
  • Wall thickness set to .8 (x2) for some prints. A bit thin but works. I'd say the finish is a little rougher though.
  • Speed is 50, with a wall speed of 25.
Starting to run out of the obvious test things to print so now it's a matter of getting into the editing side. Oh, and I created superfine to superrough profiles in Cura to match the layer thicknesses as suggested in the wiki, with other settings that seem to match (just guessing at this point). The 0.175 seems to be about middle. Haven't tried these alternative settings yet.

My Cura Settings

I'm not recommending these... I've no idea what I'm doing yet, but these are the settings I'm playing with at the moment and needed to write them down. This is as good a place as any. Note that the settings includes a page that makes these settings visible.

PLA-SuperFine:

  1. layer height = 0.0437
  2. initial layer height = 0.175
  3. line width (all) = 0.4
  4. Wall thickness = 0.4 (1 count)
  5. Top/bot thickness = 0.6
  6. Top/Bottom Pattern = Concentric
  7. Infill = 15%
  8. Pattern = defaulting to grid but may change depending on print
  9. Printing temp = 210 (pla)
  10. Printing temp initial layer = 215
  11. Build plate temp = 50
  12. Material diam = 1.75mm
  13. Material flow = 100%
  14. Enable retraction
  15. Print speed = 30mm/s
  16. Infill speed = 30mm/s
  17. Wall speed = 20mm/s
  18. Top/Bottom Speed = 15mm/s
  19. Travel speed = 100mm/s
  20. Initial Layer speed = 15mm/s
  21. Skirt/Brim Speed = 15mm/s
  22. Number of slow layers = 2
  23. Enable print cooling
  24. Support = default to off, model dependent
  25. Build plate adhesion = default to skirt, model dependent
  26. Skirt minimum length = 350mm
  27. Print sequence = all at once

PLA-Fine:

  1. layer height = 0.0875
  2. initial layer height = 0.2188
  3. line width (all) = 0.4
  4. Wall thickness = 0.8 (2 count)
  5. Top/bot thickness = 0.8
  6. Top/Bottom Pattern = Concentric
  7. Infill = 20%
  8. Pattern = defaulting to grid but may change depending on print
  9. Printing temp = 210 (pla)
  10. Printing temp initial layer = 215
  11. Build plate temp = 50
  12. Material diam = 1.75mm
  13. Material flow = 100%
  14. Enable retraction
  15. Print speed = 40mm/s
  16. Infill speed = 40mm/s
  17. Wall speed = 20mm/s
  18. Top/Bottom Speed = 20mm/s
  19. Travel speed = 120mm/s
  20. Initial Layer speed = 20mm/s
  21. Skirt/Brim Speed = 20mm/s
  22. Number of slow layers = 2
  23. Equalize filament flow
  24. Enable print cooling
  25. Support = default to off, model dependent
  26. Build plate adhesion = default to skirt, model dependent
  27. Skirt minimum length = 350mm
  28. Print sequence = all at once

PLA-Normal:

  1. layer height = 0.175
  2. initial layer height = 0.3
  3. line width (all) = 0.4
  4. Wall thickness = 1.2 (3 count)
  5. Top/bot thickness = 0.8
  6. Top/Bottom Pattern = Concentric
  7. Infill = 20%
  8. Pattern = defaulting to grid but may change depending on print
  9. Printing temp = 210 (pla)
  10. Printing temp initial layer = 215
  11. Build plate temp = 50
  12. Material diam = 1.75mm
  13. Material flow = 100%
  14. Enable retraction
  15. Print speed = 50mm/s
  16. Infill speed = 50mm/s
  17. Wall speed = 25mm/s
  18. Top/Bottom Speed = 25mm/s
  19. Travel speed = 120mm/s
  20. Initial Layer speed = 25mm/s
  21. Skirt/Brim Speed = 25mm/s
  22. Number of slow layers = 2
  23. Equalize filament flow
  24. Enable print cooling
  25. Support = default to off, model dependent
  26. Build plate adhesion = default to skirt, model dependent
  27. Skirt minimum length = 350mm
  28. Print sequence = all at once

PLA-Rough:

  1. layer height = 0.2625
  2. initial layer height = 0.3
  3. line width (all) = 0.4
  4. Wall thickness = 1.2 (3 count)
  5. Top/bot thickness = 0.8
  6. Top/Bottom Pattern = Concentric
  7. Infill = 20%
  8. Pattern = defaulting to grid but may change depending on print
  9. Printing temp = 210 (pla)
  10. Printing temp initial layer = 215
  11. Build plate temp = 50
  12. Material diam = 1.75mm
  13. Material flow = 100%
  14. Enable retraction
  15. Print speed = 60mm/s
  16. Infill speed = 60mm/s
  17. Wall speed = 40mm/s
  18. Top/Bottom Speed = 30mm/s
  19. Travel speed = 120mm/s
  20. Initial Layer speed = 30mm/s
  21. Skirt/Brim Speed = 30mm/s
  22. Number of slow layers = 2
  23. Equalize filament flow
  24. Enable print cooling
  25. Support = default to off, model dependent
  26. Build plate adhesion = default to skirt, model dependent
  27. Skirt minimum length = 350mm
  28. Print sequence = all at once

PLA-Super Rough:

  1. layer height = 0.3063
  2. initial layer height = 0.3063
  3. line width (all) = 0.4
  4. Wall thickness = 1.2 (3 count)
  5. Top/bot thickness = 0.8
  6. Top/Bottom Pattern = Concentric
  7. Infill = 15%
  8. Pattern = defaulting to grid but may change depending on print
  9. Printing temp = 210 (pla)
  10. Printing temp initial layer = 215
  11. Build plate temp = 50
  12. Material diam = 1.75mm
  13. Material flow = 100%
  14. Enable retraction
  15. Print speed = 75mm/s
  16. Infill speed = 75mm/s
  17. Wall speed = 37.5mm/s
  18. Top/Bottom Speed = 37.5mm/s
  19. Travel speed = 120mm/s
  20. Initial Layer speed = 37.5mm/s
  21. Skirt/Brim Speed = 37.5mm/s
  22. Number of slow layers = 2
  23. Equalize filament flow = off
  24. Enable print cooling
  25. Support = default to off, model dependent
  26. Build plate adhesion = default to skirt, model dependent
  27. Skirt minimum length = 350mm
  28. Print sequence = all at once

TPE-80A-Normal:

  1. layer height = 0.175
  2. initial layer height = 0.3
  3. line width (all) = 0.4
  4. Wall thickness = 1.2 (3 count)
  5. Top/bot thickness = 0.8
  6. Top/Bottom Pattern = Concentric
  7. Infill = 40%
  8. Pattern = defaulting to grid but may change depending on print
  9. Printing temp = 240
  10. Printing temp initial layer = 240
  11. Build plate temp = 0 (using double-sided tape on top of masking tape)
  12. Material diam = 1.75mm
  13. Material flow = 100%
  14. Enable retraction = No
  15. Print speed = 20mm/s
  16. Infill speed = 20mm/s
  17. Wall speed = 20mm/s
  18. Top/Bottom Speed = 20mm/s
  19. Travel speed = 60mm/s
  20. Initial Layer speed = 20mm/s
  21. Skirt/Brim Speed = 20mm/s
  22. Number of slow layers = 2
  23. Equalize filament flow = No
  24. Enable print cooling
  25. Support = default to off, model dependent
  26. Build plate adhesion = default to skirt, model dependent
  27. Skirt minimum length = 350mm
  28. Print sequence = all at once

More Printing

Had some failures, mostly with adhesion. I was printing a model downloaded from ThingiVerse, a Dremel nose finger guard, and part of it kept breaking free during the print. I first tried replacing the stock masking tape with some green painter's tape and that was worse. After much futzing around with using brims instead of skirts, adding supports, and sanding the tape, I managed to get a print that stuck. After that, I realised that the tape is way slipperier than regular masking tape. I replaced the tape and had better luck, though still not as good as the factory tape. I've got a couple of iPhone 5S tempered glass screen protectors on the way from China... which are supposed to be the solution to this problem. Time will tell.... (update) and, no. I had no luck with the glass and went back to regular masking tape, sanded a bit, and now with glue stick before each print. Seems to work well enough. I may try the glass with glue stick at some point, but I'll also see if I can find any of that fabled "blue painters tape" everyone keeps mentioning.

Another print, a whistle (another ThingiVerse download) also failed due to adhesion. This time it lifted up on one side from warping, but I let it print through. That was a mistake as... well... it's a whistle and compressing the tube you blow in kind of changes things. Live and learn. Anyway, after my initial success, I've now got a small but growing collection of failed prints. More successful ones as well... that ThingiVerse can be quite addictive and the printer has been working hard. The first roll of filament is noticeably down so I've ordered 2 more PLA. I think I'll avoid ABS until it's warm enough to put the printer outside while printing.

Note that I'm uploading designs and prints on PinShape. No point duplicating the pictures here.

Filaments

I've ordered a 12-roll variety pack from Filament.ca as well as some TPE-80A and Nylon-645. At this point, I've spent more on filament than the printer, which I consider to be a good thing. I'll be working through the various types, seeing how they do, over the next while.

TPE-80A Filament

I've been experimenting with this soft filament, somewhat rubber-like though it's not. I'd say if feels like it would make good drive belt material. That kind of strength and texture. Actually, I'd say the filament would be a very useful addition to the toolkit, but it is quite difficult to print with. First off, it is too soft to easily feed down the Bowden tube, instead going out sideways at the feed mechanism. Thus, I had to make a part to fill in the spaces so it couldn't escape. That part is here: MSM MK-IV Space Eraser, on PinShape. Solving that problem, the next issue is that it appears to shrink so much after printing that getting it to stay stuck to the bed is near impossible. After a few failed attempts, I decided to use double-sided carpet tape on top of masking tape (to protect the bed). It stuck quite well to the carpet tape but I still had issues with the carpet tape separating from the masking tape. Yeah, it pulls that hard. The next issue appears to be that it slips when trying to feed directly from the spool, and that causes missing lines in the print. The solution to that will be some kind of ball-bearing roller for the spool. Yes, a lot of hassle, but if I can figure out this filament, the rest should be easy.

Some Pictures

Some downloaded models from Thingiverse and PinShape:

The surprisingly hard thing to print:


And, some stuff I drew in Inventor and uploaded to PinShape
Tomy Plarail track bits...




Current Stats:

Nearly 1KG of PLA printed, with about 17% of that as waste. Yeah, I've been keeping all my failures, and supports, in a bag so I can weight it. Just curious.

2016-11-24

Turning a Radius



A neat way to mill a radius on something with a through hole.  Just put a pin in the hole, rest the pin on the top of the vice jaw, and then rotate, clamp, and cut repeatedly.

2016-07-17

Turning the End of a Big Bar

Say you need to turn the end of a bar that is too big to go through the lathe headstock and too long to fit between centers (or the center-rest if you have one)...

Here are some answers:

Arcane suggests:  If you have a milling vise setup that attaches to the cross slide for your lathe and a boring head with a MT3 taper, clamp the shaft in the vise, center it on the spindle and then use the boring head to reduce the end.

Dan suggests:  There was someone who did an interesting trick. They welded a smaller piece to the end and chucked it up. Supported the far end in a steady rest. Then they turned down the original bar and parted it. Rotate and repeat.

Better yet, just start with stock longer than required an part off the chucked bit.

My idea, specific to my 3in1 machine:
Using something of suitable height, like the angle table (level, just for the height), make a vertical clamp that hangs outboard the lathe.  Swing the head over to match and lock down, then use the X/Y to center.  Once centered, use the boring head as above, with the cutter pointing inward.  This would give me about 4' of length, and it would be easier to set up than removing the tailstock to use the lathe spindle.

2016-07-10

Making SS Springs

Interesting post on HSM by Dorn:

Using annealed stainless steel wire (aka safety wire) that is not springy in this state, it can be work-hardened by stretching.  Once work-hardened, it can be wound into a spring.

Rich added:

I also use a "Drawing" technique when I want smaller wire for a model or repair application.  I open my vise about 4 or 5 inches and then wrap the wire around the jaws ( 2-3 wraps ).  Now I open the jaws more and draw the wire down to a smaller size with out having the use my legs or arms, only the vise leadscrew.

Never tried it... but it's something to keep in mind for when that someday comes along.

2016-03-25

Flexture Clamps

Idea from a Dan Gelbart video (Building Prototypes, part 13):

If you want to clamp something, cut a slot near it, then drill in the middle of the slot, then tap the hole for a pipe thread.  When threading in a plug, the taper will expand the slot, which will move the metal to clamp the part.


2011-05-30

Google SketchUp Notes

Scope

This file is the result of my personal note-taking while learning SketchUp.  I am not an expert in SketchUp, nor is this a complete SketchUp tutorial, nor is it intended to be for everyone.  It may, however, be useful for people like me that don’t have patience to watch video tutorials and prefer to just dive into an application, figuring things out as they go.  Also, this is focused on drawing parts that will then be printed out as working drawings for construction.  SketchUp has many other facets not covered as they don’t particularly interest me.  This is a compilation of my notes, taken from various sources, many as direct cut/paste operations.  While I’ve made no attempt at individually citing each point (I hadn’t really intended to share this when I started), I have placed my sources at the end.  Note that this document may be updated as I learn more.

Philosophy


  • You can use the keyboard to enter very precise distances.  When you create a line, box, circle, etc., or are scaling, rotating, extruding, moving, etc., after the initial click you can type in any value, or values separated by a comma in the case of a box, via the keyboard.  If you don’t like that value, you can type another in, and again, over and over, until you like it.  Once you move to the next entity, you can still change things via the scale, move, or rotate tools, or sometimes the component info window.  Also, when typing in, it will assume the units defined by the model, but you can add whatever units you like just by typing them in (eg: 12mm even if the model is set to use meters).  You can view these numbers via the measurements toolbar.
  • Tools or other controls can operate differently depending if things are preselected.  The follow-me tool is a prime example.  There are some tools that work slightly differently from the pull down menus rather than the context (right-click) menu (like making components).
  • Context is important.  If you are editing a group or component, making it “the context,” then scaling, for example, will be on that group, not the whole model.  Components can contain components or groups, or vice-versa.  There does not appear to be a fixed limit on how far this nesting can go, but it can be computer intensive.
  • The status bar at the bottom often has useful information or hints about what to do next when using a tool.  The colours of various guides and the cursor dots have meaning as you draw.
  • There are many Ruby plugins for SketchUp that do a lot of very useful things.  SketchUp is not really complete without them.

Getting Started


  • In Window - Model Info, you can set many model defaults, like the units.
  • Draw a box in 2D, extrude a face into 3D.  Draw a line on a face to divide it and then extrude one of the faces away.  You are now editing a model in 3D.
  • Select a line and move it, notice how it distorts everything connected to it.
  • Undo - it’s very useful.
  • Select everything and make them a single component or group object.
  • Add a line connected to the above object.
  • Move the line, noting how the object does not distort.
  • Select the line and cut it.
  • Double-click the object with the select tool to edit it.
  • Paste in Place to put the line in the object.
  • Click outside the object edit frame to close editing on the object
  • The line is now part of the object group/component.
  • Open the Scene window and create a scene.
  • Orbit/Pan/Zoom around until the object looks like what you want.
  • Update the scene (right-click on the scene tab).
  • Print Preview, without setting extents to model.
That’s pretty much it, all the rest is detail.

Mouse Shortcuts


  • No matter the tool, the middle mouse button will orbit, shift middle will pan.
  • Double-clicking the middle mouse button on an entity will make it center on the screen, though not so easy to avoid zooming with a wheel/button while doing this.
  • Double-left-click on a face with the select tool will select the face and the lines that boarder it.
  • Triple-left-click with select tool will select all connected.
  • Select left-to-right will select anything fully in the box; selecting right-to-left will select anything touching the box/line.
  • Double-left-clicking will repeat the last operation.

Keyboard Shortcuts


  • There are very little by way of default keyboard shortcuts but it is very easy to add your own via the Windows - Preferences menu item.  Once you set things up, you can save them by exporting/importing your preference file.  I find it helpful to set the alt-arrows to predefined views, L to open the layers window (L again will collapse but not close it … I drop all the collapsed windows over-top each other on an unused area of the menu bar), C for components, I for info, etc...  
  • The arrow keys constrain drawing and movement to one of the three axes.  Up/Dn = blue, Left = green, Right = red
  • When selecting the shift key toggles (selects/deselects) each time you click on something. The cntrl key enables unconditional multiple select.  cntrl-shift select will always unselect.
  • cntrl-T deselects all, though it will not stop editing a group/component.  You can also just click on some empty space.
  • Use the extrude tool to quickly highlight faces to reverse or delete. Just hover the tool over the face (NO clicking) and using shortcut keys "D" = delete, "R" = reverse face to either delete them or reverse them.  The move tool will allow quick object deletes in a similar fashion.
  • Several tools remember the last used value [during that session] - Offset and PushPull are the main ones.
  • With scale, move, and rotate, typing in units (‘, cm, etc) will set to that value rather than adjusting by that value.
  • Many of the drawing tools have associated keyboard keys that enable constraints on the tool. The cntr key cause some tools to make copies automatically, for example.

  • When drawing, scaling or moving anything once you have started to make a move you can release the cursor and type in the required value and press enter to finish.

  • Move Tricks:
    • Make a copy or array of copies while moving:
      • Move+ctrl to copy + typed 'dimension' + moves the copy by that 'dimension'.
      • Immediately typing 10x [or 10* or x10 or *10 !] will copy 10 times, at that dimension each time.
      • Alternatively immediately typing /10 will take the 'dimension' as the total distance and make 10 copies that are fitted into the distance, dividing the 'dimension' into 10 equal parts - great if you want to subdivide 7 3/16" into 3 parts.
  • Eraser Tricks:
    • Eraser+Ctrl 'softens' edges.
    • Eraser+Shift 'hides' edges.
    • Eraser+Ctrl+Shift unsoftens edges.
    • To 'unhide' edges you have to use Entity Info or right-click context-menu 'unhide'...
  • Scale Tricks:
    • Typing units (10mm, cm, etc) into the scale tool will set length to that measurement rather than scaling.
    • Cntl and Shift modify.
  • Paint Tricks:
    • Shift to paint all that match
    • Ctrl to paint all connected

Methods

Inference

Inference is about SketchUp trying to figure out what you want to do and the inference engine is why SketchUp is so easy to use.  However, it’s still a dumb computer program and sometimes it just can’t figure out what you want it to do.  Thus, it helps to understand some inference engine basics.
  • Display Aids while using tools:
    • Green dots = Endpoints
    • Red dots = On an edge
    • Cyan dots = Midpoints of edges
    • Blue dots = On a surface
    • Red line = X axis
    • Green line = Y axis
    • Blue line = Z axis
    • Magenta line = something is parallel or perpendicular to an edge.  Also, if drawing across a corner, the line or arc will change to this colour if the ends are an equal distance from the corner.

  • Using inference locking:

    • When using a tool that won’t infer what you want, rotating for example, find (or even temporarily draw) another object that will allow that inference.
    • Hold SHIFT to capture and lock that inference.
    • Then go back to the object you want to work with.
  • Drawing plane
    • if the ground covers most of the view then objects are drawn on the X/Y axis
    • if the sky covers most of the view then objects are drawn on the Z axis
  • When trying to snap to the center of a circle or arc, running the tool around the circumference will tell the inference engine what you want.

Layers


  • Layers are for hiding components in different scenes.
  • Conventional wisdom is to always draw on layer 0 then create components/groups and move them to other layers if desired.  This is because layer 0 is special in that components on other layers will always show layer 0 items if the other layer is shown.  Each item in a group or component has its own layer setting.  Thus, it is possible to put individual items on other layers and then hid it.  This will result in the component not showing those items on the hidden layer.

Scenes


  • Scenes will print as pages of output.  Thus, scenes define the final paper report of the model.  It is very useful when you want a bunch of dimensioned parts to build from.  Simply make a scene for each page you want printed.  If you want the standard 3-view (top/front/side) 2D representation of a part on a single scene (page), then use the CADup plugin.
  • Layers are typically used to define what objects are shown on a given scene.
  • By selectively hiding objects, you can create two scenes that show doors, one open the other closed.  Simply have 2 instances of the same door component, both opened and closed, and hide the one you don’t want to see on each scene.  You could also use layers; open in one, closed in another; to set each scene.  You can also use a scalable dynamic door in one scene.  (Note: “Another Dynamic Door” from the warehouse is a good one)
  • If you create a scene, it will keep hidden objects set at the last update.  Thus, if you hide a bunch of objects to work on something but don’t update the scene, you can get back to only the hidden objects you want by simply re-choosing the scene.

Components and Groups


  • Both allow items to move together and not distort when attached feature (not in the component or group) are moved.
  • Both can be copied and pasted like anything else.
  • All instances of a component are the same.  If you edit one, all will change.  Groups are individual.
  • Components are available in the component library, can be saved as their own model, and can be shared by uploading to the SketchUp warehouse.
  • You can edit a component or group by double-left-clicking with the select tool, or via the right-click context menu.

Copy and Paste


  • The clipboard survives the undo function up to and including the entire model.
  • Under the Edit menu, there is a “Paste in Place” command that will paste the clipboard contents back where they were cut from.  It is very handy and deserves a keyboard shortcut.
  • If you draw something on a group/component that is closed, either because you forgot or because it allows you to draw without interacting with the group contents while still having the snaps work, you can cut these new items, open the group/component for editing, and Paste in Place.

Lines


  • When drawing lines that need to be the same length as other lines that are parallel or perpendicular, after you have started the line place the cursor on the endpoint you wish to match and the inference engine will then snap to it, parallel to it or perpendicular to it.

Circles, Arc, and Tapers


  • You can edit the diameter of circles and arcs by typing in changes in the entity window. The circle or arc must be the only item selected.  You can make tapers this way by adjusting one of the circle-ends of a cylinder.
  • If you are trying to find the center of an arc or circle run the cursor along the edge of the circle. That tells the inference engine what you need and it will then snap to the centre of the circle.
  • When you select the circle tool the default number of segments used to create the circle is 24. You may at that time enter any other amount greater than 2 on the keyboard and press enter. That will become the new default for circles for the rest of the session. This also applies separately to the arc tool. A moment of thought and it becomes clear that this allows you to make any regular polygon from a triangle on up.

Rotation


  • When rotating, if your mouse pointer is inside the rotation indicator, it will snap.
  • You can distort objects by using the rotate tool on an ungrouped and unselected object.
  • If you select a face you can rotate that face and edges of that face. You can use that to twist everything connected to that face.
  • The copy 10x (number x) command also works with the rotate tool to make polar arrays.

Push/Pull


  • When using the push/pull (extrude) tool you can reference it to any other surface or edge that the cursor can reach in the entire drawing area. That will instantly snap the extrude to that length.
  • The push/pull tool may be used on any face that isn't a smoothed surface. If the face is smoothed it must be un-smoothed first.
  • If any face is made exactly coincident with another face both will be deleted. This is useful when making holes.
  • When pushing faces if the ctrl key is tapped the original face will remain in place and a new face will be created that is moved.

Tape Measure


  • It will make guides/points if it shows ‘+’.  Toggle this with the cntrl key.
  • Starting from along a line will make a parallel infinite guide.
  • Starting from an end-point will make a line to a guide point in the mouse direction.
  • Use the construction line tool to set up snap lines in advance. It has a few nice features. The first time you set up a snap line you type in the length from the keyboard and press enter. The line moves to that position. Subsequent uses of the tool will automatically snap to that previous value which make setting up more similar snap lines trivial.
  • Scale with Tape Measure by measuring a line and then typing in a value.  It will prompt to scale the whole model.  If editing a group or component, it will prompt to scale that.

Moving


  • While moving the movement may be constrained by the arrow keys.
  • If you don’t want shapes touching an object you want to move to deform, make them a group first.
  • If nothing is selected before choosing the move tool, it will pre-select as you move over an object.
  • The move tool, with nothing selected, makes a handy quick-delete tool.  Just let things get pre-selected and then hit delete.  No clicking necessary.
  • Accurately position by grabbing end-points or corners that can be snapped to other features or construction points.
  • Within a shape, individual lines may be selected. If the line is then grabbed at the centre point it will deform the object along constraints that you choose and/or along constraints that don't required new lines to be created. For example, a cube may be deformed to any prism.  You can also adjust the length of a beam that includes features on the end by selecting all the features that make up the end and moving that along the beam length.
  • Grabbing a vertice will deform the object and the sides that meet at the vertice.
  • Selecting and moving faces will deform the object accordingly.
  • When moving, if any edges or faces become coincident it will become a single edge or face.

Arrays


  • Arrays are made by using the move tool or the rotate tool to make the first copy. Once it is made you type in the number of additional copies followed by the letter x ( example 200x) and it will make linear or polar arrays automatically. The value includes the first copy you made but not the original.

Lathing via the Follow-Me Tool


  1. Create a 2D circle.
  2. Create a 2D profile that is perpendicular to this circle.  If it is touching the circle, the result will be a cup, if it is not touching, the result will be a solid or pipe.
  3. If the profile extends to the center of the circle, the cylinder will be solid.  If not, it will be a pipe.
  4. Select the circle (outer line, not the face).
  5. Chose the follow-me tool.
  6. Click on the profile face.
  7. SketchUp should now automatically create a cylinder with the profile specified.
  8. You can delete the circle if desired.
Note that if you take 2 perpendicular circles with coincident centers and lathe one about the other the result will be a sphere.

Rounding Edges


  • Rounding the edges is easy on one face:
    • draw an arc on a perpendicular face
    • select the target face (double-click to select the lines around it)
    • use the Follow Me tool to carry the perpendicular arc around the face.
    • however, if you then try to round a perpendicular face, it won’t work the way you would expect, say, a router bit to double-profile.
  • Rounding perpendicular faces:
    • The manual way:
      • start by making groups or components that match the profile you want:
        • draw a circle with the desired radius
        • extrude it into a cylinder
        • divide the circle into 4 quadrants
        • copy and paste it 3 times
        • on each of the 4 copies, extrude away 3 of the 4 segments
        • group each quarter-round
        • select all 4 groups, copy and paste 2 times
        • rotate each of the 2 groups around an axis
        • the result will be 12 groups, representing all possible corners in 3D
        • you can then export these to a component and separate model if you want.  You can build up selections the way you would a router bit collection
      • Apply the profile to the corners:
        • on each corner, paste a copy of the profile group that matches
        • explode the profile and the target
        • select all (triple-left-clicking with the select tool will do it)
        • in the context menu, use Intersect Faces - Model
        • use the eraser tool to remove everything not wanted
        • the result will be rounded corners, including the perpendicular intersects, where desired
    • There is a plugin called RoundCorner that is suppose to do this automatically (and more) but it won’t load in SketchUp running under wine (at least on my computer).  However, the above technique allows custom profiles if desired.

Viewing


  • You can turn off viewing component axis indicators in the Windows - Model Info - Components dialog.  These get turned on by the Align_2D plugin.
  • If you use one of the ‘Engineering’ styles in a scene, you can get a white background.  This will make for better dimension printouts.

Faces


  • Each surface has 2 faces, an outside and an inside.  They need to be kept that way, especially if you plan on exporting the model to some other application.  
  • Inside faces are blue (by default) and sometimes during editing they can wind up on the outside.  
  • You can flip the face by selecting the face and hitting ‘R’ to reverse it.  There is also an Align Faces tool you can use if there are a lot of them.
  • the Entity Info window SketchUp puts a "solid" in front of the group's name to indicate, when an object is indeed solid.

Smoothing


  • Internal faces will produce invisible edges on a surface to be smoothed. Deleting internal faces will remove those external edges so the area may be smoothed.
  • Smoothing is a visual effect only. It doesn't change the underlying geometry. As a result, shadows cast by a smoothed surface will reflect the actual geometry, not the smoothed appearance.

Dynamic Components


  • Only the Pro version can create dynamic components
  • The free version can use and interact with dynamic components
  • Some dynamic components are scalable
  • You can take a simple dynamic door from the warehouse and scale/rotate/flip to work as any door.  “Another Dynamic Door” is a good door to work with as it’s very simple and works.

Useful Plugins

Utilities

Stock routine, adds two commands under Tools - Utilities:
  • Create face:
    Select the contiguous edges where you want a face and then select this tool.  It will create the face.
  • Query tool:
    Displays information on anything you hover over.

SKP_to_DXF

Exports to CAD
  • from: http://www.guitar-list.com/download-software/convert-sketchup-skp-files-dxf-or-stl

Unfold Tool

Unfolds surfaces for paper or sheetmetal work.  Located in Plugins - Unfold Tool.  Select tool, left-click on a face, then another connected face.  It will flatten the joint between the two.  Repeat until you have a flat sheet.
  • from: http://sketchuptips.blogspot.com/2007/08/plugin-unfoldrb.html

Rotate 90

Rotates the selected object 90 degrees around the Z axis.  Select a group/component and then Context Menu - Rotate 90 around Z.
  • from: http://rhin.crai.archi.fr/rld/plugin_details.php?id=345

Mover2

Gives a high degree of control over moving a group/component, including set to origin and Zero on Z axis.  Has many other options.  Plugins - Mover2 for the dialog box.

Get Dimensions

Returns the dimensions of a selected object.  Select object then Plugins - Get Dimensions.
  • From: http://rhin.crai.archi.fr/rld/plugin_details.php?id=158

Joint Push/Pull

Variations on the Extrude tool that can work with multiple faces.  It has its own toolbar as well as being under the Tools - Joint Push Pull, and in the context menu.  It has 3 variations:
  • Normal  - same as Extrude tool.
  • Joint - Works like extrude tool except it will leave faces at edges.
  • Vector - Will extrude at an angle to selected face.
  • from: http://forums.sketchucation.com/viewtopic.php?f=323&t=6708

Point At Center

Default in SketchUp install - via ContextMenu plugin.  Adds Point At Center to context menu when a circle or arc is selected.  Adds a construction point.
  • from:  just move it from the Examples folder

Construction Line Tool

Create construction lines the same way you draw regular lines (instead of using the tape measure tool).  Has a toolbar as well as being under Draw - Construction Line
  • from:  http://sketchuptips.blogspot.com/2008/02/plugin-construction-line-tool.html

Selection Memory

Creates a calculator like memory for selections.  Options are:
  • MS = memory set
  • MR = memory recall
  • M+ = memory add
  • M- = memory subtract
Has its own toolbar.
  • from: http://sketchuptips.blogspot.com/2008/01/plugin-selection-memory.html

Align_2D

Moves all selected items to same 2D plane.  Available under Tools - Align 2D.  Note that this tool enables component axis display.  You can turn it back off with Windows - Model Info - Components dialog.
  • from: http://rhin.crai.archi.fr/rld/plugin_details.php?id=12

CADup

Used to generate 2D representations of components or groups.  Good for creating dimensioned drawings.  Available under Tools - CADup.
  • from: http://forums.sketchucation.com/viewtopic.php?f=323&t=35096&sid=222dae16db08381719efab02a0ce7bb4

Workflow:


  1. Make sure the origin area of your drawing is clear.  This is where CADup will place its output.
  2. Select and copy the items you want flattened in this particular view.
  3. Paste them in an empty area.
  4. Explode all items, repeat until there is nothing left to explode.  This is not necessary if you are only dealing with a single component or group and there are no sub-components or groups nested inside it.
  5. Make the items a group (selected).
  6. Run the CADup tool.  It will create a 2D object at the origin (hint, use the top view).
  7. Delete the group created.
  8. Select this object - and edit it.
  9. Move or delete the items in it as desired.
  10. Dimension as required.
  11. Move dimensions into individual CADup groups such that they can be moved to make a better printout.
  12. Define a scene for each component group you want printed.

Weld

Unexplodes a circle.  Located under the plugins menu.
from: http://www.smustard.com/script/Weld

My Install

This is just what I do.  It’s not meant to be some definitive standard.  Also, I run Ubuntu Linux so I’m running SketchUp under WINE.  It seems fine, though there are a few odd bits.  Current version, when I last updated this, was SketchUp v8 standard (not Pro).

Installing and Running Under WINE


  • After installing WINE, download both Google Sketchup and the SketchyPhysics plugin (if desired).  Right-click on the files and “run under wine”.  Point SketchyPhysics to the right plugin folder.
  • bug 14045: If you get the error "SketchUp was unable to initialize OpenGL!, run regedit (from the terminal type: wine regedit), open [HKEY_CURRENT_USER\Software\Google\SketchUp8\GLConfig\Display], and change "HW_OK" to 1.
    • This is from:  http://wiki.winehq.org/GoogleSketchup
  • SketchyPhysics bug:
    “
    Error Loading File SketchyPhysics.rb undefined method `file_loaded?' for main: Object”
  • Printing issue:  I get a blank page unless I “enable high accuracy HLR” in the print window.  I’m printing to PDF file typically.  Also, I can’t get the export 2D graphics to work at all.
  • I also have an issue with an old HP printer that won’t print dimension numbers.  Something about the font that I’ve not figured out.  The workaround for this is to print to PDF, import the PDF into the GIMP as images (not layers), and then print each page there.  That works fine as the text gets converted to graphics.
  • Display update issue.  On another system, I ran into an issue where the display would not update until the next command.  This is a problem.  
    There are now 2 solutions to this:
  • Solution 1: Starting with the following command line:
    vblank_mode=0  wine "/home/fixerdave/.wine/dosdevices/c:/Program Files/Google/Google SketchUp 8/SketchUp.exe"
    (source: gmharris http://ubuntuforums.org/showthread.php?p=11980351#post11980351)
    To use the above in a launcher you need to (same as below) create a file somewhere in the path with the above as contents, make it executable, and then point the launcher (type = application) at that file.
  • Solution 2: A startup script as follows:  
    (source: an anonymous comment on ubuntu-linux-sketchup-using-wine)
#! /bin/bash
# Uses xrefresh launched repeatedly using watch within an iconified xterm
# to force Google Sketchup to redraw every 0.3 seconds...
# Stores the PID and kills the xterm on exit from Sketchup!
# Note that I needed to install xterm as well
xterm -iconic -title "Sketchup Refresher (xterm)" -e "watch -n 0.3 xrefresh -geometry 1x1+500+500" & watchPID=$!
echo $watchPID
env WINEPREFIX="/home/username/.wine" wine "/home/username/.wine/dosdevices/c:/Program Files (x86)/Google/Google SketchUp 8/SketchUp.exe"
kill $watchPID
Use as follows:

    • Create a text file with the above lines.
    • In Properties for this file, mark it as executable
    • In System - Preferences - Main Menu, create a new launcher that points to this file.
It’s not pretty, but it works well enough as of Mint 15 and SketchUp v8

  • Scene update crashes:
    • Turning off - Use Scene Thumbnails resolves this.

My Preferences:


  • Install SketchyPhysics - disable until needed.
  • Install standard plugins.
  • Import preferences file.
  • Enable Toolbars:
    • Large toolset
    • Measurements
    • Standard
  • Move Measurements and all plugin toolbars to top

Sources: