[OpenSCAD] Mirror, linear_extrude and importing an stl

bedders richard_bedwell at hotmail.com
Sun Oct 30 07:18:08 EDT 2016


Using the following code I've generated an stl, but if I import it along with
another stl, it displays with F5, but doesn't with F6. If I comment out the
mirror([0,0,m]) line, it displays in both. I'm using 2015.03


translate([-1.25,-25.375,0])
cube([5,11,89],center=true);  

for(m=[0,1]) 
{
	mirror([0,0,m])
	{       
		translate([0.75,-30.75,14])
		{
			linear_extrude(height=4, center=true)
			polygon(points= [
					[0,0],
					[0,48],
					[0.5,48],
					[3.5,47.5],
					[4.5,28],
					[4.5,0]                               
			]);
		}
	}
}



--
View this message in context: http://forum.openscad.org/Mirror-linear-extrude-and-importing-an-stl-tp18825.html
Sent from the OpenSCAD mailing list archive at Nabble.com.




More information about the Discuss mailing list