# Questions tagged [pst-solides3d]

Drawing three dimensional solid faces.

108 questions
Filter by
Sorted by
Tagged with
43 views

### How to build the 3d cartesian coordinate system like this and add this graph

When I used the pgfplots or tikz3d I have a problem that the x,y,z axis doesn't like this. They always incline from it should be like the below image. How to set the x,y,z axis that x-axis is towards ...
54 views

### Graphing simple 3d axis

How to draw 3d axis with component like this.
33 views

### add color to each face of a psSolid object

In the following MWE, how can I specify one color for each face? \documentclass{minimal} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(0,0)(3,4) \psset{Decran=50,viewpoint=25 8 -5} \...
• 83
76 views

### How to change the size of a point in pst-solides3d?

In the following document, I want to decrease the radius of the sphere representing the point. \documentclass{standalone} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}[viewpoint=30 40 ...
1 vote
47 views

### Axes in pst-3dplot and pst-solides3d

This is just a simple question regarding the comparison of the axes using pst-3dplot and pst-solides3d packages. The MWE and the output are as follows: \documentclass[pstricks,border=12pt,12pt]{...
1 vote
154 views

### Graphing Quadric Surfaces in PSTricks

I am trying to make graphs of quadric surfaces that follow the illustrations in Thomas' Calculus book. One such illustration is the ellipsoid as shown below: My work so far is as follows: \...
186 views

### How to draw the solids to refer to cylindricals coordinates

I'm trying to replicate this figure: but I don't know how to draw these planes. I need to draw the plane for constant z, rho and phi. I know that, to draw this, many lines of code are needed but the ...
• 613
116 views

### PSTriks 3D spheres randomly distributed inside a torus

I would like to randomly distribute "n" number of spheres (or spheroids) inside a torus. The code I used to generate the toroid is as follows: \documentclass[12pt]{standalone} \usepackage{...
• 21
553 views

### Intersection line not correct in PSTricks (3D) and warning "transparency ignored"

Please look at hte following MWE, compiled in Plain XeTeX (or Plain LuaTeX): \ifdefined\directlua \input luaotfload.sty \fi \input pst-solides3d.tex \psset{unit=1cm} \psset{viewpoint=50 30 30 ...
• 1,326
216 views

### How to draw an icosahedron with triangulated faces

I would like to draw something like this by using TikZ. Here I have found several answers on how to draw such a Platonic solid but no one has the faces divided like this. I do not really care about ...
• 169
558 views

### Planes tangent to a cylinder

I am trying to make this graph I have had several advances compared to my original question, but I don't know how to color the part blue, This is the result that I have obtained together with the ...
• 599
587 views

### Gauss mapping image

I am trying to graph this image (where the sphere on the right is the unit sphere x^2+y^2+z^2=1) The image of the hyperboloid by N is {(x,y,z)\in Sphere : -sqrt(2) < z < sqrt(2)}, it is exactly ...
• 599
138 views

### Measurements in pst-3dplot versus pst-solides3d

My aim is to draw a circumscribed circle on the polygon constructed as "cone base" using pst-solides3d. By circumscription, I mean that the corners of the polygon touch the circle from ...
645 views

### How do I draw an anticlepsydra in LaTeX?

I'd like to approach the sphere's volume by Cavalieri's principle, and so I want to give the students an anticlepsydra's drawing, to guide them to the sphere's formula. Something like this: The ...
1 vote
79 views

### Projection in pst-solides3d doesn't work

I just started to learn how to use pst-solides3d. When I try to project text onto a plane following the instructions in the manual \documentclass[pstricks]{standalone} \usepackage{pst-...
• 11
117 views

### pst-solides3d display nothing and \psSolid command not found and GPL Ghostscript 9.50: Unrecoverable error, exit code 1

here is my code. \documentclass[a4paper]{article} \usepackage{pst-solides3d} \usepackage{pstricks} \usepackage{auto-pst-pdf} \usepackage{graphics} \begin{document} \begin{pspicture}(-5,-4)(6,9) ...
261 views

### Insert .obj file in pgfplots

My idea is to reproduce a figure similar to this one. At the moment the approach I have thought about is to use any free 3D model of a head an load it using pgfplots and then draw the planes. Is there ...
• 101
1 vote
51 views

### Project a Right Angle (rightangle) with pst-solides3d Problems

I'm attempting to add a right angle to my diagram, and have looked at all the help that I can find including the manual and several topics on stackexchange, but I just can't get it to work. Any help ...
• 117
1 vote
165 views

### How to reproduce the following stereometry problem with pst-solides3d?

I am interested in reproducing the following diagram with PSTricks' 3D package named pst-solides3d. Unfortunately I am not familiar with the package and I am not sure whether or not it supports ...
• 47.1k
301 views

### Animating a rotating tetrahedron about its rotational symmetry axis

\documentclass[pstricks, border=12pt]{standalone} \usepackage{pst-solides3d} \usepackage{xfp} \psset { lightsrc=viewpoint, Decran=30, solidmemory, } \newcommand{\al}{3} \newcommand{\ax}{...
322 views

### Arrows with spherical (conical) tips

To pag. 81 of the asymptote tutorial there are spherical arrows tips: I like the tips of the first image and of the 2nd image arrow=Arrow3() that it can be used also in 2D. Do this tips exists only ...
• 56.5k
162 views

### Writing on pst-solides3D cylinders in a loop

I'm trying to create and label cylinders with pst-solides3d in a loop. The label should contain the actual counter number of the loop. Therefore I try to name the cylinders with the running number ...
• 1,694
1 vote
328 views

### Convert an svg to an eps file that meets the requirements of the pst-solides3d package

I want to use an eps file in a pst-solides3d environment, e.g. like in the code below \documentclass[pstricks]{standalone} \usepackage{pst-solides3d} \begin{document} \psset{Decran=20} \begin{...
• 1,694
529 views

### How to draw a paraboloid?

The official image: This is a Asymptote code: \documentclass[border=5pt,varwidth]{standalone} \usepackage{asymptote} \begin{document} \begin{asy} import graph3; import palette; currentprojection=...
84 views

### What causes a rotating 3D object to get displaced unexpectedly?

\documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-solides3d} \psset { object=parallelepiped, lightsrc=20 60 60 rtp2xyz, Decran=30, solidmemory, grid=false, ...
• 47.1k
1k views

### How to draw a cube as the following?

\documentclass[pstricks,border=10pt]{standalone} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=120 50 30 rtp2xyz,Decran=50} \pstVerb{/Colors [(red)(yellow)(orange)(green)(blue)] def } \...
226 views

### Square Loop Made of Cylindrical Wire with Uniform Cross Section

I am trying to draw a square loop made of thick cylindrical wire with uniform cross section lying on the ground as is given in Square_Loop.png. Plotting such a loop in 3D as a rectangular frame drawn ...
• 377
1 vote
112 views

### modular macro list structure to iterate it

Based on the Wipet's answer, and with the same learning spirit, about the iterate loop "for", it's interesting to find out how the proposed "for loop" could be more modular. I want to pass, as an ...
321 views

### How to shuffle a Rubik's cube?

\documentclass[pstricks,border=10pt]{standalone} \usepackage{pst-solides3d} \usepackage{arrayjob} \begin{document} \newarray\colors \readarray{colors}{red&red&red&red&red&red&...
2k views

### How to plot two surfaces and the intersection curve?

I want to draw the intersection line (curve line) of two functions x^2+y^2+z^2=4 (Zmin= 0) and x^2+y^2=2y in the same coordinate system as follows. I have read pst-3dplot and pst-solides3d but I can ...
275 views

### A dot using \pstThreeDDot

I want to put a dot on the beginning of the red line. My code is: \documentclass[a4paper,pstricks,11pt]{report} \usepackage{amssymb} \usepackage{latexsym} \usepackage{amsmath} \usepackage[usenames]{...
• 31
211 views

### Vertical surface with lines using \psSolid

I’m trying to put a line on a top of this surface (like the red one but on the top of the surface). Here it is the code: \documentclass[a4paper,pstricks,11pt]{report} \usepackage{amssymb} \...
• 21
330 views

### \defFunction in PStricks / pst-solides3d /

I am reading the pst-solides3d documentation and trying to understand the following codes that produce the attached image. It is hard to understand how the \defFunction works, and what are the ...
• 135
155 views

### solid and curve object fusion problem

I need to draw several times an custom object built by a fusion operation. The object composition involves a curve type object, getting a successful drawn after the first insertion. But try it to add ...
707 views

### How could I get a blue-colored sphere with a gradient?

Run with Xelatex \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-4,-3)(4,4) \psset{viewpoint=50 25 10 rtp2xyz,Decran=50} \psSolid[object=calottesphere,r=3,...
• 1,611
1 vote
101 views

### Cannot name object created by psProjection in pst-solides3d

Consider the MWE below: \documentclass[pstricks]{standalone} \usepackage{pst-solides3d} \usepackage{xcolor} \begin{document} \psset{viewpoint=10 18 30 rtp2xyz,Decran=10,fontsize=10,unit=1} \begin{...
• 7,309
1 vote
228 views

### Defining vector between two points in pst-solides3d

I'm experimenting with pst-solides3d and I faced certain behavior. According to documentation (6.3.2 Definition with 2 points, page 59) We can also define a vector with 2 given points A and B of R^...
• 7,309
334 views

### 3d plot with absolute value function with pstricks

I would like to reproduce the plot given in picture. The function (with known a and c) is a(x^2+y^2+z^2)+(1-a)(abs(x)+abs(y)+abs(z))=c where 0<a<1, c>0 How can I do this?
• 1,667
341 views

### PSTricks: Projection of point and right angle (both twice)

Consider the following code: \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{figure}[htbp] \centering \psset{unit = 0.7} \begin{pspicture}(-8.1,-5.6)(8.7,17.7) \pnodes%...
• 31.3k
649 views

### How to draw a surface (normal vector) on Tetrahedron using pst-solides3d

I just started to use latex. Anyone can help me how to draw a surface vector (outward normal vector) from the center on the face of Tetrahedron, especially using pst-solid3D? I would like to draw ...
• 21
207 views

### pst-solides3d: Draw squares between others

In order to create a gif I did the following: \documentclass[border=0pt]{standalone} \usepackage{pst-solides3d} \begin{document} \newcommand{\viewpoint}{25 15 5} \newcommand{\axis}{\axesIIID(0,0,0)(4....
• 335
892 views

### Why I can not use pst-solides3d [duplicate]

I would really love to use package pst-solides3d to draw 3D solids but so far I haven't been able to work on it. I am just a beginner of using pst-solides3d so and I do not know how to figure this ...
116 views

### How can I draws the solid as a framework and sets up dashed lines for the hidden edges in pst-solides3d?

I tried \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-2.5,-2)(2.5,2.5) \psset{lightsrc=10 20 30,viewpoint=30 10 30 rtp2xyz,Decran=40} \psSolid[object=...
• 9,582
161 views

### Drawing three surfaces and a bunch of points which need to be placed between the surfaces

I want to draw three surfaces, which are kind of parallel with each other, and a bunch of points. Some of these points will be placed in the region between the most external surfaces and others will ...
• 423
1 vote
192 views

### Using pst-solides3d to cut an object multiple times

Using pst-solides3d I can draw the following half-torus (a full torus cut along the plane y = 0): \documentclass{article} \usepackage{pst-solides3d} \begin{filecontents}{...
• 606k
187 views

### psSolid without linewidth or linecolor matching face

Consider the following minimal example of a Mobius strip using pst-solides3d: \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-4.2,-1.7)(5.1,3) \psset{unit=...
• 606k
433 views

### Asymptote or pst-solides3d for 3d figure

I want to draw three dimensional figures and diagrams for my physics classes. Some examples of drawing can be various crystal structures in various orientations, various planes in them, three ...
1 vote
326 views

### Plane intersecting sphere

I have made this in matematica, but I need similar picture in metapost. Any ideas how to do so? sl3d1 = Graphics3D[{{Opacity[.5], Sphere[{0, 0, 0}, 1]}, {PointSize[.02], ...
• 19
261 views

### Prism with curved surfaces with pgfplots

How can I reproduce the 3D prisms shown below using pgfplots (even if they'll be a collection of surfaces is ok)? My main problem is the generation of the bottom and top surfaces. I also tried to use ...
• 255