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!
    🚨 Skimp | 25% Off until March 30 Buy Now
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 409
    • Posts 4,235
    • Groups 2

    Topics

    • J

      Developer Forum Sticky Links

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      4k Views
      P
      thx!
    • J

      Transitioning Hidden Geometry?

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      5
      0 Votes
      5 Posts
      432 Views
      J
      It is a good idea, and will be put to use. Something like the following is how it might fit into what I have already: Animation.add('fog', start_value, end_value, duration (frames or seconds), easing_function) Animation.add (...) Animation.play
    • J

      Timeout for Ruby Scripts

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      540 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
      439 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

      [CityGen] User Selection of Building type

      Watching Ignoring Scheduled Pinned Locked Moved City Generator
      21
      0 Votes
      21 Posts
      19k Views
      thomthomT
      Dunno if we can repackage it... but looking at them just reminded me of this project again and I had some ideas flying past.
    • J

      Procedural Photoshop Textures

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Components, Materials & Styles sketchup
      7
      0 Votes
      7 Posts
      3k 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
      441 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
      304 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
      446 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
      513 Views
      No one has replied
    • J

      Corian

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

      Javascript Namespaces?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      210 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
      960 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
      410 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
      352 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
      751 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
      834 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.
    • 1
    • 2
    • 11
    • 12
    • 13
    • 14
    • 15
    • 20
    • 21
    • 13 / 21