Skip to content
Discussion options

You must be logged in to vote

This is the exact area I am struggling with ... The diff() seems designed to make component based designs but the results are often unexpected and hard to control.

I actually only last week figured out how diff worked (although it is well documented):

    union() {
      difference() {
         filter( tag != "keep" && tag != "remove") children();
         filter( tag = "remove") children();
      }
      filter( tag = "remove") children();
    }

Where filter would be a hypothetical module that could filter its children.

I think in this case the problem is that you scope the 'hole()', which really doesn't do anything except ensure that the cylinder it removes is not affecting anything el…

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by NakedMoleRatScientist
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@adrianVmariano
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants