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!
    πŸ”Œ Easy Offset | Offset selected faces in SketchUp in positive and negative offsets. Download
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 406
    • Posts 4,216
    • Groups 2

    Topics

    • J

      Timeout for Ruby Scripts

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      502 Views
      J
      @jim said: I am getting the same sort of increasing slow-downs as Chris was asking about. The time between each pause increase the more geometry is added. Oops, not quite. I was creating and exploding groups when I wrote the above. When I just add plain geometry, the timeout appears to work alright. But... the pause between when my dialog is visible and when it actually becomes click-able is getting longer. I think I'm beating a dead horse.
    • J

      Milli-second timer?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      382 Views
      J
      @jim said: With it, you can do this (abort a long-running operation) Oh yeah, I'm definitely going to try to tie this in to start_operation. That way, I can set a single timeout limit for all scripts transparently.
    • J

      Procedural Photoshop Textures

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Components, Materials & Styles sketchup
      7
      0 Votes
      7 Posts
      2k Views
      N
      i am a regular user of these texture program...
    • J

      Debugging WebDialogs - View Rendered Source

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      417 Views
      thomthomT
      @cphillips said: I have had good luck with Firebug lite. http://getfirebug.com/lite.html Ah! Firebug is one of my fav Firefox extensions. This Lite version looks very interesting!
    • J

      WebDialog show_modal on Mac

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      275 Views
      J
      Thanks Whaat.
    • J

      Scroll Wheel

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Feature Requests sketchup
      9
      0 Votes
      9 Posts
      2k Views
      V
      Very strange, this unavailability, indeed...
    • J

      Unusual Dialog (for me.)

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      3
      0 Votes
      3 Posts
      432 Views
      J
      It wasn't the 3d warehouse dialog, but a webdialog I put together with some small functions for a specific task. One of the tasks was selecting and replacing a whole lot of instances. The dialog went away after I wrapped some of my functions in start_operation/commit_operation.
    • J

      Move the Camera First

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Feature Requests sketchup
      1
      0 Votes
      1 Posts
      506 Views
      No one has replied
    • J

      Corian

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Components, Materials & Styles sketchup
      3
      0 Votes
      3 Posts
      873 Views
      A
      Thanks Jim
    • J

      Javascript Namespaces?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      166 Views
      AdamBA
      Well the DOM (document object model) of a HTML page is rooted from an instance of document and everything hangs off that. If you have multiple WebDialogs, you have multiple DOMs, each with their own parts hierarchy which have names which are 'within' the scope of just that document. So, Google "DOM" for more info, but its basically just a hierarchy of named & typed parts. Adam
    • J

      Shift WebDialog Focus to SU?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      889 Views
      thomthomT
      @adamb said: But thats correct behavior if I unwind an operation to just before the Tool was used..No? Nah. Not IMO. I find it very annoying. I want to keep the focus on the viewport.
    • J

      [Plugin] inputbox.rb Simplified Script Options

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      9
      0 Votes
      9 Posts
      13k Views
      Dave RD
      Jim withdrew the majority of his plugins. It may not be available any longer.
    • J

      Using the Registry - Any Gotchas?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      355 Views
      J
      Thanks Adam, I was actually using the following: str.gsub!(/\\/, '\\\\') But I think simply changing it to '/' is a better solution, and will modify inputbox.rb I suppose it's possible for someone to want to use \ for some other string, though. I'm also escaping double-quotes: str.gsub!(/"/, '\"') Thanks.
    • J

      Inside-out transformation?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      312 Views
      A
      I'm pretty sure the only way to effect an instance without effecting the definition is just the Transform. But that will just effect the instance as a whole. You can't reverse the faces (I don't think) without interacting with the actual geometry, thus changing the definition.
    • J

      Component Browser requests (Back button and more)

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Feature Requests sketchup
      5
      0 Votes
      5 Posts
      695 Views
      J
      @solo said: How about the ability when searching to avoid the 500 pages of manufactures items that look all the same, have them grouped within the results with one model that will take you to the collection instead of hunting for those results to end and the item you are looking for to start?. (sorry best description I could think of) Well, you can use the 3D Warehouse advanced search options in the browser, such as searching for: "faucet author:-kohler" or more simply: "faucet -kohler" might work as well. Not an ideal solution, but sometimes helpful. Maybe someone could write up a short tutorial on advanced searching in the Component Browser?
    • J

      Meaning of Triangle on Materials?

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      8
      0 Votes
      8 Posts
      759 Views
      AnssiA
      @remus said: @gaieus said: "Duh" +1 Its strange how you just dont notice these things after a while. Maybe the triangles are another solution to a problem that really doesn't exist. They don't disturb me, either, but if the feature disappeared, I doubt if I would notice. Anssi
    • J

      Flags on onKeyDown?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      21
      0 Votes
      21 Posts
      2k Views
      J
      @chris fullmer said: I don't quite understand what that means. What is bitwise? Think in binary, then compare them column for column. It's a logical, bit-to-bit comparison. 5 in binary is 101 6 in binary is 110 5 & 6 is; logical AND each column (bit position) Columns ________________ | 1 | 0 | 1 <- decimal 5 | and | and | and | 1 | 1 | 0 <- decimal 6 ================= 1 0 0 so 101 & 110 = 100 <- decimal 4 The masks are constants, which are set to some convenient values: # I just made these up 001 = CONSTRAIN_MASK 010 = ALT_MASK 100 = COPY_MASK So if the flag is decimal value 7: 111 <- decimal 7 In order to check the CONSTRAIN_MASK, you logical AND the CONSTRAIN_MASK with the flag value: 111 <- flag value decimal 7 & 001 <- contain mask constant ====== 001 <- CONSTRAIN_MASK set true or in real ruby as Thomas wrote; contrain_key_down = ((flags & CONSTRAIN_MODIFIER_MASK) == CONSTRAIN_MODIFIER_MASK) copy_key_down = ((flags & COPY_MODIFIER_MASK) == COPY_MODIFIER_MASK) alt_key_down = ((flags & ALT_MODIFIER_MASK) == ALT_MODIFIER_MASK) Although Adam B might know a clever way to decode them all in one elegant statement.
    • J

      Why is this text invisible?

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      10
      0 Votes
      10 Posts
      656 Views
      Jean LemireJ
      HI folks. While waiting for a fix in SU 7, I tried this workaround: 1 - I draw a circle centered on the origin. 2 - I add a "Point at center". 3 - I delete the circle. 4 - I hide the point. 5 - I add the required Screen Text. This gives me a minimalist file that can be used as a template, if required. Just ideas.
    • J

      DC Siding Component

      Watching Ignoring Scheduled Pinned Locked Moved Dynamic Components sketchup
      6
      0 Votes
      6 Posts
      2k Views
      thomthomT
      @unknownuser said: Great Dc Jim, could use it for roof tiles too.. That was my immediate thought as well when I saw the random tiles.
    • J

      Render or Real?

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      41
      0 Votes
      41 Posts
      2k Views
      B
      @remus said: Another one... [attachment=0:3sba8bgr]<!-- ia0 -->rorr.jpg<!-- ia0 -->[/attachment:3sba8bgr] edit: looking at this from an outsiders point of view this should be very obvious obviously rendered! very nice render though, how i wish i could do that
    • 1
    • 2
    • 11
    • 12
    • 13
    • 14
    • 15
    • 20
    • 21
    • 13 / 21