Parametric bldc mount drill for OPENSCAD only

Parametric bldc mount drill for OPENSCAD only

grabcad

Do not print the stls, as they are just previews that have no use. (This is made for my other BS project but think it might be useful for someone who's designing a drone or some other bldc related projects)This little project is only relevant for openSCAD users.It's a module that punches holes in a pattern of commonly used by bldc hub motors.There are 2 filesThe module (BLDCHouse_punch.scad) There are 2 modules to call hole_punch, description as MEMO1 hole_punch_preset, description as MEMO2The testcase (BLDCHouse_testCase.scad)MEMO1:This punches holes for bldcMake sure that the area is covered{​}​ : module to punch (currently only support one) // need to pass as children, as a part of definition of OPENSCAD.x,y,z : the center of the object ( I don't know how to do auto detect, please advise me if you know thanks ) (z is the height of the punch, as current I failed to get the thickness of the object)radius : the centres of holes to punch (it should be an array, as there might be multiple layers)number : how many holes on one ring (it should be an array, also this version assumes equal division)layers : how many layers of holes are there ( usually max is 2, but we'll allow more )angles : the angles of the holes ( it should be an array of each layer's angular offset )centre_d : the centre hole diameter (defaulted to 1cm but usually you'll need to change it )centre_punch : punch a hole in centre or not ( default to yes)rotation : rotate plane ( the rotation support might not be good right now, so try to punch and then rotate if you can )hole_d : hole diameter (default to 3mm)fit_tol : tolerance of the fdm print (default to 0.15mm)fdm_tol : add fdm tolerance (defaults to true)MEMO2xyz same as abovepreset = "x", as I used EM5230H (without encoder) as example, now it has "EM5230H_side1", "EM5230H_side2" as an example, you can add your own preset to make the main code look neat. (I failed to implement the proper lookup function, so right now is dumbly hard coded)angle here is not an array, it's only the initial angle as the angle offset will be determined by presetrotation and $fn

Download Model from grabcad

With this file you will be able to print Parametric bldc mount drill for OPENSCAD only with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Parametric bldc mount drill for OPENSCAD only.