Referring to the image above, I want the result as seen in the left but I get result as seen on right in SketchUp after translating.
To the best of my knowledge, considering functions exposed in the current SketchUp SDK, there doesn’t seem to be a way to specify texture coordinates of a face explicitly. As you can see in the documentation of classes (see below) which deals with texture coordinates of faces, there is a better control over reading texture coordinates but not necessarily in setting texture coordinates.
- Texture Writer: There are SUTextureWriterGetBackFaceUVCoords and SUTextureWriterGetBackFaceUVCoords functions but no equivalent ‘set’ functions.
- UV helper: There are SUUVHelperGetFrontUVQ and SUUVHelperGetBackUVQ functions but no equivalent ‘set’ functions.
- Face: There is SUFaceGetUVHelper function but no equivalent ‘set’ function.
Am I missing something? If not, I hope this functionality will be added in next version of SketchUp SDK. Thanks!