Make a cylinder
Make a cube, with the z-side longer than the cylinder
Move cube to the edge of cylinder
Use the difference() function to subtract the cube from the cylinder
$ Runsun Pan, PhD
$ libs: doctest , faces ( git ), offliner ( git ), runscad.py ;
$ tips: hash( 1 , 2 ), sweep , var , lerp , animGif
--
View this message in context: http://forum.openscad.org/how-to-make-this-object-tp14039p14040.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
this will do it, to regulate the angle prefectly you can make a cube that
cuts the cylinder in half and then union two half cylinders, with one
rotated 0-180 degrees to get 0-180 pie sections.
add this to windows sidebar: http://www.openscad.org/cheatsheet/
check these codes:
http://forum.openscad.org/Creating-pie-pizza-slice-shape-need-a-dynamic-length-array-td3148.html
--
View this message in context: http://forum.openscad.org/how-to-make-this-object-tp14039p14043.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
here is the same as the sketch with a diameter of 4mm, change one of the cube
resize values to change the notch width. check the cylinder in the manual to
change the number of vertices on it.
--
View this message in context: http://forum.openscad.org/how-to-make-this-object-tp14039p14044.html
Sent from the OpenSCAD mailing list archive at Nabble.com.