Skip to content

Sliding Dovetail Demo (Customizable-ish)

Advertising
Advertising
?
Creation quality: 5.0/5 (1 vote)
Evaluation of members on the printability, utility, level of detail, etc.

  • 1.6k views
  • 2 likes
  • 61 downloads

License
3D design format
Folder details Close
  • 2eded7ab-878d-4be6-a842-5a7c065622e2.scad
  • 82c24f88-f9c4-4820-900d-3c7e5c0f3fa5.stl

Learn more about the formats

Publication date 2022-09-30 at 23:02
?
Published to Thingiverse on: 2022-09-30 at 20:10
Design number 867101

3D printer file info

3D model description

This demonstrates a sliding dovetail joint created using the Round Anything library

It should be customizable....but there seem to be a few issues with Thingiverse SCAD. For one, it doesn't do good library support: https://www.thingiverse.com/groups/openscad/forums/general/topic:17694

Secondly, it doesn't do assert: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_Language#assert

Thirdly, debugging scad over thingiverse is nearly impossible.

If you want custom dovetails, you'll have to compile the scad file yourself. I just learned that OpenSCAD has a built-in customizer: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Customizer

The cool things about these dovetails is that they have configurable rounded edges for clearance in the corners. A simply defined dovetail with real materials would interfere in the corners, and the Round Anything library makes it easy to apply clearances in the corners. Note that rounding off the edges on the hole by negative radiuses on the ends of the hole-cutting differencing dovetail piece make the assembly easier to align and fir together.

Take care with elephant-foot and overextrusion in printing, and it should work well.

Code-wise it is this:

````
// Width of dovetail base
width = 10; // mm
// height of dovetail portion
height = 2; // mm
// length of sample
long = 20; // mm length of dovetail
// clearance between dovetail and slot
clearance = 0.5; // 0.1mm

// overlap tolerance for good surface intersections
tiny = 0.001; //

rotate([90,0,0]) // flip to x-y plane for printing
dovetail_demo(wide=width,high=height,long=long,clearance=clearance);

module dovetail_demo(wide=10,high=2,long=20,clearance=0.5){

translate([0,0,0])
dovetail(base=wide,height=high,length=long,rt=0,stubheight=2,center=true);

translate([2*wide,0,0])
difference(){
cube([wide+8*high,high*2,long]);
translate([4*high+wide/2,high-1,-tiny])
dovetail(base=wide+clearance,height=high,length=long+2*tiny,stubheight=2,center=true,rt=4,rf=-.5,rr=-.5);
}

}
module dovetail(base = 20,height = 5,length=10,angle = 45,stubheight=0.001,
rb=0.5,rt=0, rf=0.5,rr=0.5, center=false){
// this creates a dovetail shape
// rb is the bottom radius,
// rt radius of the top
// rf radius of the front (negative for chamfering in holes)
// rr radius of the rear (negative for chamfering in holes)
// stubheight
//

radiiPoints=[
    [0, 0,  rb   ],
    [base,  0,  rb],
    [base-height*cos(angle),  height,  rt],
       [base-height*cos(angle),  height+stubheight,  rt],
       [0+height*cos(angle),  height+stubheight,  rt],
    [0+height*cos(angle),  height,  rt  ]
];

translate([center?-base/2:0,0,0])
    polyRoundExtrude(radiiPoints,length,rf,rr,fn=20);

}
/////////////////
use // https://github.com/Irev-Dev/Round-Anything

````

3D printing settings

-

Advertising


Issue with this design? Report a problem.

Would you like to support Cults?

You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:

  • ADVERTISING: Disable your banner blocker (AdBlock, …) and click on our banner ads.

  • AFFILIATION: Make your purchases online by clicking on our affiliate links here Amazon.

  • DONATE: If you want, you can make a donation via Ko-Fi πŸ’œ.

  • WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!


Sharing and downloading on Cults3D guarantees that designs remain in makers community hands! And not in the hands of the 3D printing or software giants who own the competing platforms and exploit the designs for their own commercial interests.

Cults3D is an independent, self-financed site that is not accountable to any investor or brand. Almost all of the site's revenues are paid back to the platform's makers. The content published on the site serves only the interests of its authors and not those of 3D printer brands who also wish to control the 3D modeling market.

100% secure payment by credit card, PayPal, Apple Pay, Google Pay, etc.
View all payment options.