Knurled surface finishing library

by aubenc, published

Knurled surface finishing library by aubenc Jun 6, 2011

Featured Thing!


YAPML yet another poor man's library that makes things finding it hard to render and taking its time to compile.

In this case the self-replicating polyhedron is intended to give a mechanical touch to your freshly (or not) designed cylindrical surfaces. Hmmmm... you can also thing that those things all-around the cylinder are diamonds and use it for jewelry.

The examples scad provided uses OpenSCAD MakerBot Font Module by grokbeer licensed under BY-SA-NC license (link in the instructions section)

Photos... aubenc.imgur.com/knurled_finish_surface

(Just in case you don't read the comments bellow)
Video by sirmakesalot (thank you very much!!)... youtube.com/watch?v=uz8h--NsX7E

Things using this library :-)

Bowden Clamp for Ultimaker by owen

Spindle for 5lb spool by mikeq

Knurled "topper" for stepper motors by Pazu

Ultimaker Hobbed Bolt Release by bkubicek

Hobbed bolt holder by coffeeMaker

Shane's Coral Frag Plugs by sgraber

Bowden Clamp for Ultimaker (Feeder End) by pit3k

Recent Comments

view all
The shape and size of this thing shouldn't be too demanding for the raft to hold on, your printer may need little adjustment or cleaning the build surface.

Glad to hear that you liked it, thanks for the comment !
Printed! I was surprised that multiple could print on the replicator mini at one time. Some of the rafts didn't hold and had to reprint a few times, but they look awesome and include way more detail then expected! +1
Looks like "your" bolts&nuts are smaller than theirs. You could try to scale them a tiny bit only in the X&Y but not Z.

Liked By

view all


Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag


Go to thingiverse.com/thing:6844, grab the Font Module, follow that thing's own instructions to be able to use it and come back.

Go to thingiverse.com/thing:8796 to get the screw library, follow that thing's own instructions to be able to use it and come back.

Download 'knurledFinishLib.scad' and drop it into your OpenSCAD library folder or the folder where you are writing your OpenSCAD script.

Use 'knurledFinishExamples.scad' to start playing with this library.

Knurl things.
Print them.
Share them.
Printed! I was surprised that multiple could print on the replicator mini at one time. Some of the rafts didn't hold and had to reprint a few times, but they look awesome and include way more detail then expected! +1
The shape and size of this thing shouldn't be too demanding for the raft to hold on, your printer may need little adjustment or cleaning the build surface.

Glad to hear that you liked it, thanks for the comment !
I can never get a nut to fit... I'm just using Slic3r. Using a test print from Makerbot and my bolts fit in their nuts but not the other way around... can't figure it out and my work area is covered in nuts.
Looks like "your" bolts&nuts are smaller than theirs. You could try to scale them a tiny bit only in the X&Y but not Z.
Successfully printed Today:) Thanks for sharing.
Cool! Thanks for printing it!
Is it a W, E, M, or 3?
My Philips head screwdriver inst fitting into it, do I need to scale it up or down?
A real masterpiece ! i received the sample from makerbot ! Incredible ! Great work !
Glad you like it, thanks a lot !
is it possible to make longer ones of these as need a long nut and bolt for my new invention. thanks!
it is possible to make them any size you like. It is also really easy to do if you are used to OpenSCAD, it should work just changing a couple of parameters in the script.
i'll try this openscad what parameters/ axis should I change and what should I replace the code with. Also how do you access this alteration in openscad thanks for your continued help.
Just follow the instructions. Unless you really like to include the Makerbot M in your design, you may skip everything related to the fonts library.

As a side note, the way that OpenSCAD calls the libraries has changed since I did this so you'll probably need to replace the word "include" by "use" in the examples OpenSCAD, as well as remove everything using the fonts library.

