Render workbench on MacOS

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Brutha
Posts: 189
Joined: Mon May 04, 2015 1:50 pm

Render workbench on MacOS

Postby Brutha » Sat Feb 13, 2021 9:27 am

Hi All,

Has anyone had any success using the new render workbench on MacOS? I cannot seem to get any of the renderers working (macOS Catalina 10.15.7). I get the following:

- Appleseed continually asks permission to run libraries - you allow it and try again, and then it asks for another file, and finally says some files are damaged and won't open!

- I cannot compile the standalone Cycles renderer using their instructions - finally I get to:

Code: Select all

/Documents/cycles/src/render/colorspace.cpp:207:16: error: no member named 'applyRGB' in
      'OpenColorIO_v2_0::Processor'
- LuxCoreRender - I can run the app itself, but when I try rendering from FreeCAD I get the following. I am not sure what to select as the "CLI" file - either the app or something from the pyluxcore folder - there doesn't seem to be anything obvious. Either way I see:

Code: Select all

08:57:47  /Applications/LuxCore.app  -o "/var/folders/gc/kz6fvh1x6llcyhykn455_cjr0000gn/T/LuxcoreProjectkwv1z69b.cfg" -f "/var/folders/gc/kz6fvh1x6llcyhykn455_cjr0000gn/T/LuxcoreProject2c5ssfpe.scn"
08:57:47  LuxCore call failed: 'Permission denied'
- I tried a command line version of POVray from here http://megapov.inetart.net/povrayunoffi ... alpov.html. I get the following result in FreeCAD:

Code: Select all

09:18:16  Renderer command: /Applications/PovrayCommandLineMacV2/Povray37UnofficialMacCmd +P +A +W800 +H600 +O/var/folders/gc/kz6fvh1x6llcyhykn455_cjr0000gn/T/FreeCAD_Doc_2904492f-5719-4fc2-85ee-2d89a6ed1904_da39a3_41133/PovrayProject8b3kzgz_.png /var/folders/gc/kz6fvh1x6llcyhykn455_cjr0000gn/T/FreeCAD_Doc_2904492f-5719-4fc2-85ee-2d89a6ed1904_da39a3_41133/PovrayProject8b3kzgz_.pov
09:18:16  Running the Python command 'Render' failed:
Traceback (most recent call last):
  File "/Users/me/Library/Preferences/FreeCAD/Mod/Render/Render.py", line 1031, in Activated
    project.Proxy.render()
  File "/Users/me/Library/Preferences/FreeCAD/Mod/Render/Render.py", line 581, in render
    ImageGui.open(img)

Could not load image file
Of course, I guess none of the above are actually directly related to the workbench itself - but would be interested if anyone has seen the same and managed to get further!

Thanks,

Brutha

Code: Select all

OS: macOS 10.15
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23756 (Git)
Build type: Release
Branch: master
Hash: 9c6e9184930a52b165a0b7274e3a45d1006bfe67
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
vectronic
Posts: 45
Joined: Sun Feb 18, 2018 9:44 pm

Re: Render workbench on MacOS

Postby vectronic » Mon Feb 15, 2021 5:51 pm

Hello,

I have just finished a write up of getting the render workbench working with cycles under macOS Big Sur.

Hopefully this might help you. I had the same issue you mentioned with cycles compilation. It is due to the fact that 2 days ago, the libs repository in SVN was updated to use a newer version of a dependency.

Anyhow... have a read here and I hope it helps:

https://vectronic.io/posts/building-fre ... s-big-sur/

Nick
Brutha
Posts: 189
Joined: Mon May 04, 2015 1:50 pm

Re: Render workbench on MacOS

Postby Brutha » Fri Feb 19, 2021 10:00 am

Thanks @vectronic!

Sorry for the delay in replying, the day job got in the way for a bit there....

Yep, that was very helpful indeed, I was able to compile Cycles and I can now generate renders! Now I need to figure out how to save images where I want, and how to work with materials....

Cheers!

Brutha
vectronic
Posts: 45
Joined: Sun Feb 18, 2018 9:44 pm

Re: Render workbench on MacOS

Postby vectronic » Fri Feb 19, 2021 10:05 am

Good to hear. Sounds like we’re now in the same place with materials :-)