Questions tagged [graphics3d]

For questions specific to the Graphics3D command and related 3D graphics functionality.

2,235 questions
Filter by
Sorted by
Tagged with
91 views

How can the errors in this Solid Geometry code be corrected?

As shown in the figure, in the cube ABCD-A1B1C1D1, point N lies on BD, point M lies on B1C, and CM = DN. Construct the intersection of plane MNB1 with the cube ABCD-A1B1C1D1 to obtain the cross-...
• 4,703
401 views

How to use Mathematica to plot following helix solid geometry?

So, can you provide a method to plot this geometry in mathematica? It is soild instead of a surface. I need it to be printed out from mathematica as stl. document. I have tried with Code "...
• 41
1 vote
204 views

How to output the number of polygons in each face of a classic flat body?

For example:A Cuboctahedron is a polyhedron with 14 faces: 8 triangular faces and 6 square faces. It is one of the Archimedean solids and can be constructed by truncating either a cube or an ...
• 4,703
158 views

How to draw an Archimedean solid that meets certain conditions?

The "Archimedean solid" is also known as a semi-regular solid, which is formed by combining different regular polygons with unequal numbers of sides. As shown in the figure, if we cut off an ...
• 4,703
66 views

Not able to plot embedding diagram of wormhole

I'm trying to reproduce the embedding diagram of the wormhole given in Fig. 3 and Fig. 4 in the article https://arxiv.org/pdf/2407.05111. I'm having trouble numerically integrating and reproducing the ...
27 views

How to combine a Plot3D object and a Graphics3D object without having Mathematica recalculate the Box?

As the title says, I would like to combine a Plot3D object with a Graphics3D object. However, it seems that ...
30 views

Square3D Graphics Object

I wonder why there is no generalization of objects like Rectangle to Graphics3D included in the software. Does anybody know the ...
• 45
1 vote
121 views

Graphic3D with Specularity and Glow

I am new to Mathematica, and I am currently using it to plot 3D figures. My problem is when I use Graphic3D with Specularity and ...
• 13
1 vote
89 views

Mesh on Cuboid[]

g = Graphics3D[Cuboid[{0, 0, 0}, {3, 2, 1}]] How do I draw mesh lines on this cuboid? In my application this is a 3x2x1 cuboid, made up of six cubes (each 1x1x1, of course). Can I easily draw lines on ...
1 vote
69 views

How to project an intersection shape in a 3D set of surfaces

I need to get a intersection curve on the bottom of the 3D shape generated below: ...
• 498
84 views

No Color when using Directive (or List) in ColorFunction in 14.0 on Linux

Bug introduced in 14.0 and fixed in 14.1 Switching to Version 14.0 (Linux), I noticed that Directive behaves unexpectedly when used inside ColorFunction for 3D ...
352 views

Reproducing Ruth Vollmer's acrylic Steiner surface

I recently discovered a very beautiful Steiner surface which is owned by the Whitney Museum of American Art in New York City. It was created in 1970 by Ruth Landshoff Vollmer (1903 - 1982), a German-...
• 82.3k
166 views

Extending DiscretizeRegion from 2D to 3D [duplicate]

I am trying to construct some 3D printable parts using discretized regions, and am curious if there is a good means to transform a well-designed 2D region into a corresponding 3D region extended ...
• 1,187
225 views

While adding shadows to the spiric sections of a torus using the The answer to the question given by Daniel Huber, I faced a problem. Instead of being well separated as previously, the sections ...
• 2,664
1 vote
139 views

Plotting of Lorenz and Bonferroni graphs

enter image description hereHow to draw the Lorenz (𝐿𝐹 (𝑡)) and Bonferroni (𝐵𝐹 (𝑡)) curves for the given distribution with 3D version with interpretation with varying parameters, and when the ...
• 11
1 vote
61 views

Any other 3d plot marker except sphere for ListLinePlot3D?

Here is one sample Mathematica code: ...
• 2,447
1 vote
70 views

Straightening out rumpled striped bedsheets

I was motivated to investigate this from an seeing a Greg's Hurst answer for a different question. I was curious how to find out what the sheet would look like when flattened with proper size and all ...
• 114
682 views

Ray tracing working in Mac, but not on Windows

Here is a working Mathematica code for a 3d plot: ...
• 2,447
228 views

Blurry shadows of 3D plots and objects

I am using a shadow function, planarShadow, as shared by Prof. Jens Nöckel on Shadows of 3D plots and objects This function works perfectly while making sharp ...
• 2,664
328 views

How to plot mutiple spiric sections of a torus in a single plot?

Spiric Sections are the cross-sections of a circular torus (radius $a$) cut by a plane parallel to its axis. It has been extensively discussed in the wikipedia page. I want to show the cross-...
• 2,664
140 views

How to draw the boundary line of intersecting region of a ContourPlot3D and a Graphics3D?

I have mathematical expressions of a cylinder (oriented along the x-axis) and a parabola. And I can easily plot both the surfaces using ContourPlot3D as shown below. ...
• 187
314 views

How to change the axis orientation of the cylinder in ContourPlot3D?

How to get the axis of the cylinder oriented along the red line shown in the figure below ? Here is my code : ...
• 187
1 vote
134 views

How can I get smooth of this picture?

This is my code. ...
• 4,013
268 views

Extrusion of a parametric surface with different face and boundary colours

Problem statement I want to extrude a parametric surface and colour its front faces, back faces and boundaries differently. Define plot options ...
• 82.3k
246 views

Viewing a 3D object from inside

I have a list of coordinates in 3D all of which lie on the surface of a unit sphere (for all intents and purpose these are just random points on the sphere). I want to view them as from the centre of ...
62 views

When I arrange two 3d-plots using Grid, position of axes-y changes

I want to arrange two 3d-plots, for example Plot3D[{x^2 + y^2, -x^2 - y^2}, {x, -2, 2}, {y, -2, 2}, ColorFunction -> "RustTones"] which gives where ...
• 421
1k views

How to draw such a sphere with mesh

I want to recreate a ball with mesh like this, use different style for the front and back. I tried using MeshShading, but the mesh lines looked too thick, can I ...
• 7,178
223 views

• 4,013
1k views

How can I draw a barrel like this?

I see this picture about Barrel I tried ...
• 4,013
524 views

Expand a 2d curve into a 3d path curve with a fixed axis of rotation?

Given a string of fonts, such as "ABC", give a space line, how to rotate around the line while expanding the string into several curves.
• 165
610 views

How to draw four spheres of equal radius that are tangent to each other pairwise, and additional central sphere that is tangent to all four spheres

How to draw four spheres of equal radius that are tangent to each other pairwise, and an additional central sphere that is tangent to all four spheres？ ...
• 4,703
1k views

How to rotate a triangle to get this picture?

Based on this answer, I am trying to draw the picture b). I tried ...
• 4,013
94 views

How can I get a 3D form when rotate the polygon $ABCD$ around the line $AB$

I have polygon $ABCD$ here $A(1,0)$, $B\left (\dfrac{1}{2},\dfrac{\sqrt{3}}{2}\right)$, $C\left (-\dfrac{1}{2},\dfrac{\sqrt{3}}{2}\right)$, $D(-1,0)$. How can I get a 3D form when rotate the polygon \$...
• 1,203
46 views

How can I get correct dashed line of this Intersection?

This is my code ...
• 4,013
2k views

What are ways to better show depth along a 3D curve?

What are effective techniques for making the depth of a 3D curve clear when it twists and turns, making its depth ambiguous from a static perspective? ...
• 3,716
62 views

Hard time obtaining stream lines for large aspect ratio StreamPlot

I have a solution from a 2D FEM simulation that I want to analyze in detail and StreamPlot would be a good visualization tool for that. I unfortunately fail to ...
• 33
153 views

Conic sections: intersection of a plane and a cone. How can I change the equation of the plane to get conic sections automatically?

I tried to draw intersection of a plane and a cone. Hyperbola ...
• 4,013
1 vote
75 views

How combine two DensityPlot3D in only one graph

I need to combine two DensityPlot3D in only one graph but the "Show" doesn't work for that. ...
86 views

Plot a surface between three intersecting curves using 3D data sets

I would like to plot a surface between the intersecting points of three 3-dimensional curves. The curves are created using ListLinePlot3D, from the following lists: List1: ...
259 views

How can I make an animation when using RevolutionPlot3D?

Let ABCD be a square with AB=2. Rotate the filled ABD (see picture) about ...
• 4,013