Search results for all lists

10000 messages found
Sort by
List: discuss@lists.openscad.org
From: Bob Carter
 
Re: [OpenSCAD] How to work with images?
Wed, Mar 3, 2021 11:17 AM
, yi-y/2]),0.01)) 10+5*sin(2000*r/norm([x,y])) ], > // ]; > > points = [ > for (xi=[0:x]) [xi, 0, 0], // bottom front > for (xi=[0:x]) [xi, y, 0], // bottom back > for (yi=[0:y]) [0, yi, 0], // bottom left > for (yi=[0:y]) [x, yi, 0], // bottom right > for (xi=[0:x], yi=[0:y]) [xi,yi,image[xi][yi]+base] > ]; > > // Return the
List: discuss@lists.openscad.org
From: Ronaldo Persiano
 
Re: [OpenSCAD] simple Celtic knot
Thu, Apr 13, 2017 12:13 AM
q: function knot2(a,p,q,R,r) = [ (r*cos(q*a) + R)*cos(p*a), (r*cos(q*a) + R)*sin(p*a), r*sin(q*a) ]; This parametrization may be rewritten to be clear that it is a knot on a circular torus: function knot3(a,p,q,R,r) = let( t = [(r*cos(q*a) + R), 0, r*sin(q*a) ] ) // circle in XZ [ [ cos(p*a), sin(p*a), 0], [-sin(p*a), cos(p*a
List: discuss@lists.openscad.org
From: Ian Nichols
 
Re: [OpenSCAD] Confused as how a this could happen
Tue, Jan 10, 2017 1:59 PM
module wedge (thickness, rad, ang) translate ([0,0,-(thickness/2)-1]) { linear_extrude (height = thickness+2) { polygon(points=[ [rad*cos(ang/2),-rad*sin(ang/2)], [0,0], [rad*cos(ang/2),rad*sin(ang/2)], [rad*cos(ang/3),rad*sin(ang/3)], [rad*cos(ang/6),rad*sin(ang/6)], [rad,0], [rad*cos(ang/6),-rad*sin(ang/6)], [rad*cos(ang/3),-rad*sin(ang/3)]], paths
List: discuss@lists.openscad.org
From: Mike Aubury
 
Re: solar cell mount math fail
Wed, May 24, 2023 12:22 PM
Since it is opposite the angle 120 degrees, we can rewrite the equation as follows: c/sin(120°) = x/sin(30°) sin(120°) is equal to sin(180° - 120°), which is sin(60°). Also, sin(30°) is equal to 1/2.
List: discuss@lists.openscad.org
From: Chun Kit LAM
 
Re: reduction of computing time - ideas?
Thu, Dec 26, 2024 5:00 PM
>>>> let (gamma2 = asin(rPosK * sin(phiNorm) / rK)) >>>> let (beta2 = 180 - phiNorm - gamma2) >>>> rK * sin(beta2) / sin(phiNorm) >>>> : >>>> let (delta = alpha - phiNorm) >>>> let (epsilon = 180 - asin(rPosN * sin(delta) / rN)) >>>> let
List: discuss@lists.openscad.org
From: Thomas Richter
 
Re: reduction of computing time - ideas?
Thu, Dec 26, 2024 4:25 PM
>> > let (gamma2 = asin(rPosK * sin(phiNorm) / rK)) >> > let (beta2 = 180 - phiNorm - gamma2) >> > rK * sin(beta2) / sin(phiNorm) >> > : >> > let (delta = alpha - phiNorm) >> > let (epsilon = 180 - asin(rPosN * sin(delta) / rN)) >> > let (rho
List: discuss@lists.openscad.org
From: Marius Kintel
 
Re: [OpenSCAD] dynamic FOR statement
Sat, Nov 12, 2016 5:37 PM
In terms of multiple vectors in a function: Since most of your cases are the same, you could also simplify it like this: function circle(R,N) = [ for (w = [0:round(360/N):359]) if (w==180) each [[R*cos(w),R*sin(w)], [R*cos(w)+1,R*sin(w)], [R*cos(w)+1,R*sin(w)+1], [R*cos(w),R*sin(w)+1]]
List: discuss@lists.openscad.org
From: Marius Kintel
 
Re: [OpenSCAD] Feedback for 'each' operator
Sun, Nov 13, 2016 10:55 PM
This is using the each keyword: function create_special_case(R,w) = [ [R*cos(w),R*sin(w)], [R*cos(w)+1,R*sin(w)], [R*cos(w)+1,R*sin(w)+1], [R*cos(w),R*sin(w)+1] ]; function circle(R,N) = [ for (w = [0:round(360/N):359]) if (w==180) each create_special_case(R,w) else [R*cos(w),R*sin(w)] ]; -Marius
List: trawlers@lists.trawlering.com
From: captnwil@coastalnet.com
 
Re: Navigation - converting difference in longitude to nautical miles
Wed, Apr 29, 1998 1:16 PM
D : Distance between locations L1 : Latitude of departure L2 :Latitude of destination Lo1 : Longitude of departure Lo2 : Longitude of destination DLo : Difference in longitude in departure and destination C : Initial Heading cos D = sin L1 * sin L2 + cos L1 * cos L2 * cos DLo cos C = (sin L2 - cos D * sin L1) / (sin D * cos L1) tan C = (sin DLo) /
List: usrp-users@lists.ettus.com
From: Joe Y. Mambu
 
Selling my E110 + RFX1800 + VERT900
Tue, Oct 4, 2016 11:26 PM
Kind Regards, Joe On Tue, Oct 4, 2016 at 7:21 AM, Joe Y. Mambu wrote: > Or you can also email jfk2414@aut.ac.nz > On Oct 4, 2016 7:14 AM, "Joe Y. Mambu" wrote: > >> Dear all, >> I'm selling my E110 for half the price.