Mathematica - Lines in 3D figure

Click For Summary
SUMMARY

To create lines in a 3D figure using Mathematica, utilize the graphic primitive "Line," which requires two points as arguments. For the specific task of drawing lines from the corners of a 3D pyramid to a point behind a plane, you will need to define the coordinates of the pyramid's corners and the eye point. Additionally, understanding how to determine the intersection points of these lines with the plane is crucial for visualizing where the lines will hit.

PREREQUISITES
  • Familiarity with Mathematica's graphic primitives
  • Understanding of 3D coordinate systems
  • Knowledge of geometric intersections in 3D space
  • Basic skills in defining points and lines in Mathematica
NEXT STEPS
  • Explore the "Line" function in Mathematica documentation
  • Learn about 3D graphics and plotting in Mathematica
  • Research methods for calculating intersections of lines and planes
  • Investigate how to visualize 3D objects and their projections in Mathematica
USEFUL FOR

Mathematica users, 3D graphic designers, educators teaching geometry, and anyone interested in visualizing geometric relationships in three-dimensional space.

chrismeister
Messages
1
Reaction score
0
Hi!

How do I make a line from a point to another point in Mathmatica, a 3D image?

Also, if you got any tips on how to do this:
I have a 3D pyramid and a plane("a window"). Behind the plane there is a point "An eye looking at the pyramid". I need a line from every corner of the pyramid, to go to this point behind the plane, and explain where in the plane the the lines will hit.

Any tips will be of help!

PS: Sorry for my bad English
 
Physics news on Phys.org
Hi chrismeister, welcome to PF

There is a graphic primitive "Line", which accepts two points as arguments. Unfortunately, I cannot be more specific right now (my computer with Mathematica is down), but look up the help topic on "Line" and it should get you started.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
7K
Replies
3
Views
2K
Replies
16
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K