sketchucation logo sketchucation
    • Login
    1. Home
    2. MartinRinehart
    3. Topics
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 131
    • Posts 766
    • Groups 1

    Topics

    • M

      Animation in SketchUp

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      58
      0 Votes
      58 Posts
      9k Views
      Chris FullmerC
      I think animation in SU, however it is achieved, is susceptible to skipping if the model is large, or vast amounts of data are being animated. Try it in a DC. DC's animate objects and you can put them on a timer. The more complex the object being animated is, the bumpier the live animation is. But if it could be exported to a video, then it wouldn't matter so much.
    • M

      Moving Smoothly

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      382 Views
      thomthomT
      @chris fullmer said: Don't forget that refresh is new to 7.1 (or was it 7.0?). Anyhow, it is new and not compatible with older versions... Chris 7.1 http://code.google.com/intl/nb/apis/sketchup/docs/releases.html
    • M

      Fancy Floor Contest

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      7
      0 Votes
      7 Posts
      377 Views
      TIGT
      Mine took 2 mins, no hints- excluding making the png.[image: RBIe_FloorTIG.png]
    • M

      MSDOS in Ruby Console

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      14
      0 Votes
      14 Posts
      1k Views
      Dan RathbunD
      @martinrinehart said: @dan rathbun said: What's wrong with the standard included classes File and Dir ?? You can do all that would be desired with their methods. That's all I've done: def cd( path ) Dir::chdir( path ) end Shell Commands are already allowed within Ruby. [Examples for PC win32 platform, but also applies to Mac OSX.] use the %x delimiter, as in: %x{dir *.skp} or backquoted strings, as in: dir *.skp (from: Programming Ruby - The Pragmatic Programmer's Guide) The Ruby Language > Expressions > Single Terms Shell Command. A shell command is a string enclosed in backquotes, or in a general delimited string (page 200) starting with %x. The value of the string is the standard output of running the command represented by the string under the host operating system's standard shell. The execution also sets the $? variable with the command's exit status. [Example - '.c' changed to '.skp';'ls' changed to 'dir'.] %(#BF0000)[filter = "*.skp" files = dir #{filter} files = %x{dir #{filter}}] ! Backquoted strings allow replacement like doublequoted strings ! Expressions > Miscellaneous Expressions**http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_expressions.html** Command Expansion If you enclose a string in backquotes, or use the delimited form prefixed by %x, it will (by default) be executed as a command by your underlying operating system. The value of the expression is the standard output of that command. ! The output is a String, so any String method can be applied to the expression: Ex: dir.include?('.jpg') returns true if there are any jpeg files in the dir _
    • M

      Transformation Matrix Tool

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      19
      0 Votes
      19 Posts
      973 Views
      M
      @honoluludesktop said: Martin, My apologies;-) Apologies not needed. Besides, you're the only guy here who has the correct version number on Win XP.
    • M

      Where's my circle's face?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      232 Views
      TIGT
      The add_circle returns an array of its edges, so circles_edges=entities.add_circle(......), to make a face simply use circles_edges[0].find_faces...........
    • M

      [Plugin-like] SketchTalk

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      17
      0 Votes
      17 Posts
      13k Views
      TIGT
      I think that Martin is no longer active on this site... Did you look here ? http://www.martinrinehart.com/models/tutorial/downloads.html Remember that it is all a decade old !
    • M

      Ruby Programming Tutorial

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      1
      0 Votes
      1 Posts
      210 Views
      No one has replied
    • M

      Materials Browser in Ruby?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      179 Views
      M
      @tig said: splitting out the parts of the material's 'skm' file [which is really a 'zip' file] and taking the image file part, then making that as your new material's texture [with appropriate scaling] etc etc... Thanks. I was afraid of that.
    • M

      "Tell me what's goin' on. I ain't got a clue!"

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      28
      0 Votes
      28 Posts
      1k Views
      TIGT
      'Above' in this context is on the side of the face's front. If the face is flat and it were facing upwards your hand would be above it. The that face were facing downwards then your hand would be underneath it...
    • M

      Woody Materials Listed as Wood

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      238 Views
      M
      @tig said: Now right-click on each of these new Materials in turn and pick Save_as, and save each of them as new skm file, say into the ../Materials/Wood folder. Thanks to you I not only got my woods into Wood, but I've also got a Materials dropdown that doesn't overflow and need scrolling, I've got A_Personal_Palette category with the stuff I use all the time and I've got rid of, for example, Colors_Named. A million thanks.
    • M

      Screen Shots

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      14
      0 Votes
      14 Posts
      805 Views
      pilouP
      If by chance you use Firefox don't miss this one!(free) That pick image, part of screen, or screen and directly open online in a Toshop like! (free too) Advantage? : It's free and you are not obliged to at be home Fractal is'nt it? [image: D4d9_Screen.png]
    • M

      Model.X_operation

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      143 Views
      Chris FullmerC
      Yeah, I use start_operation and abort_operation in pretty much every script. They work with the "undo stack". So if you write a script that loops 20 times and adds a line in each loop, SketchUp will count that as 20 separate operations. So to fix wthat, you can do: ` model.start_operation "Line Adder" code to add my lines.... model.commit_operation` By wrapping the code within the start and commit operations, it all just turns into a single commend. So ctrl-z (or EDit > Undo) will undo all 20 lines in one shot. AND the "Line Adder" text will be displayed in the Edit > Undo menu. Chris
    • M

      WebDialog Tutorial for Ruby Programmers

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      271 Views
      M
      You're my target user, Chris. Hope the link helps.
    • M

      SketchUp Aftermarket Economics

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      269 Views
      M
      In a former life, I founded and ran an Xbase (dBASE, Clipper, FoxPro, ...) aftermarket company. It was successful as we had two excellent marketing channels. The Clipper community had about 40 active clubs, nationwide. A press release about your latest and 40 stamps was all it took to appear in 40 newsletters. There was also a small magazine, DataBased Advisor that was read avidly by Xbasers. A full page ad wasn't expensive and almost every reader was your potential buyer. I'm trying to think of ways to reach my audience: SketchUp newbies. Best I'm coming up with is to turn promptly to treeware, as the newbie might head to Amazon when s/he finds out that SU has a bit of a learning curve. Treeware in the age of YouTube.
    • M

      [WebDialog writer's tool] JavaScript Console

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      640 Views
      C
      Again, I have to recommend Firebug Lite. It has a full featured Javascript console plus HTML DOM and CSS browsers. It works on IE, Safari, Firefox and Chrome and you can add it to any HTML doc with only one (long) line: <a href="javascript&#058;var firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);">Firebug Lite</a> http://getfirebug.com/lite.html
    • M

      Best Strategy for Clean Geometry

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      502 Views
      TIGT
      Martin is/was making it far too complex... it even converted the group to a pointless component ? KISS... Jim's example is the better way to do it... Explode the group at the end if desired...
    • M

      List of International Lumber Sizes Needed

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      29
      0 Votes
      29 Posts
      857 Views
      jeff hammondJ
      @tomot said: As a Contractor I don't care, Nor do I care as a Framer. What I do care about; is notes on the working drawings describing size of studs, dimens..... ah, ok.. i didn't see where you were coming from.. i'm a design/build contractor and i always have a laptop onsite instead of prints and i use it for certain calculations etc where it does matter in it's accuracy.. but, from that, i'll hand out cut/assembly lists/diagrams which are scribbled on scraps etc and i bet if you actually scaled out some of those drawings, a 2x4-8 might really be a 8x10-14 .. so yeah, at some point, it doesn't matter how accurately it's drawn and only the numbers written next to them are important..
    • M

      JavaScript Help from Google

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      131 Views
      Chris FullmerC
      I believe that they showed this during the IP conference this last year. Maybe dig through the IO videos to see if they had any sessions devoted to it. Chris
    • M

      [Plugin] file_new.rb Startup, Your Way

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      11
      0 Votes
      11 Posts
      8k Views
      R
      Hello MartinRinehart, Thanks you very much,
    • 1 / 1