how i implement this steps in code? how i duplicate and connect new verteces to selected verteces
(how to select the wanted verteces? in goemetry.attributes.positions.array there are multiple verteces which are pointing to the same position, need to connect to them all? if that make sense), also i go to goemetry.attributes.positions.array and somehow insert vertices there?
This may not be what you’re looking for, but I know that in the decal geometry example, it will set the raycast helper in the direction of the current face normal. You could get that direction, then deduce the needed vertices from the face index I believe (Disclaimer: I’m not great with vertex math).