Combine PY4D & other languages (Processing)?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/02/2011 at 09:23, xxxxxxxx wrote:
Hello again,
seems like I'm the most active asking person here.
Well of course all you pros do not need to put questions.Anyway here is my question:
Is it possible to integrate a language called "Processing" into Py4D somehow ?
Processing is to generate fractals, and crazy things with a syntax that is >95% like Java.
So therefore I stumpled upon Jython that combines the power of them both.
But unfortunately I need it in py4d and not somewhere external.Of course the functions are simple, but to translate it into Py4D will can become very frustrating.
For example if you want to read the y-mouseposition, you just call mouseY in Processing but there is no easy equivalent in PY4D for such a simple event.
Importing _tkinter doesn't work as well.Maybe someone did something like this before or found a link in the web.
Thank u for ur time
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/02/2011 at 13:24, xxxxxxxx wrote:
Hi, do you use Python in R12?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/02/2011 at 13:31, xxxxxxxx wrote:
Hi,
if you find a module for (C)Python, you can extend Python in R12 with these module. Tkinter is not shipped with C4D because C4D has its own GUI system and mixing different GUIs is absolutely not recommended.
What are you trying to achieve, maybe we can find a similar function in the c4d.* module.
Cheers, Seb
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/02/2011 at 13:32, xxxxxxxx wrote:
Hi s_rath,
yes that is the one I want to focus on.
But if there is a way that only works in the old py4d inΒ R11.5 I'm going to live and work in year 2010 ( at least my pc should think so )
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/02/2011 at 14:03, xxxxxxxx wrote:
I'm going to live and work in year 2010
Good old timesMy previous answer is the same for Py4D(R11.5).
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/02/2011 at 07:18, xxxxxxxx wrote:
Well Processing very often uses the mouse x and mouse y position to control the sketch.
That feature is missing for example.Okay with creating two user data sliders this is problem is not a big deal.
What about creating a "freehand" spline with some vector points as an input, is something like that possible ?
If there is any chance to do so it would be great to get direct access to the Processing core (but it is written in a syntax that is 95% like Java).
How about creating something like that:
http://www.generative-gestaltung.de/M_1\_6_01_TOOL
in Cinema4D with the help of Py4D?