Direction of a Surface Towards a Point

Back in the days, one of my big questions was – how would it be to have the ability to force direction of a surface towards a point? In a way, that would make the vector of that surface always pointing towards the direction of the point. A kind of Near that would manage vectors of directions of surface elements. Inverse operation proved to be especially helpful here, more precisely, its properties did, which I have explained earlier. Of course, we can change the direction to any way that suits us, yet the question is, how to link inverse to the point that will be the target of the direction…

We need to think of some kind of clever procedure for that. Here’s one of the methods: There are two cases of input surfaces here, they differ by orientations. Both were subject to an identical procedure. There’s Point B, that is supposed to be the target for the change of the direction of the Inverse (it’s to be indicated by a Constructor). Next, created was a line originating from Point A (being on the surface), in accordance to the direction of the input surface, and ending with Point C. Then, formulas were made, describing simple equation c=b-a.

As we can see on the picture, formula is false for Case A, and true for Case B.

So, that leaves us with only having to combine that equation with the Boolean parameter, which will assume False or True value, depending on what orientation will the input surface have. And if we have such parameter, which automatically reacts to a change in the direction of input surface, then we can combine it with Inverse operation (from input surface), which will automatically activate/deactivate depending on the base surface direction. Here’s the result of that procedure: And that’s how the procedure looks like, made in CATIA :

And what is this all about?? Well, a new function was made in the form of a template, which automatically, after indicating the surface and the point, will make an Inverse surface, which’ll be automatically directed towards the “stabilizing point”. But how can we use it??

Soon, I’ll share that with you, and there’s a lot to write about… 🙂