This is a utility function for OpenSCAD users, to split a tall model into two pieces connected by screw threads
Uses the threads library from https://dkprojects.net/openscad-threads/
install it into the same directory as this or change the include statement below
The threaded portion is centered on [0,0] on the XY plane and extends in the Z plane. Threads are 45 pitched degrees and shouldn't need support
Parameters:
half - either "bottom" or "top" to specify which half to generate. Ultimately you have to do both
z - z value of where to split the model
Optional:
diameter - diameter of the threaded part, Obviously must be smaller than that part of the model
pitch - thread pitch in mm, e.g. 1.5mm
length = length of the threaded postion
thread_slop - extra doameter to make the female part of the thread, on the top piece
reverse - if true, place the male thread on the top piece
Children:
The model to split.
See the split_test module below for an example of how to use.
split(half="bottom", diameter=14, pitch=1.5, length=8) {
Your model, centered at origin in x, y
}
The halves of the split model are left oriented just as they were in the full model
split.scad | 6.6KB | |
split_test.stl | 2.7MB | |
split_test2.stl | 3.9MB |