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

    nikusknx

    @nikusknx

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

    nikusknx Unfollow Follow
    registered-users

    Latest posts made by nikusknx

    • RE: VR app

      Try https://www.kubity.com, it's a web and mobile application to simply export your Sketchup file in mobile and cardboard.
      Some examples here : http://sketchucation.com/forums/viewtopic.php?f=400%26amp;t=64800

      posted in Extensions & Applications Discussions
      nikusknxN
      nikusknx
    • RE: How does material color multiplication works?

      @tt_su said:

      It does a HSL shift.

      Hi,
      If we have the original rgb texture, and the hls or rgb color of the texture, what is the opertion to do to each pixel to create the new material with color like the Sketchup texture writer???

      thanks

      posted in Developers' Forum
      nikusknxN
      nikusknx
    • RE: UI doesn't update

      Update for Sketchup 2014 :

      
      require "Win32API.rb
      msg = "\000" * 36
      peekMessage = Win32API.new('user32','PeekMessage' , 'PLIII', 'I')
      peekMessage.call( msg, 0, 0, 0, 0x0000 ) != 0
      
      
      posted in Developers' Forum
      nikusknxN
      nikusknx
    • RE: A way to avoid that ?

      Update for Sketchup 2014 :

      
      require "Win32API.rb
      msg = "\000" * 36
      peekMessage = Win32API.new('user32','PeekMessage' , 'PLIII', 'I')
      peekMessage.call( msg, 0, 0, 0, 0x0000 ) != 0
      
      
      posted in Developers' Forum
      nikusknxN
      nikusknx
    • RE: Sketchup URL scheme / pseudo protocol

      @tig said:

      Something like
      UI.openURL('file:///the/full/path/to/my.skp')
      Will open the specified SKP using its default application - SketchUp.exe...
      You can't pass arguments to an exe this way - use cmd/vbs/mac-terminal 'system' commands etc for that...

      Thanks for this tip, but I would like to start Sketchup from a web link without that Sketchup has been starting before.
      I just want to start Sketchup without any project , is it possible?

      posted in Developers' Forum
      nikusknxN
      nikusknx
    • Sketchup URL scheme / pseudo protocol

      Do you know if it's possible to start Sketchup with an URL?
      Somethink like this:

      
      sketchup;//<projectName.skp>
      
      

      Any Idea??

      posted in Developers' Forum
      nikusknxN
      nikusknx
    • RE: [Plugin] Heightmap from model

      πŸ’­ Tips to unpack it :

      [mod=Respect the original author:1hft24br]Please respect the author's wish to not have the code visible. Just because a plugin is free doesn't mean the source code is.[/mod:1hft24br]

      πŸŽ‰ You can use the scrambler to protect your code:
      http://www.sketchup.com/intl/en/developer/docs/utilities

      posted in Plugins
      nikusknxN
      nikusknx
    • RE: Plug In - Copy to Path troubles

      Ok I get the good position with a translate:
      definition.instances.each do |instance| originBefore = instance.transformation.origin instance.transform! inv tr = instance.transformation vectorTranslate = originBefore - instance.transformation.origin translate = Geom::Transformation.translation(vectorTranslate) instance.transform!(translate) end

      but when the axes changes (y axes become z axis for exemple) the scale are not good and switch...
      I try to get the model.edit_transform , manualy I can get it but with the API it's always the same problem : I can't do the right click Component edit...
      Any Idea to get the local axes?

      posted in Developers' Forum
      nikusknxN
      nikusknx
    • RE: Plug In - Copy to Path troubles

      @thomthom said:

      @nikusknx said:

      Is it possible to do the "right-click scale definition" with Sketchup api?

      Take the scale of the instance, scale the definition by this scale - then scale the instances by the inverse scaling transformation.

      Ok its seems to work but the position of instances are not good : I do this to scale the instances by the inverse scaling transformation :

       
            definition.entities.transform_entities(t,self.entities.to_a)
            inv = t.inverse
            definition.instances.each do |instance|
               instance.transform! inv
            end
      
      

      Any idea?

      posted in Developers' Forum
      nikusknxN
      nikusknx
    • RE: Plug In - Copy to Path troubles

      Is it possible to do the "right-click scale definition" with Sketchup api?

      posted in Developers' Forum
      nikusknxN
      nikusknx