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

    kayeee

    @kayeee

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

    kayeee Unfollow Follow
    registered-users

    Latest posts made by kayeee

    • RE: Getting Rotation Value From Rotate Tool

      @dan rathbun said:

      1. Select the group instance
      1. Open the Ruby Console
      2. In the console type:
      
      > sel = Sketchup;;active_model.selection
      > g = sel[0]
      > a = X_AXIS.angle_between(g.transformation.xaxis)
      > 
      

      The angle will be in radians.

      To display degrees:

      
      > a.radians
      > 
      

      Thank you! Exactly what I needed!

      posted in Developers' Forum
      K
      kayeee
    • Getting Rotation Value From Rotate Tool

      Hi,

      I'm having trouble obtaining a angle value for how much a group is rotated when the user uses the Rotate Tool. The Group is 2D sitting in the x and y plane and I would like to find out how much it is rotated about an axis at the center of the group in the z direction. From reading through the forums, I know you cannot directly obtain information from the built-in Rotate Tool, but I was hoping there would be an easy work around that compares the starting orientation with the ending orientation. I'm still new to Ruby and Sketchup so apologies if there is a simple solution I'm missing.

      Thanks in advanced.

      posted in Developers' Forum
      K
      kayeee