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

    Posts

    Recent Best Controversial
    • RE: SketchUp 2013 ;)

      @mwm5053 said:

      I'm kinda disappointed, I don't see much diference except change of icons maybe someone can start showing some improvements. Maybe a list or hidden finds of improvements.

      Ditto. I notice that the Mac version still uses Ruby 1.8.5, which isn't even the version installed standard on OS X. Other than the bump in license terms (no commercial use of any sort for the free version) and price ($590 for pro), the only visible change seems to be the extensions warehouse.

      All you excited beta testers, can you now spill the beans and tell us what we should be excited about?

      posted in SketchUp Discussions
      S
      slbaumgartner
    • RE: SketchUp 2013 ;)

      Dan, I suspect there was (or maybe still is) a glitch on the site. The first time I downloaded, I got the Windows installer exe, but on the second try I got the Mac dmg. I didn't do anything different, so I think they probably fixed it.

      Steve

      posted in SketchUp Discussions
      S
      slbaumgartner
    • RE: Need testers for my Ruby Code Editor

      @alexschreyer said:

      Forgot to mention:

      • Yes to Find/Replace. Next version, though...
      • Undo is in there. Just make sure the editor window is highlighted when you do Command-Z

      Cheers,
      Alex

      I find that Command-Z works only for text you type yourself, not for snippets inserted from the menu. You can highlight a section of code and hit delete, though.

      Steve

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: Need testers for my Ruby Code Editor

      @alexschreyer said:

      Could anyone with a Mac check this, too, please... I did some Mac checks but I develop on Windows.

      Cheers,
      Alex

      More tidbits:

      The options window isn't sized to the contents and isn't scrollable. I had to stretch it out before I could see all the items.

      On a Mac the editor keeps disappearing behind other windows. I'd like it better if it were modal (which, on a Mac, just keeps it on top, it doesn't block events to other windows).

      The tooltips that say "Alt-..." are wrong on Mac. They should be "Command-..." instead. For instance, "Alt-S" inserts a German Eszett!

      Command-S gets "Save As", even when you have been editing an existing file.

      The snippet Mac or PC? has syntax errors. Presumably you meant to have :windows and :mac as symbols, but there is a space between the : and the name.

      Is there a find or find+replace capability? If so, what triggers it? No standard key press seems to get there. Seems like a pretty basic editor function. Undo would also be very helpful, especially if you make a mess by inserting a snippet at the wrong place!

      The syntax highlighter picks out SketchUp keywords out of context and without regard to capitalization. So, for example, if you name a variable "entities", it is highlighted as a keyword. Should only happen for "Entities" and "xxx.entities" (without getting into whether it is a good idea to name variables the same as keywords).

      I was confused by the "explore current selection" and "List object's attributes" buttons until I discovered that they pertain to a selected object in SketchUp, not in the editor!

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: Need testers for my Ruby Code Editor

      @slbaumgartner said:

      @alexschreyer said:

      Could anyone with a Mac check this, too, please... I did some Mac checks but I develop on Windows.

      Cheers,
      Alex

      Pretty nice, overall! But...

      I tried it out on Joe Zeh's dovetailed_components.rb, and found that the syntax highlighting is sensitive to spaces in statements. For example,

      @dadoDelta = delta * (1.0 - dadoDepth/width)

      causes the remainder of the file to be displayed all olive green, but if I put a space after the /, it fixes things. Seems like there is a parsing bug?

      Steve

      the same thing happens unless there is a space after <<

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: Need testers for my Ruby Code Editor

      @alexschreyer said:

      Could anyone with a Mac check this, too, please... I did some Mac checks but I develop on Windows.

      Cheers,
      Alex

      Pretty nice, overall! But...

      I tried it out on Joe Zeh's dovetailed_components.rb, and found that the syntax highlighting is sensitive to spaces in statements. For example,

      @dadoDelta = delta * (1.0 - dadoDepth/width)

      causes the remainder of the file to be displayed all olive green, but if I put a space after the /, it fixes things. Seems like there is a parsing bug?

      Steve

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: Maximum JPG export size on Mac?

      @lancaster said:

      I had the trial version of SketchUp Pro 8 running on my MacBook. Trial is over so I'm back to my Windows desktop. I managed to export 12800x6650 pixels on my Mac but the Windows version seems to be limited to 9999 pixels. Currently I'm thinking of switching my license to Mac. Could anybody confirm that on Mac it's possible to export beyond 9999 pixels?

      Extra info: model contains only lines. Using LayOut for huge images didn't work.

      Thanks!

      I just exported a 10310x6650 jpeg (I set 12800x6650, but SketchUp seemingly overrode the larger dimension during export - perhaps due to the size of the screen?). I tried even larger, but got a popup saying "The export failed or was cancelled". This makes me think there is an undocumented upper limit, but I don't know what it is.

      Steve

      posted in SketchUp Discussions
      S
      slbaumgartner
    • RE: [Code] Quick Reference Card in a WebDialog

      @driven said:

      @slbaumgartner said:

      John, do you have a custom WebKit installed? Or some kind of PDF viewer plugin?

      Are you insinuating that I may have tampered with my SU instal;)

      I have the standard WebKit

      SU WebDialog doesn't seem to use Safari's
      WebKit built-in PDF
      — from file “”.
      MIME Type Description Extensions
      application/pdf Portable Document Format pdf

      but instead seems to be using

      Adobe Acrobat and Reader Plug-in
      Adobe Acrobat and Reader Plug-in for Web Browsers, Version 9.5.2 — from file “AdobePDFViewer.plugin”.

      Nice plugin scanner, John!

      I got
      Adobe Acrobat and Reader Plug-in for Web Browsers, Version 9.0.0 — from file “AdobePDFViewer.plugin”.

      So maybe there's a version sensitivity involved? In any case, it seems to support Dan's feeling that PDF display via WebDialog is not reliable from machine to machine..

      Steve

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: [Code] Quick Reference Card in a WebDialog

      @driven said:

      @all,
      Retested latest version [with TT's bit] and it all works on my mac...
      john

      I now get a blank window. John, do you have a custom WebKit installed? Or some kind of PDF viewer plugin?

      Steve

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: [Code] Quick Reference Card in a WebDialog

      On my Mac, the WebDialog opens and spins a bit and then SketchUp crashes.

      Steve

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: [Talk] Plugins Quarantine

      @thomthom said:

      @slbaumgartner said:

      Moderators, unless it simply fascinates you, I would put your energy elsewhere!

      "It"? ❓

      "It" = trying to rig SketchUp or sketchUcation so that ill-written plugins are automatically detected and fixed. I won't stand in the way of anyone who enjoys tinkering with that sort of stuff, but I think it won't succeed.

      posted in Plugins
      S
      slbaumgartner
    • RE: [Talk] Plugins Quarantine

      @trogluddite said:

      Maybe Ruby just makes it too easy? - folks using the more typical C SDKs of other applications have to work a lot harder to make robust add-ons, and things like thread safety etc. have to be considered and accommodated within their designs. Comparatively, wrapping everything in a module, and not messing with the kernel, is really not much to expect - anyone who can understand the API doc's should have no trouble understanding those things too.
      The Ruby 'gurus' and mod's do a great job of advising us noob developers, but cannot force amateur dev's to heed their warnings. The techniques involved are not terribly complex (even I understand them!), and I have no problem with developers who consistently refuse to take good advice being censured for the ill effects that their plugins can cause.

      To start, many thanks to the moderators for all your work to keep sketchUcation a friendly and useful place!
      Personally, I think that the quarantine area is a good idea. Perhaps all plugins should go initially into quarantine until enough members weigh in to confirm that the plugin is safe? That might reduce the workload on the moderators. But certainly there should be VERY LOUD warnings to make it as hard as possible to ignore the fact that known bad plugins are bad. I also agree that if the original author doesn't respond to requests to clean up his code, it should be s#&$-canned - maybe with a residual warning for anyone who downloaded it previously. Our life situations change, and maybe the author no longer has time to devote to SketchUp, but one shouldn't be allowed to post something for free and then just walk away.

      Much of the Ruby discussion reminds me of issues that were heatedly debated when weakly-typed, interpreted (i.e. scripting) languages rose to popularity. Those accustomed to strongly-typed, compiled languages opined that it would never be possible to be sure that a program would work, since classes and objects could be arbitrarily modified at any time by code outside the original source files. Despite these objections, in part because of the great power they add via extensibility, scripting languages are now widely used - most of the time, without all the terrible issues that the pundits predicted. But, along comes the occasional troublemaker or naif...

      As others have noted, Ruby was deliberately designed so that even the core classes and modules can be modified on the fly by anyone. There are a few situations in which this capability is necessary. The Developer Console and TestUp code on GitHub is an example. They rely on overriding the builtin puts() to trap output from Ruby code (aside: that's all they trap. I added overrides to p, print, printf, and putc in my version because I have scripts that do more formatting than puts). But aside from those kinds of system utilities, I would claim it is never necessary or appropriate to modify the standard libraries. Instead, you derive a subclass, add your override there, and use that instead of the standard class in your code. It's done that way all the time in strongly-typed languages such as C++.

      When the SketchUp developers chose Ruby as their extension language, they bought into its mutability along with the rest of Ruby. It seems to me that an outside effort to "undo" this aspect of Ruby would be highly likely to create as many new problems as it solved! Moderators, unless it simply fascinates you, I would put your energy elsewhere!

      Steve

      posted in Plugins
      S
      slbaumgartner
    • RE: On a Mac wondering if anyone has this problem, Image on File

      You could also try the sketchup quicklook generator I posted in

      http://sketchucation.com/forums/viewtopic.php?f=18&t=16015&start=90#p440924

      I had issues early on because SketchUp did not register a quicklook generator of its own, which somehow caused quicklook to try to treat a .skp file as text. It took a long time and then displayed useless info.

      Steve

      posted in SketchUp Discussions
      S
      slbaumgartner
    • RE: [Tutorial] PickHelper - Visual Guide

      @thomthom said:

      Revision 3

      I've finally got around to work on a revision for this. Would you please have a look at this draft and give me your thoughts? Is it more understandable?
      This version is more verbose and instead of trying to explain the entire class in one diagram I broke it down into categories.

      Thanks TT, looks clear and helpful. Now for your next assignment, compare/contrast pickHelper and InputPoint!

      Steve

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: Web dialog and cookies on Mac

      @dan rathbun said:

      Would it easier to use the LocalStorage interface instead of cookies ?

      Dan,

      Thanks for the tip! I tried it, and it not only works more portably, it is cleaner code.

      Steve

      posted in Developers' Forum
      S
      slbaumgartner
    • Web dialog and cookies on Mac

      is there a trick to getting document.cookies to work in a Web Dialog on a Mac? I have a plugin that remembers user inputs on a web dialog by setting cookies. It works fine on Windows, but fails on a Mac. Debugging via the WebKit inspector seems to indicate that the cookies are never returned. They have a generous expiration date, so that's not it...

      Any insight appreciated!

      Thanks
      Steve

      [mod=:27bx1sya]Duplicate threads merged into one. -TT[/mod:27bx1sya]

      posted in Developers' Forum
      S
      slbaumgartner
    • RE: Latest version for Mac?

      @driven said:

      won't be here for long
      john
      https://dl.dropbox.com/u/25114184/SketchUp%208.0%20Installer.pkg

      That package finally worked! Now I'm more convinced than ever that something between me and Trimble is caching an old version. I wiped Safari's cache, so that shouldn't have been it. Something really strange is going on, but now I have 8.0.16845 again. Thanks a ton!

      posted in SketchUp Bug Reporting
      S
      slbaumgartner
    • RE: Latest version for Mac?

      @driven said:

      won't be here for long
      john
      https://dl.dropbox.com/u/25114184/SketchUp%208.0%20Installer.pkg

      Alas, gone to 404 before I got there, but thanks for the try.

      As an experiment, I downloaded from the Trimble site using a Windows box (selecting the Mac version of SU, though) and I still got 8.0.15157. I beginning to wonder if there is a network cache server somewhere holding onto an obsolete version?

      [edit: the second time I tried, your package was there! Thanks! I'll let you know if it works!]

      posted in SketchUp Bug Reporting
      S
      slbaumgartner
    • RE: Latest version for Mac?

      @driven said:

      That was a different link from Aerilius's that I used...

      Yep - I followed the link you posted and still got 8.0.15157. How is that possible ❓ ❓ ❓ ❓ ❓

      posted in SketchUp Bug Reporting
      S
      slbaumgartner
    • RE: Latest version for Mac?

      @driven said:

      I downloaded 'free', knowing that's what you want...
      and that clipping was from the contents info.plist (via Pasifist)

      maybe... Clear all SU downloads, I have had issues with it grabbing the previous version to auto open?
      john

      If by that you mean to Trash them, I did that. This is getting really spooky! Plus, it is also SU itself that proclaims 8.0.15157 after I try to wipe it completely (following the instructions on the Trimble site) and start afresh...

      posted in SketchUp Bug Reporting
      S
      slbaumgartner
    • 1 / 1