newton.utils#

Classes

SimRenderer

alias of SimRendererUsd

SimRendererOpenGL

Real-time OpenGL renderer for Newton Physics simulations.

SimRendererUsd

USD renderer for Newton Physics simulations.

Functions

boltzmann(a, b, alpha)

check_conditional_graph_support()

clear_git_cache([cache_dir])

Clears the git download cache directory.

download_asset(asset_folder[, cache_dir, ...])

Downloads a specific folder from the newton-assets GitHub repository into a local cache.

leaky_max(a, b)

leaky_min(a, b)

parse_mjcf(mjcf_filename_or_string, builder)

Parses MuJoCo XML (MJCF) file and adds the bodies and joints to the given ModelBuilder.

parse_urdf(urdf_filename, builder[, xform, ...])

Parses a URDF file and adds the bodies and joints to the given ModelBuilder.

parse_usd(source, builder[, xform, ...])

Parses a Universal Scene Description (USD) stage containing UsdPhysics schema definitions for rigid-body articulations and adds the bodies, shapes and joints to the given ModelBuilder.

smooth_max(a, b, eps)

smooth_min(a, b, eps)

topological_sort(joints[, use_dfs])

Topological sort of a list of joints connecting rigid bodies.

vec_abs(a)

vec_leaky_max(a, b)

vec_leaky_min(a, b)

vec_max(a, b)

vec_min(a, b)