Attempting to fix my file manifold issue.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Attempting to fix my file manifold issue.

l33r
This post has NOT been accepted by the mailing list yet.
Hi,

Recently I have been working on a chess set utilizing OpenSCAD. All of the pieces are constructed by taking the difference of a cube on four sides utilizing a 3D triangle. I have been able to get most of my files to turn into a STL file, but I'm still running into issues with manifold for some of my pieces. Most of these pieces can be fixed by taking the differences on each four sides and adjusting the size of the base but for the bishop and knight piece I'm running into issue and I don't know how to fix it. I uploaded the files for reference.

Files I'm having issue with.
bishop.scad
knight.scad

Files that export successfully to STL
pawn-beta.scad
Reply | Threaded
Open this post in threaded view
|

Re: Attempting to fix my file manifold issue.

kintel
Administrator
Two tips:

1) You're likely using an older version of OpenSCAD. Your designs worked for me using the latest development snapshot.
2) The cause of the problems are likely that your cutouts are dimensioned exactly. This may leave infinitely thin walls. It's smart to let cut-outs slightly larger than necessary.

 -Marius
Reply | Threaded
Open this post in threaded view
|

Re: Attempting to fix my file manifold issue.

stonysmith
In reply to this post by l33r
Just a suggestion.... here's a much more concise version of the main body...


hull(){
translate([0,0,32])cube([16,16,.01]);
translate([4,4,24])cube([8,8,8]);
}
hull(){
translate([0,0,0])cube([16,16,4]);
translate([4,4,20])cube([8,8,8]);
}
translate([0,0,22])cube([16,16,4]);