sketchucation logo sketchucation
    • Login
    1. Home
    2. Jim
    3. Topics
    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!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 406
    • Posts 4,216
    • Groups 2

    Topics

    • J

      SketchUp Engine

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      896 Views
      AdamBA
      Yes. But on a Mac, use Activity Monitor and click "Sample" to see this.
    • J

      [code] link to Ruby CNC Milling Library

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      183 Views
      No one has replied
    • J

      API Methods by SU Version - 2012 year end edition

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      158 Views
      Dan RathbunD
      FYI: two other threads on send_action() Sketchup.send_action() : Arguments to Sketchup.send_action arguments: Mac vs PC I have begun a reference spreadsheet (in ods format) on the many actions (many not documented elsewhere,) but it is not fully complete.
    • J

      Rescue Exception

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      15
      0 Votes
      15 Posts
      2k Views
      Dan RathbunD
      OK I understand ... Visual Basic: CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator
    • J

      Cleanup Old Plugin Versions?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      799 Views
      TIGT
      If you read the code it never said that. It said: self.delete_folder(File.join(File.dirname(File.dirname(__FILE__)), 'K2WS'))Assuming that the rb doing the deletion is in the K2WS_Comp2LayerScene_ext subfolder. The path finds the dirname of its folder and then the dirname of that folder's folder - which should typically be Plugins...
    • J

      [Code] Open File Browser and Select File

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      314 Views
      D
      @jim said: This code opens a Windows Exlorer window with the given file selected. Is there a Mac equivalent? [image: dBQr_2012-09-1112.45.06pm.png] Tig's code does open the file in 'Finder' and highlights the file title > file=("/Some/Folder/MyFile.rb") UI.openURL('file:///' + File.dirname(file)) true Like this it 'opens' in the associated program for that type of file. i.e. TextWrangler opens ruby files on my system. > file=("/Some/Folder/MyFile.rb") UI.openURL('file:///' + (file)) true This will also open in 'Finder' > file = './Some/Folder/MyFile.rb' system("open -R #{file}") true note: returns true/false > file = './Some/Folder/MyFile.rb' system %(open -R #{file}) true note: also returns true/false shorthand works as well >open -R './Some/Folder/MyFile.rb'`` note: NO return of true/false Without the -R recursive flag it will 'open' in the associated app Again, it can be with or without the return, dependant on the call syntax. john
    • J

      [Talk] Plugins Quarantine

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      67
      0 Votes
      67 Posts
      12k Views
      Chris FullmerC
      We don't currently put any time into testing every plugin released though. It would in theory add quite a bit of extra time to our moderator duties.
    • J

      Plugins Quarantine

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      5
      0 Votes
      5 Posts
      134k Views
      thomthomT
      The logs list no edits for this thread. Just locks/unlocks, merge and bump.
    • J

      Ruby Challenge

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      711 Views
      J
      @unknownuser said: @Jim I must say that I am bluffed with the speed of Ruby, thinking that all the lines are interpreted and that I use many Array operations which have a lot of code behind them.[/qoute] My thought is that it is fast because there are no objects being created. The arrays being manipulated contain only pointers to integers which there is only a single instance of in Ruby. @unknownuser said: PS: another challenge would be to create a Sudoku solution workbench in Ruby! Yes, that's a good one; and i had a similar one in mind called the "100 squares" puzzle.
    • J

      [code] Cleanup After execute_script

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      1k Views
      Dan RathbunD
      And in Chris' edition.. if a developer wanted to avoid being cleaned up, he need only set an id attribute on the script object.
    • J

      Plugin to Cleanup or Normalize Definition Names?

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      4
      0 Votes
      4 Posts
      351 Views
      J
      Thanks, I understand the limitations. I just wanted something to clean-up carelessly-named components. I was also thinking about a plugin for renaming definitions based on their "_name" atributes (for DC's) so the component names in the Outliner and the names in the Dynamic Attributes editor matched up.
    • J

      LibreCAD - Opensource 2d CAD

      Watching Ignoring Scheduled Pinned Locked Moved Freeware
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • J

      Ruby .rb files in Explorer Preview Pane

      Watching Ignoring Scheduled Pinned Locked Moved Freeware
      6
      0 Votes
      6 Posts
      2k Views
      J
      @unknownuser said: should i drop the 'you should see how this works on osx' bomb ? or should i just keep my mouth shut? Well, this is one of those no-brainers that should "just work" IMO. Ideally, when I select ay plain text file, it should be shown in the preview pane, plus there should be a toggle button to enter/exit "edit" mode in the preview pane. This is how I would spec it if that were my job.
    • J

      Windows 7 Style?

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      3
      0 Votes
      3 Posts
      146 Views
      J
      Good thought, but that wasn't it. Turned out to be that I was running SketchUp in XP SP3 compatibility mode, along with using a basic theme.
    • J

      [code] Scraping API Docs

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      924 Views
      No one has replied
    • J

      No Ethanol for our town

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      4
      0 Votes
      4 Posts
      322 Views
      J
      @unknownuser said: ...but if you mean metaphorically....no it is biased in terms of mood. I did mean metaphorically - were you concerned about over-doing it and having it back-fire?
    • J

      SketchUp 8 M2 send_action list

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      115 Views
      No one has replied
    • J

      PolygonMesh#normal_at == [0, 0, 0]?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      444 Views
      J
      Just looking for a shortcut way to get vertex normals. I know it can be done in Ruby, but was hoping SketchUp did it faster when using a PolygonMesh.
    • J

      SketchUp 8 M2 API Docs (Short List)

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      209 Views
      J
      No reason, but I went ahead and changed the posts to this account to avoid further confusion.
    • J

      Unix-like 'which' utility for Windows users

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      148 Views
      thomthomT
    • 1
    • 2
    • 3
    • 4
    • 5
    • 20
    • 21
    • 2 / 21