sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Backface UVs - How?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 129 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dburdick
      last edited by

      I see that there are some bugs in the api docs on mesh.uv_at. Can someone enlighten me on how to get the UV's of the back face? I know I can get the fronts with mesh.uv_at(3,1).x The first index is the point, the second index (1) should be the flag for front or back, yes? I've tried using true/false but no luck.

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        what flags did you use when you obtained the PolygonMesh?

        Face.mesh
        http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/face.html#mesh

        @unknownuser said:

        Add these numbers together to combine flags. A value of 5 will include all flags, for example.

        This is wrong. 7 is the value if you want to include them all. It's a bitwise combination of the optional values.

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • D Offline
          dburdick
          last edited by

          @thomthom said:

          what flags did you use when you obtained the PolygonMesh?

          Face.mesh
          http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/face.html#mesh

          @unknownuser said:

          Add these numbers together to combine flags. A value of 5 will include all flags, for example.

          This is wrong. 7 is the value if you want to include them all. It's a bitwise combination of the optional values.

          Thanks for that. Indeed, I was using 5 instread of 7 as the mesh flag.

          Thanks again

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement