Skip to main content
corrected spelling, fixed grammar, improved formatting, improved headline
Source Link
metaphor_set
  • 6.7k
  • 2
  • 23
  • 35

How to add a lineLine between two moving objectObjects with pythonPython?

I'd like to haveadd a line between two moving object wothobjects with python. For example if iI have two cylinders: ...

enter image description here I

I want that light blue line between the two 3D object (it could be a cylinder also). It has tree parts:

  1. and 2. there areis one-one shorter line which comecomes from the side of the cylinders  (not from the top or the bottom), and the other ends which are marked with red arrows, 'point' to the other object. From the top view: enter image description here
  2. the third part is connecting these point. And if i move these objects, or rotate them, i whould like to have the line with the same features: enter image description here I would like to add the line from python. I've tried many things, but couldnt solve the problem yet. Thank you in advance for any help.

From the top view:

enter image description here

  1. The third part is connecting these points. And if I move these objects, or rotate them, I'd like to have the line with the same features:

enter image description here

I would like to add the line with a Python script. I've tried many things, but couldn't solve the problem yet.

add a line between two moving object with python

I'd like to have a line between two moving object woth python. For example if i have two cylinders: enter image description here I want that light blue line between the two 3D object (it could be a cylinder also). It has tree parts:

  1. and 2. there are one-one shorter line which come from the side of the cylinders(not from the top or the bottom), and the other ends which are marked with red arrows, 'point' to the other object. From the top view: enter image description here
  2. the third part is connecting these point. And if i move these objects, or rotate them, i whould like to have the line with the same features: enter image description here I would like to add the line from python. I've tried many things, but couldnt solve the problem yet. Thank you in advance for any help.

How to add a Line between two moving Objects with Python?

I'd like to add a line between two moving objects with python. For example if I have two cylinders...

enter image description here

I want that light blue line between the two 3D object (it could be a cylinder also). It has tree parts:

  1. and 2. there is one shorter line which comes from the side of the cylinders  (not from the top or the bottom), and the other ends which are marked with red arrows, 'point' to the other object.

From the top view:

enter image description here

  1. The third part is connecting these points. And if I move these objects, or rotate them, I'd like to have the line with the same features:

enter image description here

I would like to add the line with a Python script. I've tried many things, but couldn't solve the problem yet.

Source Link
aura
  • 35
  • 5

add a line between two moving object with python

I'd like to have a line between two moving object woth python. For example if i have two cylinders: enter image description here I want that light blue line between the two 3D object (it could be a cylinder also). It has tree parts:

  1. and 2. there are one-one shorter line which come from the side of the cylinders(not from the top or the bottom), and the other ends which are marked with red arrows, 'point' to the other object. From the top view: enter image description here
  2. the third part is connecting these point. And if i move these objects, or rotate them, i whould like to have the line with the same features: enter image description here I would like to add the line from python. I've tried many things, but couldnt solve the problem yet. Thank you in advance for any help.