MSPhysics 1.0.3 (16 October 2017)

Re: MSPhysics 0.9.9 (22 December 2016)

Postby alvis » Sun Mar 26, 2017 12:16 am

The first impression is good, but for me it is still too difficult to understand some of the physical characteristics of the movement.

Thanks
3
User avatar
alvis 
Premium Member
Premium Member
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Sun Mar 26, 2017 3:46 am

Nice! If you change joint solver model to iterative 64 passes, the wobbling should be reduced by a bit.
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby pilou » Sun Mar 26, 2017 7:49 am

Found this! :enlight:
3
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby ecati » Sun Mar 26, 2017 7:17 pm

I modeled it as shown in the picture, but I could not move it as I wanted. Can you help me.
0
User avatar
ecati 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Sun Mar 26, 2017 7:47 pm

Ecati, the reason it doesn't work as expected is that the collision generated for the concave group is improper. You must divide the concave group into sub convex groups. Use convexify by fredo6 to do it for you. The link to the plugin is at the main post. Also, to see the actual collision generated for shapes, enable the Collision Wireframe in MSPhysics Simulation UI.
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby pilou » Sun Mar 26, 2017 9:32 pm

Testing traditional thing! :)
GIF_speedarch2.gif


Arch was made with the crazzy Convexify by Fredo!
GIF_speed arch.gif


As convexify don't keep gaps you must use Exploded view ;by CPlassais and me! ;)
Carving by Joint Push Pull by Fredo
GIF_speedarch1.gif
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby ecati » Sun Mar 26, 2017 10:55 pm

Thank you for your reply. The cylindrical piece moves up when I press play, what could be the reason?
0
User avatar
ecati 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby SynSuka3D » Mon Mar 27, 2017 12:09 am

1

SynSuka3D 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Mon Mar 27, 2017 2:52 am

Hi, Ecati,

ecati wrote: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.
  1. 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
  2. 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
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby ecati » Mon Mar 27, 2017 8:39 am

Hi, Anton,
I am thankful to you. Thank you so much.
1
User avatar
ecati 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Mon Mar 27, 2017 8:48 am

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=0B3qg8 ... WtkZ3g0RUk

Here is the chain model basing on joint connections:
https://drive.google.com/open?id=0B3qg8 ... nNWTXgxLWc

So, if you're interested in making chains, you should definitely check it out.

-- Anton
1

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby faust07 » Mon Mar 27, 2017 9:56 am

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!
1

faust07 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby SynSuka3D » Mon Mar 27, 2017 8:48 pm

erreur Masse !!!! v1.0.0
no reset position ! big masse
0

SynSuka3D 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Tue Mar 28, 2017 1:58 am

SynSuka3D wrote:erreur Masse !!!! v1.0.0
no reset position ! big masse

There 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.
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby delchrys » Wed Mar 29, 2017 3:43 pm

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.
0

delchrys 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Thu Mar 30, 2017 10:31 am

Hello, Bert,

delchrys wrote: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 wrote: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 wrote: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
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby delchrys » Fri Mar 31, 2017 6:35 pm

Anton_S wrote:Hello, Bert,

And yes, that is possible. I will upload your model with such features tomorrow.

Regards,
Anton


Wow, 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.
0

delchrys 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby ITman496 » Sun Apr 09, 2017 9:25 am

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?
0

ITman496 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Sun Apr 09, 2017 4:06 pm

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
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby ITman496 » Sun Apr 09, 2017 6:25 pm

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.
0

ITman496 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Sun Apr 09, 2017 9:08 pm

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.
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby ITman496 » Sun Apr 09, 2017 9:48 pm

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.
0

ITman496 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Mon Apr 10, 2017 3:53 am

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
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby ITman496 » Mon Apr 10, 2017 6:47 am

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.
0

ITman496 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Wed Apr 12, 2017 3:24 am

For that you can use wheel with flaps that will each do a particular task when touched. Here is an example gif:
Planned Steps.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
1

Anton_S 
PluginStore Author
PluginStore Author
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby ITman496 » Wed Apr 12, 2017 5:06 am

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!
0

ITman496 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Kadri_slhn » Sat Apr 15, 2017 7:01 pm

Burada soru sorabilirbiyim? Yoksa konu mu açmam gerek. Bu site nedir nasıl kullanılır? Özür dilerim.
0

Kadri_slhn 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby TIG » Sat Apr 15, 2017 11:39 pm

Just post your question.
After a few posts you will be recognized as not being a 'bot'.
BUT please post in a language with which users will be familiar.
Your Turkish is not often seen...
I recommend you use Google Translate into English...

Sorunuzu gönderiniz.
Birkaç mesajın ardından 'bot' olmadıklarınızın farkına varacaksınız.
Ancak lütfen kullanıcılarınıza aşina olacakları bir dilde gönderin.
Türkçe çok sık görülmüyor ...
Google Translate'i İngilizce'ye kullanmanızı öneririz ...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby faust07 » Wed Apr 19, 2017 11:55 am

Hi Anton,
The last version of MSPhysics is quite accurate. Simple tests with falling objects show that in comparison with previous versions.
A little issue in "Export Replay To SkIndigo" (MSPhysics 1.0.0.WIP7) - some components of the scene disappear during and after the export process.
They are not deleted, but optically hidden and re-emerge only after the zoom out or the scene change.
What is the progress of the final version 1.0.0 of MSPhysics?
0

faust07 
 

Re: MSPhysics 0.9.9 (22 December 2016)

Postby Anton_S » Thu Apr 20, 2017 3:50 am

Kadri_slhn wrote:Burada soru sorabilirbiyim? Yoksa konu mu açmam gerek. Bu site nedir nasıl kullanılır? Özür dilerim.

Hello, Kadri,

This site is for posting MSPhysics questions and other stuff. So, if you have a question you can post it here with a sample model.

Bu site MSPhysics sorularını ve diğer şeyler göndermek içindir. Yani, bir sorunuz varsa burada örnek bir modelle gönderebilirsiniz.

Regards,
Anton
0

Anton_S 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 116 guests

Visit our sponsors: