Questions tagged [graphics3d]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
26 views

How to turn three two-dimensional plots into one 3D-plot

I am trying to make a complex function grapher (code below), and have made real and imaginary output 3d graphs, and have created functions to "slice" the graph into two dimensional contour ...
1
vote
1answer
31 views

How to add noise to these random straight lines in 3D?

Here's a code that draws a pack of random straight lines in 3D: ...
6
votes
2answers
188 views

How to generate randomly curved and twisted strings in 3D?

Here's a code that draws a set of random straight lines in 3D: ...
0
votes
1answer
123 views

Plot a bezier triangle

I have to construct a bezier triangle that interpolates these 4 points: $\qquad (0,0,1),\,(1,0,0),\,(0,1,0),\,(0.5,0.5,0.75)$ However, the surface that I get is so weird. Anyone please can help me to ...
9
votes
5answers
392 views

Construct a polyhedron from the coordinates of its vertices and calculate the area of each face

I have the 3D coordinates for a set of points. I want to construct the convex polyhedron with those points as vertices. I know I can use functions like DelaunayMesh ...
3
votes
1answer
86 views

Export high resolution 3D graphics

There is a code for a revolution of Koch Snowflake I just want to export it as an obj file (or any other 3D format) ...
1
vote
1answer
40 views

VectorPlot and VectorPlot3D showing blank output

I am trying to plot the following simple vector field $$\sqrt{4-x^2-y^2-z^2}*(y,-x,0)$$ but when I plug this field into the functions VectorPlot and ...
4
votes
2answers
187 views

Making a 3D-solid from RevolutionAxis

I have the following 3D-model: RevolutionPlot3D[Sqrt[E^-x (1 + E^x)^2], {x, 0, 4}, RevolutionAxis -> {1, 0, 0}] Is there a way to make this model into a solid ...
2
votes
1answer
33 views

Colorfunction in DensityPlot3D not acting as expect

Im trying to set the color function of a DensityPlot3D output so that it colors the positive values one color and colors the negative values a different color. ...
0
votes
2answers
98 views

Plot a wave on a surface

Say I'm plotting a 3d-ring with ...
10
votes
4answers
434 views

MoleculePlot3D - how to replace spheres?

How to replace the spheres in the plot with other 3d figures, say "N" with a Cylinder, "O" with a Cuboid, and "H" with a sphere. ...
2
votes
2answers
140 views

Cross-section parts of a Cube and show results graphically

I am trying to visualize a 3D section of a chopped up 1x1x1 Cube. I don't want to use the Cube[] function to draw this. (unless you think you can still accomplish it that way). Ok, so say you have a ...
0
votes
1answer
32 views

ListPointPlot3D + Grid

I have to plot some points in the 3d space. This is the code I use ...
5
votes
2answers
139 views

How to create a 3D plot with inclined axes?

I want to create a 3D plot with inclined axes. For example, I want to change angle between x and y. ...
3
votes
5answers
151 views

Sphere[] mesh/wireframe using Graphics3D

When using ParametricPlot3D to plot a sphere, we get a nice mesh / wireframe for it: ...
2
votes
0answers
42 views

3D graphics are not rendering properly

