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

    lib

    @lib

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

    lib Unfollow Follow
    registered-users

    Latest posts made by lib

    • RE: Set camera, and move shape by end point

      thank you martin and TIG for you help

      Martin I will have a look at the API you offer , I think it is going to help me in my project.

      posted in Developers' Forum
      L
      lib
    • RE: Set camera, and move shape by end point

      @tig said:

      Set a variable that points at the camera

      Thanks TIG for you answer.
      regarding the camera, by the documentation its appear that camera.target is a getter, and can not be used to set the target.
      this apply both to up and eye.
      correct me if I am wrong.

      yeah , a group is a good idea.
      a question , what is pt1 , remember that I wish to move the entire shape by a selected endpoint (I got 5 to choose from)

      posted in Developers' Forum
      L
      lib
    • RE: Debugging WebDialogs' .tmp Files

      going one step further, you can use microsoft script debugger, to debug those errors the IE raises
      I think its a standalone that you can download from microsoft website.

      when I had visual studio 2005 installed on my PC back then, for some reason it took over on the standard error popup , and went directly to debug it in the Visual studio environment.

      script debugger work well on XP , didn't try it on vista nor 7

      posted in Developers' Forum
      L
      lib
    • Set camera, and move shape by end point

      Hi there,
      I am new to sketchup development.

      and I am developing a concept application, so during the development I will probably have several questions in the process of developing and learning.

      Question 1
      I managed to set the active_view to a custom camera.
      using:

      Sketchup;;Camera.new eye, target, up
      

      the question is it possible to change manipulate the camera without recreating the object for each change, for example: rotate the camera, or move the eye position.

      Question 2
      I got A fairly simple 3D shape - pyramid.

      
                    top end point     
                        /\.
                       /|_\`.
                      /__|_\/`.
                     /__|__|\/.`.
                 b  /_|__|__|\/`/`. c
                   /|__|___|__\/`/
             a    /__|___|___|_\/ d
      
      
      

      this shape got 5 end points, when 1 at top of the pyramid is connected with the rest (4).
      what I want to do is first detect this end point, and then move the entire shape to different position [x,y,z]

      so thats mean I need a way to find a shape end points listed.
      and then the proper way to move a shape to a new position, using the selected endpoint as the handle.

      thanks for your help, hope you can help me with my issues.

      posted in Developers' Forum
      L
      lib