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 ?