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

    Topics

    • W

      Group/Component Edit Mode and Ruby

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      362 Views
      R
      nope. I've asked Google for this possibility. We'll see...
    • W

      Messing around with animation....

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      23
      0 Votes
      23 Posts
      2k Views
      K
      @remus said: Sketchyphysics renders you say? have you got a link? im intrigued. Sure, here you go. Proof of concept by Whaat: http://www.youtube.com/watch?v=R-Mi2urpMns [flash=425,344:28sc35yy]http://www.youtube.com/v/R-Mi2urpMns&hl=en&fs=1[/flash:28sc35yy] Whaat seems to have object animation going for Indigo (though not released yet in the Skindigo plugin) and Fryrender (version 'One') already has object animation capability. I currently just don't know how to use it on SP, as SP doesn't produce a default scene tab animation to start with. I am really excited about being able to convert Sketchyphysics action into default Sketchup animations and use render engines on it. As a note: Vray won't be able to benefit from it as it hasn't got object animation capability for now. I posted the wish for it on their forum though.
    • W

      Help with creating an API

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      2k Views
      fredo6F
      Todd, Sorry for misunderstanding. I was just saying that, while you can or should use exceptions in your own code, you should try to provide 'error-free' API to external programmers, by trapping all problems and documenting the rules and error conventions of your interface. In your example Challenge #2, I just notice that this is what you do, since any call to your GetData() method, will never raise an exception! Fredo PS: I have two small remarks about your code sample, for the Integer?() method: Not a good habit to extend Ruby built-in class. Just imagine I do the same (knowing that the name "integer?" is quite natural) and override your code by mine. Better have a neutral method like Fredo6.Integer?(), so that at least you and me control ownership. I would rather use the following code to transform a string into an integer: def string_to_integer(s) (s && s.strip =~ /\A(\+|\-|\s*)(\s*)(\d*)\Z/) ? ($1.strip + $3).to_i ; nil end This returns the integer number if the string is valid, otherwise nil A more powerful variant allows the user entering mathematical expressions that would normally evaluate to an integer def string_to_integer2(s) return nil if s == nil || s =~ /[^\s\+\-\*\/\%(\)\d]/ begin eval "(#{s}) + 0" rescue Exception => detail nil end end For instance, string_to_integer2("(2 + 3) * 4") will return 20. The only issue with eval() is with security, as eval() could be used to delete files on your disk and other nasty things by accident. Hence, the first line to check that you only have digits with operation signs and parentheses. Fredo
    • W

      Suspending the 'undo' stack

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      1k Views
      W
      thanks Fred06! I'll try that!
    • W

      [Plugin] UVTools v0.1

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      180
      0 Votes
      180 Posts
      123k Views
      N
      I use SketchUV and Roadkill, and it works great. WrapR is in development and it will make unwraping inside SU.
    • W

      UV Tools Teaser ;)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      46
      0 Votes
      46 Posts
      10k Views
      C
      @ Whaat. This is indeed one of the finest plugins for Sketchup. Your work is a credit to you and i appreciate it. Thanks
    • W

      [ruby doc] DrawingElement.receive_shadows

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

      [Plugin] Polyreducer 0.1

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      61
      0 Votes
      61 Posts
      130k Views
      S
      [quote="ISAWHIM"]Any chance to "fix" this so that it works in 2018+ The drop-down list has the option to select values that don't work, due to a text-issue? ("10 20 30 40 50 60 70 80 90") 10 and 90 don't work, but they are "doing something", which can be undone. However, if you don't "undo", it can break the model. ................ I fix it : in file polyreduce.rb (open wiht notepad) at line 342 enums=[["10|20|30|40|50|60|70|80|90"]] need make it like this : enums=[" 10|20|30|40|50|60|70|80|90 "] and all is work. after polyreduce need make fix model, is deleting some garbage from. (sorry for mine english)
    • W

      SkIndigo 1.0.9 Officially Released

      Watching Ignoring Scheduled Pinned Locked Moved Extensions & Applications Discussions extensions
      21
      0 Votes
      21 Posts
      6k Views
      J
      Now it worked! I downloaded three different versions of indigo and none of them were the correct one! Now, with the fourth try it works nicely! Yeah...i'm stupid!>< Thank you so much for the help!
    • W

      Polyreducer Experiments

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      43
      0 Votes
      43 Posts
      9k Views
      jujuJ
      @unknownuser said: Let's not pick on Ray, okay? It's just too easy - how many of us had cash to spend when we were his age? Well? Huh? This is totally off topic: When I was 14 I was mowing the lawn (plus some odd yard work), cleaning out the garage & store room and washing the cars, all on a weekly basis, for spending money that you could go to see a movie, buy some popcorn and a drink with before it was finished. Work isn't difficult to find if you want it.
    • W

      Just Released! Subdivide and Smooth

      Watching Ignoring Scheduled Pinned Locked Moved Extensions & Applications Discussions extensions
      102
      0 Votes
      102 Posts
      22k Views
      L
      Nice work! I cant wait for SDS2 I wont have to do my organics in other apps!!! Edit: Yikes didnt mean to bump such an old thread I got linked through a post and commented without looking at the dates!
    • W

      [Plugin] Zorro

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      53
      0 Votes
      53 Posts
      64k Views
      Z
      @mitcorb said: Hi, zun kian: If you are in a hurry, perhaps create a large rectangular plane group bigger than the foot print of your model. Position the plane at the vertical elevation at which you wish to cut. Intersect plane with model. Delete all above plane. Of course, some of this model may be components, and this would be another level of complexity to deal with. I would probably save the model as a new version and work on that one. Thanks mitcorb will try that if that's the only way it would help! zunkian
    • W

      Lathe script

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      4
      0 Votes
      4 Posts
      2k Views
      B
      I can see definite advantages to this over the Follow-Me tool, which can be somewhat difficult for a newbie to learn. This would be a great ruby for woodworkers and machinists when turning shapes like your examples. I know I have some difficulty even now getting the F-M tool to do what I want it to do every time. I like rubies that make life more simple and somewhat automated. I say "Go for it".... Mike
    • W

      [ruby doc] entity observers and observers in general

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      758 Views
      T
      OK. I have fixed the "example" (if you could call it that) at the top of the EntityObserver file. I think I have an example somewhere I might could clean up and add to it. The same "bad example" is in other observer files too. I'll get to those as topics come up for inclusion. What's really needed for the observers, and I can start on it, is some "big picture" concept information. Thanks!
    • W

      We need a new Smoove Tool

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      548 Views
      G
      While you're starting to Smoove some geometry, press Shift. Smoove will now work normal to the faces. If you're working on a low-poly model where every edge counts, use Scale. You get full 3D control of every edge that way. And there are several move scripts that will nudge around selected bits of geometry. 2 use the keyboard arrow keys. One uses a wizard.
    • W

      Select a tool with Ruby?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      548 Views
      W
      Thanks guys. That's just the info I needed. The Ruby support on these forums is outstanding! Keep up the good work everybody!
    • W

      In Development: Subdivide and Smooth

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      262
      0 Votes
      262 Posts
      41k Views
      J
      I agree, Juju. I've locked this thread and moved it to the Subdivide and Smooth forum here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=253&t=9224
    • W

      Rendermatch Experiment

      Watching Ignoring Scheduled Pinned Locked Moved Gallery
      7
      0 Votes
      7 Posts
      992 Views
      J
      I don't mind Whaat. Fire away! I just had two margaritas and a chilles rellenos at Panchos in Vancouver, it's BC Day weekend, and our hotel overlooks the English Bay and the fireworks that begin in 3 hours! Two hours and one thread. Not bad Whaat. Keep em coming. I've always liked the look of Indigo renders, but I'm on a mac and haven't even loaded up a Bootcamp Widoze yet or I'd give it a whirl. Try to get the aluminum mullions more "aluminumy" and the floor needs a bit of a sheen. The radiosity must of been up high becuase you have a lot of bounce color in the ceiling. I would like to see more.
    • W

      SketchyPhysics + Indigo

      Watching Ignoring Scheduled Pinned Locked Moved Gallery
      6
      0 Votes
      6 Posts
      938 Views
      GaieusG
      Whaat, That's still insane! Very Happy
    • W

      Web Dialog Help and Debugging Thread

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      19
      0 Votes
      19 Posts
      3k Views
      L
      @unknownuser said: because WebDialogs are not using the default browser installed on the user machine, but instead a Internet Explorer shell (the same that you see when viewing .chm files for example) on Windows version. there is no option to use other browser engine for displaying WebDialogs. btw, why do you need another one ? Just another point on this issue since this was the only thread I could find that was related somewhat to my problem. I was using the get models button to access 3d warehouse for the longest time, no prob. Then one day the model images would not appear in the popup browser and I couldn't download them to my sketchup model. I tried restarting SU, rebooting the computer and eating some chicken soup...all to no avail. Since I use FF as my default browser I assumed that SU was using it in some weird form as the get model popup. I now know that it uses IE, and was able to solve the problem by locating my deleted version of IE and purging all the cookies and caches. Too bad we can't choose to have FF used as the default dialog. Would be less confusing in certain instances. cheers...
    • 1 / 1