sketchucation logo sketchucation
    • Login
    1. Home
    2. RickW
    3. Topics
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 36
    • Posts 779
    • Groups 1

    Topics

    • R

      [Plugin] ToolbarBuilder

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      32
      0 Votes
      32 Posts
      2k Views
      R
      I'll look into it. EDIT: fixed (had a variable left over from command line testing, converted it to the "real" variable). Download 1.0.5 for the fix.
    • R

      [Plugin] ToolbarBuilderDemo

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      13
      0 Votes
      13 Posts
      371 Views
      BoxB
      I think a three or four button save in the free version will get you many more Pro buyers.
    • R

      GrowFamily

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      29
      0 Votes
      29 Posts
      868 Views
      thomthomT
      Moved the thread to the Developer's forum. We have reorganized so that the Plugin section is only a list of plugins you can download and use.
    • R

      Converting text to unit length (string.to_l)

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      136 Views
      J
      Yes, I was worried about this problem. In my woodwrk.rb I use a simple math evaluator as an alternate to simply a math expression. I parse the string and where there are legitimate length fields I insert the following: s.to_l.to_f.to_s. If fear this won't work in European countries although I do know at least one guy using my Ruby.
    • R

      WebDialogs and JavaScript events

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      90 Views
      thomthomT
      I'm using jQuery to take care of such things.
    • R

      [Plugin] CameraControls

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      36
      0 Votes
      36 Posts
      27k Views
      E
      Seems like this plugin is no longer compatible with newer versions of SketchUp? It would be so cool to see it still working! In SU 2018 the toolbar is unresponsive too. For me it is one of the best plugins ever.
    • R

      Woman locked in car calls for help

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      15
      0 Votes
      15 Posts
      866 Views
      thomthomT
      @ross macintosh said: Thomas - did they bust it? I think they confirmed that a hot car could make the boxes pop.
    • R

      Rumor of new SU7.1 patch

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      2
      0 Votes
      2 Posts
      255 Views
      david_hD
      Happy April Fool's Day to you too. . ..
    • R

      All-new API with full access to all internal functions?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      329 Views
      P
      i'VE BEEN PUNKED...
    • R

      Anyone use SU7 on a MacBook (NOT Pro)?

      Watching Ignoring Scheduled Pinned Locked Moved Hardware, Software & Gadgets
      15
      0 Votes
      15 Posts
      1k Views
      EdsonE
      @joshvt said: Agreed, layer managing is mandatory. What size models are you typically working with Edson? most of my models are about 20-30 mb but I have reached 50 mb in a couple of cases. but, as i understand it, it is not really the size in mb that counts but the poly count.
    • R

      [Plugin] GoldenGauge now available

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      18
      0 Votes
      18 Posts
      15k Views
      J
      You're not really missing something. Golden Section is about the proportion of a face or box in 2 or 3 dimensions. This script works on 2 dimensions which doesn't have to be in a Golden Section proportion. It divides each dimension separately to the Golden Section. If you draw a rectangle in the Golden Section proportion and you use this script, one of the 4 parts is a perfect square with same dimensions. So using both tools, you'll get a good combination for designing with the Golden Section. But thanks for noticing the GS-feature in SU, I didn't know about that one.
    • R

      [Plugin] Toggle Break Edges

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      5
      0 Votes
      5 Posts
      5k Views
      M
      thanks
    • R

      Collaborative Effort - Ruby Template, RDoc, and Localization

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      36
      0 Votes
      36 Posts
      10k Views
      Dan RathbunD
      @jim said: What about creating an abstract base class named Plugin which provides inspectors for the information? Not only could inspectors be created for name, author, copyright, license, etc; but also inspectors for menus, Commands and toolbar images? This way, external applications (menu organizers, etc) can simply ask the plugin about itself. I've actually done some playing around & testing this past week along these lines, before I saw this post. I had seen, in many standard (extra Sketchup) ruby scripts, that coders were just declaring a string constant "VERSION" at the top of their outer code blocks. This could be easily accessed ie:, Module::VERSION. But then the spark for me was seeing somewhere (perhaps within the RubyGems files,) someone took it a baby step forward by making the constant VERSION a Hash with 4 elements, the first 3 Integer components of the version number, and the 4th a string concatonation of the first 3. ie: VERSION=[MAJOR => 0, MINOR => 0, TEENY => 0, STRING => (MAJOR,MINOR,TEENY).join(".") ] This was a bit better, as you could get any one of the version components for comparison, without having to convert to numeric, by calling as an example: if Module;;VERSION[MAJOR] < 7 {..do a block..} Or if you wanted the whole version string, you'd call, like so: messagebox( "The plugin version is; #{Module;;VERSION[STRING]}" ) But the spark had not yet ignited into flame until I stumbled across the standard ruby class OpenStruct. When I read the filenotes in 'ostruct.rb', I immediately thought this is perfect for versioning !! OpenStruct is similar to the built-in class Struct, but really makes it act like a true data object should act in an object oriented language like Ruby. Struct on the other hand is so much like a hash, there doesn't seem to be much benefit in it; as you still set and access values as you would in a hash object. OpenStruct is SO MUCH better! You simply state a new object name = followed by OpenStruct.new(keylist), where the keylist is just that; a list of data keys to create. The class creates all the keys as attributes, and automatically sets up getter and setter accessors for each one! (Pssst! [whispering off topic this would also be great for ruby-side JSON as OpenStructs will look and act just like Javascript Objects..)] So my thoughts are to set up a custom subclass of OpenStruct called VersionStruct, or just a custom class called VersionStruct that uses an OpenStruct. Still playing and testing which way is better. Any way the goal is to have something that is all setup correctly that can be either 'included' or mixed-in into a top code block, so the module or class inherits the data structure; OR instanstiated into a code block if it's set up as a class. (I cannot see making coders cut and paste a codeblock into everyscript, errors may creep in.) Anyway.. after instantiating a VersionStruct, a coder would set the fields, then freeze the VERSION object (so the data cannot be changed after the script is loaded.) Example: ['RubyTools' is a fictional Namespace.] module DandyCode VERSION = RubyTools;;VersionStruct.new(2,1,4) # first 3 parameters are integers; major, minor, teeny # note VERSION.string is created automatically VERSION.author="Ruby A. Coder" VERSION.copyright="(c) 2010 by author" VERSION.disclaimer="No Waranty...no particular purpose...author to be held harmless ...etc" # can be preset VERSION.termsOfUse="Free for Public Use...etc." # can be preset VERSION.title="Title of this plugin code" VERSION.description="A short explanation of it's features." VERSION.minSUverMajor=7 VERSION.minSUverMinor=1 VERSION.dependancies=self.DependancyList VERSION.exclusions=self.ExclusionList VERSION.freeze DependancyList = Array.new DependancyList[0] = DependancyItemStruct.new(module='JRF;;Inputbox', minverMajor=2) ExclusionList = Array.new ExclusionList[0] = ExclusionItemStruct.new(module='SluggishKeyTrapper', allVers=true) VERSION.freeze .. more code ... end # module Anyway.. ideas to chew on... Currently.. I'm only playing with a VERSION structure that has Major, Minor, Teeny and String attributes. The other attributes in the above example, or discussed in the prior posts, could be in a separate struct as Jim suggested called 'Plugin' or whatever. (We've seen a similar thing done with the Sketchup Extension Class, except that it's put in a separate file.) For those interested, who don't have a full ruby install, I attach the ostruct.rb file that ships with Ruby 1.9.1 (put it in a folder that's in the search path, perhaps the Tools folder. I personally have it in a folder named 'Library' which I put in my search path.) ostruct.rb
    • R

      Windowizer4 now available!

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      55
      0 Votes
      55 Posts
      14k Views
      R
      I had noticed problems with wxSU as well (one reason I didn't adopt), but not specifically with Windowizer4. I'll have to dig in and see what I find out. Thanks,
    • R

      New lighting technology

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      2
      0 Votes
      2 Posts
      236 Views
      P
      Yea I saw this on a CNN video What's the power consumption to light output ratio. It would be cool for instance to have an entire ceiling made up of this material with the inclusion of light sensors and then only the portions that are in an area that is too dark would illuminate.
    • R

      Why vote Obama?

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      246
      0 Votes
      246 Posts
      5k Views
      M
      @alan fraser said: It may seem an obvious point, but how exactly is a video over 20 years old relevant to the world today? That was from another political age; it might as well be an interview with Albert Speer. There may be a few ageing die-hard commies lurking in the woodwork or on university campuses somewhere, but they are as irrelevant an ineffectual as this completely anachronistic name-calling. Soviet-style socialism is dead and discredited; outperformed and undermined by western capitalism to the point where it simply imploded. Everyone with any sense and any influence in the west knows that. They were even having to import advanced office equipment by the backdoor, just so that they could get hold of the silicon chips and reprogram them for their missile guidance systems. This is just pure bogeyman under the bed stuff. We'll be getting scare stories on Islamofascists and taqiyya next. Just to be clear, I have never said that I believe Obama is a Marxist. As I have made clear in other threads, I believe Obama and McCain are simply political careerists. The video clip I provided a link to was to show how political careerists can be "useful idiots". 20 year old videos can be just as interesting as literature produced hundreds or thousands of years ago. The Greeks and Romans produced much that is still relevant today. We can discuss what we believe to be relevant. But just because something is old doesn't make it irrelevant. And yes, even watching an interview with Albert Speer can provide useful insights. I would suggest that Western captialism won only the economic war against "Soviet-style socialism" (call it what it was, communism), but in the West the left won the political and cultural struggle. That Soviet-style socialism as an economic system is dead and discredited is true, but the recent debacle with the Western capitalist system would hardly suggest it to be a great alternative. Like the Soviet economic system it came very close to imploding. In fact, you could argue that it did implode and that it is only being kept up and running with smoke and mirrors. No political, economic or cultural system lasts forever. They are all replaced by, or evolve in to something new. There are indeed many die-hard commies still lurking in our universities. There are also a surprising number of leading members of New Labour who also used to be members of communist and other assorted extreme left wing movements. Oh, I know, I know, they all grew up and left behind those silly childish thoughts and became moderates. Amazing isn't it how only left-wing extremists can reform and become pillars of the establishment. Similar to how only left-wing terrorists can become University lecturers. Of course, only nasty, small minded, ring-wing bigots point these things out. Because of political correctness (a cultural and political victory for the left) I will avoid going on to discuss the issue of Islam. Regards Mr S
    • R

      Lighter side: Hackers delight

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      5
      0 Votes
      5 Posts
      295 Views
      R
      Thats pretty good, my vote goes to R2D2.
    • R

      Does anyone disagree?

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      32
      0 Votes
      32 Posts
      913 Views
      Alan FraserA
      @unknownuser said: Are the millions of immigrants trying to break down the gates to Ireland, or the UK, or Germany, for that matter? Absolutely they are. It's one of the hottest topics in any European country at the moment. Every truck entering Britain has to be scanned by radar and have CO2 detectors inserted; and they're still getting in in their thousands....Iraqis, Afghans, Albanians...you name it. Link @unknownuser said: It was also billions upon billions of US dollars that helped rebuild and protect western Europe, and Japan, following the war. I have to check this fact, but I believe that Europe has not repaid most of what the US spent to help rebuild after the war. No I haven't forgotten the very generous gesture of Harry Truman after the war. But we paid back every cent of it...and much of that aid was exacted at a very high price in both money, territory and technology...and an ageement to switch the gold standard from the pound to the dollar, which the US then levered to huge advantage after the war. Britain only stopped paying for it in 2006. As for being jealous, guess again. It would actually be financially advantageous for me to move to the US, as the company is based in California, the other directors are there...and I'm paid in dollars every month and so lose money in the currency conversion. I have nothing against either America or the American people; they are extremely generous and friendly and the scenery is tremendous (well, I might make an exception in the case of Oklahoma), but I just prefer it where I am.
    • R

      Quiz: Who said this?

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      9
      0 Votes
      9 Posts
      345 Views
      B
      I agree, Rick. The Democrats of old were fine. They were respectful of dissent, not intolerant of it. I've mentioned before how I felt about guys like Patrick Moynihan. There has been a marked shift to liberalism, to populism, to appealing to the "disenfranchised" by "taxing the rich". Making them the bogey men.
    • R

      Microsoft gets philosophical

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      3
      0 Votes
      3 Posts
      276 Views
      P
      Dont't forget Sinatra wrote: "Do be do be doo..."
    • 1
    • 2
    • 1 / 2