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

    Posts

    Recent Best Controversial
    • RE: Preparing for SmustardOrganizer script

      Rick thank you again for this help,
      so I look and I found the script was there but the english version with a different ruby name, I wanted to have a subfolder with all my french ruby because most of the time the mesurment there are metric, I am french and I work with both metric and Imperial, now i am in the US for a while and all i need to do is imperial but sometime i get some request from france and need to work in metric. Is there a way to have both sets. it seems that the problem is that both script call the same action or something like that and causes a confict somewhere. I don't know anything about ruby script really but i am willing to learn.

      by the way I reorganise the rest of all my script to be organiseable, now one thing i wish to have is the possibility to have all my plugings in one submenu in the context menu like the script TIG made (ContextMenuMenus.rb) he has all the menus (1,2,3,4,5,6,8) he jumped the 7 which is the pluging menu because it is different in each user.
      submenu1=submenus.add_submenu("Edit...") ### adds the submenus for the items that follow
      submenu2=submenus.add_submenu("View...")
      submenu3=submenus.add_submenu("Camera...")
      submenu4=submenus.add_submenu("Draw...")
      submenu5=submenus.add_submenu("Tools...")
      submenu6=submenus.add_submenu("Window...")
      submenu8=submenus.add_submenu("Help...")
      So i wanted to put the 7th submenu in the list. Is there a way that something can be done with organizer.rb to read all that is in the plugins folder and add them to the submenu7 in the context menu ???
      this will be a big plus to your script.
      untill now you have solved all my problems.
      thank you for all your useful scripts

      [Haggai]

      posted in Developers' Forum
      H
      Haggai
    • RE: Preparing for SmustardOrganizer script

      Thank you for your quick reply on that, I imagine that you are busy for the rest of the stuff i asked.
      I will wait maybe someone else had the same problem.

      again thank you.

      [Haggai]

      posted in Developers' Forum
      H
      Haggai
    • RE: Preparing for SmustardOrganizer script

      Rick,thank you for looking into this for me, I put the file yuo sent to the pluggings folder and it function ( but the script in imperial and not metric ).
      the other thing is that if I put it in my "French" subfolder it still gives me the same error message

      I give you the error message plus few lines above concerning the same script

      C:/Program Files/Google/Google SketchUp 6/Plugins/10 French/fr_stair_maker062.rb:179: warning: (...) interpreted as grouped expression
      C:/Program Files/Google/Google SketchUp 6/Plugins/10 French/fr_stair_maker062.rb:195: warning: (...) interpreted as grouped expression
      C:/Program Files/Google/Google SketchUp 6/Plugins/10 French/fr_stair_maker062.rb:288: warning: (...) interpreted as grouped expression
      C:/Program Files/Google/Google SketchUp 6/Plugins/10 French/fr_stair_maker062.rb:304: warning: (...) interpreted as grouped expression
      C:/Program Files/Google/Google SketchUp 6/Plugins/10 French/fr_stair_maker062.rb:29: warning: method redefined; discarding old archetypesElements_straightConcreteStair
      C:/Program Files/Google/Google SketchUp 6/Plugins/10 French/fr_stair_maker062.rb:131: warning: method redefined; discarding old archetypesElements_straightSteelStair
      Error: #<NoMethodError: C:/Program Files/Google/Google SketchUp 6/Plugins/10 French/fr_stair_maker062.rb:210: undefined method `add_item' for nil:NilClass>

      thank you very much for helping

      for my other files it seems that the first time I ran the organizer.rb it did not take everything but now I bring many of the file back to the pluggins folder run the script and put them back after. I think that it should be different but this way now I see what is happening, but for the future will I have to put my scripts first in the pluggins folder and then move them to subfolder or can I put them straight in the subfolder??

      I am sorry for taking so much of your time but hopefully my questions will help others like me.

      haggai

      http://www.sketchucation.com/forums/scf/sas/Ruby/load error.png

      posted in Developers' Forum
      H
      Haggai
    • RE: Preparing for SmustardOrganizer script

      The file is missing information for creating menu items. I downloaded it from Didier's website, and it is non-functional in both the French (which you posted) and English (which I downloaded) versions.

      I fixed the file (attached below), and it should now work.

      301 Moved Permanently

      favicon

      (www.sketchucation.com)

      posted in Developers' Forum
      H
      Haggai
    • RE: Preparing for SmustardOrganizer script

      OK thank you, i did as you said and locate the error message, it came from a french stair ruby i removed it and now i don't get the message anymore.

      this was the error line when a run ( load "organizer.rb" )
      Error: #<NoMethodError: C:/Program Files/Google/Google SketchUp 6/Plugins/10 French/fr_stair_maker062.rb:210: undefined method `add_item' for nil:NilClass>

      haggai

      here is the ruby file that i removed what shall I do to it to function
      http://www.sketchucation.com/forums/scf/sas/Ruby/fr_stair_maker062.rb

      posted in Developers' Forum
      H
      Haggai
    • RE: Preparing for SmustardOrganizer script

      @rickw said:

      SelectAtStartup (startup.rb) should be located in the Plugins folder, not in a subfolder.

      Make sure you don't have sketchup.rb, langhandler.rb, or oImage.rb in your Plugins folder.

      I don't have these files in my plugings folder, they are in the "tools" folder.

      @rickw said:

      Not all files will be edited - only those that have a menu item in the Plugins menu will be edited. They can still be put in subfolders, but will appear in their specified menu locations.

      Can I edit the other file manualy to have them be "organizer.rb friendly"?
      if yes what do I need to change?

      I still don't know what is the message
      "Error Loading File organizer.rb
      undefined method `add_item' for nil:NilClass"
      is there things I need to do, I read all the infos about how to install bout ten times, i think that i did it ok and it work for many of the rubys, I don't mind if they do not all get organized now but the message is in the way.

      thank you

      [haggai]

      posted in Developers' Forum
      H
      Haggai
    • RE: Preparing for SmustardOrganizer script

      Rick, another thing my "select at startup" is not funtioning anymore i downloade the last version but it still not selecting, does it go in another place than the plugins folder?

      [haggai]

      posted in Developers' Forum
      H
      Haggai
    • RE: Preparing for SmustardOrganizer script

      Hi Rick,
      I got the organizer and install many of my scripts there in different folder, it seems that many of the file did not get change but i will still look thru all of them, i already saw some that are not but they are neither in the log file.
      another thing that i am getting is this message and I don't know what to do with it,

      "Error Loading File organizer.rb
      undefined method `add_item' for nil:NilClass"

      thank you for your help there.

      [haggai]

      posted in Developers' Forum
      H
      Haggai
    • RE: Width, Depth and Length of Component Instance

      hello,

      If I understood you right here is what I did to your timber.
      Edit the timber component, and then select this tenon edit cut then paste it outside the Timber componentexplode it and make component again, the bounding box will be on the axis, then replace it inside the Timber component, don't forget the other side.

      [Haggai]

      http://www.sketchucation.com/forums/scf/sas/Ruby/collar%20example1.skp

      posted in Developers' Forum
      H
      Haggai
    • RE: [Plugin] VolumeCalculator v1.7

      Very very good tool, it is really something that I will use alot.
      It works perfect, I like the layer options.

      [Haggai]

      posted in Plugins
      H
      Haggai
    • RE: [Plugin] HouseBuilder metric 1.2

      I just wanted to now if there is in view the possility to do angle walls ( not only 90 degres)?
      I really like the ruby. it is very easy to use even my boy ten is builden an amazing house with it. I just see how everything is increasing so fast with all the rubys, that is why i am asking, maybe also curved walls?

      thank for all the work you are doing for the Sketchup Community I have been looking here and there for a while now and I appreciate all that has been done.

      Merci beaucoup

      [Haggai]

      posted in Plugins
      H
      Haggai
    • RE: SketchyPhysics Alpha

      I am doing this but what i meant is that even when I lift up the object it is hard to control them, they are like hanging on a string and swinging as i move.

      P: Haggai

      posted in SketchyPhysics
      H
      Haggai
    • RE: SketchyPhysics Alpha

      Well I just want to say as everyone that this is a really amazing script, I have look around the different possibilities, there is alot that we can do and it realy increase the use of Sketchup, increase our ideas and help us more with our needs.
      I know that this is just the begining, and I also know that it will only get better, i will be waiting for it.
      I really want to thank you for sharing with everyone.
      one question I have for now, is there a way to control how to "grab" the objects in a way that we can for example grab a cmu block and put it on an other one with presision. When I tried they seem to be floating in the air as I carry them? I will keep trying.

      Again thank you very much for all the work.

      P: Haggai

      posted in SketchyPhysics
      H
      Haggai
    • 1 / 1