One thing I like with AngelCad, is the speed of developing functional mechanical devices, in a sequential manner, where they do not need to look 'pretty', although it is fairly easy to round edges, etc. I needed a coupler, to extend a hand-wheel shaft, and in a few minutes, I got this -// AngelCAD code.
shape@ main_shape()
{
// create cube & sphere in default positions
solid@ tube = cylinder(30,10);
solid@ shank = cylinder(10,7.5);
solid@ shaft = cylinder(30,4);
solid@ fix = rotate_y(90)*cylinder(50,1);
//drill the two fixing holes straight through tube
return tube-shank-shaft - translate(-20,0,4)*fix -translate(-20,0,22)*fix;
}
void main()
{
shape@ obj = main_shape();
obj.write_xcsg(GetInputFullPath(),secant_tolerance:.005);
}
However, when viewing this, at most orientations, the fixing cross hole through the small bored end, looks wrong. At first view, I thought for some reason, I had not made it long enough, or it was offset too far. Just wondering if the lighting? could be improved.
edit to add, meshlab does not show that fix-hole at the surface, no matter how it is orientated, but Cura reports a fault - object not manifold, but it looks as it should, apart from highlighting at the hole surface, but it seems to slice OK, printing it now. So, I'm guessing it's within the mesh, not the lighting.