I have noticed that on my installation of Mathematica 12.1 on Fedora 31 3D graphics do not render properly. Whenever opacity is specified for an object it disappears altogether (it is a rendering ...
2
votes
2answers
127 views

Get 3D surface grown by constant distance

There is a nice example of how to generate an isometric visualisation of surfaces which are at a constant distance from a given region. All these examples are just working on one single region. If one ...
1
vote
1answer
41 views

Controlling Graphics3D aspect ratio when ViewMatrix is explicitly defined

My goal here is to visualize 3D data using an oblique cabinet projection. I would like to be able to adjust the "depth" or spacing of the Z-axis, maintain a golden ratio between the X and Y ...
1
vote
1answer
25 views

Plotting 3D region depending on 2 parameters with constraints

I'm trying to plot the full range that a set of estimates gives. They depend on some parameters and conditions, but I haven't been able to to it effectively with RegionPlot3D. Here is the set that I ...
0
votes
0answers
35 views

Find the pixel values for the surface of a 3D image

I would like to find the pixel values for the surface of a 3D image Say a sphere Graphics3D[Sphere[]] I think ImageData[] should ...
1
vote
1answer
56 views

Rotating 3D graphics inside Show separately by clicking and dragging

Is there a way how to rotate by clicking and dragging just one of the 3D graphics inside Show? For example rotating the cube without rotating the tetrahedron in this code: ...
2
votes
1answer
37 views

CountourPlot3D problem when intersecting semiplanes

I have the following code: ...
0
votes
3answers
74 views

3D Figure with Cylinders and Spheres

I would like to draw a figure in 3D where I have a large cylinder inside which there are: a) smaller cylinders parallel to the larger cylinder that contains them, like in the image below (taken from: ...
0
votes
0answers
42 views

3D plot of a tensor

How to plot a tensor in three dimensions. For example, let us take a dielectric constant tensor of rank two. ...
4
votes
2answers
279 views

Using fewer mesh lines, 3D graphics

I want to make the Final use fewer mesh lines, the ideal version will look like the second image. Where the triangle shape is more clear and clean. Can anyone give me some advice on how to fix my code?...
2
votes
2answers
67 views

Overlay Graph3D with Graphics, with aligned coordinates

I have a Graph3D object representing a 3D lattice path ...
0
votes
0answers
30 views

detailed explanation of a sherical gyroid code and how to modify the code to obtain different pores sizes and numbers

***I have the code of a spherical gyroid below which I have used to print a 3D object sphere. i will need a detailed explanation of all the terms starting from a = 3 pi till mesh. moreover i printed ...
1
vote
1answer
64 views

Geometry3D objects as functions of parameters

I want to make a simulation of a rigid body with mathematica, but I want to use a Geometry3D object instead of a Graphics3D primitive. Mainly I don't know how to rotate the 3D model, I know how to do ...
4
votes
2answers
213 views

How to get colors at points in Graphics3D?

To get the color at a 2D point in Graphics you can Rasterize it and look up the pixel value, but not for ...
-3
votes
2answers
182 views

How would I go about creating a tear drop shape of cubes in mathematica? [closed]

I am just practicing making some new designs with Mathematica and I thought of this recently. I want to make a tear drop shape (doesn't matter the orientation) constructed of mini cubes. I am ...
0
votes
0answers
45 views

Intersection Region of two Conic Hull

I have the following semi-infinite conic hull, r1=ConicHullRegion[{{0,0,0}},{{-1,0,0},{0,-1,0},{1,0,1}}]; r2=ConicHullRegion[{{0,0,0}},{{-1,0,0},{0,-1,0},{0,1,1}}]; ...
2
votes
1answer
50 views

Rescale Graphics3D Based on Box Ratios

If I plot a sphere using Graphics3D with BoxRatios->1, then I get a nice looking plot: ...
6
votes
2answers
172 views

Converting a 2d surface into a 3d volume

I have a 2d surface shown in the image below using ListPlot3D[]: It is generated with one line of code: ...
0
votes
1answer
65 views

How can one get an edge/border on a sphere/point in 3D scatter plots

I want to get a point or the Sphere[] Graphics3D object to have a border or edge in a 3D scatter plot. The EdgeForm[] directives seem to apply only to polygon objects. The effect I am trying to get is ...
1
vote
2answers
76 views
1
vote
1answer
62 views

Coloring Graphics3D as a Function of Spatial Coordinates

I would like to plot a Graphics3D object colored based on the value of some spatial function. For example to plot a triangle colored by the function ...
1
vote
1answer
107 views

Ridges on Breather surface

BreatherSurface is given in Mathematica code. Taking clue from this view or otherwise how to obtain table of $ (u,v,x,y,z) $ points and its plot of any one single ridge where the cusps have infinite ...
0
votes
0answers
41 views

Coloring of polyhedron faces [duplicate]

I just got a new MacOS laptop, and the following has changed. When I look at a polyhedron, it displays like this: However, when I touch it with the mouse to rotate, or save it to PDF, it looks like ...
2
votes
1answer
66 views

Cannot 3D print prisms and ellipsoids

I get errors if I try to Printout3D[ ] or Export[ ] to an .stl file an object containing ...
1
vote
2answers
75 views

How can I plot Sinc function and avoid their auto-replicas?

The problem is to plot the 3D Sinc function, but I cannot avoid the self-projection. I use the following code: ...
2
votes
3answers
94 views

3D plot of Intersection of sphere with plane (basic)

I should be able to get this from the answer here - but, with apologies, I'm afraid I can't figure it out. I have a sphere and a plane as follows: ...
6
votes
1answer
46 views

Ellipsoid in GraphicsComplex

I am trying to use Ellipsoid in a GraphicsComplex and I am stuck. My understanding of ...
5
votes
1answer
214 views

Building large chemical models such as VANTAblack

I would like to build a (large) molecular model of the nanotubes that make up VANTAblack, which consists of a sheet of hexagonally connected carbon atoms all rolled into a (teeny) tube. I can easily ...
2
votes
2answers
79 views

Exporting several prisms (or Polyhedrons) to stl (with filled inner space)

I want to export hundreds of prisms to stl. And for this stl file to be 3D printable, its inner space must be filled. I've tried two approaches to solve this problem. (just two prisms for a brief ...
0
votes
1answer
62 views

RegionIntersection fails with Lines in 3D

I have 2 intersecting Lines emerging from the same point and I want to fined the point of intersection. The function RegionIntersection found the origin point but failed to find the intersection. What ...
0
votes
2answers
43 views

Problem with scaling in ParametricPlot3D

I have an integral given by intS[zs,c] and I want to plot the expression functionS (which contains ...
2
votes
1answer
51 views

Coloring lines as a function of coordinates

I want to colorize lines as a function of coordinates in 3D. Here is my code. In this graphic I used one color. My aim is using a color function based on 3d coordinates. ...
1
vote
1answer
120 views

Checking Membership in Boundary of Conical Hull

I want to check whether a given point is also a member of the edges of a given conical hull. For example, I have: ...
1
vote
0answers
27 views

Constant size of graphics within an image (not image size)

I can not imagine, that this has not been asked before, but I can't find anything on this... It is a fast one anyway I guess. I am just looking for the command, which makes the difference in the ...
2
votes
2answers
55 views

Rotate and Show, strange error message

The following code works, but produces an error message that I do not understand. The message reads: "An improperly formatted option head (Rotate) was encountered while reading a Graphics3DBox. ...

1
2 3 4 5
34