sketchucation logo sketchucation
    • Login
    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!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    Working on new scripting system.

    Scheduled Pinned Locked Moved SketchyPhysics
    68 Posts 14 Posters 15.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.
    • W
      Wacov
      last edited by

      A closed beta would be great! I appreciate it's just you, working on this huge plugin... if it's done when it's done, that's fine by me 😄

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

      1 Reply Last reply
      Reply Quote 0
      • P
        Physicsguy1
        last edited by

        Chris, can you tell us the new features that will be in the next release?

        1 Reply Last reply
        Reply Quote 0
        • C
          CPhillips
          last edited by

          Almost all of the new stuff is outlined in this thread. Mostly it is the new scripting system which should make a lot of new stuff possible.

          Beyond that there is the ability to set object density and maybe adjustments to how stiff some joints are.

          1 Reply Last reply
          Reply Quote 0
          • D
            darkPhysics
            last edited by

            Can we get SP3 X April 6 even if it's not done? I'm pretty sure many of us here would like to see new features. Please, CPhillips.

            1 Reply Last reply
            Reply Quote 0
            • P
              Physicsguy1
              last edited by

              We can't pressure him too much. This is a big project. Besides, we won't be getting it soon, because he is probably still debugging and working out all the little errors. We would probably just have what we have now,and a few of the new features, but with a whole lot of problems.

              1 Reply Last reply
              Reply Quote 0
              • C
                CPhillips
                last edited by

                Sigh, I guess a little pressure is warranted. Its been a while since a release. Ill work on an interim release but no promises.

                1 Reply Last reply
                Reply Quote 0
                • P
                  Physicsguy1
                  last edited by

                  Thank you! I'm guessing most of the features outlined in this topic will be in it.

                  1 Reply Last reply
                  Reply Quote 0
                  • P
                    Physicsguy1
                    last edited by

                    I have a script problem.

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

                    . I can't figure it out. It might be related to Sketchyphysics. The motor that retrieves @@ motor will spin regardless of input. I can't control it!

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

                      @unknownuser said:

                      I have a script problem.

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

                      . I can't figure it out. It might be related to Sketchyphysics. The motor that retrieves @@ motor will spin regardless of input. I can't control it!

                      You put 'if results=["motor"]. it should be ==, not =. When you put =, it sets @@motor to 1. if you change it to ==, it will work properly.

                      1 Reply Last reply
                      Reply Quote 0
                      • P
                        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
                          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
                            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
                              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
                                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
                                  CPhillips
                                  last edited by

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

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • G
                                    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
                                      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
                                        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
                                          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
                                            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

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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