sketchucation logo sketchucation
    • Login
    1. Home
    2. RickW
    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!
    πŸ”Œ Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 36
    • Posts 779
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Will "Change" really happen starting Tuesday?

      @chango70 said:

      this was just about the least nuanced view of the political specturm I've ever come across. Maybe if the guys who made it understood where political Anarchism came from they would not have made the 100% vs 0% Government analogy, which is by the way laughable.

      You say "least nuanced" as if that's a bad thing. Please explain how more nuance would make it better.

      Since political anarchism (broadly speaking) is the absence of compulsory government (and etymologically stems from the Greek meaning "no ruler" or "no government"), then the 0% Government notion is far from laughable. I'll bet they understand more than you give them credit for.

      posted in Corner Bar
      R
      RickW
    • RE: NASA facing huge PR problem

      Wow - so who's right? Did NASA cover up alien encounters on the successful, real moon mission(s), or did NASA fake the moon landings?

      posted in Corner Bar
      R
      RickW
    • RE: Will "Change" really happen starting Tuesday?

      There may be bipartisan efforts on some things, but there will always be partisanship. It's ludicrous to believe otherwise. When one side believes that the government should get out of the way and the other side belives the government should take over and solve the problems, there's no reconciling the two.

      This video explains things very well. I would be particularly interested to hear the opinions of my Eastern European friends.

      posted in Corner Bar
      R
      RickW
    • RE: Must Have Plugin

      Since you're an architecture student, you should probably get Windowizer3 or Windowizer4 to help build windows, shelving, railings, and other items.

      posted in Developers' Forum
      R
      RickW
    • RE: Scrambler.exe

      That's awfully complicated - I just drag the .rb file icon onto the scrambler.exe file icon. πŸ˜„

      posted in Developers' Forum
      R
      RickW
    • RE: [Plugin] BoolTools just released!

      @gaieus said:

      As for a shortcut; Since Ctrl V is already for pasting things, I have assigned Shift Ctrl V to paste in place

      I use the same shortcut! Good thinking! πŸ˜„

      posted in Plugins
      R
      RickW
    • RE: Scripts not working after Scrambler

      You are doing fine - better than my Chinese πŸ˜„ After "Ni Hao", I'm completely lost...

      posted in Developers' Forum
      R
      RickW
    • RE: Need BOMB ALL plugin

      Do you mean the Bomb script from Smustard? Unless you see a BugSplat or a notification from Windows, then it hasn't really crashed - it's just that exploding a lot of groups and components can result in tens of thousands of polygons that have to be added to the drawing as the g/c geometry interacts with the base-level model, and that can take processing time.

      I just tried bomb on a fairly large model - 1500 component instances. It took maybe 30-45 minutes to make it through everything (a rough guess because I wasn't timing the operation). There were times I thought it had frozen up, but it finally made it through the whole model.

      PS - For my test, I tricked it out with the SU7 speed increase capability (I'm afraid to know how long it would have taken had I not used the increase). Will post it sometime this weekend.

      posted in Developers' Forum
      R
      RickW
    • RE: Scripts not working after Scrambler

      Everyone should know by now that Todd and I are more than happy to help solve a problem, given specifics about the problem. Asking, "it doesn't work, what's wrong?" will likely be answered with something equally vague and unhelpful (even though we intend the answer to be humorous).

      Another possible problem is trying to require an .rbs file - this won't work (at least through v6), and must be loaded via
      Sketchup.load("path/filename.rbs")

      That may or may not solve the problem. There could be other issues.
      Does it load at runtime?
      Does it load manually?
      Does it do anything expected?
      Does it require other files?
      Are those files present?
      Is the unencrypted .rb file in the Plugins folder, possibly causing conflicts?

      etc.

      posted in Developers' Forum
      R
      RickW
    • RE: [REQ] Time dependant component

      @dave r said:

      Babysitting isn't so bad before they start to crawl and/or walk. You can find them where you left them. After they get mobile, you'll be a lot busier. Enjoy it.

      That's for sure - "hide and seek" is a favorite game right now, as is "try to get into an off-limits room before the door is shut" πŸ˜†

      And I think TBD's little one is almost 2 now, so he is probably talking a good deal (mostly in ruby, I'm sure). πŸ˜„

      posted in Plugins
      R
      RickW
    • RE: Scripts not working after Scrambler

      Usually, it's because something is wrong. πŸ˜„

      posted in Developers' Forum
      R
      RickW
    • RE: [REQ] Time dependant component

      "Other things" includes wife and son (and good for him). He warned me that having a baby in the house would disrupt my scripting, and he was right πŸ˜„

      But the trade-off is worth it!

      Ian - 1 year.png

      And I don't consider this hijacking too much, because this little guy is definitely a "time-dependent component" (of my life). πŸ˜‰

      posted in Plugins
      R
      RickW
    • RE: Modifying Texture objects?

      Both are possible. For the size issue, store the width and height prior to changing the file location, then after the change, set
      texture.size = [width,height]

      For the location info, that one gets a little more tricky. You may need to write the material to a location, then pull it back in from that location.

      posted in Developers' Forum
      R
      RickW
    • RE: How do you get a group's definition?

      @thomthom said:

      That's great Dale! Works perfectly.

      But I would never that expected that .parent would return that. I would have expected that:

      
      > group.entities.parent === group
      > 
      

      There are a lot of strange things about groups, and that is one of them.

      posted in Developers' Forum
      R
      RickW
    • RE: How do you get a group's definition?

      One way would be to create an empty group inside that group, then query the parent of the empty group.

      definition = (group.entities.add_group).parent
      

      The empty group is volatile, and will be automatically purged by any operation affecting the model geometry. It's not a nice way to do it, but it works.

      Just curious - why do you need the definition?

      posted in Developers' Forum
      R
      RickW
    • RE: Some plugins don't work SU 7. Organizer.rb at fault?

      Glad you got it working finally! πŸ˜„

      posted in Developers' Forum
      R
      RickW
    • RE: Some plugins don't work SU 7. Organizer.rb at fault?

      Open the ruby console (Window>Ruby console) and type

      load "CadalogBeamTool.rb"

      and press <Enter>
      If any notifications appear in the console, copy and paste them in a post here and we'll try to troubleshoot this some more.

      posted in Developers' Forum
      R
      RickW
    • RE: Some plugins don't work SU 7. Organizer.rb at fault?

      All Organizer does is allow the user to create subfolders in the Plugins folder, then drop scripts into the subfolders. In SketchUp, the subfolders appear as submenu items in the Plugins menu, and the scripts appear in their respective subfolders.

      If something isn't already working in SU7, Organizer won't suddenly make it work (though I wish it did) πŸ˜„

      For your CadalogBeamTool, did you extract the "cadalog" folder and its contents to your Plugins folder? You need more than just the .rb file.

      posted in Developers' Forum
      R
      RickW
    • RE: Changing scenes from Ruby

      First off, action_name will only equal "selected_page" for the first button. The second button will return "pages1.selected_page" for action_name, and the third button will return "pages2.selected_page", so the equality check needs help. Second, there's probably an easier way to accomplish things.

      The general form for callbacks is

      add_action_callback(callback_name) {|dialog,parameters| action}

      callback_name is the name of the callback. In your case, a good callback name might be "show_scene".
      dialog will return the active dialog object.
      parameters will return any parameters you send, and can be used just like the GET method for submitting forms. Of course, you could send a simple parameter like "scene1".
      action should ideally call a method in your class, rather than trying to handle everything right there, unless it's a really short action.

      ...
      @@xzybit_dlg.add_action_callback("select_page") {|web_dialog,page| show_page(page)}
      ...
      
      def show_page(page)
          pages = Sketchup.active_model.pages
          pages.selected_page = pages[page]
      end
      
      
      ...
      
      
      #javascript
      
      function showPage(page) {
      query = 'skp;show_page@' + page;
      window.location.href = query;
      }
      
      
      ...
      
      
      #html
      
      <input type="button" onclick="showPage('Scene1') value = "Scene1"> 
      <input type="button" onclick="showPage('Scene2') value = "Scene2"> 
      <input type="button" onclick="showPage('Scene3') value = "Scene3">
      
      
      

      Now, you may be trying to accomplish other things besides just activating a scene. Just add more callbacks and methods. It's often easier than trying to create a do-everything callback, unless the actions are very similar.

      posted in Developers' Forum
      R
      RickW
    • RE: Some plugins don't work SU 7. Organizer.rb at fault?

      I suspect (but can't confirm) there might be a problem with the Win32API.so file on Vista. Anyone else?

      posted in Developers' Forum
      R
      RickW
    • 1
    • 2
    • 10
    • 11
    • 12
    • 13
    • 14
    • 38
    • 39
    • 12 / 39