Expand description
Soft body simulation for the OxiPhysics engine.
Provides PBD / XPBD based soft-body simulation including:
- Distance, bending, volume, and collision constraints
- Cloth simulation with wind forces
- Rope / hair chains
- Corotational FEM soft bodies
Re-exports§
pub use aerodynamics::AerodynamicsModel;pub use constraint::BendingConstraint;pub use constraint::CollisionConstraint;pub use constraint::DistanceConstraint;pub use constraint::SoftConstraint;pub use constraint::VolumeConstraint;pub use fem_soft::CorotationalElement;pub use fem_soft::FemSoftBody;pub use particle::SoftBody;pub use particle::SoftParticle;pub use rope::HairStrand;pub use rope::HairSystem;pub use rope::Rope;pub use rope::RopeSolver;pub use rope::XpbdRope;pub use shape_matching::ShapeMatching;pub use solver::XpbdSolver;pub use cloth::*;pub use fracture_dynamics::*;pub use inflatable::*;
Modules§
- active_
matter - Active matter — self-propelled particles and collective motion.
- active_
origami - Active origami: smart-material actuators and deployable structures.
- aerodynamics
- Aerodynamic forces (drag and lift) on cloth/soft-body triangles.
- bio_
softbody - Biological soft body simulation.
- bioinspired
- Bio-inspired soft robotics and locomotion.
- biomech_
simulation - Biomechanics simulation — bone, cartilage, tendon, and joint contact.
- cable_
nets - Cable network and tensegrity structure simulation.
- cloth
- Auto-generated module structure
- cloth_
advanced - Auto-generated module structure
- cloth_
simulation - Detailed cloth simulation using Position-Based Dynamics (PBD).
- collision_
response - Softbody collision detection and response.
- constraint
- Auto-generated module structure
- constraint_
visualization - Constraint visualisation utilities for soft-body simulations.
- cosserat_
rods - Cosserat rod theory: extensible Kirchhoff/Cosserat rods.
- cosserat_
softbody - Cosserat rod / beam soft-body simulation.
- crack_
propagation - Crack propagation and remeshing for soft body simulation.
- elastic_
wave - Elastic wave propagation in soft bodies.
- electroactive_
softbody - Electroactive soft-body physics module.
- fem_
soft - Corotational FEM soft body simulation.
- fluid_
film_ softbody - Thin fluid film simulation for soft body physics.
- food_
physics - Food physics and cooking simulation.
- fracture
- Auto-generated module structure
- fracture_
dynamics - Auto-generated module structure
- granular_
softbody - Granular material modelled as a soft body via DEM-FEM coupling.
- growth_
mechanics - Biological growth mechanics: multiplicative decomposition, residual stress, morphoelastic ODE, surface growth, and growth-driven buckling.
- hair
- Hair simulation.
- hair_
fur - Hair and fur simulation.
- hair_
sim - Hair and fiber simulation using a discrete Cosserat rod model.
- hair_
softbody - Hair simulation using discrete elastic rods and Cosserat rod theory.
- haptic_
softbody - Haptic rendering for deformable soft bodies.
- inflatable
- Auto-generated module structure
- liquid_
sim - Position-Based Fluid (PBF) simulation for liquid dynamics.
- material_
point - Auto-generated module structure
- membrane_
biophysics - Membrane biophysics simulation.
- membrane_
softbody - Membrane mechanics for soft body simulation.
- metamaterial_
softbody - Mechanical metamaterials: auxetic, chiral, pentamode, magnetic, programmable matter, acoustic, topology optimization, and effective medium analysis.
- metamorphic_
mesh - Metamorphic mesh deformation for soft-body shape animation.
- morphogenesis_
softbody - Morphogenesis and biological pattern formation on deformable bodies.
- mud_
snow - Granular material and snow/mud simulation.
- muscle_
sim - Hill-type muscle simulation for the OxiPhysics soft-body crate.
- muscle_
simulation - Auto-generated module structure
- muscle_
softbody - Muscle simulation module for the OxiPhysics soft-body crate.
- muscle_
tendon - Musculotendon dynamics: Hill-type muscle model, activation dynamics, tendon compliance, force-velocity/force-length relations, pennation angle, muscle redundancy solver, and analysis utilities.
- neural_
deform - Learned / neural deformation models for soft bodies.
- neural_
soft - Neural network-enhanced soft body simulation.
- neural_
softbody - Neural network-based softbody simulation.
- numerical_
softbody - Auto-generated module structure
- origami_
folding - Origami and deployable structure simulation.
- origami_
mech - Origami mechanics — fold patterns and deployable structures.
- origami_
mechanics - Origami mechanics simulation module.
- origami_
softbody - Origami and foldable structure simulation.
- particle
- Auto-generated module structure
- pbd_
constraints - Extended PBD/XPBD constraint types for soft-body simulation.
- pbd_
system - Auto-generated module structure
- peridynamics
- Peridynamics — nonlocal continuum mechanics for fracture simulation.
- position_
based_ fluids - Position-Based Fluids (PBF) for liquid simulation.
- pressure_
volume - Pressure-volume soft body dynamics.
- rigid_
soft_ coupling - Rigid body – soft body coupling for hybrid simulation.
- rod_
mechanics - Elastic rod mechanics based on Cosserat / Kirchhoff rod theory.
- rope
- Auto-generated module structure
- rope_
simulation - Rope and cable simulation using Position-Based Dynamics (PBD).
- sand_
sim - Granular sand simulation (MPM-inspired).
- shape_
matching - Rigid shape matching constraint (Müller et al., 2005).
- smart_
materials - Smart / active soft materials — hydrogels, LCE, IPMC, and more.
- soft_
gripper - Soft robotic gripper simulation using position-based dynamics.
- solver
- XPBD solver for soft-body simulation.
- surgery_
simulation - Auto-generated module structure
- surgical_
simulation - Surgical simulation: tissue cutting, needle insertion, organ deformation.
- tearing
- Cloth/mesh tearing and cutting.
- tendon_
softbody - Tendon and ligament soft-body simulation.
- textile_
simulation - Textile simulation: yarn mechanics, woven/knitted fabric, collision, and garment draping.
- tissue_
sim - Biological tissue simulation for the OxiPhysics softbody crate.
- topology_
opt - Topology optimisation for soft-body / deformable structures.
- topology_
optimization - Topology optimisation for compliant mechanisms and structures.
- underwater_
softbody - Underwater soft body dynamics.
- volume
- Auto-generated module structure
- wrinkling
- Thin shell wrinkling mechanics.
- xpbd
- Auto-generated module structure
Enums§
- Error
- Main error type for the softbody module
Traits§
- Soft
Body Solver - Trait for soft body solvers.
Type Aliases§
- Result
- Result type alias