Results 1 to 14 of 14

Thread: Squeeze a ball through a hole.

  1. #1

    Squeeze a ball through a hole.

    I'm looking for a little help on how to set up squeezing a sphere through a hole in another object. I know I've seen demos of things squeezing/being deformed as they pass through another object but I can't remember how it is done. Looking for advise on what the easiest way is to set something up like this in 2018.

    Thanks in advance.

    Wayne

  2. #2
    Medical Animator mummyman's Avatar
    Join Date
    Aug 2009
    Location
    Connecticut
    Posts
    988
    I guess it depends on how much time you need to spend on it. I've used cloth FX, bullet, and deformations in 2015. I haven't had to use 2018, but I'm assuming all the methods still apply. Deforming using a null and effector for making a sphere move through a cylinder shape to swell it.

  3. #3
    Registered User
    Join Date
    Jan 2005
    Location
    Colorado Springs
    Posts
    1,626
    It might not meet your needs, but you might be able to use the Deformation modifier Taper. LW2018 sample scene attached.

    Click image for larger version. 

Name:	SqueezeBallThroughHole013.jpg 
Views:	38 
Size:	269.6 KB 
ID:	143065 Click image for larger version. 

Name:	SqueezeBallThroughHole023.jpg 
Views:	32 
Size:	186.4 KB 
ID:	143066 Click image for larger version. 

Name:	SqueezeBallThroughHole028.jpg 
Views:	28 
Size:	140.4 KB 
ID:	143067

    Click image for larger version. 

Name:	SqueezeBallThroughHole035.jpg 
Views:	30 
Size:	78.9 KB 
ID:	143068 Click image for larger version. 

Name:	SqueezeBallThroughHole045.jpg 
Views:	27 
Size:	81.8 KB 
ID:	143069 Click image for larger version. 

Name:	SqueezeBallThroughHole060.jpg 
Views:	23 
Size:	119.8 KB 
ID:	143070

    SqueezeBallThroughHole.mov

    The setup is to create two Nulls called TaperBase and TaperHandle. You then use the Ball's Object Properties=>Add Modifier to add the Deform:Taper deformation handler. Double-click on it to get the options panel, specify the TaperBase and TaperHandle nulls, and in this case I chose the Ease Out preset curve shape and the Z axis:

    Click image for larger version. 

Name:	TaperDeformer_SetupWithControlNulls.jpg 
Views:	47 
Size:	1.04 MB 
ID:	143072

    The Taper deformer is controlled with the Scale of the control nulls. TaperBase null is placed down the -Z axis and remains scaled to (1,1,1) throughout the animation. The TaperHandle null is scaled down to squeeze the Ball through the hole in the plate. Both TaperBase and TaperHandle are moved up and down the Z axis to control the animation as the Ball moves down the Z axis.

    Here's a Top view Preview showing the movement of the TaperBase (green) null and the TaperHandle (yellow) nulls:

    SqueezeBallThroughHole_TopView_TaperDeformerNullMovement.mov

    The scale "wobble" after the Ball comes through the hole was keyframed on the Ball's scale channels.

    Although it's fairly quick to setup and control, the Deform:Taper modifier may not give you as much control as you need, but may be worty a try.

    mTp
    Attached Files Attached Files
    Last edited by MonroePoteet; 10-10-2018 at 07:42 PM. Reason: Sample scene is LW2018; typo

  4. #4
    skeptic lertola2's Avatar
    Join Date
    Dec 2008
    Location
    New York City
    Posts
    1,098
    3rd Powers Lattice Deformer can work for this: http://www.3rdpowers.com/index_store.html

    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	lattice_preview.gif 
