Skip to main content

Clips from newton-physics simulation to Unreal Engine 5 runtime

Project description

newton-clips

Clips from newton-physics simulation to Unreal Engine 5 runtime

  • exchange the simulation data with NewtonClips, a twin UE5 plugin
  • replace renderers in newton-physics and convert simulation data
  • support newton-physics examples with the least code change

Install

pip install newton-clips

Getting started

  1. run newtonclips/example.py
  2. find generated simulation data in newtonclips.SAVE_DIR
  3. use this directory in NewtonClips

How to run newton.examples

import newtonclips  # replace newton renderers implicitly

newtonclips.SAVE_DIR = '.clips'  # set directory to save simulation data

# make sure you have installed the necessary external libraries
from newton.examples.basic import example_basic_shapes as example
import runpy

runpy.run_path(example.__file__, run_name='__main__')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

newton_clips-0.1.8.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

newton_clips-0.1.8-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file newton_clips-0.1.8.tar.gz.

File metadata

  • Download URL: newton_clips-0.1.8.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for newton_clips-0.1.8.tar.gz
Algorithm Hash digest
SHA256 4b16c4aa1e74ac4534d32ae8f88153b76caf8d5aa09f8702b4aff8e57532e08b
MD5 2828f59051475f5c3829ac2c27b0696f
BLAKE2b-256 00d98a12dc72b79c5e816c8a5d2a01932d480e67d1add98b95569a009357d91c

See more details on using hashes here.

File details

Details for the file newton_clips-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for newton_clips-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b3788203d6f77bb591f250fbb3ebd2fa80eeb0db3c77a56e9308f1667017f982
MD5 c22366d1ba586fe74493a954c0d1caf3
BLAKE2b-256 ddd7d85a54b1e056fb88a62460708c8f3eed1c0ef7b5a732836925882b1b127d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page