You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please first consider that general questions about using OpenSCAD or how to write code for specific models are better asked on the mailing list. See https://openscad.org/community.html for more details.
Environment
v2024.02.22 on Windows
Issue
offset(-.0001) produces a face covering the surface of the difference when rendering
code:
size=60; // only on larger sizes
matrixString=[for(i=[0:size^2]) round(rands(0,1,1,i)[0]) ];
module qrCodePattern(matrixString=matrixString, dimension=size) {
translate([1,1,-1])linear_extrude(2,convexity=5)offset(-.0001)union(){
for (y = [0 : dimension-1]) {
for (x = [0 : dimension-1]) {
if (str(matrixString[y * dimension + x]) == "1") {
translate([x , (dimension - 1 - y) , 0]) square(1, center = true);
}
}
}
}
}
difference(){
cube(size+1);
color("navy")qrCodePattern();
}
preview looks fine
render
The text was updated successfully, but these errors were encountered:
Please first consider that general questions about using OpenSCAD or how to write code for specific models are better asked on the mailing list. See https://openscad.org/community.html for more details.
Environment
v2024.02.22 on Windows
Issue
offset(-.0001) produces a face covering the surface of the difference when rendering
code:
preview looks fine
render
The text was updated successfully, but these errors were encountered: