lapp0 / MeshDR

Randomly Deform Meshes for Domain Randomization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MeshDR

Generate random deformations of meshes for domain randomization. Set parameters to randomly generate thousands of NURB splines and save the resulting deformed mesh STL files.

Intended for use with Isaac Sim / Gym, but may find uses in other places too.

See python meshdr/meshdr.py --help

Examples

All mesh deformations are randomly generation with spline offsets normally distributed. Screenshots are of just a single representative deformation out of infinite possibile deformations of a given set of input parameters.

Base Mesh (No Deformations)

./img/base.png

Standard Deviation = 0.1; Control Points Per Axis = 3 (total 27)

These are the default settings if --control and --std aren’t set.

./img/0.1std_3ctr.png

Standard Deviation = 0.1; Control Points Per Axis = 15 (total 3375)

./img/0.1std_15ctr.png

Standard Deviation = 0.2; Control Points Per Axis = 2 (total 8)

./img/0.2std_2ctr.png

Standard Deviation = 0.05; Control Points Per Axis = 6 (total 216)

./img/0.05std_6ctr.png

Standard Deviation = 0.25; Control Points Per Axis = 15 (total 3375)

./img/0.25std_15ctr.png

About

Randomly Deform Meshes for Domain Randomization


Languages

Language:Python 57.0%Language:Nix 43.0%