daz3d-mcp 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. daz3d_mcp-1.0.0/.gitignore +10 -0
  2. daz3d_mcp-1.0.0/CHANGELOG.es.md +201 -0
  3. daz3d_mcp-1.0.0/CHANGELOG.md +187 -0
  4. daz3d_mcp-1.0.0/LICENSE +201 -0
  5. daz3d_mcp-1.0.0/PKG-INFO +329 -0
  6. daz3d_mcp-1.0.0/README.es.md +308 -0
  7. daz3d_mcp-1.0.0/README.md +305 -0
  8. daz3d_mcp-1.0.0/animations/head-nod.json +82 -0
  9. daz3d_mcp-1.0.0/animations/head-shake.json +94 -0
  10. daz3d_mcp-1.0.0/animations/idle-breathing.json +130 -0
  11. daz3d_mcp-1.0.0/bridge/README.md +77 -0
  12. daz3d_mcp-1.0.0/bridge/src/bridgeserver.cpp +785 -0
  13. daz3d_mcp-1.0.0/bridge/src/bridgeserver.h +82 -0
  14. daz3d_mcp-1.0.0/bridge/src/dazmcp_bridge.def +4 -0
  15. daz3d_mcp-1.0.0/bridge/src/plugin.cpp +98 -0
  16. daz3d_mcp-1.0.0/bridge/src/version.h +14 -0
  17. daz3d_mcp-1.0.0/bridge/tests/sdk_stub/CMakeLists.txt +15 -0
  18. daz3d_mcp-1.0.0/bridge/tests/sdk_stub/dzcore.cpp +1 -0
  19. daz3d_mcp-1.0.0/bridge/tests/sdk_stub/host.cpp +17 -0
  20. daz3d_mcp-1.0.0/bridge/tests/sdk_stub/include/dzaction.h +9 -0
  21. daz3d_mcp-1.0.0/bridge/tests/sdk_stub/include/dzapp.h +13 -0
  22. daz3d_mcp-1.0.0/bridge/tests/sdk_stub/include/dzplugin.h +7 -0
  23. daz3d_mcp-1.0.0/bridge/tests/sdk_stub/include/dzscript.h +43 -0
  24. daz3d_mcp-1.0.0/bridge/tests/sdk_stub/include/dzversion.h +2 -0
  25. daz3d_mcp-1.0.0/pyproject.toml +67 -0
  26. daz3d_mcp-1.0.0/scripts/lib/core.dsa +1907 -0
  27. daz3d_mcp-1.0.0/scripts/lib/entry.dsa +28 -0
  28. daz3d_mcp-1.0.0/scripts/tools/anim_key_pose.dsa +71 -0
  29. daz3d_mcp-1.0.0/scripts/tools/anim_keys_delete.dsa +37 -0
  30. daz3d_mcp-1.0.0/scripts/tools/anim_keys_get.dsa +89 -0
  31. daz3d_mcp-1.0.0/scripts/tools/anim_keys_set.dsa +124 -0
  32. daz3d_mcp-1.0.0/scripts/tools/anim_offset.dsa +112 -0
  33. daz3d_mcp-1.0.0/scripts/tools/anim_preset_load.dsa +34 -0
  34. daz3d_mcp-1.0.0/scripts/tools/anim_retime.dsa +73 -0
  35. daz3d_mcp-1.0.0/scripts/tools/anim_sample.dsa +60 -0
  36. daz3d_mcp-1.0.0/scripts/tools/anim_skeleton.dsa +39 -0
  37. daz3d_mcp-1.0.0/scripts/tools/anim_timeline.dsa +85 -0
  38. daz3d_mcp-1.0.0/scripts/tools/camera_create.dsa +22 -0
  39. daz3d_mcp-1.0.0/scripts/tools/camera_set.dsa +15 -0
  40. daz3d_mcp-1.0.0/scripts/tools/camera_shot.dsa +319 -0
  41. daz3d_mcp-1.0.0/scripts/tools/content_add_library.dsa +38 -0
  42. daz3d_mcp-1.0.0/scripts/tools/content_libraries.dsa +8 -0
  43. daz3d_mcp-1.0.0/scripts/tools/content_load.dsa +83 -0
  44. daz3d_mcp-1.0.0/scripts/tools/environment_set.dsa +68 -0
  45. daz3d_mcp-1.0.0/scripts/tools/eye_color.dsa +142 -0
  46. daz3d_mcp-1.0.0/scripts/tools/eyes_look_at.dsa +184 -0
  47. daz3d_mcp-1.0.0/scripts/tools/face_expression.dsa +160 -0
  48. daz3d_mcp-1.0.0/scripts/tools/figure_info.dsa +70 -0
  49. daz3d_mcp-1.0.0/scripts/tools/fit_check.dsa +64 -0
  50. daz3d_mcp-1.0.0/scripts/tools/import_mesh.dsa +414 -0
  51. daz3d_mcp-1.0.0/scripts/tools/light_create.dsa +29 -0
  52. daz3d_mcp-1.0.0/scripts/tools/light_set.dsa +24 -0
  53. daz3d_mcp-1.0.0/scripts/tools/material_list.dsa +40 -0
  54. daz3d_mcp-1.0.0/scripts/tools/material_set.dsa +30 -0
  55. daz3d_mcp-1.0.0/scripts/tools/morph_list.dsa +18 -0
  56. daz3d_mcp-1.0.0/scripts/tools/morph_set.dsa +35 -0
  57. daz3d_mcp-1.0.0/scripts/tools/node_delete.dsa +52 -0
  58. daz3d_mcp-1.0.0/scripts/tools/node_set.dsa +73 -0
  59. daz3d_mcp-1.0.0/scripts/tools/place_on.dsa +242 -0
  60. daz3d_mcp-1.0.0/scripts/tools/pose_bones.dsa +52 -0
  61. daz3d_mcp-1.0.0/scripts/tools/pose_reset.dsa +24 -0
  62. daz3d_mcp-1.0.0/scripts/tools/prop_surfaces.dsa +26 -0
  63. daz3d_mcp-1.0.0/scripts/tools/render.dsa +81 -0
  64. daz3d_mcp-1.0.0/scripts/tools/render_cull.dsa +680 -0
  65. daz3d_mcp-1.0.0/scripts/tools/render_settings.dsa +13 -0
  66. daz3d_mcp-1.0.0/scripts/tools/scene_info.dsa +93 -0
  67. daz3d_mcp-1.0.0/scripts/tools/scene_new.dsa +13 -0
  68. daz3d_mcp-1.0.0/scripts/tools/scene_open.dsa +38 -0
  69. daz3d_mcp-1.0.0/scripts/tools/scene_save.dsa +29 -0
  70. daz3d_mcp-1.0.0/scripts/tools/status.dsa +13 -0
  71. daz3d_mcp-1.0.0/scripts/tools/viewport_capture.dsa +101 -0
  72. daz3d_mcp-1.0.0/scripts/tools/wearable_adjust.dsa +81 -0
  73. daz3d_mcp-1.0.0/scripts/tools/wearable_fit.dsa +21 -0
  74. daz3d_mcp-1.0.0/scripts/tools/wearable_from_mesh.dsa +152 -0
  75. daz3d_mcp-1.0.0/scripts/tools/wearable_refit.dsa +811 -0
  76. daz3d_mcp-1.0.0/skills/animation/SKILL.md +159 -0
  77. daz3d_mcp-1.0.0/skills/characters/SKILL.md +111 -0
  78. daz3d_mcp-1.0.0/skills/cross-generation-clothing/SKILL.md +194 -0
  79. daz3d_mcp-1.0.0/skills/daz-basics/SKILL.md +140 -0
  80. daz3d_mcp-1.0.0/skills/dialogue-scenes/SKILL.md +112 -0
  81. daz3d_mcp-1.0.0/skills/faces/SKILL.md +97 -0
  82. daz3d_mcp-1.0.0/skills/furniture-poses/SKILL.md +106 -0
  83. daz3d_mcp-1.0.0/skills/render-culling/SKILL.md +170 -0
  84. daz3d_mcp-1.0.0/skills/rendering/SKILL.md +85 -0
  85. daz3d_mcp-1.0.0/skills/scene-building/SKILL.md +103 -0
  86. daz3d_mcp-1.0.0/skills/third-party-assets/SKILL.md +178 -0
  87. daz3d_mcp-1.0.0/src/daz3d_mcp/__init__.py +28 -0
  88. daz3d_mcp-1.0.0/src/daz3d_mcp/__main__.py +4 -0
  89. daz3d_mcp-1.0.0/src/daz3d_mcp/anim_tools.py +657 -0
  90. daz3d_mcp-1.0.0/src/daz3d_mcp/asset_tools.py +322 -0
  91. daz3d_mcp-1.0.0/src/daz3d_mcp/cli.py +357 -0
  92. daz3d_mcp-1.0.0/src/daz3d_mcp/client.py +85 -0
  93. daz3d_mcp-1.0.0/src/daz3d_mcp/clips.py +206 -0
  94. daz3d_mcp-1.0.0/src/daz3d_mcp/content.py +332 -0
  95. daz3d_mcp-1.0.0/src/daz3d_mcp/cull_tools.py +194 -0
  96. daz3d_mcp-1.0.0/src/daz3d_mcp/daz_locate.py +79 -0
  97. daz3d_mcp-1.0.0/src/daz3d_mcp/installer.py +325 -0
  98. daz3d_mcp-1.0.0/src/daz3d_mcp/meshes.py +586 -0
  99. daz3d_mcp-1.0.0/src/daz3d_mcp/motion.py +1318 -0
  100. daz3d_mcp-1.0.0/src/daz3d_mcp/packages.py +671 -0
  101. daz3d_mcp-1.0.0/src/daz3d_mcp/paths.py +53 -0
  102. daz3d_mcp-1.0.0/src/daz3d_mcp/refit.py +234 -0
  103. daz3d_mcp-1.0.0/src/daz3d_mcp/scene_tools.py +1105 -0
  104. daz3d_mcp-1.0.0/src/daz3d_mcp/scriptlib.py +55 -0
  105. daz3d_mcp-1.0.0/src/daz3d_mcp/server.py +312 -0
  106. daz3d_mcp-1.0.0/src/daz3d_mcp/settings.py +90 -0
  107. daz3d_mcp-1.0.0/src/daz3d_mcp/skills.py +53 -0
  108. daz3d_mcp-1.0.0/src/daz3d_mcp/transport.py +448 -0
  109. daz3d_mcp-1.0.0/src/daz3d_mcp/video.py +89 -0
  110. daz3d_mcp-1.0.0/tests/asset_fixture.py +227 -0
  111. daz3d_mcp-1.0.0/tests/conftest.py +49 -0
  112. daz3d_mcp-1.0.0/tests/content_fixture.py +106 -0
  113. daz3d_mcp-1.0.0/tests/fake_daz/__init__.py +0 -0
  114. daz3d_mcp-1.0.0/tests/fake_daz/check_es5.js +17 -0
  115. daz3d_mcp-1.0.0/tests/fake_daz/fake_bridge.py +105 -0
  116. daz3d_mcp-1.0.0/tests/fake_daz/fake_daz.js +1633 -0
  117. daz3d_mcp-1.0.0/tests/fake_daz/fake_daz_exe.js +7 -0
  118. daz3d_mcp-1.0.0/tests/fake_daz/package-lock.json +24 -0
  119. daz3d_mcp-1.0.0/tests/fake_daz/package.json +5 -0
  120. daz3d_mcp-1.0.0/tests/fake_daz/run.js +12 -0
  121. daz3d_mcp-1.0.0/tests/fixtures_scene.json +15 -0
  122. daz3d_mcp-1.0.0/tests/motion_fixture.py +371 -0
  123. daz3d_mcp-1.0.0/tests/test_anim_tools.py +283 -0
  124. daz3d_mcp-1.0.0/tests/test_asset_tools.py +185 -0
  125. daz3d_mcp-1.0.0/tests/test_bridge_plugin.py +123 -0
  126. daz3d_mcp-1.0.0/tests/test_content_index.py +93 -0
  127. daz3d_mcp-1.0.0/tests/test_dialogue_scenes.py +157 -0
  128. daz3d_mcp-1.0.0/tests/test_faces.py +151 -0
  129. daz3d_mcp-1.0.0/tests/test_file_transport.py +31 -0
  130. daz3d_mcp-1.0.0/tests/test_furniture.py +157 -0
  131. daz3d_mcp-1.0.0/tests/test_installer.py +107 -0
  132. daz3d_mcp-1.0.0/tests/test_known_fixes.py +290 -0
  133. daz3d_mcp-1.0.0/tests/test_mcp_server.py +88 -0
  134. daz3d_mcp-1.0.0/tests/test_meshes.py +104 -0
  135. daz3d_mcp-1.0.0/tests/test_motion.py +86 -0
  136. daz3d_mcp-1.0.0/tests/test_packages.py +134 -0
  137. daz3d_mcp-1.0.0/tests/test_refit.py +297 -0
  138. daz3d_mcp-1.0.0/tests/test_render_animation.py +110 -0
  139. daz3d_mcp-1.0.0/tests/test_render_cull.py +271 -0
  140. daz3d_mcp-1.0.0/tests/test_scene_tools.py +242 -0
  141. daz3d_mcp-1.0.0/tests/test_scripts_syntax.py +42 -0
  142. daz3d_mcp-1.0.0/tests/test_setup.py +64 -0
  143. daz3d_mcp-1.0.0/tests/test_stage2_closing.py +133 -0
  144. daz3d_mcp-1.0.0/tests/test_stage3_closing.py +111 -0
  145. daz3d_mcp-1.0.0/tests/test_stage4_closing.py +174 -0
  146. daz3d_mcp-1.0.0/tests/test_tools.py +129 -0
  147. daz3d_mcp-1.0.0/tests/test_version.py +23 -0
