• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Working on new scripting system.

Scheduled Pinned Locked Moved SketchyPhysics
68 Posts 14 Posters 10.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    phy
    last edited by 25 Jun 2009, 03:13

    results=UI.inputbox ["Drive Options"], [""], ["Motor|Thruster"], "Drive Options"
    if results=="Motor" then @@motor=1;else;@@motor=0;end
    if results=="Thruster" then @@thruster=1;else;@@thruster=0;end
    

    This worked fine for me.

    Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

    1 Reply Last reply Reply Quote 0
    • P Offline
      Physicsguy1
      last edited by 25 Jun 2009, 04:45

      Thank you, •BTM. Now I have another question for Chris Phillips. How can I stop the sim using script? I have an idea for a safety script for very laggy model sims that would make good use of it. I can set a timer to stop the sim automatically after 5 or 10 seconds if things get out of hand, or if I made a bad mistake.(like forgetting to set a message box to appear only once, not every frame.)Would be pretty useful. I might try to form it into a plugin, if I can.

      1 Reply Last reply Reply Quote 0
      • C Offline
        CPhillips
        last edited by 26 Jun 2009, 03:47

        Not yet. But I could probably add that without too much trouble.

        1 Reply Last reply Reply Quote 0
        • G Offline
          GoldenFrog
          last edited by 19 Feb 2010, 00:54

          Do you use python or ruby?

          Remember, great minds think alike, and fools never differ.

          1 Reply Last reply Reply Quote 0
          • W Offline
            Wacov
            last edited by 2 Mar 2010, 12:28

            Ruby, it works through the SketchUp API 😄

            http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dakta
              last edited by 2 Mar 2010, 19:18

              Shit guys we need documentation.

              Like, mega documentation.

              I'd be happy to contribute once I've gotten back up to date with everything here, there's just been a lot of change since I was last active.

              1 Reply Last reply Reply Quote 0
              • G Offline
                GoldenFrog
                last edited by 4 Mar 2010, 20:41

                Oh, Yeah, I forgot. I dont know whether this has been asked before, but when will SPIV be released? 😄 Could you (CPhillips) post a sample part of the script?
                Thx

                Remember, great minds think alike, and fools never differ.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  solo
                  last edited by 4 Mar 2010, 20:44

                  I so badly want to use SP properly, anyone know of tutorials that start from stupid and go all the way to genius?

                  Easy to follow stuff, like video would be an advantage.

                  http://www.solos-art.com

                  If you see a toilet in your dreams do not use it.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    drfabinex
                    last edited by 16 Mar 2010, 17:03

                    I'm with you Solo. I'd say right now I'm a Sketchyphysics dunce. Not completely illiterate, but definitely spending more time staring at the corner with a cone hat than keeping up with the class. I've gone through the Wiki and if anyone has any great tutorials to share that would certainly rock.

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      GoldenFrog
                      last edited by 26 Mar 2010, 14:39

                      Chris, is there any deadline for the release date of SPIV? You once said that connecting joints was going to be a snap. How are you going to do that?

                      Remember, great minds think alike, and fools never differ.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Davidfi1
                        last edited by 27 May 2010, 06:28

                        Any news?
                        How long had passed?

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          Wacov
                          last edited by 21 Jun 2010, 17:04

                          It's been a very long time since any news 😢

                          http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 4
                          • 1 / 4
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement