sketchucation logo sketchucation
    • Login
    1. Home
    2. jaylee
    3. Posts
    πŸ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Making an objects parallel to a line. (lookat function)

      @chris fullmer said:

      Does it have to use a specified face in the component, or can it just use the component's axis? Using the components axis would be a little easier to code.

      Chris

      I think an axis would work perfectly as well!

      posted in Developers' Forum
      J
      jaylee
    • Making an objects parallel to a line. (lookat function)

      Hi

      I have posted before about trying to create a look_at function for sketchup.
      http://forums.sketchucation.com/viewtopic.php?f=323&t=32233

      Well the fact is that I wasnt skilled enough to be able to learn from that code and derive a simple lookAt function from it.
      I was wondering if it someone was able to create a lookat function where if you input the object, the face of the object that will be facing the target point, target point3d, it will rotate the object so that the selected object rotates and faces the target point?

      For example : lookAt(object, face, targetPoint)

      posted in Developers' Forum
      J
      jaylee
    • RE: Rotate to Mouse point (Light LookAt tool) Plugin Help

      @teknoel said:

      Try Tig's Free Rotate for this. It's Sweet!

      http://forums.sketchucation.com/viewtopic.php?f=323&t=30380&p=274784&hilit=free+rotate#p274784

      Thanks a lot. it looks very helpful

      posted in Plugins
      J
      jaylee
    • Rotate to Mouse point (Light LookAt tool) Plugin Help

      Hi,

      I am trying to create a tool/plugin which when a light(or any object) is selected,
      It rotates the object/light to where the mouse is.

      for example, if I click on a light, right click to activate the tool and then click on a surface, the light points to(looks at) the surface the mouse was on.

      This was easily achievable in other 3D tools because it was easy to get the currently selected object, get the point of the mouse and then call a function like LookAt(x,y,z).

      I was wondering if this was possible in Sketchup and how I would achieve it.

      Could someone please help me in pointing me in the right direction with some sample code or similar examples?

      Thanks in advance.

      posted in Plugins
      J
      jaylee
    • 1 / 1