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

    Posts

    Recent Best Controversial
    • RE: [Plugin] Proper Animation V1.08 Beta(Updated 14/11/10)

      quick solution is to use the following line in the ruby console to set the current selected scene -

      Sketchup.active_model.pages.selected_page.transition_time = 4
      
      
      
      posted in Plugins
      M
      morisdov
    • RE: Animation of objects between scenes

      Page not found – Villkor på casinon | Hitta ditt nya favoritcasino

      favicon

      (www.ohyeahcad.com)

      posted in Developers' Forum
      M
      morisdov
    • RE: [Plugin] Proper Animation V1.08 Beta(Updated 14/11/10)

      Thanks for the support guys
      To Clarify usage below are some details

      Each Position number X, corrsponds to the X'th sketchup Scene/Page
      Position 1 will be for the FIRST scene tab
      Position 3 will correspond to the THIRD tab etc

      1) to begin with Set position number X, and Get position number X, you dont care about scenes or number of them. just make object selections, and Set their positions, move them and set additional positions, Get positions manually to see how things paly out
      2) after you finished Setting the positions of various objects you may add scenes/pages as many as positions as you have or more

      3) only now you should START the ANIMATION OBSERVER
      this will make all objects that have position 2 set, to ANIMATE (move) to position 2 when you clickon the SECOND scene tab.
      click FOURTH tab, objects with position 4 will animate to position 4

      4) STARTing Animation Observer automates the objects animation by using scene tabs instead of manual right click command GET position X - via corresponding click on SCENE X in the order of scenes

      5) to modify object positions and scene view angles youd want to STOP ANIMATION OBSERVER, otherwise the objects keep on moving disturbing your adjustments of new positions etc
      so STOP ANIMATION OBSERVER, make adjustments
      START ANIMATION OBSERVER again to use scenes tab clicks instead of GET position X

      6) not all objects need to have all position numbers set, just those few you want to move on X'th scenes tab click
      7) you can select multiple objects and SET their position X in one command click
      8) to "enable" the command of "GET to position X" those objects currently selected should have "Position X" set or otherwise - the right click menu command "GET position X" will be grayed out ("disabled")
      this way you can find out if an object has position X set or not, or groups of selected objects have position X set or not 😉

      posted in Plugins
      M
      morisdov
    • RE: SketchUp RUBY API Wishlist [way of coding wishes, please]

      Hello

      Inside SketchUp it works fine but when creating an AVI file with Export -> Animation
      the - Sketchup::Pages.add_frame_change_observer - is not firing between frames.

      Is there anything i should change or another observer i can use between frames in Export Animation ?

      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=10926

      Thanks

      posted in Developers' Forum
      M
      morisdov
    • RE: Animate geometry.
      1. try to "search" for "animation" on this forum
      2. take a look at - http://www.ohyeahcad.com/suanimate/
      3. take a look at "proper_animation.rb" on - http://morisdov.googlepages.com

      Cheers for the enthusiasion 😄

      posted in Developers' Forum
      M
      morisdov
    • RE: How do Install SketchUp Ruby API ?

      You have downloaded the Sketchup SDK - which is not required to use the Ruby API.

      No extra add-on on top of standard Sketchup Free /or Pro installation is required for you to start using the Ruby API.
      Just look in your plugins folder for examples and at the following link for a great starting point -
      http://sketchuptips.blogspot.com/2008/08/tutorial-getting-started-with-sketchup.html

      Moris

      posted in Developers' Forum
      M
      morisdov
    • RE: Namesets and bounding boxes

      It would be nice if you can clearly and simply explain what is the problem your solution solves.
      Components are organised in standard component libraries - your solution adds an additional hierarchy tree to organise components ? which "type" of sketchup user benefits the most from this add on ?

      Other 3D CAD tools have extensive RDBMS systems linked to them, decades old legacy and enrichment. Sketchup came very late to this party and it will not compete with the old monsters.
      The key might be identifying an existing one specific "type" of a sketchup niche user and tailoring your solution for his way of workflow - not airplanes design, archeology maybe ?

      Moris

      posted in Developers' Forum
      M
      morisdov
    • RE: How are you creating Webdialogs?

      Long time ago i discovered that leaving graphic design to others was the best productivity route for me - I stick to programming and application/solution design.

      I am most pruductive on Microsoft Visual Studio and it also splits in two very nicely the programming from graphic design.
      You can try the free visual studio web developer express that gives you full javascript intellisence.

      For Chrome please wait for SketchUp 7 hopefully before all your hair turns white or you still keet something to complain about its colour.

      posted in Developers' Forum
      M
      morisdov
    • RE: [Plugin] Proper Animation V1.08 Beta(Updated 14/11/10)

      @n lindenthal said:

      Now my question is, whether and how it is possible, to set transition time in this code line. For example:

      @unknownuser said:

      Morisdov.transf_get("transf5") set transition time to 8

      No - transition times setting is a property of sketchups own scenes animation - not a property of "transf_get("transf5")" function, which is not designed to be called from the ruby console.

      @rombout said:

      when ad i.e. 2 steps for a cube i than ad 2 scenes and update eacht scene with its own position of the cube. than i play the animation my cube disappears at one the positions???

      Please follow the "readme.txt" instructions, grab one of the sample models submitted by MALAISE, or use the http://morisdov.googlepages.com/xml_dictionary_attributes.zip - plugin to debug your model.
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=11390&p=79744#p79168

      @princedragoncok said:

      My request would be avi. animation export however. I want rendering engines to recognise these movements for rendering animations.

      If there is a will there is a way - look at TOMASZ render -
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=11390&st=0&sk=t&sd=a&start=30#p80623
      i guess we will get sketchup 7 before sketchup crew gives an answer
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=10926&p=73880#p73880

      Moris

      posted in Plugins
      M
      morisdov
    • RE: Ruby Challenge!

      rombout look here - stopping UI.play_sound ? -
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=10352&p=68452#p68452

      posted in Developers' Forum
      M
      morisdov
    • RE: Read Serial port or USB interface

      on windows at least two ways to do this:

      1. use the ruby "Win32api.so" library to read data from a dll exposing public methods of these input devices. You can build this dll quite quickly with visual studio for example.
      2. "communicate" your input devices to an internet explorer page and then use Sketchup 6 new web-dialog functionality.
        http://sketchupapi.blogspot.com/2008/02/sharing-data-between-sketchup-ruby-and.html

      Moris

      posted in Developers' Forum
      M
      morisdov
    • RE: SU to Excel

      here are the best two links you might need -
      http://homepage1.nifty.com/markey/ruby/win32ole/index_e.html
      http://wiki.rubygarden.org/Ruby/page/show/ScriptingExcel

      • place "win32ole.so" in your plugins folder
      • start slowly and experiment, if you get into problems design a minimal test case for that specific problem !

      Moris

      posted in Developers' Forum
      M
      morisdov
    • RE: [Plugin] Proper Animation V1.08 Beta(Updated 14/11/10)

      New version 1.04 released of - "Proper_Animation.rb"

      • added control of each animated scenes transition time - following users requests

      download from - http://morisdov.googlepages.com

      posted in Plugins
      M
      morisdov
    • [Plugin] Animation scenes transition times

      New plugin i released enables setting each animation Scenes/pages Transition Times
      After you added scenes change transition times from menu Plugins--> Scenes Tranision Time

      download from http://morisdov.googlepages.com

      posted in Plugins
      M
      morisdov
    • RE: House made of logs

      Very nice, good knowledge of Ruby and Sketchup.

      posted in Developers' Forum
      M
      morisdov
    • RE: [Plugin] Proper Animation V1.08 Beta(Updated 14/11/10)

      @n lindenthal said:

      use the mouse or ruby console to selectone object (by name). Now my question is, how to tell the selected object to »Get Position - 2«?

      Morisdov.transf_get("transf2")
      

      You must understand this is not the intentended use of this plugin -
      You will more productive following "normal" procedures.

      posted in Plugins
      M
      morisdov
    • RE: Showing a web site in a Web Dialog
      w = UI;;WebDialog.new
      w.set_url "http://www.google.com"
      w.show
      

      Works just fine on Windows XP+IE6 - both from Ruby script file and ruby console.
      Verify you dont have another issue.


      new.rb

      posted in Developers' Forum
      M
      morisdov
    • RE: [Plugin] Proper Animation V1.08 Beta(Updated 14/11/10)

      @n lindenthal said:

      How can I tell the ruby console, to »Get Position - 2«?
      I ask this to have a proper animation, without getting all other remembers of a scene.

      Select only the objects you want to move to position 2 (those that indeed have position 2 set) and right mouse click "Transformation->Get position 2".
      Other objects will not "move".

      posted in Plugins
      M
      morisdov
    • RE: [Plugin] Proper Animation V1.08 Beta(Updated 14/11/10)

      New version 1.03 released of - "Proper_Animation.rb"

      • no more need to restart "Animation Observer" to reflect new/deleted scenes
        I have implemented the "PagesObserver interface" so this is done automatically now

      http://morisdov.googlepages.com

      posted in Plugins
      M
      morisdov
    • RE: Stair ruby

      Try this - simple and lots of explanations for a starter -
      http://code.google.com/apis/sketchup/docs/gsrubyapi_examples.html

      posted in Developers' Forum
      M
      morisdov
    • 1
    • 2
    • 3
    • 2 / 3