[CONNECT Native C++] Filleting Lines in V7 / V8i vs. CONNECT Edition

Hi all - Hope everyone is enjoying the Northern Hemisphere summer!

In v7, I had written a helper routine that took three points that defines two intersecting lines and created a fillet between them using the Constraint tools.  This was ported over to V8i relatively untouched. 

The v7/v8i Constraint system has been deprecated and I'm assuming that it's been replaced with Constraint2D and Constraint3D things.  Not sure I actually NEED constraints any more, as there's several posts by Jon Summers about using different things to fillet based on lines.  The old code takes three points and a radius as the input and returns an arc element that represents the fillet.

The code I'm writing has a planar n-sided non-regular shape (honestly? non-regular triangular or quadrilateral, no more) and needs to fillet all the corners.  I think Jon's original post about CurveVector.CloneWithFillets and Brien Bastings response will be the direction that I head.  Basically, it's creating turret-punched cutouts in plate that need a particular radius fillet to prevent tear-out, and I can either calculate all the fillets or create a closed shape and use something like the direction posted by Brien and Jon's code on LASolutions site.

These are C# though, and I'm having some agita worried that it won't port well.

So a lot of talky-talky and not a question yet.  Here goes:

Can someone suggest sample CONNECT C++ code that uses the new Constraint API?  I may have other areas that are using constraints, so I'd like to have that in my back pocket, just in case.

Thanks,

G

Parents Reply Children
No Data