Take a look to the "Makerbolt()" module, you'll see what parameter is used to change what dimension. Also to be take in account, I did the threads library a long time ago to be easy to print in those old times printers. Now printers perform much better and you may like to consider using other libraries (there are some in Thingiverse) to produce standrd size threads.
if you could make a bolt the same diameter as this one 10cm long including handle that would be absolutely great thanks! Then publish it and comment again with link. Thanks
Done you'll find it available to download as "100mm_Kbolt.stl" (or something like). Btw, there's no "M" in the head.
i couldn't find it sorry aha
what should i search in the searchbar as nothing showed up with them other words
Oh, sorry!!! I understood that you finally found it!
You don't need to look for it, it's "here", I just added to the "thing files" section in this thing, it should be the last file in the list named "100mm_Kbolt.STL" if I'm not wrong.
If you don't find it send me a mail with an addres where I can send it directly to you.
oh right silly me Thanks !!
Hey can you post the actual dimensions of the files pl......I'm comparing some prototypes
Well, I guess I could :)

There's a lot of "dimensions" here: Diameters, lengths, tolerances, for bolt, nut, knurls and also the dimension for the knurl's pattern...

You'll find them all into "knurledFinishExamples.scad", there's no need to know anything about OpenSCAD, it's just a text file and all the dimensions are easy to find.

Hope it helps!
I printed some various sizes....


Spun together:

How much do they weigh? (what infill % did you use)
Notta whole lot. 5% infill worked just fine. I did 2 shells on the big ones.
Mine didn't fit together, but I fixed it! They weren't perfectly round, and jammed. So I dropped the nut (made of PLA) in a cup of boiling water, then ran it on the bolt. Better, but still stiff. Then I heated the bolt, and used the improved nut to ease the thread. When the bolt cooled, it fitted perfectly!
A useful way to get PLA things to fit.
Cool! Nice tip!! However, wait... they weren't perfectly round??? I'd would check the tension of the belts and grease/oil the rods!
Can you knurl interior surfaces too, like the inside of a pipe?

Well, it should be as easy as extracting the knurl cylinder from another cylinder. The only thing is...

...right now I cannot tell what are exactly the inner/outer diameters for the knurl.

I guess that it shouldn't be difficult to find out by taking a look to the library. Hopefully I can find some time in the following 2 days if you are not in a hurry ?
 Cool, thanks for looking into it! I'm in no rush.
 Sorry for the delay, I did took a look and the (not so) short answer is: if you let the surface smoothing parameter to 0 (very pointy knurls) the outer diameter is the one passed in the parameters plus half of the knurl depth and the inner diameter is the outer diameter less the half of the knurl depth. However, if you specify a surface smoothing value... pfff... it's a little bit more complex :-P

I ended up making a new version of this library (couldn't help it), it took me a couple of hours to make the changes but I'm still busy polishing some examples... I should be able to upload it any time in (hopefully) less than 3 days.

I don't see how to attach a picture in this new comments system. I wanted to add a snapshot of some renderings from the new lib version... coming soon!
Very nicely done. Thanks for teaching me the End cap trick!
You're welcome! Thanks for the comment :)
Wow. Instantly my favourite show-off piece, and printed perfectly first time :)
Thanks! Is very rewarding to hear that printed well !!

(threads that match can be a little bit tricky)
Great design!

Printed first try with no modifications necessary (or cleanup required)
Awesome! I tried this when I first got my TOM and it didn't quite work. Now I have learned a few things and have my machine dialed! worked on the first try no cleanup! Video to come later tonight, Sweeeeet!
I can't wait to see that video!

Next step: Use the libraries to make your custom bolts, nuts... "whatevers" and post the pictures/videos of them :-D :-D :-D
Here is the video of the nut and bolt in action!

:-D :-D :-D :-D :-D :-D :-D :-D :-D :-D :-D

