-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimforge.yaml.example
More file actions
69 lines (55 loc) · 2.06 KB
/
simforge.yaml.example
File metadata and controls
69 lines (55 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# simforge.yaml — asset pipeline configuration
# Run: simforge process -c simforge.yaml
# Docs: https://github.com/ArconicLabs/simforge
pipeline:
source: ./samples/
output: ./sim_ready/
# Export to one or more target formats.
# Each asset is exported to every format listed here.
# Supported: usd, usda, usdc, urdf, mjcf, gltf, glb, obj, stl, fbx
target_formats: [usd, urdf, mjcf]
# Parallel processing: 0 = auto (hardware_concurrency), 1 = sequential
# threads: 0
# Force reprocessing: ignore cached hashes, reprocess everything
# force: false
stages:
ingest:
formats: [obj, fbx, gltf, glb, stl, step, iges, urdf, mjcf, dae]
collision:
method: convex_hull # convex_hull | primitive | triangle_mesh | coacd (requires -DSIMFORGE_USE_COACD=ON)
max_hulls: 32
# CoACD settings (only used when method: coacd and -DSIMFORGE_USE_COACD=ON):
# threshold: 0.05 # Concavity threshold (lower = more precise)
# resolution: 2000
physics:
mass_estimation: geometry # geometry | explicit | lookup
density: 1000.0 # kg/m³ (water = 1000, plastic ≈ 950, steel ≈ 7800)
friction: 0.5
restitution: 0.3
# Material library for lookup mode — maps material names to physics properties.
# Use mass_estimation: lookup to enable. Materials are resolved from
# asset.metadata["material"] or PBR material names, with geometry fallback.
# material_library: data/materials.yaml
optimize:
lod_levels: [high, medium, low]
max_triangles: [50000, 10000, 2000]
validate:
watertight: true
physics_plausibility: true
collision_correctness: true
mesh_integrity: true
scale_sanity: true
fail_on_warning: false
export:
# Override target_formats per-stage, or omit to use pipeline-level setting.
# Simple list:
formats: [usd, urdf, mjcf]
# Advanced: per-format output subdirectories
# formats:
# - format: usd
# subdir: isaac/
# - format: urdf
# subdir: gazebo/
# - format: mjcf
# subdir: mujoco/
catalog: true