Skip to content

Transform two functions into one, Review #1784

Answered by behackl
erwindenboer asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! As for your first question, you could do something like Transform(VGroup(cos_func, sin_func_1), cos_sin_func_1), which is a bit cleaner because you don't end up with two copies of cos_sin_func_1 in your scene. (But that's a technical detail and shouldn't matter much in practice.)

And as for your second question: What output do you expect to get from sin_func_1 * cos_func + cos_func? The graph corresponding to the function that is obtained by multiplying/adding the respective functions? Direct operations on the FunctionGraphs are currently not supported, as you have already found out.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@erwindenboer
Comment options

Comment options

You must be logged in to vote
5 replies
@erwindenboer
Comment options

@behackl
Comment options

@erwindenboer
Comment options

@behackl
Comment options

@erwindenboer
Comment options

Answer selected by behackl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1781 on July 09, 2021 16:04.