The idea of this was a generator with that i can make fitting toghether sluiceboxes in every size, riffles in all possible shapes, classifiers that fit right in, mats with riffles, mats with extruded geometry and so on, all from one generator.
This is my idea of it. I am not a programmer and this is my third thing i made with Openscad, i know that not everything is written clean or simple or right, but like this it works for me and there is a lot of potential to add more things to the generator, like surface libraries for mats etc. , or waterconnections, fittings and tubes, or maybe underflowriffles, hydroriffles, fluidbed or even a trommel. Just everything you need to make a hole washplant.
You could add your own dxf file for riffles or extruded surface geometry
I know this can be made more dynamic in the future. I also know there could be a big mistake in it. If i made something stupid, don't be mad, help me make it better for the next version.
And if you find a design or combination that works very good you could post it for others to rebuild.
just put all files, exept the .stl in one place and start the generator in it. The generator can make a custom sluicebox with a channel, the fitting classifiers if desired, from plain mats to rifflemats in customizable sizes. You can make just single riffles or full length mats
First think of what you want to create. It is always good to make a quick freehand sketch of what your desired endresult should look like and how you can combine the parts the way you like. also think of what your printer or other machine is able to make.
Also several combinations are possible, like a mat with classifier, riffles and surfacepattern in one part
Sluiceboxchannels are most of the time too big for a home printer, but it is easy to make one, like buy a square pipe and cut it, nail some wood, bend sone metal or plastik ore take an existing sluicebox.
under the MAIN SETUP you can choose what to generate and under the PARAMETERS you put in your own values. You should use only one kind of mat at once. at least the wallthickness
To get starteted, pick one after the other to generate and play with the parameters, watch what values you put in, use some logic.
First choose what you want to generate
IMPORTANT: yes=Y, else 0 zero, the number
gen_sluicebox = y; //sluiceboxchannel
gen_classif = y; //classifier
gen_mat = 0; //plain mat
gen_uprifflemat = 0; //simple riffles
gen_roundrifflemat = y; //riffles made from two circles
gen_dxfrifflemat = 0; //dxf importet and extruded riffle-geometry on mat
gen_holemat = 0; //concave parts in the mat
gen_bumpmat = 0; //convex parts on the mat
gen_dxfgeometrymat = 0; //dxf importet and extruded geometry on mat
some combos are possible
END OF SETUP
Even if you don't create a sluiceboxchannel, you have to fill the values
PARAM OF MATS
How long, wide and thick.
How high over the mat, what meshsize
here it important to know if you want to stack classifier over a mat, so its surface is cut by the classifier wall thickness. If you want the riffles all wide, set classifier wall to zero.
PARAM OF RIFFLES
imported .dxf geometry
simple riffle is a square block
2 circle riffle, it is funny how many shapes and patterns can be made of just two circles.
PARAM SURFACED MAT
customizable holes or depths in the mat
customizable bumps on the mat
.dxf importet and extruded geometry on the mat.
DXF files for your own designs you could use
Keep it simple, try to use only the needed, no dimensions etc., just keep all in the position and watch your size of drawing, best to setup grid and draw on it.
When you draw your own riffle design to save as .dxf the lowest Y coordinate should be a little bit on minus,and rest of the drawing should be in the X positive range.
When you draw your own surface design to save as .dxf the midline of the drawing should be on Y zero and rest of the drawing should be in the X positive range.
save in R12 or R13
when you get the 2 manifold error check the position of your dxf
I printed mine with 0.3 Nozzle in soft PLA without support, layer 0.125, 20% Infill