Due to the way the “organ pipe” concept works, it should be noted that geometry that wraps around can cause the pipe to protrude and intersect with parts of the geometry that should be kept.
In order to understand how it works, It is important to look into the example I provided of a bit of a scapula which contained “bone marrow”.
-
In that case you wanted to keep “both sides” of a geometry with thickness.
-
Only the “marrow” inside the geometry was meant to be removed.
Referring to the two pipes (A , B) in the picture far below;
Case A: If the starting vertex (the peaky end of the organ pipe, is part of the mesh of the “inner bone marrow”, then the pipe, if long enough, WILL include other vertices, no matter in which direction it points (splinters of “marrow” can be pretty messy, and thus the vertices points in all directions).
And when the pipe includes one or more vertices, then the starting point/vertex of the pipe will be marked for deletion (eventually all such bone marrow will be cleaned out).
Case B: If the pipe starts from a vertex located on the “outer” surface, the pipe will just point out into empty space (including no other points), then that starting point/vertex will be KEPT.
When Case A and B is clearly understood, then one can tweak the input parameters to optimize the removal of unwanted vertices/mesh. For example:
- LONG PIPE: If the pipe is very long, then it may intersect with other parts of a mesh where the surface you want to keep is bending (typically “over hangs” etc). Then the algorithm will remove parts that you don’t want to have removed.
In such cases a shorter organ pipe may solve the problem.
If you have thicknesses that exceeds the “inner radius” or distance to an over hang, then the manipulating the pipe length will not solve the problem (in such cases in my cases, I could just split the geometry (segment it9, clean up the parts and then join the parts again.
- THICK PIPE: The thickness of the pipe matters since it does an point inclusion test from every vertex it examines. In tight spaces, the inclusions may be to many, leading to too much mesh removal. Reduce the radius of the pipe to solve the problem.
In meshes with thickness and holes (with rounded edges around the hole) the algorithm will cut open the edge, since the pipe will intersect with the hole-walls on the other side of the hole. If the hole-edge is rounded, at some point the pipe with point in a direction which misses the “other side” of the hole, but if the pipe diameter is very big, this cut out more of the rounded edge than if the pipe diameter is smaller.
The same principle applies to the Cone at the peaky end of the pipe. A longer cone means that the length of the peaky end is longer, and therefore that part of the pipe it has a similar effect as if making the diameter of the straight part of the pipe smaller.
If processing a mesh multiple times, one can “prune edges” (around holes etc) using different settings. For such I use multiple components connected after each other.
At last: What we mean with “inside” and “outside” of a mesh isn’t what the mesh itself thinks it is… Very tricky. 
//Rolf