isaaclab_newton.sim.spawners#
Sub-module for Newton material configuration exports.
Classes
Newton-specific physics material parameters for volume deformable bodies. |
|
Newton-specific material properties for a deformable body. |
|
Newton-specific physics material parameters for surface deformable bodies. |
Deformable Materials#
Newton provides the backend-specific deformable material cfgs. Deformable material spawning is unified in
isaaclab.sim.spawners.materials.spawn_deformable_body_material().
- class isaaclab_newton.sim.spawners.materials.NewtonDeformableBodyMaterialCfg[source]#
Bases:
DeformableBodyMaterialBaseCfg,NewtonDeformableMaterialCfgNewton-specific physics material parameters for volume deformable bodies.
Attributes:
First Lame material parameter [Pa].
Second Lame material parameter [Pa].
Damping stiffness for tetrahedral elements [Pa*s].
The material density [kg/m^3].
Particle radius [m] used by the Newton backend.
- class isaaclab_newton.sim.spawners.materials.NewtonDeformableMaterialCfg[source]#
Bases:
objectNewton-specific material properties for a deformable body.
These properties are set with the prefix
newton:<property_name>.Attributes:
The material density [kg/m^3].
Particle radius [m] used by the Newton backend.
- class isaaclab_newton.sim.spawners.materials.NewtonSurfaceDeformableBodyMaterialCfg[source]#
Bases:
SurfaceDeformableBodyMaterialBaseCfg,NewtonDeformableMaterialCfgNewton-specific physics material parameters for surface deformable bodies.
Attributes:
The material density [kg/m^3].
Particle radius [m] used by the Newton backend.
Triangle area-preserving stiffness [Pa].
Triangle area stiffness [Pa].
Triangle area damping [Pa*s].
Bending stiffness [N*m].
Bending damping [N*m*s].
Newton MPM particle spawner utilities.
Classes
Base configuration for declarative Newton MPM particle generation. |
|
Generate a regular MPM particle lattice inside an axis-aligned local box. |
|
Generate MPM particles from explicit local-space point positions. |
|
Per-particle material values consumed by Newton's implicit MPM solver. |
MPM Particles#
Declarative particle generation for MPMObject.
The spawner creates a placeholder Xform prim; the particles themselves are
emitted into the Newton model builder during replication.
- class isaaclab_newton.sim.spawners.mpm.MPMParticleSpawnerCfg[source]#
Bases:
SpawnerCfgBase configuration for declarative Newton MPM particle generation.
Attributes:
Material values applied to generated particles.
Display color for Kit particle visualization.
Whether the spawned asset should be visible.
List of semantic tags to add to the spawned asset.
Whether to copy the asset from the source prim or inherit it.
Path where the prototype is spawned.
Kit particle visualization update frequency in render frames.
- material: MPMParticleMaterialCfg#
Material values applied to generated particles.
- semantic_tags: list[tuple[str, str]] | None#
List of semantic tags to add to the spawned asset. Defaults to None, which means no semantic tags will be added.
The semantic tags follow the Replicator Semantic tagging system. Each tag is a tuple of the form
(type, data), wheretypeis the type of the tag anddatais the semantic label associated with the tag. For example, to annotate a spawned asset in the class avocado, the semantic tag would be[("class", "avocado")].You can specify multiple semantic tags by passing in a list of tags. For example, to annotate a spawned asset in the class avocado and the color green, the semantic tags would be
[("class", "avocado"), ("color", "green")].See also
For more information on the semantics filter, see the documentation for the semantics schema editor.
- class isaaclab_newton.sim.spawners.mpm.MPMGridCfg[source]#
Bases:
MPMParticleSpawnerCfgGenerate a regular MPM particle lattice inside an axis-aligned local box.
Attributes:
Whether the spawned asset should be visible.
List of semantic tags to add to the spawned asset.
Whether to copy the asset from the source prim or inherit it.
Path where the prototype is spawned.
Material values applied to generated particles.
Display color for Kit particle visualization.
Kit particle visualization update frequency in render frames.
Lower local-space corner of the particle box [m].
Upper local-space corner of the particle box [m].
Target MPM voxel size [m], used with
particles_per_cellto choose lattice resolution.Particle lattice density relative to the MPM grid resolution.
Newton particle-grid jitter value [m].
Per-particle mass [kg].
Particle radius [m].
- semantic_tags: list[tuple[str, str]] | None#
List of semantic tags to add to the spawned asset. Defaults to None, which means no semantic tags will be added.
The semantic tags follow the Replicator Semantic tagging system. Each tag is a tuple of the form
(type, data), wheretypeis the type of the tag anddatais the semantic label associated with the tag. For example, to annotate a spawned asset in the class avocado, the semantic tag would be[("class", "avocado")].You can specify multiple semantic tags by passing in a list of tags. For example, to annotate a spawned asset in the class avocado and the color green, the semantic tags would be
[("class", "avocado"), ("color", "green")].See also
For more information on the semantics filter, see the documentation for the semantics schema editor.
- copy_from_source: bool#
Whether to copy the asset from the source prim or inherit it. Defaults to True.
This parameter is only used when cloning prims. If False, then the asset will be inherited from the source prim, i.e. all USD changes to the source prim will be reflected in the cloned prims.
- material: MPMParticleMaterialCfg#
Material values applied to generated particles.
- voxel_size: float#
Target MPM voxel size [m], used with
particles_per_cellto choose lattice resolution.
- class isaaclab_newton.sim.spawners.mpm.MPMPointsCfg[source]#
Bases:
MPMParticleSpawnerCfgGenerate MPM particles from explicit local-space point positions.
Attributes:
Whether the spawned asset should be visible.
List of semantic tags to add to the spawned asset.
Whether to copy the asset from the source prim or inherit it.
Path where the prototype is spawned.
Material values applied to generated particles.
Display color for Kit particle visualization.
Kit particle visualization update frequency in render frames.
Local-space particle positions [m].
Optional local-space particle velocities [m/s].
Particle mass values [kg], either scalar or one value per particle.
Particle radius values [m], either scalar or one value per particle.
- semantic_tags: list[tuple[str, str]] | None#
List of semantic tags to add to the spawned asset. Defaults to None, which means no semantic tags will be added.
The semantic tags follow the Replicator Semantic tagging system. Each tag is a tuple of the form
(type, data), wheretypeis the type of the tag anddatais the semantic label associated with the tag. For example, to annotate a spawned asset in the class avocado, the semantic tag would be[("class", "avocado")].You can specify multiple semantic tags by passing in a list of tags. For example, to annotate a spawned asset in the class avocado and the color green, the semantic tags would be
[("class", "avocado"), ("color", "green")].See also
For more information on the semantics filter, see the documentation for the semantics schema editor.
- copy_from_source: bool#
Whether to copy the asset from the source prim or inherit it. Defaults to True.
This parameter is only used when cloning prims. If False, then the asset will be inherited from the source prim, i.e. all USD changes to the source prim will be reflected in the cloned prims.
- material: MPMParticleMaterialCfg#
Material values applied to generated particles.
- class isaaclab_newton.sim.spawners.mpm.MPMParticleMaterialCfg[source]#
Bases:
objectPer-particle material values consumed by Newton’s implicit MPM solver.
This is a lightweight value config. It does not create or bind a USD material prim; values are forwarded to Newton as
mpm:*custom attributes when particles are added to the model builder.The defaults model a dry sand-like granular material.
Attributes:
Particle material density [kg/m^3], used to derive particle mass when a generator does not override it.
Young's modulus [Pa].
Poisson ratio.
Viscosity coefficient.
Particle friction coefficient.
Material damping.
Pressure at which the material yields.
Tensile/compressive yield ratio.
Von-Mises yield stress.
Plastic hardening coefficient.
Granular dilatancy coefficient.