Hi, the following part is a corner bracket I've made which looks really weird
in preview mode. Some of the material is see-through. When rendered it looks
allright.
Preview:
http://forum.openscad.org/file/n10452/preview.png
Render:
http://forum.openscad.org/file/n10452/render.png
I'm running 2014-12-04 win 64bit version.
Here is the script that creates the part:
//For KR33 Mini CNC
//Frode Lillerud, 08.des.2014
height=20;
width=20;
depth=(2*25.4);
screwdiameter=6;
difference() {
translate([0, depth/2, 0])
rotate([90, 0, 0])
linear_extrude(height=depth)
difference() {
polygon(
points = [
[0,0],[width,0], [width,1], [1, height], [0,height]
],
paths = [
[0,1,2,3,4]
]);
polygon(
points = [
[3,3], [width-5, 3], [3, height-5]
],
paths = [
[0,1,2]
]);
}
union() {
//The four screwholes
translate([width/1.5, depth/4, -1]) cylinder(height2,
r=screwdiameter, $fn=20);
mirror([0,1,0]) translate([width/1.5, depth/4, -1])
cylinder(height2, r=screwdiameter, $fn=20);
translate([-1, depth/4, width/1.5]) rotate([0, 90, 0])
cylinder(height2, r=screwdiameter, $fn=20);
mirror([0,1,0]) translate([-1, depth/4, width/1.5]) rotate([0, 90,
0]) cylinder(height2, r=screwdiameter, $fn=20);
}
}
--
View this message in context: http://forum.openscad.org/Model-not-previewing-correctly-in-2014-12-04-win-64-bit-version-tp10452.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On 12/09/2014 06:54 PM, Scalpel78 wrote:
Hi, the following part is a corner bracket I've made which looks really weird
in preview mode. Some of the material is see-through. When rendered it looks
allright.
Try adding convexity = 2 to the linear_extrude().
ciao,
Torsten.
Thanks, that fixed it :)
--
View this message in context: http://forum.openscad.org/Model-not-previewing-correctly-in-2014-12-04-win-64-bit-version-tp10452p10457.html
Sent from the OpenSCAD mailing list archive at Nabble.com.