change position and orientation of clipping planesin terminal

Asked by Alexander Eulitz [Eugen]

Hi there,
how can I change the position and orientation of clipping planes in terminal?
I tried something like this:
renderer=qt.Renderer()
renderer.clipPlaneSe3[0][0][0]=1.0
# renderer.clipPlaneSe3[0] -> first clipping plane
# renderer.clipPlaneSe3[0][0] -> position Vector
# renderer.clipPlaneSe3[0][0][0] -> x-coordinate of position vector
# after changing the x-coord to 1.0 nothing happens:
# print renderer.clipPlaneSe3[0][0][0] gives "0"

Thanks for your help!
Alex

Question information

Language:
English Edit question
Status:
Expired
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Jan Stránský (honzik) said :
#2

Hi Alexander,
have you tried to set the whole object,
renderer.clipPlaneSe3=[(pos,ori),(pos,ori),(pos,ori)]
?
cheers
Jan

Revision history for this message
Alexander Eulitz [Eugen] (kubeu) said :
#3

Hi Jan,
this seems to be working. Thank you!
regards
Alex

-----Ursprüngliche Nachricht-----
Von: <email address hidden> [mailto:<email address hidden>] Im Auftrag von Jan Stránský
Gesendet: Samstag, 21. Januar 2017 22:18
An: Eulitz, Alexander
Betreff: Re: [Question #431222]: change position and orientation of clipping planesin terminal

Your question #431222 on Yade changed:
https://answers.launchpad.net/yade/+question/431222

Jan Stránský posted a new comment:
Hi Alexander,
have you tried to set the whole object,
renderer.clipPlaneSe3=[(pos,ori),(pos,ori),(pos,ori)]
?
cheers
Jan

--
You received this question notification because you asked the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.