sketchucation logo sketchucation
    • Login
    1. Home
    2. Voulz
    3. Posts
    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
    V
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 1

    Posts

    Recent Best Controversial
    • Set the last column of a Geom::Transformation

      Hi Guys,

      I am working on a plugin handling projections where I end up creating my own transformation matrices. I was getting weird results and it took me a while to see that SketchUp was discarding some data from the last column , which is problematic in my case.

      Geom;;Transformation.new([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]).to_a
      >> [1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 7.0, 0.0, 9.0, 10.0, 11.0, 0.0, 13.0, 14.0, 15.0, 16.0]
      

      (note the missing items #3,#7,#11 keeping the value 0.0)

      Do you know why and if there is any workaround?

      Thanks!

      posted in Developers' Forum
      V
      Voulz
    • 1 / 1