This is what I did:
In the preferences-render screen I placed to the blender.exe path (I see that there is an automatic parameter: --samples 100).
Opened an existing file
Opened the Render WB
Added a cycles rendering project to the part
Selected the body in the part and added it as a rendering view
Selected the project and pressed "render"
Looks like it invokes blender but no rendering is performed and I get the following:
Code: Select all
14:31:45 Starting rendering...
C:/Program Files/Blender Foundation/Blender 3.1/blender.exe --samples 100 --output C:/Users/xxxxx/AppData/Local/Temp/FreeCAD/Cache/FreeCAD_Doc_8715008f-5e28-4e3a-98aa-b94787b62fc3_642215_15564/Projectmqizw9bh.png --width 800 --height 600 "C:/Users/xxxxx/AppData/Local/Temp/FreeCAD/Cache/FreeCAD_Doc_8715008f-5e28-4e3a-98aa-b94787b62fc3_642215_15564/Projectmqizw9bh.xml"
14:31:46 unknown argument, loading as file: --samples
14:31:46 Read prefs: C:\Users\xxxxx\AppData\Roaming\Blender Foundation\Blender\3.1\config\userpref.blend
14:31:46 Error: Cannot read file 'C:\Program Files\FreeCAD 0.20\bin\--samples': No such file or directory
14:31:47 Error: argument has no '.blend' file extension, not using as new file, exiting! C:\Program Files\FreeCAD 0.20\bin\--samples
14:31:47 Saved session recovery to 'C:\Users\xxxxx\AppData\Local\Temp\quit.blend'
14:31:47
14:31:47 Blender quit
14:31:47 Exiting rendering - Return code: 1