THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/08/2011 at 06:34, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;
I'm trying to use the modeling library to do the following: for an existing Ngon, I want to insert an existing vertex along one of the boundary edges of the Ngon.
I have been looking at the SplitEdge command, but that results in a new vertex. I would like to do the same thing, but with an already existing vertex.
Any suggestions on how to do this?
The option I'm looking at right now is to use the GetNgon/SetNgon functions to replace the old Ngon with a new one, that includes the new vertex. So far, however, I haven't been able to figure out how the Ngon class works internally - the SDK docs don't seem to say much about the precise meaning of the "points" and "segments" arrays. Any hints on this are much appreciated!