sketchucation logo sketchucation
    • Login
    1. Home
    2. tt_su
    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!
    🚨 Skimp | 25% Off until March 30 Buy Now
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1,034
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Model in model sharing methods

      http://rubylearning.com/satishtalim/modules_mixins.html

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: Model in model sharing methods

      You could make it a mix-in module and include it into the modules you need.

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: [Plugin] Solid Inspector

      Ah - there we go! 😄
      Among the improvements I want to make to the plugin is to add a better UI - like a toolbar. I realize it's not the most intuitive at the moment.

      Glad it finally worked out.

      posted in Plugins
      tt_suT
      tt_su
    • RE: [Plugin] Solid Inspector

      As TIG mentions, there is no toolbar.

      Return should zoom to error, Tab should jump to next error - does that not happen for you? Can you post screenshot of the tool in action? When you have activated it and it displays the rings that indicate errors?

      posted in Plugins
      tt_suT
      tt_su
    • RE: [Plugin] Solid Inspector

      @sauronbloo said:

      but I cannot get any functions of this to work.

      Can you describe the problem? What doesn't work? Do you get error messages? (Open the Ruby Console before you try to use it.)
      Or are the menu items missing?

      posted in Plugins
      tt_suT
      tt_su
    • RE: How to check showRubyPanel is ready to accept puts

      Why do you need to have the Ruby Console open before everything else loads?

      Debug loading issues?
      If that is the case - you can redirect $std_out and $std_err to make a Win32 call to OutputDebugString and capture the output with an application like DebugView.

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: Memory management in C++ Extension

      rb_intern doesn't return VALUE, it returns ID. Adam, would the same issues for VALUE be valid for ID?

      I've used to make static const out of ID's I use a lot for easy access and avoid Ruby lookup up for every function call.

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: How to check showRubyPanel is ready to accept puts

      I haven't checked the load order of this, but you could try to use the -RubyStartup argument and see if that loads the file before the rest of the plugins in the Plugins folder: http://www.thomthom.net/thoughts/2013/04/sketchup-command-arguments/

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: Memory management in C++ Extension

      Thanks for clarifying Adam.

      I have seen ID and VALUE mixed in Ruby C Extensions - which there is no compiler warning about since they are typedefs of the same type:

      http://rxr.whitequark.org/mri/source/include/ruby/ruby.h#082

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: Extension using c#

      Cool! That's very interesting.

      Last week I was working on a Ruby C Extension in C++ and I started to write a thin wrapper over the Ruby C code so that I could manipulate them as C++ objects. It'd be nice with a set of wrappers like that the various languages.

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: Web dialog on a Mac

      A bit late to the party, but if you just need simple controls and theming then you can try out SKUI: https://github.com/thomthom/SKUI/wiki/Quick-Overview

      Takes care of all the WebDialog stuff and exposes only a Ruby object model to the GUI elements.

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: Special Characters in ENV[APPDATA] not recognized

      You might be able to extract the DOS 8.3 path from EVV['TEMP']. Ruby 1.8 can use DOS 8.3 paths is you have them.

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: Retrieve size sketchup file using ruby

      @glro said:

      i didn't find this information in
      http://www.sketchup.com/intl/en/developer/docs/methods.php
      nor
      http://www.sketchup.com/intl/en/developer/docs/classes.php

      Those docs only cover the SketchUp API, refer to the Ruby docs for core Ruby features: http://www.ruby-doc.org/core-1.8.6/index.html

      posted in Plugins
      tt_suT
      tt_su
    • RE: Memory management in C++ Extension

      Hmm.. did you have to remove static for the rb_intern call as well? I can understand that making the reference to the string object you created static could cause problems, but the rb_intern call?

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: [Plugin] Bitmap To Mesh

      @fredziarz said:

      Playing with it is cool, but there's a huge "BUT" 😉 from two bitmaps I used in single SU file (400x400 & 200x200) it made my file 60MB big! It's much to much. My PC handles aprox.100MB files, but they're almost uneditable and hard to use. So what do we need this plugin for? Maybe some small not complicated architectural details? Simple scenes?

      400 * 400 = 160000 (that's just tiles - but these have to be triangulated, so the actual number of faces generated will be 320000)

      If you use a render engine that support proxies you can generate a high res mesh and generate a proxy object of it and use a low res mesh in your model.

      posted in Plugins
      tt_suT
      tt_su
    • RE: [Plugin] Bitmap To Mesh

      @iichiversii said:

      Ok i got the Lib thing sorted but im still running into that issue where "mesh from heightmap" wont allow me to select depth, still confused, anyone else had this issue and solved it?

      ? Can you describe your process?

      posted in Plugins
      tt_suT
      tt_su
    • RE: [Plugin] 3D Text Editor

      @pwilker said:

      The same error is happening to me, can you help me troubleshoot?

      "TT_Lib² detected that some of the files in SketchUp's plugin folder has ended up
      in Window's Virtual Store. It happens because of insufficint permissions for the
      plugin folder. Please move the files into the real Plugins folder."

      There should be an Explorer window opening after that message that display the content of the Virtual Store. Notice the path of the folder - it's not the real Plugins folder.
      Move the files to the real Plugins folder.

      posted in Plugins
      tt_suT
      tt_su
    • RE: Base Camp 2014.

      @adamb said:

      @cadfather said:

      is anyone going from good old london?

      I should be there. Looking forward to finally meeting everyone face to face.

      Adam

      👍 👍

      Excellent! Looking forward to seeing you there! And I hope you a beer or ten for all your help over the years.

      posted in Corner Bar
      tt_suT
      tt_su
    • RE: Memory management in C++ Extension

      @olilej said:

      Visual Studio allows to go in debug mode, so I don't see any exception happening.

      You don't see the crash when you attach Visual Studio and run it?

      posted in Developers' Forum
      tt_suT
      tt_su
    • RE: [Plugin] TT_Lib²

      Ah! Now I reproduce it. If TT_Lib is loading all by itself.

      I had AutoSmooth installed which loaded the core.rb file - then there was no errors.

      posted in Plugins
      tt_suT
      tt_su
    • 1 / 1