You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/expected_job_bundle/ # Reference job bundle for validation
232
-
asset_references.yaml
233
-
parameter_values.yaml
234
-
template.yaml
235
-
/expected_job_output/
236
-
renders/
237
-
output files
238
-
/scene
239
-
scene.py # Contains test scene generation scripts
240
-
conftest.py # Test configuration and fixtures
241
-
test_cinema4d.py # Runs all the tests scenes in a parametrized fashion.
242
-
</pre>
243
-
244
-
You would have to setup Cinema 4D and Redshift licensing before you run the tests.
245
-
For Cinema 4D licensing, set environment variable by using `$env:g_licenseServerURL = <your-license-server-host>:<port>` on Windows Powershell.
246
-
For redshift licensing, set the environment variable by using `$env:redshift_LICENSE = <port>@<your-license-server-host>` on Windows Powershell.
247
-
Or
248
-
You can also run `c4dpy` and `Commandline.exe` separately and set the license information there.
249
-
1. Set the environment variable `C4D_LOCATION` to the installation folder of Cinema 4D.
250
-
1.`set C4D_LOCATION=<Cinema 4D location>` on Windows Command or `$env:C4D_LOCATION = <Cinema 4D location>` on Windows Powershell.
251
-
1. The default location for `Cinema 4D` on Windows is `C:\Program Files\Maxon Cinema 4D 2026\`. This location would be automatically used if the directory exists.
252
-
2. For running the adaptor tests, we would need to install `pywin32` to the installation paths as its an adaptor dependency.
253
-
254
-
> **Important: Python version must match Cinema 4D's bundled Python.**
255
-
>
256
-
> Cinema 4D 2026 bundles Python 3.11. Your system Python and hatch must also use 3.11 to avoid DLL version conflicts.
257
-
>
258
-
> Using a different version (e.g., 3.13) will cause pywin32 DLLs to be built for the wrong version, resulting in:
259
-
> ```
260
-
> ImportError: Module use of python313.dll conflicts with this version of Python.
261
-
> ```
262
-
>
263
-
> To ensure compatibility:
264
-
> 1. Install Python 3.11 and make it your default (`python --version` should show 3.11.x)
0 commit comments