Views:	414 
Size:	395.3 KB 
ID:	143075  

  5. #5
    Founding member raymondtrace's Avatar
    Join Date
    May 2003
    Location
    Ohio
    Posts
    659
    LW7.5D, 2015, 2018, 2019 running portably on a USB drive on an Amiga 2500 running Wine.

  6. #6
    Registered User ianr's Avatar
    Join Date
    Oct 2006
    Location
    Chiltern Riviera
    Posts
    1,307
    Quote Originally Posted by lertola2 View Post
    3rd Powers Lattice Deformer can work for this: http://www.3rdpowers.com/index_store.html

    Ain't that soo smooth, a lovely example.

    I hope he got some more plugs up his sleeve?

  7. #7
    Carbon fibre dongleŽ 50one's Avatar
    Join Date
    Jan 2011
    Location
    Glasgow
    Posts
    2,368
    I can do this in Cinema, Max, Modo, Blender and possibly export .mdd too. Shame for such a simple thing you either have to wrestle displacement nodes or buy a separate plugin.

  8. #8
    Founding member raymondtrace's Avatar
    Join Date
    May 2003
    Location
    Ohio
    Posts
    659
    Quote Originally Posted by 50one View Post
    I can do this in Cinema, Max, Modo, Blender and possibly export .mdd too. Shame for such a simple thing you either have to wrestle displacement nodes or buy a separate plugin.
    I cannot recall the method but I vaguely recall this was one of the exercises taught when I was learning LW on Amiga, without any third party add-ons.
    LW7.5D, 2015, 2018, 2019 running portably on a USB drive on an Amiga 2500 running Wine.

  9. #9
    RETROGRADER prometheus's Avatar
    Join Date
    Aug 2003
    Location
    sweden stockholm
    Posts
    14,295
    Quote Originally Posted by 50one View Post
    I can do this in Cinema, Max, Modo, Blender and possibly export .mdd too. Shame for such a simple thing you either have to wrestle displacement nodes or buy a separate plugin.
    You don´t
    You can do it with Lightwave bullet deforming body. for initial test I did within some minutes, you should use shape lock and a shape retention value, turn off gravity if you want to manually just move the ball through the hole., (unless using a kinematic item to hold it during gravity and then push it.
    Use a lower frame rate initially to get decent realtime respons, and raise it later when playing the sim for more accurate behavior, set a high linear stiffness..if not 100%, volume scaling and conservation maybe 100%

  10. #10
    Founding member raymondtrace's Avatar
    Join Date
    May 2003
    Location
    Ohio
    Posts
    659
    LW7.5D, 2015, 2018, 2019 running portably on a USB drive on an Amiga 2500 running Wine.

  11. #11
    Registered User Hulk's Avatar
    Join Date
    Sep 2003
    Location
    10X,185Y,35Z
    Posts
    41
    BallonPushing.zip

    Here's a nodal Version

  12. #12

    Thank you

    Thanks everyone for the suggestions. I'll give it a go.

    W.

  13. #13
    Registered User
    Join Date
    Jan 2005
    Location
    Colorado Springs
    Posts
    1,626
    I'm not sure of the visualization you're trying to accomplish, but as I mentioned in your original thread, researching arterial catheters for repairing plaqued areas in an artery, it looks like the balloon to expand the artery isn't inflated until the balloon portion of the catheter is in the plaqued area. A couple of existing animations:

    https://www.youtube.com/watch?v=20KcFgoPX7Y

    https://qtvascular.com/us/products/chocolate


    mTp

  14. #14
    Quote Originally Posted by MonroePoteet View Post
    I'm not sure of the visualization you're trying to accomplish, but as I mentioned in your original thread, researching arterial catheters for repairing plaqued areas in an artery, it looks like the balloon to expand the artery isn't inflated until the balloon portion of the catheter is in the plaqued area. A couple of existing animations:

    https://www.youtube.com/watch?v=20KcFgoPX7Y

    https://qtvascular.com/us/products/chocolate


    mTp
    I'm familiar with how they work. I'm working on an aorta that has a congenital pinch in it. Coarctation. I have modeled the pinch in the aorta and wanted to slide the balloon into the area so that it takes the negative shape of the pinch to show the balloon of the catheter starting to inflate.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •