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

    Vector3d.linear_combination alternative form

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 183 Views 3 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.
    • thomthomT Offline
      thomthom
      last edited by

      Vector3d.linear_combination

      @unknownuser said:

      In addition to the 4-argument form detailed here, you may also call this method with 6 parameters in the form of:
      vec = Geom::Vector3d.linear_combination(x, xaxis, y, yaxis, z, zaxis)

      What does this one do?

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

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Hmm I don tknow. I don't think I've ever used the 6 parameter form. It does not seem to have a way to specifiy the different vectors, so I thought it might mean (x_axis_vec1, x_axis_vec2,y_axis_vec1, y_axis_vec2,z_axis_vec1, z_axis_vec2) but that doesn't make sense because then there is no way to specify a weight.

        So I am not sure...

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • C Offline
          cjthompson
          last edited by

          It looks like it's like it's the same as the four argument version, but works with 3 vectors at once, instead of just 2.

          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