sketchucation logo sketchucation
    • Login
    1. Home
    2. Voulz
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    V
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 1

    Voulz

    @Voulz

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Voulz Unfollow Follow
    registered-users

    Latest posts made by Voulz

    • 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