Link to the video added into the details of this thing, hope you don't mind :-P
Not a problem. Nice to contribute!
I made a set at 1.00 scale, but I could not quite get the nut to fit. I reprinted the nut at 1.05 scale and it threaded on, but maybe a bit looser than I would have liked. So probably scale of 1.02 or 1.03 is right. Did this work fine for everyone else at 1.00 scale for both?
Sorry to hear that :( In fact, this set is not meant to be scaled.

Because every printer is different, there is a little tunning to get this working fine. Printing the bolts at higher feedrate and the nuts at lower speed helps with the quality of the print but may make the fit to tight or impossible.

There are parameters in "knurledFinishExamples.scad" to help.
In your case I would set n_gp in nut_4_Makerbolt() module to 0.25 and see what happens...

I also encourage everyone to play a little bit with the screw library (http://thingiverse.com/thing:8796) to find out what are the profiles and scad (gap) parameters for bolts
amp; nuts gaps. I've successfully print threads that work from 7mm to 95mm.

Once you find the right parameters for, let's say the little threads, finding the right ones for the larger ones ins much easier and everything in the middle is quite straight forward :-D
Yes, for the design. I have found very few things that will Skein right off and print VERY well. I've gone nut
amp; bolt crazy. The picture is 2X because I was having problems with another small print. The 2X came out beautiful. I can't put it down. So, I'm not making about a dozen for some Boy Scouts to play with. The regular size also prints amazingly well.

One suggestion/request - knock the knurls down to about .75 and fillet/radius them a little more. They are authentic but, man they hurt. :-D
Yeah, the parameters I used were intended to give a nice result for the size I was uploading the examples here but can be too wild when you scale it up :-D

Well that's the magic of OpenSCAD, just change the parameters to taste (to make it even more aggressive :-P )
Actually, I have printed to scale as you submitted and the knurles are too aggressive. They could be tempered and refined. They look cool - but, they hurt.
To clarify. The knurls to be .25 smaller or .75 of their present values. Here is a picture of the differing sizes I'd printed.
I like printing good designs. It makes the bot look more than its normal amazing and sure brings the childish joys back. I just make a few calculated SF settings, generate gcode, print and watch magic happen. The tolerances are right on.

...making one of those :) and what an awesome print!!

...uploading the photo

...the comment.

I was adding a surface smoothing parameter which I thought it was ridiculous because bot1334 does already this job :-P Now that I see your print I'm also happy that I did it.
This could be modified to be the handle of a double edge safety razor.
aubenc - in reply to Guest
I'll love to see the designs using these libraries!

(so don't forget to share them!!!)
I saw that someone had previously printed the handle to a disposable razor. I was thinking that it would be much better if someone designed pieces to a three piece safety razor. Here is a picture I found on Amazon that reflects my idea.

Do you think that this could be possible?
I see some potential issues... just a matter of find the solution/turnaround.

I don't know but I guess the blade don't lays flat if that's the case, the "plates" should have a semi-cylindrical shape and be quite thick enough to be able to bend the blade (and not the blade bending the plastic plates).

If the blade lays flat makes everything much easier to design and print.

Ideally, we should design some sort of clip
amp; alignment system to replace the screw
amp; pins, otherwise we would need non-printed bolts
amp;nuts and we don't want to have rust in a device that can be in contact with blood (I wouldn't use inox/whatever hardware neither). This clip system should be something we can trust it will not "unclip" while using the razor.

The smallest bolt I've print has a diameter of 10mm for the threaded section. I gave a try to a 8mm one but it ended up in the form of a blob of melted plastic, so size could be also a constraint. May be some of the awesome cooling systems available in thingiverse could fix this.

Finally, what I
say above it's just my 1sts thoughts but I don't really know what I talking about :-D
The reason I suggested the safety razor design is because it cuts the cost of blades tremendously. Gillette sells a pack of an 8 pack of cartridges for at most $30 on amazon and at least 10 for $20. You can get 100 safety razor blades on Amazon for $8.

Pay $3.75 per blade for a Gillette cartridge or pay 8 cents per blade.

You're correct. In safety razors the blades don't lay flat they bend slightly when pressing against the semi-cylindrical piece on the top. This happens when the handle is screwed into the top piece. When the handle is not completely screwed in the blade takes on more of a flat shape.

What is mo
st important in this design is that it functions with existing blades which have the pattern in the picture above.

I like your suggestion of a clipping mechanism. Sadly I can't really conceptualize what you're thinking about. I keep thinking of a miniaturized plastic belt buckle type mechanism. How
would the clipping mechanism hold the blade in place? Would part of it go through the three holes in the blade and lock into a faster in the top?

:-D :-D
belt buckle, clip, whatever... as far as it secures the blade it's ok

my 1st attempt would be something like this...
This looks like a good first draft to me. I am excited to see what the digital design looks like.
Oh sorry, there's not digital design at all. Just this quick sketch.
Where is your Flattr button? =-O
What? It's not there?? ;)
Damn, I just finished printing 8 bolts and 12 nuts before I saw this :'(
aubenc - in reply to caru
Yeah... I was keeping this thing on-hold till you finish to print them :-P :-P :-P