varalgit
varalgit
> @alainmore I wrapped the requests-html portion of the code in a "with" statement. Can you please give the code of how you did that? It seems that each call...
This issue has been reported before, a workaround can be found here (works on my M2 Mac, look for the tip submitted by @sinwoobang): #354
> Hi @KalpeshjagannathMahajan, > > You have to use Homebrew’s Python to make CairoSVG find Homebrew’s Cairo. Be sure that your virtual environment has been created using Hombrew’s Python. >...
And it can be fixed with the change of one line: ``` offset(n2*sqrt(sq(r2)-sq(i/fn*r2))-n2*r2){ ``` should be: ``` offset(n2*sqrt(sq(r2)-sq((i+1)/fn*r2))-n2*r2){ ``` Example (I added coloring so you can see the layers): ```...
I closed this issue, but the code has not changed so it probably should stay open. Sorry about this.
You can also change it the other way round, which I like better: ``` $fn=72; extrudeWithRadius(5,r1=2,r2=2,fn=10) offset(r = 5) offset(delta = -5) polygon([[0,0],[20,0],[20,20]]); module extrudeWithRadius(length,r1=0,r2=0,fn=30){ n1=sign(r1);n2=sign(r2); r1=abs(r1);r2=abs(r2); # translate([0,0,r1]){ linear_extrude(length-r1-r2){...