4
$\begingroup$

Bug introduced in V10.0 or earlier and persisting through V11.3

CASE:4063244


Arrow @ Tube @ {Dynamic @ pt1, pt2} does not seem to work. I'd expect the opposite since:

Individual coordinates and lists of coordinates in tubes can be Dynamic objects

- ref / Tube / Details and Options / last bullet point

Arrow[Tube[...]] yields a 3D arrow based on a tube.

- ref/ Arrow

Additionally Arrow supports Dynamic coordinates even though it is not explicitly stated in docs.

So why doesn't it work? Is there a workaround?

Manipulate[
 Graphics3D[{
   Orange, Tube[{{0, 0, 0}, {1, 1, Dynamic[x]}}],
   Green, Arrow@Tube[{{0, 0, 0}, {-1, 1, Dynamic[x]}}]
   },
  PlotRange -> 1, Axes -> True, ImageSize -> 500]
 , {x, 0, 1}
 ]

enter image description here

$\endgroup$
  • $\begingroup$ Same story through V10.4-11.3 $\endgroup$ – Kuba May 4 '18 at 8:20
  • 1
    $\begingroup$ works as expected in v9.0 $\endgroup$ – kglr May 4 '18 at 9:59
  • 1
    $\begingroup$ This is already broken in 10.0.2 by the way $\endgroup$ – Lukas Lang May 8 '18 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.