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

    Viskiz

    @Viskiz

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

    Viskiz Unfollow Follow
    registered-users

    Latest posts made by Viskiz

    • Text tool default text

      Is it possible to change default "Enter text" text for Text tool?

      posted in Developers' Forum
      V
      Viskiz
    • RE: Texture from url?

      I solved in on Windows platform.
      In my script installation I included ruby lib files needed for http, so users will have them after installing script.
      The code followed in script:

      $LOAD_PATH << File.join(MY_PLUGIN_HOME, "bin", "rblib")
      Sketchup::require 'uri'
      Sketchup::require 'net/http'

      Installer for MAC OS should have different ruby library files I think. I haven't MAC yet, so I can't tell any more. Let me know if you solve it.

      posted in Developers' Forum
      V
      Viskiz
    • RE: Weird bug with WebDialog and Flash

      I've just noticed, that the problem still remains with the 'Enter' key. Though it works in IE, but it doesn't if it's opened via Sketchup web dialog. Any ideas?

      posted in Developers' Forum
      V
      Viskiz
    • RE: ComponentDefinition.instances strange behavior. Bug?

      Thanks!

      posted in Developers' Forum
      V
      Viskiz
    • ComponentDefinition.instances strange behavior. Bug?

      I have two ComponentDefinitions (d1 and d2) in model. Each of them has one instance. Strange thing begins, when I make a new Component of the both instances and then explode it. Then d1 and d2 instances returns me array of length 2.

      d1.instances -> #[#Sketchup::ComponentInstance:0x6ba89c4]
      d2.instances -> #[#Sketchup::ComponentInstance:0x9bc96e4]

      Using mouse I select both instances, make Component of them and explode it.

      d1.instances -> [#Sketchup::ComponentInstance:0x6ba89c4, #Sketchup::ComponentInstance:0x9bc2164]
      d2.instances -> [#Sketchup::ComponentInstance:0x9bc96e4, #Sketchup::ComponentInstance:0x9bc1fd4]

      but there is no any new instances in model, outliner does not show them too. Is it a bug or I misunderstand something? Maybe there is some purge function for d.instances or something?

      posted in Developers' Forum
      V
      Viskiz
    • RE: Weird bug with WebDialog and Flash

      I'm on PC.

      The problem is solved , thank you, JD Hill!

      posted in Developers' Forum
      V
      Viskiz
    • RE: Weird bug with WebDialog and Flash

      Someone?

      posted in Developers' Forum
      V
      Viskiz
    • RE: Weird bug with WebDialog and Flash

      Hi!
      I have the same problem with silverlight. The difference is that letter and number keys does not work, but space, backspace, arrow, home and etc. keys work. Does anybody have solution for this?

      posted in Developers' Forum
      V
      Viskiz
    • RE: Class similar to Length class

      @jim said:

      You can get a Length from a String:

      "100cm".to_l

      I'm interested how Length class is made? In String class it should look like this:

      def to_l
          Length.new(self)
      end
      

      but Length.new throws 'undefined method' error. So how to_l works?

      P.S. Thanks for reminding me about modules. I've completely forgotten about them 😳

      posted in Developers' Forum
      V
      Viskiz
    • Class similar to Length class

      Hello

      I'd like to create Area and Volume classes derived from the Float. These classes should be similar to Length class. How conversion from String to Length is made? Length.new() is not implemented, so it seems it doesn't have constructor? How it should be done?

      posted in Developers' Forum
      V
      Viskiz