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

    ruggiero

    @ruggiero

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

    ruggiero Unfollow Follow
    registered-users

    Latest posts made by ruggiero

    • Extensions and admin privileges

      Dear Forum,

      As in most big companies I do not have admin privileges on my PC.
      Do you know of any way our IT guys can set up my computer so that I can install extensions for Sketchup without having to ask them every time?

      Thanks a lot

      posted in Extensions & Applications Discussions extensions
      R
      ruggiero
    • RE: Addition of vectors and points

      Thanks guys for the answers. I got it now. It makes actually perfect sense.

      I was defining generic arrays and expecting them to behave like geometric vectors!

      Thanks again

      posted in Developers' Forum
      R
      ruggiero
    • Addition of vectors and points

      I have posted this also on google group, but the group seems inactive.

      Dear Group,

      I have recently discovered this great world of ruby programming in SU. I have used sketch up and the various plugins for a long time, but never wrote one myself.
      I am writing a few plugins to help in my work. I am an engineer and work in sustainable buildings/masterplanning.

      I am having issues in adding two points - precisely a point and a vector. From what I have read this should be possible using the addition operator +, so that

      new point = point + vector

      In my code I have two vectors m and v. When I show them with UI.messagebox I can see that they are three elements arrays, but when I write m+v the output is actually a string concatenation.

      Am I missing some thing?

      I know could use [m.x+v.x,m.y+v.y,m.z+v.z] but the other solution is much more elegant and clear.

      Thanks a lot for any help.

      Ruggiero


      vector addition.PNG

      posted in Developers' Forum
      R
      ruggiero