Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a precompiled version of luxcore #108

Closed
wants to merge 7 commits into from

Conversation

rostskadat
Copy link

@rostskadat rostskadat commented Jan 3, 2024

Description

This PR aims to include a pre-compiled version of the LuxCoreRender into the FreeCAD snap.
It comes as a workaround for #104

Limitations

Screenshots

Screenshot from 2024-01-02 20-24-11
Screenshot from 2024-01-05 11-56-10

@rostskadat
Copy link
Author

This PR is not actually necessary. Here is the workaround I found:

Workaround

  1. Download the latest release from LuxCoreRender/LuxCore (currently v2.6)
  2. Extract into your $FREECAD_USER_HOME
  3. In the bin directory create the following script and save it as luxcoreconsole.sh
#!/usr/bin/env sh

LUXCORE_BIN=$(readlink -f $(dirname $0))
LUXCORE_LIB=$(readlink -f $(dirname $0)/../lib)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LUXCORE_LIB
$LUXCORE_BIN/luxcoreconsole "$@"
  1. Then in your preferences make sure to point to the correct path
    image

  2. Then in your rendering project make sure to set Batch Mode to True

Limitations

It does not work in GUI mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant