Properties
Similar Topics
Statistics
Comments
4
Participants
3
Subscribers
28
Votes
1
Views
694
Share
Translate plane between two points
Answered
What is the syntax for translating a parallel plane with xOy between two points zaxis with the mouse?
For translations without limits I use Translate (xOyPlane, Vector ((0, 0, 0.12)))
and I can translate the parallel plane with xOy with mouse.
I don't want to use a point on the z axis .....
Files:
translate.ggb
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2020 International GeoGebra Institute
Hi,
with a GGBscript (on update A) :
If[z(A)<0.5, Execute[ {" xOyPlane': Translate(xOyPlane, Vector((0, 0, 0.5))) "} ] ]
If[z(A)>1.5, Execute[ {" xOyPlane': Translate(xOyPlane, Vector((0, 0, 1.5))) "} ] ]
with point A :
A = PointIn(xOyPlane')
...
Hi,
with a GGBscript (on update A) :
If[z(A)<0.5, Execute[ {" xOyPlane': Translate(xOyPlane, Vector((0, 0, 0.5))) "} ] ]
If[z(A)>1.5, Execute[ {" xOyPlane': Translate(xOyPlane, Vector((0, 0, 1.5))) "} ] ]
with point A :
A = PointIn(xOyPlane')
...
Merci beaucoup Patrick ! C'est une excellente idée / solution !
Comments have been locked on this page!