sketchucation logo sketchucation
    • Login
    1. Home
    2. tbd
    3. Posts
    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!
    Urasik Extensions | Lots of new extensions to check out Learn More
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 37
    • Posts 606
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Web Dialog Help and Debugging Thread

      wow Whaat, how long it took to write 62954821 lines of code ? πŸ˜„

      you should add some error checking when you getElementById, maybe the DOM didnt finished rendering the HTML code when you are running the JS code. best way is to have a function that does getElementById and error check and then returns the object back if it is valid.

      also ask the user to open the HTML in IE and see if it gives the same error (maybe a better line address as it is not in the shell anymore)

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Web Dialog Help and Debugging Thread

      1) Does the MAC version of SU also use the Internet Explorer Shell?

      as Gaieus said on Mac there is Safari shell

      2) What if you don't have Internet Explorer installed on your machine?

      a form of IE is inside every Windows, mshtml.dll, that is used by other components and IE as well.

      3) Is it possible that the javascript inside a Web Dialog can be blocked by a security feature of Windows Vista or Internet Explorer?

      usually the javascript is allowed on files on the computer but can be disabled via registry

      also check for antivirus/firewalls that can disable/change scripting

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Web Dialog Help and Debugging Thread

      because WebDialogs are not using the default browser installed on the user machine, but instead a Internet Explorer shell (the same that you see when viewing .chm files for example) on Windows version.

      there is no option to use other browser engine for displaying WebDialogs.

      btw, why do you need another one ?

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Keyboard translation PC / Mac

      sometimes (have a Powerbook G4), but this is what I used in my TimeTrack plugin and it worked for Mac users.

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Keyboard translation PC / Mac

      how about using Sketchup.find_support_file "Plugins" and then File.join(Plugins_dir, filename) ?

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Web Dialogs and SkIndigo - made for each other...

      great work Whaat !

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Erase! gives an error: can't find parent

      also check with entity.valid? before doing stuff on an entity like this:

      all_ent = []
      Sketchup.active_model.entities.each do |ent|
        all_ent.push ent
      end
      all_ent.each {|ent| x.erase! if ent.valid?}
      
      posted in Developers' Forum
      tbdT
      tbd
    • RE: Fast Vector scale

      because the internal function length is done in C world and those 3 scalar multiplies in Ruby world (which of course is slower)

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Fast Vector scale

      why this testcase doesnt work ? I am missing something ?

      later edit: duh, vtmp = v.clone otherwise it will change the original vector
      from my tests scale2 is like 26-30% speed increase

      
      def scale(v,s)
        Geom;;Vector3d.new(v.x * s,v.y * s, v.z * s)
      end
      
      def scale2(v,s)  
        vtmp = v; 
        vtmp.length = vtmp.length * s
        vtmp
      end
      
      v1 = Geom;;Vector3d.new(5,1,5)
      n1 = 10
      
      t1 = Time.now
      begin
        50000.times do |x|
          scale2(v1,n1)   
        end
      rescue => err
       p err
      end
      p Time.now - t1
      
      
      posted in Developers' Forum
      tbdT
      tbd
    • RE: Sunflow exporter update

      Adam: bsp importer is done in Ruby ?

      posted in Plugins
      tbdT
      tbd
    • RE: [Plugin] SmartDrop Beta

      nice work a4chitect

      posted in Plugins
      tbdT
      tbd
    • RE: Lighting Plugin for Sketchup

      Viktor: I proposed to Adam a collaboration but it seems it doesn't fit the roadmap πŸ˜‰

      Biebel: Q1, Q3 - yes. regarding Q2, I dont know as I didnt saw any textures in the videos, only color. doing multitexturing (texture + lightmap) only in ruby will be slower

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Video textures possible in SketchUp

      unfortunately it will not be free (unless someone will sponsor the development) πŸ˜†
      also it is Windows only due the tricks involved.

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Video textures possible in SketchUp

      it is a plugin and can be activated/deactivated (even if the impact on frame per rate is minimal)

      it needs some finetuning, but this all depends on the user feedback - higher feedback, higher priority πŸ˜„

      posted in Developers' Forum
      tbdT
      tbd
    • Video textures possible in SketchUp

      ... and it is not SketchUp 7 πŸ˜„
      http://www.youtube.com/watch?v=rfr8cLZNvWg

      I used 2 .avi files - they can be rotated, scaled as normal textures on a face.

      enjoy

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Happy Birthday TBD

      thanks guys !
      and here is my present for you πŸ˜„

      posted in Corner Bar
      tbdT
      tbd
    • RE: Community Project : Development of a Sketchup Benchmark Test

      how about loading a complex model (with textures, transparent materials, sun activated, ...) and typing in Ruby Console Test.time_display

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Detecting a flipped transform.

      but if you flip red and rotate blue 180 it is not the same as doing a flip on green ?

      posted in Developers' Forum
      tbdT
      tbd
    • RE: Detecting a flipped transform.
      
      t = transformation.to_a
      p t[0] < 0 # flipped on red?
      p t[5] < 0 # flipped on green?
      p t[9] < 0 # flipped on blue?
      
      
      posted in Developers' Forum
      tbdT
      tbd
    • RE: Drop.rb script upgrade suggestion

      unfortunately I dont have time right now to implement it, but you are free to add it. hope that you will share the modifications so I can add it to drop.rb.

      thanks for the suggestion

      posted in Developers' Forum
      tbdT
      tbd
    • 1
    • 2
    • 27
    • 28
    • 29
    • 30
    • 31
    • 29 / 31