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

    Topics

    • J

      Send Action to show layers window HELP!

      Watching Ignoring Scheduled Pinned Locked Moved Extensions & Applications Discussions extensions
      2
      0 Votes
      2 Posts
      409 Views
      J
      Hi Joe, UI.show_inspector("Layers")
    • J

      Finding Code

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

      Open layers from Custom Toolbar

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      325 Views
      thomthomT
      UI.show_inspector('Layers') http://code.google.com/apis/sketchup/docs/ourdoc/ui.html#show_inspector
    • J

      Application Observer

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      342 Views
      Dan RathbunD
      @thomthom said: @dan rathbun said: seems like an API feature request for a onStartup() callback is in order (for the Sketchup::AppObserver class.) Why? Just ensure a method is called when the plugin loads. Because I'm thinking that the calback would get called AFTER all other plugins and extensions are loaded. Just an idea.
    • J

      Windows 7, Sketchup 8 and SP 3 issues

      Watching Ignoring Scheduled Pinned Locked Moved SketchyPhysics
      28
      0 Votes
      28 Posts
      7k Views
      A
      @camokid11 said: hi Joe, i think i can explain this. http://sketchupusers.vacau.com/index.php?topic=115.msg1267#new this topic basicly asked the same question, and the conclusion was Sketchup 8 uses a newer version of ruby which isnt liked by Sketchyphysics (all version i believe). Sketchup 7 works fine on windows 7, but Sketchup 8 i havnt tried. My advice, if you can, switch back to sketchup 7 to use sketchyphysics. I've skp pro 8 on a windows 7 and man do I have a lot of bug when i do try 2 run a sketchy physics models
    • J

      Sketchy Physics Code Sections not showing

      Watching Ignoring Scheduled Pinned Locked Moved SketchyPhysics
      4
      0 Votes
      4 Posts
      1k Views
      J
      @camokid11 said: also, try make a box first and try the UI on that first. it might work. try that before reinstalling anything, or trying my previous advice. A small test a small test to see if ontick does work, just put this script into the ontick field if key('space')==1;UI.messagebox("This script works!");end start the simulation and press space and a message should come up. Found out what it was. It was teh EXE install of sketchyPhysics I was having troubles with. I did the zip file and it worked perfectly. Sorry for the late update, but if anyone else has the issue, I wanted to make sure they find a resolution. Oh, and YES, the code you posted above does work. So, it's not that the code wasn't running, I just couldn't get access to it with the EXE install I was used via the UI panel. Weird, but it's working, and that's all I need Joe
    • J

      Help with code

      Watching Ignoring Scheduled Pinned Locked Moved SketchyPhysics
      2
      0 Votes
      2 Posts
      496 Views
      H
      Well $CurEvalGroup applies to whatever object the script is in basically.
    • J

      Keyboard Controls and Simulation stopping

      Watching Ignoring Scheduled Pinned Locked Moved SketchyPhysics
      3
      0 Votes
      3 Posts
      534 Views
      R
      @hpnisse said: Hello! There is two ways to get it work with keyboard. Simple: When you start the simulation there popup a window "SkechyPhysics Control Panel". Click on that so its active, then the keys will work. Less simple: Change the shortcuts to the tools. Click on: "Window" - "Preferences" - then "Shortcuts". Then change the shortcuts to whatever you want (or just delete them), tip!, add "ctrl" or/and "shift" key to the letter, then there is the same letter but you need to press "Ctrl" or "Shift" down at the same time. Just type in the tool-name ;that you want to change shortcut to; in the "Filter" box. Ex. of standard shortcuts: Q - Rotate E - Erase R - Rectangle A - Arc S - Scale L - Line C - Circle Hope this work (I know it do ) And have fun with SP. /hpnisse I did the same thing, and it works.
    • J

      Find the location of an object using Ruby

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      20
      0 Votes
      20 Posts
      3k Views
      Dan RathbunD
      You should study the drawline.rb in the "Examples" sub-dir.
    • J

      Custom Component Placement

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      6
      0 Votes
      6 Posts
      687 Views
      J
      Thanks Guys! Both methods worked!! I didn't even think about opening the Component by itself in Sketchup. I was working from the Component browser. And yes, once you open it that way, you can see it's not at the right spot on the axis. I assumed it would take the location/position when I 'made it a component' originally. Anyways, great help. For anyone else looking, both adjusting it via the move tool in the component itself, or right clicking and re-aligning the axis works perfectly. Joe
    • J

      On load of sketchup, start Sketchy Physics?

      Watching Ignoring Scheduled Pinned Locked Moved SketchyPhysics
      3
      0 Votes
      3 Posts
      662 Views
      J
      Ok, what about assigning the "Run Simulation" Play button to a different menu item, like on the plugins menu..then I can call it from a menu at least. I've looked at the code, and there is a StartPhysics() routine..but I can't get it to call from anywhere without errors. @hobbnob said: nope, but there's probably some way of doing it, just nobody knows how
    • J

      Can't get access to ontouch, ontick, etc

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

      Calling Ruby Function from SketchyPhysics

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      359 Views
      J
      @jblively said: Hey Guys, I can't seem to find it anywhere... What's the syntax to call a Ruby function from within SP, like from the onTouch area? Thanks Joe For others who might be looking: It's very easy syntax, in the blue sketchyphysics boxes in the UI, just put my_rubyfunction(); Although, if you use a UI.messagebox in the called routine, it seems to crash sketchup everytime...but everything else seems to work. Joe
    • J

      Drawing Joints on Sketchup Objects

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      252 Views
      T
      Try this: http://www.smustard.com/script/CenterPoint
    • J

      Sketchy Physics and Ruby

      Watching Ignoring Scheduled Pinned Locked Moved SketchyPhysics
      6
      0 Votes
      6 Posts
      1k Views
      W
      @unknownuser said: He actaully has posted...493 posts. That I have, but it's certainly been a while I think it's possible, just difficult. From what I've found, you generally have to change the way SP works to achieve deep-down stuff like this, so it'll either only work on your machine, or it'll have to use LazyScript (the problem is the 'runtime' part... joints are initialized at the simulation start using their set attributes). I'll look into it a little further though, it'd be a useful feature to have SP unfortunately doesn't have an API, and I think it'd be pretty hard to understand if it did
    • J

      Accessing Sketchy Phycis Joint properties from Ruby

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

      Sketchy Physics joint help

      Watching Ignoring Scheduled Pinned Locked Moved SketchyPhysics
      3
      0 Votes
      3 Posts
      877 Views
      J
      @hpnisse said: Hey! They are just hidden, so press "View" and then "Hidden Geometry". Then you will see all joints and stuffs. Edit: But I think is pretty hard to steer cause there is no diffrential att the rear wheels. Thanks Man!!! It's the little things!
    • 1 / 1