On Thursday 04 March 2021 11:00:21 Dr. Nikolaus Klepp wrote: > Something like so: > > $fn=$preview?$fn:180; > h = 5.25 ; > r1 = ( 73.6/2.000000 ) ; > r2 = ( r1 + 2.6000 ) ; > rotate_extrude(angle=123) { > translate([r1,0]) square([r2-r1,h]); > } > Which does exactly the same as my code, EXCEPT the extrusion is upward from the anchor line, as opposed to centered on it. To the printer, no diff. > > Nik > Thanks Nik.
> Anno domini 2021 Thu, 4 Mar 10:33:12 -0500 > > Gene Heskett scripsit: > > Greetings all you OpenSCAD experts; > > > > I had no trouble making a ring with this code: > > > > h = 5.25 ; > > r1 = ( 73.6/2.000000 ) ; > > r2 = ( r1 + 2.6000 ) ; > > difference() { > > cylinder( h , r2 , r2 , $fn = 180 , center = true ) ; > > cylinder( h , r1 , r1 , $fn = 180 , center = true ) ; > > } > > > > But how do I generate another 2.5mm radius cylinder but only for the > > stated degrees, like a half cylinder? > > > > The tut I'm following doesn't seem to address this. > > > > Thanks. > > > > Cheers, Gene Heskett Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users