Ngon modeling lib and GeRayCollider

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/11/2009 at 08:15, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11.5 
Platform:   Windows  ;   Mac OSX  ; 
Language(s) :     C++  ;

---------
HEllo all,
here my new problem 🙂
in my tool plugin i'dd like create a similar tool as knife hole tool.

in my tool i use geraycollider class to know if user hit on any polygon and then if all polygon are in the same ngon i'dd like to create hole with mod->CreateHole();

the problem in my case is to find the ngon index that use all of my hit face( geraycollider return polygon index and not ngon index)i have tried ((PolygonObject* )obj)->GetPolygonTranslationMap(ngoncount,gonarr); but in all case ngon index is wrong 😞
as i understand modeling lib.. after modeling->Init(); indexing is managed by library and GetPolygonTranslationMap in not correct.
any idea ?
Franz

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/11/2009 at 03:01, xxxxxxxx wrote:

any Help ?
Franz

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/11/2009 at 03:25, xxxxxxxx wrote:

sorry solved... this was my problem in indexing 🙂
Franz