Page 1 of 1

ICollisionDetector

Posted: Sat Jun 22, 2024 7:37 pm
by GradyB
Hi all
In KernelCAD 5.2 there was ICollisionDetector interface. I do not see it in the v7.1 Object Browser. What happened to it?
Thanks

Re: ICollisionDetector

Posted: Sat Jun 22, 2024 7:40 pm
by gerard12
Hi

This interface is not implemented. We have removed it from the documentation.

I have been told this was one of the unfinished projects. The idea was to add a completely automated detector which would watch for any collisions in the model or a selected object set. Get in touch with support if you really need this. Just in case, the declaration was:

void AttachComponent(IUnknown* component);
void AddObject(ISection* object, VARIANT_BOOL stationary, VARIANT_BOOL includeChildren);
void Start(double minDist);
void Stop();
void GetCollisions( IRelationT** nearest, double* dist );
void ClearObjectArray();
void AttachComponent2(VARIANT* component);

Regards
Gerard