Skip to main content

Questions tagged [pst-solides3d]

Drawing three dimensional solid faces.

Filter by
Sorted by
Tagged with
0 votes
0 answers
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 ...
sukmudmaisus's user avatar
0 votes
1 answer
54 views

Graphing simple 3d axis

How to draw 3d axis with component like this.
sukmudmaisus's user avatar
0 votes
1 answer
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} \...
leobb's user avatar
  • 83
2 votes
1 answer
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 ...
oneofvalts's user avatar
1 vote
1 answer
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]{...
thenerdymathematician's user avatar
1 vote
1 answer
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: \...
thenerdymathematician's user avatar
3 votes
1 answer
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 ...
Peluche's user avatar
  • 613
2 votes
1 answer
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{...
eneru's user avatar
  • 21
2 votes
1 answer
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 ...
Weißer Kater's user avatar
0 votes
1 answer
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 ...
InsideOut's user avatar
  • 169
10 votes
1 answer
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 ...
Zaragosa's user avatar
  • 599
5 votes
3 answers
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 ...
Zaragosa's user avatar
  • 599
3 votes
2 answers
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 ...
Morten Engelsmann's user avatar
3 votes
4 answers
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 ...
Cora Sanroman's user avatar
1 vote
0 answers
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-...
Topstar's user avatar
  • 11
0 votes
0 answers
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) ...
Santlance's user avatar
0 votes
0 answers
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 ...
Ramon's user avatar
  • 101
1 vote
0 answers
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 ...
freemath's user avatar
  • 117
1 vote
0 answers
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 ...
Display Name's user avatar
  • 47.1k
3 votes
1 answer
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}{...
oneofvalts's user avatar
5 votes
1 answer
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 ...
Sebastiano's user avatar
  • 56.5k
2 votes
1 answer
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 ...
Nico's user avatar
  • 1,694
1 vote
1 answer
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{...
Nico's user avatar
  • 1,694
5 votes
1 answer
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=...
user avatar
4 votes
1 answer
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, ...
Display Name's user avatar
  • 47.1k
15 votes
2 answers
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 } \...
user avatar
2 votes
1 answer
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 ...
Savchenko's user avatar
  • 377
1 vote
3 answers
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 ...
Rene Valenzuela's user avatar
5 votes
1 answer
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&...
user avatar
16 votes
4 answers
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 ...
user avatar
3 votes
1 answer
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]{...
Carl's user avatar
  • 31
2 votes
1 answer
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} \...
Carl's user avatar
  • 21
3 votes
4 answers
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 ...
Shuodao's user avatar
  • 135
0 votes
1 answer
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 ...
Rene Valenzuela's user avatar
6 votes
2 answers
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,...
LCarvalho's user avatar
  • 1,611
1 vote
0 answers
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{...
Pouya's user avatar
  • 7,309
1 vote
1 answer
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^...
Pouya's user avatar
  • 7,309
2 votes
1 answer
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?
mert's user avatar
  • 1,667
5 votes
2 answers
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%...
Svend Tveskæg's user avatar
2 votes
1 answer
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 ...
k2park's user avatar
  • 21
5 votes
1 answer
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....
tebartsch's user avatar
  • 335
4 votes
1 answer
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 ...
Nguyễn Hải Duy's user avatar
5 votes
1 answer
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=...
minhthien_2016's user avatar
6 votes
0 answers
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 ...
Randerson's user avatar
  • 423
1 vote
0 answers
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}{...
Werner's user avatar
  • 606k
2 votes
1 answer
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=...
Werner's user avatar
  • 606k
2 votes
0 answers
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 ...
Abhinav Pratap Singh's user avatar
1 vote
0 answers
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], ...
Una's user avatar
  • 19
3 votes
1 answer
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 ...
MarcelloM's user avatar
  • 255
2 votes
1 answer
408 views

How to define a mathematical equation in two parameters in PSTricks?

I am to draw a 3D function, using PSTricks' \parametricplotThreeD. Coordinate Z in two parameters is so awkward, in terms of controlling boundary values and formulation that I decided to break it ...
Peter Jones's user avatar