@@ -0,0 +1,10 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ .venv/
4
+ .pytest_cache/
5
+ dist/
6
+ build/
7
+ *.egg-info/
8
+ node_modules/
9
+ bridge/tests/sdk_stub/lib/
10
+ .DS_Store
@@ -0,0 +1,201 @@
1
+ # Registro de cambios
2
+
3
+ > [Read in English](CHANGELOG.md)
4
+
5
+ Los cambios importantes del paquete de Python `daz3d-mcp` (servidor MCP,
6
+ biblioteca de DazScript y skills). El formato sigue
7
+ [Keep a Changelog](https://keepachangelog.com/es-ES/1.1.0/) y las versiones
8
+ siguen [Versionado Semántico](https://semver.org/lang/es/) como se explica en
9
+ [Versiones](README.es.md#versiones).
10
+
11
+ El plugin puente (`bridge/`) tiene su propia versión en `bridge/src/version.h`,
12
+ que se anota abajo cuando cambia.
13
+
14
+ ## [Sin publicar]
15
+
16
+ ## [1.0.0] - 2026-11-16
17
+
18
+ Primer lanzamiento público: en PyPI (`uvx daz3d-mcp`) con el plugin puente
19
+ compilado en el release de GitHub.
20
+
21
+ ### Cambiado
22
+
23
+ - `setup` pide permiso de administrador a Windows (una ventana de UAC) cuando
24
+ la carpeta de plugins de Daz Studio está protegida, en vez de fallar.
25
+ `--no-elevate` lo desactiva.
26
+ - `setup` se detiene con un mensaje claro cuando Daz Studio está abierto y
27
+ dejaría bloqueado el plugin anterior, y cuando el Daz Studio encontrado es la
28
+ 4.24, que no tiene plugin compilado.
29
+ - El README (inglés y español) está escrito para una primera instalación:
30
+ requisitos, instalación, cómo agregar el servidor a mano en cada cliente,
31
+ actualizar, desinstalar y solución de problemas. Sus enlaces funcionan en PyPI.
32
+ - El paquete indica que solo funciona en Windows.
33
+
34
+ ## [0.6.0] - 2026-11-16
35
+
36
+ ### Agregado
37
+
38
+ - `wearable_refit` repara cualquier prenda de otra generación de Genesis, no
39
+ solo zapatos. Informa `rig` (cuánto de la prenda cuelga de huesos que la
40
+ figura tiene) y `shape` (distancia a la piel con y sin cada forma clon), con
41
+ los problemas `not_converted` y `other_shape`; `fix=true` reconstruye esa
42
+ prenda con la Transfer Utility de Daz y el clon de su generación, y luego
43
+ convierte lo que estaba ajustado a ella (cinturones, cierres, botones).
44
+ Nuevo argumento `convert`.
45
+ - `wearable_refit(item=<figura>)` revisa, o con `fix=true` repara, todo lo que
46
+ viste una figura.
47
+ - `wearable_refit` informa `below_floor` cuando una suela queda bajo el piso,
48
+ y `feet.*.heel_minus_toe_cm`.
49
+ - `daz_dialog` informa `more_dialogs` cuando Daz abre otro diálogo justo
50
+ después de terminar la llamada detenida (el Auto-Fit pregunta una vez por
51
+ cada prenda de un conjunto).
52
+
53
+ ### Corregido
54
+
55
+ - Las prendas de un conjunto cuyo diálogo de Auto-Fit nadie respondía se
56
+ quedaban con los huesos y la forma de la otra generación (un overol de
57
+ Genesis 9 en Genesis 8 dejaba los brazos abajo y no seguía la pose). Ahora
58
+ se detectan y se reconstruyen.
59
+ - Las botas de suela gruesa sin plantilla modelada salían como
60
+ `foot_floating`; un hueco parejo ahora es una nota.
61
+ - El encuadre de las cámaras suponía que el cuadro de 36 mm cubre el ancho de
62
+ la imagen; Daz Studio lo reparte en el alto. `render_cull` quitaba cosas a
63
+ los lados de una imagen ancha que sí se veían (las pestañas y los guantes
64
+ de una figura en el borde de un plano de dos), `camera_shot` encuadraba 1.8
65
+ veces más abierto de lo pedido en imágenes 16:9 y `camera_create(frame=...)`
66
+ dejaba espacio de más. Los primeros planos ahora son tan cerrados como dice
67
+ su nombre, y `extreme_close_up` deja la boca dentro de la imagen.
68
+ - `wearable_refit` medía los pies contra una prenda ajustada a otra prenda;
69
+ ahora usa la figura que la viste.
70
+
71
+ ## [0.5.1] - 2026-11-15
72
+
73
+ ### Agregado
74
+
75
+ - `render_settings(exposure=...)` fija el Exposure Value de Iray; el resultado
76
+ informa `exposure` (EV, velocidad de obturación, f-stop, ISO).
77
+ - `camera_shot(avoid_walls=true)`: encuentra por sí solo las paredes y otros
78
+ props entre la cara y la cámara (`wall`, `wall_cm`, `pulled_in_cm`).
79
+ - `package_inspect` y `package_install` informan `requires`: los productos que
80
+ un paquete necesita y no están instalados.
81
+
82
+ ### Corregido
83
+
84
+ - `light_create` creaba las luces spot y point con Photometric Mode apagado,
85
+ así que Iray ignoraba sus lúmenes. Ahora se crean como desde el menú Create
86
+ de Daz, y `light_set(power=...)` enciende el modo en una luz anterior.
87
+ - Cambiar "Exposure Value" por script no cambiaba el render: Iray usa la
88
+ velocidad de obturación, el f-stop y el ISO. Ahora el valor se convierte en
89
+ velocidad de obturación, y cambiar esos tres mantiene el Exposure Value al día.
90
+ - `import_mesh(room=true)` tomaba como suelo la superficie horizontal más
91
+ grande, que en un edificio de techo plano es el techo (el Wild West Saloon se
92
+ hundía 6.9 m). Ahora el suelo es la superficie horizontal más grande que
93
+ tiene algo encima y espacio para estar de pie (entre pisos de tamaño parecido,
94
+ el más bajo), a la altura donde está la mayor parte. El saloon queda ahora
95
+ sobre las tablas de la planta baja.
96
+ - `camera_shot` dejaba la cámara fuera o detrás de las paredes de un cuarto
97
+ pequeño si no se daba `max_distance` a mano. Ahora se pone delante de la
98
+ pared con una lente más corta que conserva el encuadre, y avisa por debajo de
99
+ 14 mm.
100
+ - `package_install` no avisaba cuando un paquete necesita una figura base (p. ej.
101
+ Genesis 8.1 Female), el producto para el que es un paquete de morphs, o un
102
+ paquete de morphs del cuerpo que mueven sus presets (p. ej. Vlad Gens,
103
+ Breastacular).
104
+ - `package_inspect` podía fallar en Windows con paquetes que traen un .zip
105
+ dentro, al borrar su carpeta temporal.
106
+
107
+ ## [0.5.0] - 2026-11-15
108
+
109
+ ### Agregado
110
+
111
+ - Poses en muebles: `prop_surfaces` mide dónde se puede sentar o acostar en una
112
+ silla, sofá o cama, `place_on` pone ahí una figura ya posada y `fit_check`
113
+ avisa de las partes del cuerpo que flotan o atraviesan el mueble; límites de
114
+ articulaciones y puntos de referencia en `figure_info`. Nueva skill
115
+ `furniture-poses`.
116
+ - Caras: `face_expression` (expresiones con nombre), `eyes_look_at` y
117
+ `eye_color`. Nueva skill `faces`.
118
+ - Escenas de diálogo: `camera_shot` encuadra primeros planos, planos sobre el
119
+ hombro y planos de dos respetando la regla de los 180 grados, y
120
+ `render_shots` renderiza una conversación con una imagen por línea. Nueva
121
+ skill `dialogue-scenes`.
122
+ - Diálogos de Daz Studio: `daz_dialog` lee y responde las ventanas emergentes
123
+ que detienen una llamada (`dialog_open`), con reglas predefinidas y manejo de
124
+ avisos de sobrescritura; la llamada continúa una vez respondido el diálogo.
125
+ - `render_animation`: renderiza los cuadros de la línea de tiempo con Iray,
126
+ retoma renders a medias y codifica MP4 o GIF con ffmpeg; `render` puede
127
+ renderizar un solo cuadro.
128
+ - `render_cull` deja fuera del render lo que la cámara no ve (fuera del
129
+ encuadre, detrás de ella, ropa bajo otra ropa) sin quitar lo que ilumina la
130
+ escena; `render`, `render_shots` y `render_animation` aceptan `cull=true`.
131
+ Nueva skill `render-culling`.
132
+ - `wearable_refit` revisa y repara ropa y zapatos ajustados desde otra
133
+ generación de Genesis (G8/G8.1 en G9 y al revés). Nueva skill
134
+ `cross-generation-clothing`.
135
+ - Este registro de cambios; la versión del paquete ahora vive solo en
136
+ `pyproject.toml`.
137
+
138
+ ### Corregido
139
+
140
+ - Herramientas probadas por primera vez contra un Daz Studio 6 real.
141
+ - Retargeting de animaciones desde FBX exportados por Daz (orden de rotación,
142
+ diales limitados, transformaciones y colocación del FBX).
143
+ - Carga del plugin en Windows con Daz Studio 6.
144
+ - `mesh_inspect` e `import_mesh` con escenarios FBX de Blender: los tamaños se
145
+ leen como Daz los va a importar (`bbox_cm`), se da un `suggested_scale`
146
+ cuando el tamaño no es creíble, se dejan fuera los nodos de cámara, luz y
147
+ vacíos, y las superficies transparentes se vuelven vidrio de Iray.
148
+ - `eyes_look_at` apunta mejor cerca de los límites de las articulaciones de los
149
+ ojos; `content_load` atiende los diálogos diferidos de Daz antes de
150
+ terminar.
151
+ - `render_animation` ya no se cuelga cuando ffmpeg espera entrada de consola.
152
+
153
+ ### Cambiado
154
+
155
+ - README: marcado como proyecto en etapa temprana y solo para Windows, y
156
+ documentado que Iray necesita una GPU NVIDIA.
157
+ - Plugin puente 0.2.0 (manejo de diálogos). Hay que recompilarlo para usar
158
+ `daz_dialog`.
159
+
160
+ ## [0.4.0] - 2026-11-10
161
+
162
+ ### Agregado
163
+
164
+ - Animación: keyframes (`anim_keys_set`, `anim_keys_get`, `anim_keys_delete`,
165
+ `anim_key_pose`), línea de tiempo, presets incluidos y guardados, importación
166
+ de FBX de Mixamo y BVH en figuras Genesis, cambio de tiempos,
167
+ desplazamientos, contacto de los pies y vistas previas. Nueva skill
168
+ `animation`.
169
+
170
+ ## [0.3.0] - 2026-11-10
171
+
172
+ ### Agregado
173
+
174
+ - Contenido de terceros: `package_inspect`, `package_install`, `package_list`,
175
+ `package_uninstall`, `mesh_inspect`, `import_mesh`, `wearable_from_mesh` y
176
+ `wearable_adjust`. Nueva skill `third-party-assets`.
177
+
178
+ ## [0.2.0] - 2026-11-10
179
+
180
+ ### Agregado
181
+
182
+ - Personajes (figuras, morphs, ropa con `wearable_fit`, cabello, poses,
183
+ huesos) y herramientas de render con Iray. Nuevas skills `characters` y
184
+ `rendering`.
185
+
186
+ ## [0.1.0] - 2026-11-10
187
+
188
+ ### Agregado
189
+
190
+ - Primer servidor MCP, plugin puente, herramientas de escena y los comandos
191
+ `setup`, `install` y `doctor`.
192
+
193
+ [Sin publicar]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v1.0.0...HEAD
194
+ [1.0.0]: https://github.com/MictlanLabs/Daz3D-MCP/releases/tag/v1.0.0
195
+ [0.6.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.5.1...v0.6.0
196
+ [0.5.1]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.5.0...v0.5.1
197
+ [0.5.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.4.0...v0.5.0
198
+ [0.4.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.3.0...v0.4.0
199
+ [0.3.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.2.0...v0.3.0
200
+ [0.2.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.1.0...v0.2.0
201
+ [0.1.0]: https://github.com/MictlanLabs/Daz3D-MCP/releases/tag/v0.1.0
@@ -0,0 +1,187 @@
1
+ # Changelog
2
+
3
+ > [Leer en español](CHANGELOG.es.md)
4
+
5
+ All notable changes to the `daz3d-mcp` Python package (MCP server, DazScript
6
+ library and skills). The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
7
+ and versions follow [Semantic Versioning](https://semver.org/) as described in
8
+ [Versioning](README.md#versioning).
9
+
10
+ The bridge plugin (`bridge/`) has its own version in `bridge/src/version.h`,
11
+ noted below when it changes.
12
+
13
+ ## [Unreleased]
14
+
15
+ ## [1.0.0] - 2026-11-16
16
+
17
+ First public release: on PyPI (`uvx daz3d-mcp`) with the compiled bridge
18
+ plugin on the GitHub release.
19
+
20
+ ### Changed
21
+
22
+ - `setup` asks Windows for administrator rights (a UAC prompt) when the Daz
23
+ Studio plugins folder is protected, instead of failing. `--no-elevate` turns
24
+ this off.
25
+ - `setup` stops with a clear message when Daz Studio is open and would keep
26
+ the old plugin locked, and when the Daz Studio found is 4.24, which has no
27
+ prebuilt plugin.
28
+ - The README (English and Spanish) is written for a first install: requirements,
29
+ install, adding the server by hand to each client, updating, uninstalling and
30
+ troubleshooting. Its links work on PyPI.
31
+ - The package says it runs on Windows only.
32
+
33
+ ## [0.6.0] - 2026-11-16
34
+
35
+ ### Added
36
+
37
+ - `wearable_refit` repairs any clothing from another Genesis generation, not
38
+ only shoes. It reports `rig` (how much of the item hangs from bones the
39
+ figure has) and `shape` (distance to the skin with and without each clone
40
+ shape), with the problems `not_converted` and `other_shape`; `fix=true`
41
+ rebuilds such a piece with Daz's Transfer Utility and the clone of its
42
+ generation, then converts what was fitted to it (belts, zips, buttons).
43
+ New `convert` argument.
44
+ - `wearable_refit(item=<figure>)` checks, or with `fix=true` repairs,
45
+ everything a figure wears.
46
+ - `wearable_refit` reports `below_floor` for a sole under the floor, and
47
+ `feet.*.heel_minus_toe_cm`.
48
+ - `daz_dialog` reports `more_dialogs` when Daz opens another dialog right after
49
+ the stopped call finishes (Auto-Fit asks once for each piece of an outfit).
50
+
51
+ ### Fixed
52
+
53
+ - Items of an outfit whose Auto-Fit dialog was never answered stayed with the
54
+ other generation's bones and shape (a Genesis 9 overall on Genesis 8 kept
55
+ its arms down and did not follow the pose). They are now found and rebuilt.
56
+ - Boots with a thick sole and no modeled insole were reported as
57
+ `foot_floating`; an even gap is now a note.
58
+ - Camera framing assumed the 36 mm frame spans the picture's width; Daz Studio
59
+ spreads it over the height. `render_cull` dropped things at the sides of a
60
+ wide picture that were in view (a figure's eyelashes and gloves at the edge
61
+ of a two shot), `camera_shot` framed 1.8 times wider than asked on 16:9
62
+ pictures, and `camera_create(frame=...)` left extra room. Close-ups are now
63
+ as tight as their shot names say, and `extreme_close_up` keeps the mouth in
64
+ the picture.
65
+ - `wearable_refit` measured feet against an item fitted to another item; it
66
+ now uses the figure that wears it.
67
+
68
+ ## [0.5.1] - 2026-11-15
69
+
70
+ ### Added
71
+
72
+ - `render_settings(exposure=...)` sets the Iray Exposure Value; the result
73
+ reports `exposure` (EV, shutter speed, f-stop, ISO).
74
+ - `camera_shot(avoid_walls=true)`: walls and other props between the face and
75
+ the camera are found by themselves (`wall`, `wall_cm`, `pulled_in_cm`).
76
+ - `package_inspect` and `package_install` report `requires`: products a package
77
+ needs that are not installed.
78
+
79
+ ### Fixed
80
+
81
+ - `light_create` made spot and point lights with Photometric Mode off, so Iray
82
+ ignored their lumens. They are now made like Daz's Create menu makes them,
83
+ and `light_set(power=...)` turns the mode on for an older light.
84
+ - Setting "Exposure Value" by script did not change the render: Iray uses the
85
+ shutter speed, f-stop and ISO. The value is now turned into a shutter speed,
86
+ and changing those three keeps Exposure Value in step.
87
+ - `import_mesh(room=true)` took the largest level surface for the floor, which
88
+ in a building with a flat roof is the roof (the Wild West Saloon sank
89
+ 6.9 m). The floor is now the largest level surface with something over it
90
+ and room to stand on it (of storeys about as big, the lowest), at the height
91
+ most of it is at. The saloon now stands on its ground floor boards.
92
+ - `camera_shot` put the camera outside or behind the walls of a small room
93
+ unless `max_distance` was given by hand. It now comes in front of the wall
94
+ with a shorter lens that keeps the framing, and warns below 14 mm.
95
+ - `package_install` gave no warning when a package needs a base figure (e.g.
96
+ Genesis 8.1 Female), the product a morph pack is for, or a body morph pack
97
+ its presets dial (e.g. Vlad Gens, Breastacular).
98
+ - `package_inspect` could fail on Windows on packages with a nested .zip,
99
+ while removing its temporary folder.
100
+
101
+ ## [0.5.0] - 2026-11-15
102
+
103
+ ### Added
104
+
105
+ - Furniture poses: `prop_surfaces` measures where a chair, sofa or bed can be
106
+ sat or lain on, `place_on` puts a posed figure on it and `fit_check` reports
107
+ body parts that float or pass through it; joint limits and landmarks in
108
+ `figure_info`. New `furniture-poses` skill.
109
+ - Faces: `face_expression` (named expressions), `eyes_look_at` and `eye_color`.
110
+ New `faces` skill.
111
+ - Dialogue scenes: `camera_shot` frames close-ups, over-the-shoulder and two
112
+ shots that respect the 180-degree rule, and `render_shots` renders a
113
+ conversation one image per line. New `dialogue-scenes` skill.
114
+ - Daz Studio dialogs: `daz_dialog` reads and answers pop-up dialogs that stop a
115
+ call (`dialog_open`), with preset rules and overwrite prompts handled; the
116
+ call resumes once the dialog is answered.
117
+ - `render_animation`: renders timeline frames with Iray, resumes partial runs
118
+ and encodes MP4 or GIF with ffmpeg; `render` can render a single frame.
119
+ - `render_cull` leaves out of the render what the camera cannot see (out of the
120
+ picture, behind it, clothing under other clothing) while keeping what lights
121
+ the scene; `render`, `render_shots` and `render_animation` take `cull=true`.
122
+ New `render-culling` skill.
123
+ - `wearable_refit` checks and repairs clothing and shoes fitted from another
124
+ Genesis generation (G8/G8.1 on G9 and the reverse). New
125
+ `cross-generation-clothing` skill.
126
+ - This changelog; the package version now lives only in `pyproject.toml`.
127
+
128
+ ### Fixed
129
+
130
+ - Tools tested against a real Daz Studio 6 for the first time.
131
+ - Animation retargeting from Daz-exported FBX (rotation order, clamped dials,
132
+ FBX transforms and placement).
133
+ - Windows plugin loading on Daz Studio 6.
134
+ - `mesh_inspect` and `import_mesh` with Blender FBX scenery: sizes are read as
135
+ Daz will import them (`bbox_cm`), a `suggested_scale` is given when the size
136
+ is not believable, camera, light and empty nodes are left out, and
137
+ see-through surfaces become Iray glass.
138
+ - `eyes_look_at` aims better near the eye joint limits; `content_load` handles
139
+ deferred Daz dialogs before returning.
140
+ - `render_animation` no longer hangs when ffmpeg waits for console input.
141
+
142
+ ### Changed
143
+
144
+ - README: marked as early-stage, Windows only, and documented that Iray needs an
145
+ NVIDIA GPU.
146
+ - Bridge plugin 0.2.0 (dialog handling). Rebuild it to use `daz_dialog`.
147
+
148
+ ## [0.4.0] - 2026-11-10
149
+
150
+ ### Added
151
+
152
+ - Animation: keyframes (`anim_keys_set`, `anim_keys_get`, `anim_keys_delete`,
153
+ `anim_key_pose`), timeline, built-in and saved presets, Mixamo FBX and BVH
154
+ import onto Genesis figures, retiming, offsets, foot contact and previews.
155
+ New `animation` skill.
156
+
157
+ ## [0.3.0] - 2026-11-10
158
+
159
+ ### Added
160
+
161
+ - Third-party assets: `package_inspect`, `package_install`, `package_list`,
162
+ `package_uninstall`, `mesh_inspect`, `import_mesh`, `wearable_from_mesh` and
163
+ `wearable_adjust`. New `third-party-assets` skill.
164
+
165
+ ## [0.2.0] - 2026-11-10
166
+
167
+ ### Added
168
+
169
+ - Characters (figures, morphs, clothing with `wearable_fit`, hair, poses,
170
+ bones) and Iray rendering tools. New `characters` and `rendering` skills.
171
+
172
+ ## [0.1.0] - 2026-11-10
173
+
174
+ ### Added
175
+
176
+ - First MCP server, bridge plugin, scene tools, `setup`, `install` and `doctor`
177
+ commands.
178
+
179
+ [Unreleased]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v1.0.0...HEAD
180
+ [1.0.0]: https://github.com/MictlanLabs/Daz3D-MCP/releases/tag/v1.0.0
181
+ [0.6.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.5.1...v0.6.0
182
+ [0.5.1]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.5.0...v0.5.1
183
+ [0.5.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.4.0...v0.5.0
184
+ [0.4.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.3.0...v0.4.0
185
+ [0.3.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.2.0...v0.3.0
186
+ [0.2.0]: https://github.com/MictlanLabs/Daz3D-MCP/compare/v0.1.0...v0.2.0
187
+ [0.1.0]: https://github.com/MictlanLabs/Daz3D-MCP/releases/tag/v0.1.0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.