sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Working on new scripting system.

    Scheduled Pinned Locked Moved SketchyPhysics
    68 Posts 14 Posters 10.1k Views 14 Watching
    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
      Physicsguy1
      last edited by

      results=UI.inputbox ["Drive Options"], [""], ["Motor|Thruster"], "Drive Options"
      if results=="Motor" then @@motor=1;end
      if results=="Thruster" then @@thruster=1;end
      Still won't work.

      1 Reply Last reply Reply Quote 0
      • B Offline
        BTM
        last edited by

        @unknownuser said:

        results=UI.inputbox ["Drive Options"], [""], ["Motor|Thruster"], "Drive Options"
        if results=="Motor" then @@motor=1;end
        if results=="Thruster" then @@thruster=1;end
        Still won't work.

        then do this:

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

        1 Reply Last reply Reply Quote 0
        • P Offline
          phy
          last edited by

          Shoot! It's not working after all. It had worked(I thought anyway).

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

          1 Reply Last reply Reply Quote 0
          • P Offline
            phy
            last edited by

            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

              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

                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

                  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

                    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

                      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

                        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
                        • soloS Offline
                          solo
                          last edited by

                          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

                            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

                              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

                                Any news?
                                How long had passed?

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  Wacov
                                  last edited by

                                  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
                                  • 4 / 4
                                  • First post
                                    Last post
                                  Buy SketchPlus
                                  Buy SUbD
                                  Buy WrapR
                                  Buy eBook
                                  Buy Modelur
                                  Buy Vertex Tools
                                  Buy SketchCuisine
                                  Buy FormFonts

                                  Advertisement