MSPhysics 1.0.3 (16 October 2017)
-
Thank you for your reply. The cylindrical piece moves up when I press play, what could be the reason?
-
-
Hi, Ecati,
@ecati said:
Thank you for your reply. The cylindrical piece moves up when I press play, what could be the reason?
I answered that in my prior post.
Generally there are two ways to do it.
- Divide the concave thingy into convex sub-groups. Using Convexify plugin by Fredo6 should do it for you. You must ensure that the group you divide is initially a solid group. You can use CleanUp along with Solid Inspector by ThomThom to help you fix it. Then once the group is divided, the collision should generate properly. I did it for you, so you can see what I mean: ruffler çizim - way1.skp
- A more advanced approach is to have the model rely on joints and have the collision be ignored. I'm not going to explain it in depth, but basically you utilize the curvy joint to have the cylinder move along the curve. If you enable the joints layer, you will see it. Here is the model: ruffler çizim - way2.skp
Regards,
Anton -
Hi, Anton,
I am thankful to you. Thank you so much. -
Hey, y'all,
I just made a tutorial on making collision based and joint based copy-able chains. It's in Russian, but a picture is worth a thousand words...
Here is the chain model basing on collision:
https://drive.google.com/open?id=0B3qg8f4WrNdHTWFYOWtkZ3g0RUkHere is the chain model basing on joint connections:
https://drive.google.com/open?id=0B3qg8f4WrNdHU2NxYnNWTXgxLWcSo, if you're interested in making chains, you should definitely check it out.
-- Anton
-
The tutorial is not only interesting for chains. I can imagine the use for other purposes. Everything that hangs and dangles ... Particularly interesting are the comments on the copiable joints. Thanks!
-
erreur Masse !!!! v1.0.0
no reset position ! big masse
-
@synsuka3d said:
erreur Masse !!!! v1.0.0
no reset position ! big masseThere are two types of buttons to end simulation: one is reset and the other one is stop. If you press the stop button, the group positions will not reset. If you press the reset button, group positions will reset. No I'm not sure if it was an error or you pressing the wrong button. A sample model that causes that error would be appreciated.
Edit: Oops, I didn't know it was an gif animation, not just an image. So, yes, assigning huge masses results in an error. I will ensure that this is fixed in the final release of 1.0.0. Thanks for the report.
-
Anton,
I have another question.
I made my animation by exporting to multiple jpg's with the msphysics plugin.
I also created some scenes for zooming in on the parts also exported them to jpg's.
With makeavi I then combined the two exported still sets to create a movie.
So that's working now.
Ultimately I want an overview of the instalation with a bit of walking around. Then fly in the gripper tool. See it attach to the pipe by closing the gripper and putting in the pin. Then rotating it with the msphysics animation. Then zooming out to overview.
So I was guessing to use a dynamic component in the scenes and activating it by clicking on the parts. But unfortunately the dynamic parts won't work in de scène builder.
So how am I going to accomplish this?Can I create some more hinges and actions in msphysics. For instance a slider to push the upper pin in and out and another hinge for turning the gripper around the bottom pin?
This way I must use some of the same hinges for different purposes. Is that even possible? Maybe I can use servo motors. And trigger them by button presses.
Hope you can help me out a bit. Really like to make a nice animation altogether.Kind regards Bert Broek.
-
Hello, Bert,
@delchrys said:
Ultimately I want an overview of the instalation with a bit of walking around. Then fly in the gripper tool. See it attach to the pipe by closing the gripper and putting in the pin. Then rotating it with the msphysics animation. Then zooming out to overview.
It can be done with MSPhysics, but it won't be simple. It will require adding scripts and other things... I would suggest you use Animator by Fredo6 for animations and camera transitions. It also allows rendering your animations with Thea Render and some other modern rendering programs, which is what you ultimately want.
@delchrys said:
Can I create some more hinges and actions in msphysics. For instance a slider to push the upper pin in and out and another hinge for turning the gripper around the bottom pin?
Yes!
@delchrys said:
This way I must use some of the same hinges for different purposes. Is that even possible? Maybe I can use servo motors. And trigger them by button presses.
And yes, that is possible. I will upload your model with such features tomorrow.
Regards,
Anton -
@anton_s said:
Hello, Bert,
And yes, that is possible. I will upload your model with such features tomorrow.
Regards,
AntonWow, that would be great. I'm still trying to inderstand which of the items should be placed within a group and which ones outside the group. Slowly getting there.
-
I have not updated this plugin in a very long time, and have recently done so. I have a problem, though. When I click the double back arrow, the model does NOT snap back to its previous state, it acts as if I paused the simulation. I have checked the 'undo on stop' checkbox in the ui, and it does not affect it. What can I do?
-
Hello, Daniel,
I'm currently working on 1.0.0 and it may address this issue. So, you can wait a bit until I release it. But so we're sure it's fixed, I would appreciate if you PM me the model that causes that.
Regards,
Anton -
it must be some kind of conflict on my end, as every model, even a brand new file, causes it. It appears that msphysics has trouble 'undoing' anything. I reverted to an older version and the reset simulation command works again, but if I have 'hide joints' checked, it hides them, but doesn't unhide them. I'm not sure what could be happening.. If you don't have any ideas, I guess I'll just try to reinstall sketchup / my plugins.
-
I think I know what's going on. It could be that when installing MSPhysics some files failed to overwrite. I suggest you delete MSPhysics and AMS Library from the plugins folder and do a fresh install. The details are listed in the main post.
-
will do! I'll let you know if it works, thank you!
Also, question, is there a link to a tutorial on how to script multiple hinges to sort of act on a routine? I am modelling a door mechanism and would like to simulate several servo hinges going to set positions at set times, triggered by an on screen button or a time delay or something.. I've had a read through some of the scripting stuff on the reference pages but its all very confusing..
EDIT: I just noticed some new tutorial links on the first post that were not there last time I looked, admittedly a while ago. I will check those out first to see if it helps!
EDIT2: they did not. So I would still appreciate help, haha.
-
Yes, the tutorials are quite weak at the moment. I will focus on tutorials after version 1.0.0 is released.
Doors should be the easiest to make. Basically, you attach one Servo joint at where the door's hinge is supposed to be and use the joint connection tool to connect the door to the Servo joint. Then open MSPhysics UI, select the Servo joint, and assign a desired controller to it. To open a door 70 degress with a press of an 's' key, add this command to the controller:
key('s') * 70
. To open the door with a slider controller, use the "Add Slider Controller" button. You can do other stuff too. I will make a detailed tutorial once I release 1.0.0.You may as well watch this tutorial. It's not what you're looking for, but it will enrich your understanding of MSPhysics and controllers: https://www.youtube.com/watch?v=NLeGfJd8aQg
-
thank you!
Right now my current method is to use a bunch of slide controllers for all the powered elements of the mechanical system. This means having to jump around and move them one by one, and since they tend to appear out of order.. its difficult.
My main goal is to make it so I can press one thing, say, the S key, and then trigger a sequence of scheduled events? Like move this servo id from this, to this, then move that piston, then start these two servos to unfold vents.. etc.
Again, thank you so much. This plugin has allowed me to evaluate so many mechanical designs in such a short time that its really changing how I do things for the better.
-
For that you can use wheel with flaps that will each do a particular task when touched. Here is an example gif:
I might do a tutorial on it later. But basically, you assign onTouch event to each of the flops with its task, such as setting the arm a particular angle.
The example assembly line model is attached below.
Planned Steps.skp -
wow, a mechanical scripting system! I had not thought of that at all!
I hope one day I can set it up much like I program microcontrollers (eg: at 1000ms, do this, at 1500ms, do this, or when servo1 at 65degrees, move servo2 to 30) but for now this will work great for my purposes. Thank you!
Advertisement