The problem I am having, is that I am successfully creating two Brep objects.

If you reference the second animation, they are successfully being generated and added to the active document.

I have even taken all of these cases and successfully performed a booleandifference on them via Rhino manually with a successful result in all cases.

I’ve even spent some time to ensure that each of these Breps are valid via the ** IsSolid** &&

**properties to ensure that both of these are respectively set to “true” & “outward”.**

*SolidOrientation*I’ve spent also a significant amount of time trying other approaches to get this particular function to produce a consistent valid output. One of which you may find helpful to some degree if there truly is a bug somewhere.

**Here is my alternative result that showed a little more promise**

b2 is a scaled, rotated, and translated copy of b1.

I got to suspecting that when each of these particular brep methods where invoked, that it was to translate by definition, but not reset the resulting operation to treat the new “b2” brep as an object that is at a 1 scale, 0 rotation angle, 0 distance from its original origin, instead it seemed like it was hanging on to the transformation values. So I began looking for a way to apply these values and landed on ** b2 = b2.DuplicateBrep();** after I performed any of the three before mentioned translation methods. This is when I was able to get at least one successful profile to generate the way I expected it to, but the other three are still failing.

However when I run the following (C#) code:

RhinoDoc acDoc = RhinoDoc.ActiveDoc;

Brep b1, b2;

Brep b3;//Code not shown for simplicity

// b1 = valid brep Number 1

// b2 = valid brep Number 2

b3 = Brep.CreateBooleanDifferecnce(b1, b2, 0.001);

if (b3 != null && b3.Length > 0) {

for (int i;i<b3.Length;i++) {

acDoc.Objects.AddBrep(b3[i]);

}

}

The only valid result if from my 1st profile.

I’m hoping that someone can either help me get this function working (ideal),

OR

I’m hoping for a valid reliable approach that will get me the end result I’m looking for.

Thanks for considering my struggles your own