sketchucation logo sketchucation
    • Login
    1. Home
    2. tomot
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 116
    • Posts 703
    • Groups 1

    tomot

    @tomot

    10
    Reputation
    3
    Profile views
    703
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    tomot Unfollow Follow
    registered-users

    Latest posts made by tomot

    • The 3D Modeling Scene is changing!

      Have a look at the following links:

      Link Preview Image
      The new Google Sites

      favicon

      (www.kit-ops.com)

      It could spell the end of SketchUp & Ruby. Would it not be nice to simply quickly make your own 3d kit bashing stuff without relying on antiquated Ruby Add-ons 😲

      posted in Corner Bar
      T
      tomot
    • RE: Applying color to circles?

      Yikes! I should have been more descriptive.
      I'm trying provide a color to the faces of those 4 circles.

      posted in Developers' Forum
      T
      tomot
    • Applying color to circles?

      the following code draws 4 circles:

      mod  = Sketchup.active_model
      				ents = mod.active_entities
      				sel  = mod.selection
      				face = sel.grep(Sketchup;;Face)[0]
      				locations=[@pt1,@pt2,@pt3,@pt4]
      				locations.each{|loc| @pt1=loc
      				ents.add_circle(@pt1, @vec3, @dia, 24)
      

      What code do I need to apply a single color to each circle?
      I'm looking at http://ruby.sketchup.com/Sketchup/Color.html for inspiration,
      but I'm not able to make the code work! πŸ˜’

      color=Sketchup;;Color.new(163,204,204)
      

      TIA!

      posted in Developers' Forum
      T
      tomot
    • RE: Its time to discuss an important subject: Plugins/Extensions

      Here is the bottom line in the .ZIP to .RBZ saga

      My current version of Winrar 5.31 (64-bit) ....failed to faithfully do a proper .zip conversion.

      TIG informed me how one script I sent him was able to be installed while the other was not.
      How is this possible?
      That lead me to investigate what had happens to WinRar, which I have used for .rar .zip and password protect files since the early 2000's

      I attached one of my very old XP HDD's via a none sata to usb connection to my PC. And there it was, an old copy of Winrar 3.71

      1. I used the old Winrar 3.71 to make a new zip file
      2. renamed .zip to .rbz
      3. installed the .rbz
      4. voila! ... it installs via the dreaded Installation Manager!

      I admit I'm a so learner, this is not the first time I have regretted getting on that bloody upgrade treadmill. I can hardly wait for SU 2018 😞

      posted in Developers' Forum
      T
      tomot
    • RE: Its time to discuss an important subject: Plugins/Extensions

      @tig said:

      Rather than send me the ZIP can you send me the equivalent RBZ so that I can test it too...
      Obviously use PM, to avoid publishing it unduly...

      I will do that, and then in return you can send me a new .rbz file you made for me to try.
      (urgent issue to attend to... I will do this next hr.)

      posted in Developers' Forum
      T
      tomot
    • RE: Its time to discuss an important subject: Plugins/Extensions

      thanks for the clarification!
      I sent the same file yesterday to my Client who purchased this particular plugin
      and who also informed me about the SU 2016 issue. I just got his response


      2017-03-08_10-08-00.png

      posted in Developers' Forum
      T
      tomot
    • RE: Its time to discuss an important subject: Plugins/Extensions

      For the benefit to other members reading this thread.

      1. I emailed TIG one of my for purchase ruby scripts in .zip format
      2. We both agreed that indeed when renamed to .rbz the SU 2016 Extension Manager failed to install the script.

      to quote TIG: "As to why there are some issues with some of your ZIP/RBZ files is a mystery..."

      Coincidentally SU 2016 Extension Manager also fails to install all of the other for purchase ruby scripts. This situation came to light when one of my Clients informed me that my scripts do not work in SU 2016. That's the reason I started this thread.
      I also warned clients not to use my scripts for SU 2016 on my blog.

      Manual installation, without the use of Extension Manager in SU 2015 ....works!
      Hence loading the file in the Ruby Console also ....works!

      Manual installation, without the use of Extension Manager in SU 2016 .....fails!
      Hence loading the file in the Ruby Console also ....fails!

      So now you have the problem you can no longer write or edit an .rb files the way you did with past version of SU 2015 and earlier.

      1. If you have to convert the .rb to .rbz first, then try to install in into SU 2016
        and if that install fails, You wont be able to read any Ruby script errors in the Ruby Console.....So now what!

      If you still have SU 2015 installed, stay with that version, and you wont have any install problems.


      2017-03-08_8-49-28.png

      posted in Developers' Forum
      T
      tomot
    • RE: Any way to install two copies of SU (same version)?

      If you are really serious about running another copy or another version of SU, without it interfering with the registry then you should consider virtualization a version of your SU software.

      https://my.vmware.com/web/vmware/downloads

      Example: I'm currently using SU 2015 as my main workhorse for daily work. Having found out that SU 2016 wont run many of my Ruby scripts. I created a virtual copy of SU 2016, also known as a Portable version, using vmware.

      Warning: this process should not be attempted without a good understanding of Windows and what virtualization is.

      Here is a short description of how I make a portable copy.

      1. I always have a fresh bootable install of Windoz only, on a new UBS3 HDD
      2. I install vmware and SketchUp on 1
        3, With vmware running I make a new Bootable copy of SketchUp

      Now I can run a portable version of SketchUp from my USB3 HDD or move that Portable to any other HDD
      If you are competent in using vmware you can make versions that allow you to add addons scripts to your portable version, this is very important.

      good luck!

      posted in Developers' Forum
      T
      tomot
    • RE: Its time to discuss an important subject: Plugins/Extensions

      @TIG: you said something to the effect that amain.rb, can now only communicate with any additional files (such as Icons) if found in a same named folder. If my above interpretation is correct, is that why the next 5 steps work, using the SketchUp Extension Manager in SU 2016?

      Hence:

      1. click on my plugins above my name.
      2. goto: SketchUp - Free Ruby Plugins
      3. download: free plugin: doortools
      4. rename doortools.zip to doortools.rbz
      5. voila! doortools.rbz will install via the SketchUp Extension Manager

      Is this the only rabbit hole I should be avoiding?

      posted in Developers' Forum
      T
      tomot
    • RE: Its time to discuss an important subject: Plugins/Extensions

      @Dan please look at the attached pic, do you see the end result?


      try.PNG

      posted in Developers' Forum
      T
      tomot