I found an imprecise solution : path3 g=point(v1,0)--point(v1,0.1)..point(alphaArc,0.5)..point(v2,0.1)--cycle;
I am unable to fill in angle HIJ. import three; import math; usepackage("esvect"); size(8cm); defaultpen(fontsize(10pt)); currentprojection= orthographic(camera=(58.0940656975986,47.8173891566447,24.4233687930555), up=(-0.233710867825973,-0.175904752398278,0.956261861805506), target=(2.49999999999999,2.49999999999999,2.5), zoom=1,center=false); pen style1 = linetype("4 4"); real a = 5; triple A = (a,0,0), B = (a,a,0), C = (0,a,0), D = (0,0,0), Ep = (a,0,a), F = (a,a,a), G = (0,a,a), H = (0,0,a);...
I installed Asymptote in my home without privileges, and two directories were created : one with the name asymptote and the other with the name asymptote-3.04. I just installed it with the command ./configure --prefix=$HOME/asymptote --disable-lsp, and it seems to work.
Maybe it's my system, but the asymptote directory is not created and I have the following error messages : [fabrice@drogon asymptote-3.04]$ make all Traceback (most recent call last): File "/home/fabrice/asymptote-3.04/GUI/buildtool.py", line 9, in <module> from PyQt5.uic import compileUiDir ModuleNotFoundError: No module named 'PyQt5' make: [Makefile:154: GUI/xasyversion] Error 1 (ignorée) cmake -BLspCpp -SLspCpp -DCMAKE_CXX_FLAGS=\ "-fPIE " \ -DLSPCPP_USE_CPP17=ON -DLSPCPP_SUPPORT_BOEHM_GC=ON -DLSPCPP_GC_DOWNLOADED_ROOT=../gc...
I upgraded from version 3.01 which worked perfectly to version 3.03 which had an installation problem for me. I use this command ./configure --prefix=$HOME/asymptote, make all and make install return error messages, and the asymptote directory is not created. Traceback (most recent call last): File "/home/fabrice/asymptote-3.03/GUI/buildtool.py", line 9, in <module> from PyQt5.uic import compileUiDir ModuleNotFoundError: No module named 'PyQt5' make: [Makefile:154: GUI/xasyversion] Error 1 (ignorée)...
Thanks.
Although this site is closed, I use the great work of Philipe Ivaldi. This code does not compile anymore with the current version of Asymptote. import solids; import palette; size(14cm,0); currentlight=light(gray(0.4),specularfactor=3,viewport=false, (-0.5,-0.25,0.45), (0.5,-0.5,0.5),(0.5,0.5,0.75)); nslice=4*nslice; surface s=surface(sphere(O,1)); draw(s,lightgrey); path3 pl=plane((1,0,0),(0,1,0),(0,0,-1)); surface pls=shift(3,3,-1e-3)*scale(-6,-6,1)*surface(pl); draw(pls,0.7*red); real dist(triple...
I installed the latest version and it works, thanks. I have a question : can we decide the file size with for example a size of 37.5 ko ?
I tried to compile a file in web2gl format with the command line asy -f web2gl. The output is WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
This is the solution, thank you very much. Asymptote is the software I use all the time to illustrate my lessons ; without it, I'm lost !
I would like to point out that my AchLinux system has been up to date since yesterday. Unfortunately, the compilation returns an error message. [fabrice@drogon asymptote-2.91]$ ./configure --prefix=$HOME/asymptote --disable-lsp checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the...
I wanted to upgrade to the latest version but an error occurred. Thank you. checking for gc-8.2.4.tar.gz... (cached) yes [fabrice@drogon asymptote-2.91]$ make all if test ! -s revision.cc || test "2.91" != "2.91"; then \ echo "const char *REVISION="\"2.91\"\; > revision.cc; \ echo const char *AsyGLVersion=\"1.02\"\; >> revision.cc; \ if test ! -e base/webgl/asygl.js; then \ cp base/webgl/asygl-1.02.js base/webgl/asygl.js; \ fi \ fi g++ -DHAVE_CONFIG_H -D_FILE_OFFSET_BIS=64 -DUSEGC -DLSPCPP_USEGC...
I didn't continue the installation by doing make all then make install when I saw this, for example, configure: *** Broken rpc headers; XDR/V3D support disabled *** I just installed the library you recommended and ignored the warnings and got this [fabrice@drogon ~]$ asy --version Asymptote version 2.89 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] ENABLED OPTIONS: WebGL 3D HTML rendering OpenGL 3D OpenGL rendering SSBO GLSL shader storage buffer objects GSL GNU Scientific Library (special...
I didn't continue the installation by doing make all then make install l when I saw this, for example, configure: *** Broken rpc headers; XDR/V3D support disabled *** I just installed the library you recommended and ignored the warnings and got this [fabrice@drogon ~]$ asy --version Asymptote version 2.89 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] ENABLED OPTIONS: WebGL 3D HTML rendering OpenGL 3D OpenGL rendering SSBO GLSL shader storage buffer objects GSL GNU Scientific Library (special...
Well, I fixed some problems by installing missing libraries or reinstalling others but probably others are missing, but which ones.
I did a complete installation of Arch Linux and downloaded the latest version. I would like to install it in my home with ./configure --disable-lsp --prefix=$HOME/asymptote This doesn't work and the asymptote directory doesn't exist. [fabrice@drogon asymptote-2.89]$ ./configure --disable-lsp --prefix=$HOME/asymptote checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we...
Thanks for the help ; I reinstalled context minimal and it works.
Asymptote version is 2-86 and I work with Arch Linux. The following file compiles with an error, which was not the case before. Thanks for the help. import three; import math; size(5cm,0); defaultpen(fontsize(9pt)); currentprojection=obliqueX; real a = 4; triple A = (a,0,0), B = (a,a,0), C = (0,a,0), D = (0,0,0), Ep = (a,0,a), F = (a,a,a), G = (0,a,a), H = (0,0,a); triple I = midpoint(B--F); triple J = midpoint(Ep--H); triple K = midpoint(A--Ep); triple L = midpoint(G--C); transform3 t_1 = shift(J-Ep);...
Thank you so much.
I don't understand why because I still worked the same way after deleting the old version. ./configure --prefix=$HOME/asymptote Here is the content of my /home/fabrice/.profile file export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH export PATH=$HOME/LMTX/tex/texmf-linux-64/bin:$PATH export PATH=$HOME/asymptote-2.86:$PATH export PATH=$HOME/texlive/2023/bin/x86_64-linux:$PATH export PATH=$HOME/.local/bin:$PATH export PATH="/home/fabrice/TeXgraph1.995:$PATH"
I just installed the latest version after deleting all files related to the previous version and yet : [fabrice@arch ~]$ asy --version Asymptote version 2.85 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]
I did as instructed and no more error message. I installed asymptote in my home directory without user privilege as well as texlive 2021. The problem is that `[viserion@archlinux ~]$ asy -version Asymptote version 2.70 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] ENABLED OPTIONS: WebGL 3D HTML rendering OpenGL 3D OpenGL rendering XDR external data representation (portable binary file format) GC Boehm garbage collector DISABLED OPTIONS: GSL GNU Scientific Library (special functions) FFTW3...
Hello, I don't understand anymore, the version of Asymptote is again that of TeXlive ! When you install in the home directory, there are two folders that are created : asymptote which contains the binaries and asymptote-2.78. I modify my ./profile file in order to put the path of my installation first : perhaps there is the problem. Here is the first line of my ./profile file export PATH=$HOME/asymptote/bin/asy:$PATH
Using the ArchLinux community, we installed the nvidia drivers for my new graphics card, and it now seems to work just fine. Thank you.
~~ Using configuration directory /home/fabrice/.asy Loading config.asy from config.asy Using history /home/fabrice/.asy/history Welcome to Asymptote version 2.83 cd /home/fabrice Processing asymptote-1 Loading plain from /home/fabrice/asymptote/share/asymptote/plain.asy Including plain_constants from /home/fabrice/asymptote/share/asymptote/plain_constants.asy Loading version from /home/fabrice/asymptote/share/asymptote/version.asy Including plain_strings from /home/fabrice/asymptote/share/asymptote/plain_strings.asy...
~ ~~ Using configuration directory /home/fabrice/.asy Loading config.asy from config.asy Using history /home/fabrice/.asy/history Welcome to Asymptote version 2.83 cd /home/fabrice Processing asymptote-1 Loading plain from /home/fabrice/asymptote/share/asymptote/plain.asy Including plain_constants from /home/fabrice/asymptote/share/asymptote/plain_constants.asy Loading version from /home/fabrice/asymptote/share/asymptote/version.asy Including plain_strings from /home/fabrice/asymptote/share/asymptote/plain_strings.asy...
size(8cm,0); import solids; currentprojection = orthographic(50,100,25); render render=render(compression=0,merge=true); real R=6, h=10, r=4, a=10/3; triple pA=(0,0,0), pB=(0,0,h), pC=(-R,0,0), pM=(-r,0,0), pF=(0,0,a), pE=(xpart(pM),ypart(pM), a); triple axis=Z; revolution CoRev=cone(pA,R,h,axis=Z,n=1); surface cylinder=scale(r,r,a)*unitcylinder; draw(surface(CoRev),orange+opacity(0.4),render); draw(CoRev,1bp+black); draw(cylinder,orange+opacity(0.5),render(merge=true)); draw(pB--pA^^pA--pC^^pE--pF,dashed);...
Using configuration directory /home/fabrice/.asy Loading config.asy from config.asy Using history /home/fabrice/.asy/history Welcome to Asymptote version 2.83 cd /home/fabrice Processing asymptote-1 Loading plain from /home/fabrice/asymptote/share/asymptote/plain.asy Including plain_constants from /home/fabrice/asymptote/share/asymptote/plain_constants.asy Loading version from /home/fabrice/asymptote/share/asymptote/version.asy Including plain_strings from /home/fabrice/asymptote/share/asymptote/plain_strings.asy...
Hi, First of all, I must mention that I reinstalled ArchLinux on my new PC. I then installed the latest version of Asymptote but I get the following error : [fabrice@arch ~]$ asy --version Asymptote version 2.83 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] ENABLED OPTIONS: WebGL 3D HTML rendering OpenGL 3D OpenGL rendering SSBO GLSL shader storage buffer objects CURL URL support Readline Interactive history and editing GC Boehm garbage collector threads Render OpenGL in separate thread...
The latest version is installed, thank you. @Vladimir, I build some packages from AUR but for asymptote no because the version is never the latest. I also like to install asymptote without root privileges.
I downloaded the latest version and I get a .tgz file and not a .src.tgz file. Is the installation with Linux different ?
This is exactly the missing library that I installed and it works. Thanks.
Hello, I installed the latest version in my home and it seems the OpenGL option is not enabled : [viserion@archlinux ~]$ asy --version Asymptote version 2.81 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] ENABLED OPTIONS: SSBO GLSL shader storage buffer objects GSL GNU Scientific Library (special functions) XDR External Data Representation (portable binary file format for V3D) CURL URL support Readline Interactive history and editing Sigsegv Distinguish stack overflows from segmentation...
I just found the solution(add-to-list 'load-path "/home/viserion/asymptote/share/asymptote") but a Ghostscript window opens but not OpenGL.
Hello, I think I have the latest version of Asymptote. I did this ./configure --prefix=$HOME/asymptoteand there are two directories that were created : asymptote-2.81 and asymptote. [viserion@archlinux ~]$ which asy /home/viserion/asymptote-2.81/asy [viserion@archlinux ~]$ asy --version Asymptote version 2.81 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] ENABLED OPTIONS: SSBO GLSL shader storage buffer objects GSL GNU Scientific Library (special functions) XDR External Data Representation...
The only version on my pc is that of texlive 2022 ; I will install the latest version in my home directory and come back later. [viserion@archlinux ~]$ asy --version Asymptote version 2.79 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] ENABLED OPTIONS: V3D 3D vector graphics output WebGL 3D HTML rendering OpenGL 3D OpenGL rendering SSBO GLSL shader storage buffer objects XDR External Data Representation (portable binary file format for V3D) Readline Interactive history and editing GC Boehm...
I just upgraded from texlive 2021 to texlive 2022 and am now using Asymptote version 2.79. I tested a file and I noticed two things: OpenGl does not work and I get the following message : For information about GNU Emacs and the GNU system, type C-h C-a. Loading /home/viserion/texlive/2022/texmf-dist/asymptote/asy-keywords.el (source)...done asy -V -wait "cylinder" Wrote /home/viserion/texlive/2022/texmf-dist/doc/asymptote/examples/cylinder.asy.log Compilation exception en point flottant (core du...
Hello Vladimir, Please try to resolve the issue. Here is the console output of echo $PATH [viserion@archlinux ~]$ echo $PATH /home/viserion/TeXgraph1.995:/home/viserion/.local/bin:/home/viserion/texlive/texlive/2021/bin/x86_64-linux:/home/viserion/LMTX/tex/texmf-linux-64/bin:/home/viserion/context/tex/texmf-linux-64/bin:/home/viserion/asymptote/bin:/home/viserion/TeXgraph1.995:/home/viserion/.local/bin:/home/viserion/texlive/texlive/2021/bin/x86_64-linux:/home/viserion/LMTX/tex/texmf-linux-64/bin:/home/viserion/context/tex/texmf-linux-64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/viserion/bin...
Hello, Sorry to revive this post, but I don't understand what is wrong. Let's temporarily forget the priority of paths. I installed asymptote in my home directory following the documentation. I therefore have the texlive executable and the one I just installed. Why am I getting this then [viserion@archlinux ~]$ which asy /home/viserion/texlive/texlive/2021/bin/x86_64-linux/asy [viserion@archlinux ~]$ Thank you
Hello, I don't understand anymore, the version of Asymptote is again that of TeXlive ! When you install in the home directory, there are two folders that are created : asymptote which contains the binaries and asymptote-2.78. I modify my ./profile file in order to put the path of my installation first : perhaps there is the problem. Here is the first line of my ./profile file export PATH=$HOME/asymptote/bin/asy:$PATH
Hello, I don't understand anymore, the version of Asymptote is again that of TeXlive ! When you install in the home directory, there are two folders that are created : asymptote which contains the binaries and asymptote-2.78. I modify my ./profile file in order to put the path of my installation first : perhaps there is the problem. Here is the first line of my ./profile file export PATH=$HOME/asymptote/bin/asy:$PATH
Hello, Thanks for the help. I did this ./configure --disable-lsp --prefix=$HOME/asymptote, fixed the paths issue and it works : asy -versiondoes give me the latest installed version. But OpenGl does not work and I have an output with ghostscript instead.
I did as instructed and no more error message. I installed asymptote in my home directory without user privilege as well as texlive 2021. The problem is that `[viserion@archlinux ~]$ asy -version Asymptote version 2.70 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] ENABLED OPTIONS: WebGL 3D HTML rendering OpenGL 3D OpenGL rendering XDR external data representation (portable binary file format) GC Boehm garbage collector DISABLED OPTIONS: GSL GNU Scientific Library (special functions) FFTW3...
I get the same error after doing make clean ./configure make clean make all error
Hello, I get the following message with make all Thanks [viserion@archlinux asymptote-2.78]$ make all Creating tinyexr.d Creating PRCdouble.d Creating oPRCFile.d Creating PRCbitStream.d Creating predicates.d Creating fftw++asy.d make: *** Aucune règle pour fabriquer la cible « boost/optional.hpp », nécessaire pour « camperror.o ». Arrêt.
Hi, Currently, to mark a point in space, we can only use the dot() routine : is there a routine that allows you to mark points with a cross ? Thank you