clj-python-trampoline icon indicating copy to clipboard operation
clj-python-trampoline copied to clipboard

I managed to execute it on Mac. Can I suggest a few things?

Open PlumpMath opened this issue 4 years ago • 4 comments
trafficstars

Thank you so much for making this., @tristanstraub

I had a hard time installing javabridge. My Mac used python-javabridge 4.0.3 instead of the javabridge package. https://github.com/CellProfiler/python-javabridge

Later, I would like to learn how to make a plug-in with clojure using this you made. However, I have to study more because I'm still a blender beginner.) https://github.com/tristanstraub/blender-clj-addon

So one suggestion is, is there an example code that can immediately test coding the blender with cider on now state? I don't have to access the blender object yet(because I'm not ready), but I'm excited this.;; so I just want simple variable values or simple function call information defined on the blender side to be caught on the blender interpreter side. Please let me know if you have any tips like that.

The second suggestion is, If you use the latest version of libpython-clj, it would be more better. Thanks!

PlumpMath avatar Jul 04 '21 11:07 PlumpMath

The first question is my miss. I'm gonna have to run some more play your code after and ask you a question.

PlumpMath avatar Jul 04 '21 22:07 PlumpMath

Hi PlumpMath,

sorry for the late reply. Life has gotten in the way. Thanks so much for your thoughts. I have been meaning to use the latest libpython-clj but haven't found the time.

For now, I can just say this demonstrates the viability of using clojure for scripting blender, but I can't take it any further right now because of my limited time. If you are brave, you could try to get the newest libpython-clj working with blender. I did try it very briefly but my code started breaking immediately, which is definately my fault.

tristanstraub avatar Aug 14 '21 00:08 tristanstraub

The comment about which javabridge you used on mac is a great little piece of information.

tristanstraub avatar Aug 14 '21 00:08 tristanstraub

https://github.com/clj-python/libpython-clj/issues/188

I put your code in cljbridge.py and I've run it in the latest libpython-clj version.

FreeCAD shares memory between clojure n python, but can't access FreeCAD API, Conversely, UPBGE & Blender can't share memory, but can access Blender API.

FreeCAD video : https://www.youtube.com/watch?v=IPX9heIwZ_o UPBGE(blender) video : https://www.youtube.com/watch?v=bphlLY7zmX8

PlumpMath avatar Dec 06 '21 18:12 PlumpMath